Re: [LINUX:4161] Re: internet

Merter ORTAC (merter@husky.bitav.org.tr)
Mon, 19 Jan 1998 22:01:40 +0000 ( )


al sana zcript :
------------------------
#!/bin/sh
TELEPHONE:0900919919
ACCOUNT:swoop
PASSWORD:xoxxxxxox
LOCAL_IP=0.0.0.0
REMOTE_IP=0.0.0.0
NETMASK=255.255.255.0
export TELEPHONE ACCOUNT PASSWORD
pppd connect /etc/ppp/ppp-on-dialer /dev/cua2 14400 noipdefault debug \
crtscts defaultroute
-------------------------
account ve password degiskenlerine username le passwordunu girersin,
telephone da malum :)
bunu /etc/ppp/script
diye kaydet.
bir ikinci dosyayida /etc/ppp dizini icinde ac
ornegin , linuxppp
bu dosyaya da,
-------------------------
setserial -b /dev/cua2
serserial -b /dev/cua2 irq 3
/etc/ppp/script
-------------------------
internet e baglanmak istediginde,
yapman gereken
linuxppp dosyasini calistirmak
chmod u+x linuxppp
./linuxppp
bolece script dosyasini calistirir
istersen
tail -f /var/log/messages yazarak modemin neler karistirdigini izlersin,
istersende ifconfig yazip baglanti saglanmismi kontrol edersin.
ha son bisey daa,
nameserver icinde
/etc/resolv.conf u editlemen lazim
ornegin;
-----------------------
domain cc.metu.edu.tr
nameserver 144.122.199.20
-----------------------
bunlari yaptiktan sonra hayirli internetler linuxunle :)