les flèches (<--) au bout des lignes indiquent ce qu'il faut
changer.
/etc/ppp/options :
lock
modem
crtscts
/dev/ttyS1 <-- changer le port serie
115200
connect /etc/ppp/net-connect
disconnect "/usr/local/dialup/bin/chat -- \d+++\d\c OK ath0 OK"
<-- changer le chemin pour chat
asyncmap 0
defaultroute
netmask 255.255.255.0
/etc/ppp/net-connect :
#!/bin/sh
/usr/local/dialup/bin/chat -t 60 -f /etc/ppp/net-chat
<-- changer le chemin pour chat
/etc/ppp/net-chat :
BORT 'BUSY'
ABORT 'NO CARRIER'
'' ATZ
OK ATDT0344722016 <-- changer le numero de telephone
sername:--name: mon_login <-- mettre le bon login
ssword: mon_password <-- mettre le bon mot de passe
NET\> ppp
ls -la /etc/ppp :
total 10
drwxr-xr-x 2 root root 1024 Jul 21 10:20 ./
drwxr-xr-x 28 root root 3072 Jul 21 10:13 ../
-rwxr--r-- 1 root root 744 Jul 10 22:58 ip-down*
-rwxr--r-- 1 root root 1209 Jul 16 22:59 ip-up*
-rw------- 1 root root 107 Jun 29 18:05 net-chat
-r-x------ 1 root root 64 Jun 29 18:10 net-connect*
-rw-rw-r-- 1 root root 202 Jul 18 22:54 options