Dear Fellow Debianites, Thanks in advance for any help with this strange problem I am having. I am trying to set up a PPP server at work. It is a Debian machine running hamm with ppp version 2.3.5-2. Same setup at my home-machine as well. I am setting this up in the server with mgetty and AutoPPP. The relevant line I use is /AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login withing mgetty's login.config. Autoppp works and I get a succesful PAP login. After that though, the home-client machine is not being given the IP address specified in /etc/ppp/options.ttyS0 of the server. At home, I used pppconfig to setup the connection script. Note that the home PPP setup and pppconfig scripts work for the official campus PPP connection that uses PAP. So I suspect that the problem is not in my home machine. I am able to use minicom and get connected to the debian work server. But since the home client is not able to get its local IP address from the server, the ppp connection fails.
I am enclosing relevant segments of syslog and my options files below for both the client and server. For security purposes, usernames, passwords, client and server names have been edited and made generic. I would appreciate any help in this regard. I apologize for the length of this message. Gopal. ------------------------------ home-client syslog ------------------ Dec 11 08:31:20 home-client pppd[17719]: pppd 2.3.5 started by root, uid 0 Dec 11 08:31:22 home-client chat[17720]: abort on (BUSY) Dec 11 08:31:22 home-client chat[17720]: abort on (NO CARRIER) Dec 11 08:31:22 home-client chat[17720]: abort on (VOICE) Dec 11 08:31:22 home-client chat[17720]: abort on (NO DIALTONE) Dec 11 08:31:22 home-client chat[17720]: abort on (NO ANSWER) Dec 11 08:31:22 home-client chat[17720]: send (ATZ^M) Dec 11 08:31:22 home-client chat[17720]: expect (OK) Dec 11 08:31:22 home-client chat[17720]: ATZ^M^M Dec 11 08:31:22 home-client chat[17720]: OK Dec 11 08:31:22 home-client chat[17720]: -- got it Dec 11 08:31:22 home-client chat[17720]: send (ATDT5551212^M) Dec 11 08:31:23 home-client chat[17720]: expect (CONNECT) Dec 11 08:31:23 home-client chat[17720]: ^M Dec 11 08:31:44 home-client chat[17720]: ATDT5551212^M^M Dec 11 08:31:44 home-client chat[17720]: CONNECT Dec 11 08:31:44 home-client chat[17720]: -- got it Dec 11 08:31:44 home-client chat[17720]: send (\d) Dec 11 08:31:45 home-client pppd[17719]: Serial connection established. Dec 11 08:31:46 home-client pppd[17719]: Using interface ppp0 Dec 11 08:31:46 home-client pppd[17719]: Connect: ppp0 <--> /dev/ttyS1 Dec 11 08:31:46 home-client pppd[17719]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access Dec 11 08:31:46 home-client pppd[17719]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5ddb> <pcomp> <accomp>] Dec 11 08:31:47 home-client pppd[17719]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffff9142> <pcomp> <accomp>] Dec 11 08:31:47 home-client pppd[17719]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffff9142> <pcomp> <accomp>] Dec 11 08:31:49 home-client pppd[17719]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5ddb> <pcomp> <accomp>] Dec 11 08:31:49 home-client pppd[17719]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x5ddb> <pcomp> <accomp>] Dec 11 08:31:49 home-client pppd[17719]: sent [LCP EchoReq id=0x0 magic=0x5ddb] Dec 11 08:31:49 home-client pppd[17719]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access Dec 11 08:31:49 home-client pppd[17719]: sent [PAP AuthReq id=0x1 user="myname" password="mypassword"] Dec 11 08:31:50 home-client pppd[17719]: rcvd [LCP EchoRep id=0x0 magic=0xffff9142] Dec 11 08:31:50 home-client pppd[17719]: rcvd [PAP AuthAck id=0x1 "Success"] Dec 11 08:31:50 home-client pppd[17719]: Remote message: Success Dec 11 08:31:50 home-client pppd[17719]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>] Dec 11 08:31:50 home-client pppd[17719]: rcvd [IPCP ConfReq id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:31:50 home-client pppd[17719]: sent [IPCP ConfAck id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:31:53 home-client pppd[17719]: rcvd [IPCP ConfReq id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:31:53 home-client pppd[17719]: sent [IPCP ConfAck id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:31:53 home-client pppd[17719]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>] Dec 11 08:31:56 home-client pppd[17719]: rcvd [IPCP ConfReq id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:31:56 home-client pppd[17719]: sent [IPCP ConfAck id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:31:56 home-client pppd[17719]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>] Dec 11 08:31:59 home-client pppd[17719]: rcvd [IPCP ConfReq id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:31:59 home-client pppd[17719]: sent [IPCP ConfAck id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:31:59 home-client pppd[17719]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>] Dec 11 08:32:02 home-client pppd[17719]: rcvd [IPCP ConfReq id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:32:02 home-client pppd[17719]: sent [IPCP ConfAck id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:32:02 home-client pppd[17719]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>] Dec 11 08:32:05 home-client pppd[17719]: rcvd [IPCP ConfReq id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:32:05 home-client pppd[17719]: sent [IPCP ConfAck id=0x1 <addr 128.119.xx.yy> <compress VJ 0f 01>] Dec 11 08:32:05 home-client pppd[17719]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>] Dec 11 08:32:05 home-client pppd[17719]: rcvd [IPCP ConfRej id=0x1 <addr 0.0.0.0>] Dec 11 08:32:05 home-client pppd[17719]: sent [IPCP ConfReq id=0x2 <addrs 0.0.0.0 0.0.0.0> <compress VJ 0f 01>] Dec 11 08:32:05 home-client pppd[17719]: rcvd [IPCP ConfRej id=0x2 <addrs 0.0.0.0 0.0.0.0>] Dec 11 08:32:05 home-client pppd[17719]: sent [IPCP ConfReq id=0x3 <compress VJ 0f 01>] Dec 11 08:32:06 home-client pppd[17719]: rcvd [IPCP ConfAck id=0x3 <compress VJ 0f 01>] Dec 11 08:32:06 home-client pppd[17719]: Could not determine local IP address Dec 11 08:32:06 home-client pppd[17719]: sent [IPCP TermReq id=0x4 "Could not determine local IP address"] Dec 11 08:32:06 home-client pppd[17719]: rcvd [IPCP TermAck id=0x4] Dec 11 08:32:06 home-client pppd[17719]: sent [LCP TermReq id=0x2 "No network protocols running"] Dec 11 08:32:06 home-client pppd[17719]: rcvd [LCP TermAck id=0x2] Dec 11 08:32:06 home-client pppd[17719]: Connection terminated. Dec 11 08:32:06 home-client pppd[17719]: Hangup (SIGHUP) Dec 11 08:32:06 home-client pppd[17719]: Exit. work-server syslog ----------------- Dec 11 08:31:17 work-server kernel: CSLIP: code copyright 1989 Regents of the University of California Dec 11 08:31:18 work-server kernel: PPP: version 2.2.0 (dynamic channel allocation) Dec 11 08:31:18 work-server kernel: PPP Dynamic channel allocation code copyright1995 Caldera, Inc. Dec 11 08:31:18 work-server kernel: PPP line discipline registered. Dec 11 08:31:18 work-server kernel: registered device ppp0 Dec 11 08:31:18 work-server pppd[31155]: pppd 2.3.5 started by a_ppp, uid 0 Dec 11 08:31:18 work-server pppd[31155]: Using interface ppp0 Dec 11 08:31:18 work-server pppd[31155]: Connect: ppp0 <--> /dev/ttyS0 Dec 11 08:31:18 work-server pppd[31155]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffff9142> <pcomp> <accomp>] Dec 11 08:31:18 work-server pppd[31155]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffff9142> <pcomp> <accomp>] Dec 11 08:31:20 work-server pppd[31155]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5ddb> <pcomp> <accomp>] Dec 11 08:31:20 work-server pppd[31155]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x5ddb> <pcomp> <accomp>] Dec 11 08:31:20 work-server pppd[31155]: sent [LCP EchoReq id=0x0 magic=0xffff9142] Dec 11 08:31:20 work-server pppd[31155]: rcvd [LCP EchoReq id=0x0 magic=0x5ddb] Dec 11 08:31:20 work-server pppd[31155]: sent [LCP EchoRep id=0x0 magic=0xffff9142] Dec 11 08:31:20 work-server pppd[31155]: rcvd [PAP AuthReq id=0x1 user="myname" password="mypassword"] Dec 11 08:33:17 work-server kernel: PPP: ppp line discipline successfully unregistered server debug file: ---------------- Dec 11 08:31:18 work-server pppd[31155]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffff9142> <pcomp> <accomp>] Dec 11 08:31:18 work-server pppd[31155]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffff9142> <pcomp> <accomp>] Dec 11 08:31:20 work-server pppd[31155]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5ddb> <pcomp> <accomp>] Dec 11 08:31:20 work-server pppd[31155]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x5ddb> <pcomp> <accomp>] Dec 11 08:31:20 work-server pppd[31155]: sent [LCP EchoReq id=0x0 magic=0xffff9142] Dec 11 08:31:20 work-server pppd[31155]: rcvd [LCP EchoReq id=0x0 magic=0x5ddb] Dec 11 08:31:20 work-server pppd[31155]: sent [LCP EchoRep id=0x0 magic=0xffff9142] Dec 11 08:31:20 work-server pppd[31155]: rcvd [PAP AuthReq id=0x1 user="myname" password="mypassword"] home-client /etc/ppp/options --------------------------- asyncmap 0 crtscts lock modem lcp-echo-interval 30 lcp-echo-failure 4 # This file was generated by pppconfig. You can edit the following lines # but please do not delete lines or the change the comments or you will # confuse pppconfig. noauth #pppconfig_noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/cut" #pppconfig_connect debug #pppconfig_debug /dev/ttyS1 #pppconfig_dev 115200 #pppconfig_speed defaultroute #pppconfig_route noipdefault #pppconfig_ipdefault user myname #pppconfig_user # End of pppconfig controlled lines. You can add lines below here without # confusing pppconfig. work-server /etc/ppp/options ---------------------------- asyncmap 0 auth crtscts lock modem -detach debug proxyarp lcp-echo-interval 30 lcp-echo-failure 4 noipx work-server /etc/ppp/options.ttyS0 --------------------------------- 128.119.xx.yy:128.119.xxx.yyy where the above is correctly server:client IPs. -- ---------------------------------------------------------------------------- Gopal Narayanan Ph #: (413) 545 0925 Five College Radio Astronomy Observatory Fax#: (413) 545 4223 University of Massachusetts e-mail: [EMAIL PROTECTED] Amherst MA 01003 ---------------------------------------------------------------------------