(E-Mail Removed) (Shanthi Paladugu) writes:
]I am trying to set up a PPP server on a Linux machine(2.4.19). I am
]trying to use another Linux machine as a client. On the server and the
]client modems are hooked up to /dev/ttyS0 and /dev/modem ( this ia a
]link to /dev/ttyS0) respectively. I have this entry on the server
]machine in /etc/inittab: cp:2345:respawn:/sbin/mgetty -x 9 ttyS0. And
]the rest of the configuration for the mgetty is the default config. On
]the server, /etc/ppp/options has the following entries:
]asyncmap 0
]netmask 255.255.255.0
^
Get rid of this line. It makes no sense for ppp.
]proxyarp
]lock
]crtscts
]modem
]require-pap
]and /etc/ppp/options.ttyS0 has this entry:
]192.168.0.1:192.168.0.2
]in /etc/ppp/pap-secrets file I added <"username" * "password" *>
Without the <..> I assume.
]On the client machine:
]/etc/ppp/options has the following entries:
]lock
]modem
]debug
]crtscts
]defaultroute
Why passive?
]passive
]hide-password
]user root
]lcp-max-configure 50
]/etc/ppp/pap-secrets has the entry "username * password *"
]I can access /dev/modem on client using minicom and dial out to the
]modem connected to the server at /dev/ttyS0 and I get the login prompt
]as expected. I can log on but then when I try to establish a ppp
]connection I initiate the ppp daemon by invoking "/usr/sbin/pppd
]/dev/ttyS0 -detach" and then on the client issue
]"pppd /dev/ttyS0 -detach"
]at this point logs on the server has the following:
]May 18 08:51:41 cp_node1 pppd[26157]: pppd 2.4.1 started by root, uid
]0
]May 18 08:51:41 cp_node1 pppd[26157]: Using interface ppp0
]May 18 08:51:41 cp_node1 pppd[26157]: Connect: ppp0 <--> /dev/ttyS0
]May 18 08:51:41 cp_node1 /etc/hotplug/net.agent: assuming ppp0 is
]already up
]May 18 08:51:41 cp_node1 pppd[26157]: pppd 2.4.1 started by root, uid
]0
]May 18 08:51:41 cp_node1 pppd[26157]: Using interface ppp0
]May 18 08:51:41 cp_node1 pppd[26157]: Connect: ppp0 <--> /dev/ttyS0
]May 18 08:51:41 cp_node1 /etc/hotplug/net.agent: assuming ppp0 is
]already up
]May 18 08:52:11 cp_node1 pppd[26157]: LCP: timeout sending
]Config-Requests
That means that the far end is not responding to ppp requests.
You do not show us the crucial lines in /etc/mgetty*/login.config
]Logs on the client:
]May 18 09:03:33 lustre1 pppd[10017]: pppd 2.4.1 started by root, uid 0
Well you did tell it to be passive for some completely unknown reason.
You also do not show us the chat script or the chat debug output