Michael Polak wrote:
>
> to allow Arachne users to configure PPP interface,
> if they provide root password to system. And THIS
> will be probably terribly hard... I never really
> succesfuly confgured pppd manualy
Configuring ppp manually is just as easy as 1-2-3:
(1) edit /etc/resolv.conf
^^^^^^^^^^^^^^^^^^^^^^^^^^
nameserver xxx.xxx.xxx.xxx
(2) edit /etc/ppp/options
^^^^^^^^^^^^^^^^^^^^^^^^^^
/dev/modem
57600
lock
crtscts
modem
0.0.0.0:
defaultroute
connect /etc/ppp/ppp-on-dialer
(3) edit etc/ppp-on-dialer
^^^^^^^^^^^^^^^^^^^^^^^^^^^
exec chat \
TIMEOUT 30 \
OK ATDTxxx-xxxx \
CONNECT '' \
ogin <username> \
assword <password>
If your ISP uses PAP or CHAP authenication,
remove the last two lines from /etc/ppp-on-dialer
and add one line to /etc/options: user <username>
You also need to edit /etc/ppp/pap-secrets
(or /etc/ppp/chap-secrets) to read:
<username> * <password>
(yes the second field is just an asterisk)
--------
ALL DONE
--------
Now you can establish the ppp link by executing
(as root) 'ppp-on' or 'pon' or whatever your
distribution uses. To turn it off, execute
'ppp-off' or 'poff' or whatever.
Cheers,
Steven