Brian Kosick wrote:
>
> I have a small office network setup, with redhat5.2 linux box and
> IP-Masquerading working. I would like to setup pppd demand dialling. I
> have tried editing the /etc/ppp/options file but the correct options are
> eluding me. I keep getting the modem to dialin for about 30sec. then
> hangup for two minutes then dialin...you get the idea.
> here is my options file
Your options list looks pretty odd (why are most lines commented?)
My options file is:
asyncmap 20a0000
crtscts
escape ff
lock
modem
netmask 255.255.255.0
noipdefault
debug
and I use individual files for each connection, such as:
asyncmap 20a0000
crtscts
escape ff
lock
modem
netmask 255.255.255.0
noipdefault
defaultroute
connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/hizz"
57600
/dev/ttyS0
demand
idle 300
holdoff 10
my.ip.address.here:158.152.1.222
#kdebug 7
#debug
ipcp-accept-remote
ipcp-accept-local
These files are stored in the directory /etc/ppp/peers, and are used by
starting pppd like this:
pppd call demon
where demon is the name of the above file in the peers directory. If you
use dynamic IP it doesn't matter, just set the local address to be one
of the possible IPs you might get, and make sure that ipcp-accept-local
is set.
So long as the chat script works correctly, this will work. To use pap
authentication, you will want the "name" or "user" option in the second
file.
--
Nick Phillips ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]