Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!nntp.uio.no!nntp.uib.no!nntp-bergen.UNINETT.no!nntp-trd.UNINETT.no!news.uni-c.dk!news.uni-c.dk!news From: Peter Holm <pholm@dscc.dk> Newsgroups: comp.unix.bsd.freebsd.misc Subject: ppp blues Date: Tue, 19 Nov 1996 09:13:59 +0100 Organization: DSC Communications Lines: 243 Message-ID: <32916C47.41C6@dscc.dk> NNTP-Posting-Host: sunrise.dscc.dk Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------167E2781446B" X-Mailer: Mozilla 3.0 (X11; I; OSF1 V3.2 alpha) This is a multi-part message in MIME format. --------------167E2781446B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit -- Peter Holm pholm@dscc.dk --------------167E2781446B Content-Type: text/plain; charset=us-ascii; name="post" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="post" I have spent some time, now, with iij.ppp. I can get it to work fine if I go into ppp's "term" mode, dial the host, login and the type "~p" But I can not get ppp to work with the config files. With the config files, I connect ok (== enter packet mode), but then I have all kind of routing problems (I think). I have seen lots of questions about iij-ppp on the mailing lists and in the newsgroup, but found little help there. The same goes for the handbook :-( Can someone point me in the right direction ? Here's my setup : My provider uses dynamic IP's. Here's an example : myaddr = 194.239.150.1 hisaddr = 193.162.157.162 --------------------- /etc/sysconfig : hostname=peter.risby.dk network_interfaces="lo0 tun0" ifconfig_lo0="inet localhost" ifconfig_tun0="inet peter.risby.dk 193.162.157.162 netmask 0xffffff00" static_routes="" defaultrouter=193.162.157.162 --------------------- /etc/hosts : 127.0.0.1 localhost 10.0.0.1 peter.risby.dk peter --------------------- /etc/host.conf : bind hosts --------------------- /etc/ppp/ppp.conf : default: set debug phase chat lcp lqm set device /dev/cuaa1 set speed 38400 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 COMPRESSED" # simplesite: set phone 43661520 set login "TIMEOUT 5 username:-\\r-username: 126103369786 word: password annex: ppp" ssword set timeout 120 set ifaddr 0 0 # chap: set phone 43661520 accept chap deny pap set authname 126103369786 set authkey password set login "TIMEOUT 5 username:-\\r-username:" set timeout 0 set openmode active dial --------------------- /etc/ppp/ppp.linkup : # # Otherwide, simply add peer as default gateway. # MYADDR: # add 0 0 HISADDR --------------------- var/log/ppp.log : 11-18 21:37:52 [183] Using interface: tun0 11-18 21:37:52 [183] Expecting 11-18 21:37:52 [183] sending: ATE1Q0 11-18 21:37:52 [183] Expecting OK-AT-OK 11-18 21:37:52 [183] Wait for (5): OK --> OK 11-18 21:37:52 [183] sending: ATDT43661520 11-18 21:37:52 [183] Expecting COMPRESSED 11-18 21:37:52 [183] Wait for (40): COMPRESSED --> COMPRESSED 11-18 21:38:12 [183] Expecting username:-\r-username: 11-18 21:38:12 [183] Wait for (5): username: --> username: 11-18 21:38:16 [183] *Connected! 11-18 21:38:16 [183] LCP: state change Initial --> Closed 11-18 21:38:16 [183] LCP: SendConfigReq 11-18 21:38:16 [183] ACFCOMP 11-18 21:38:16 [183] PROTOCOMP 11-18 21:38:16 [183] ACCMAP [6] 00000000 11-18 21:38:16 [183] MRU [4] 1500 11-18 21:38:16 [183] MAGICNUM [6] 4e848517 11-18 21:38:16 [183] QUALPROTO (3000) 11-18 21:38:16 [183] LCP: state change Closed --> Req-Sent 11-18 21:38:16 [183] PPP Started. 11-18 21:38:19 [183] LCP: SendConfigReq 11-18 21:38:19 [183] ACFCOMP 11-18 21:38:19 [183] PROTOCOMP 11-18 21:38:19 [183] ACCMAP [6] 00000000 11-18 21:38:19 [183] MRU [4] 1500 11-18 21:38:19 [183] MAGICNUM [6] 4e848517 11-18 21:38:19 [183] QUALPROTO (3000) 11-18 21:38:19 [183] LCP: Received Configure Request (1) state = Req-Sent (6) 11-18 21:38:19 [183] ???[00] 11-18 21:38:19 [183] MRU 1524 11-18 21:38:19 [183] ACCMAP 000a0000 11-18 21:38:19 [183] AUTHPROTO proto = c223 11-18 21:38:19 [183] PROTOCOMP 11-18 21:38:19 [183] ACFCOMP 11-18 21:38:19 [183] ???[11] 11-18 21:38:19 [183] ???[13] 11-18 21:38:19 [183] LCP: SendConfigRej(Req-Sent) 11-18 21:38:19 [183] ???[00] 11-18 21:38:19 [183] ???[11] 11-18 21:38:19 [183] ???[13] 11-18 21:38:19 [183] LCP: Received Configure Reject (2) state = Req-Sent (6) 11-18 21:38:19 [183] LCP: RecvConfigRej. 11-18 21:38:19 [183] QUALPROTO proto: c025, interval: 30000ms 11-18 21:38:19 [183] LCP: SendConfigReq 11-18 21:38:19 [183] ACFCOMP 11-18 21:38:19 [183] PROTOCOMP 11-18 21:38:19 [183] ACCMAP [6] 00000000 11-18 21:38:19 [183] MRU [4] 1500 11-18 21:38:19 [183] MAGICNUM [6] 4e848517 11-18 21:38:19 [183] LCP: Received Configure Request (2) state = Req-Sent (6) 11-18 21:38:19 [183] MRU 1524 11-18 21:38:19 [183] ACCMAP 000a0000 11-18 21:38:19 [183] AUTHPROTO proto = c223 11-18 21:38:19 [183] PROTOCOMP 11-18 21:38:19 [183] ACFCOMP 11-18 21:38:19 [183] LCP: SendConfigAck(Req-Sent) 11-18 21:38:19 [183] MRU 1524 11-18 21:38:19 [183] ACCMAP 000a0000 11-18 21:38:19 [183] AUTHPROTO proto = c223 11-18 21:38:19 [183] PROTOCOMP 11-18 21:38:19 [183] ACFCOMP 11-18 21:38:19 [183] LCP: state change Req-Sent --> Ack-Sent 11-18 21:38:19 [183] LCP: Received Configure Ack (3) state = Ack-Sent (8) 11-18 21:38:19 [183] LCP: state change Ack-Sent --> Opend 11-18 21:38:19 [183] LCP: LayerUp 11-18 21:38:19 [183] Phase: Authenticate 11-18 21:38:19 [183] his = c223, mine = 0 11-18 21:38:19 [183] LQM method = 3 11-18 21:38:19 [183] LqrOutput: 11-18 21:38:19 [183] Magic: 4e848517 LastOutLQRs: 00000000 11-18 21:38:19 [183] LastOutPackets: 00000000 LastOutOctets: 00000000 11-18 21:38:19 [183] PeerInLQRs: 00000000 PeerInPackets: 00000004 11-18 21:38:19 [183] PeerInDiscards: 00000000 PeerInErrors: 00000000 11-18 21:38:19 [183] PeerInOctets: 0000007f PeerOutLQRs: 00000001 11-18 21:38:19 [183] PeerOutPackets: 00000005 PeerOutOctets: 000000dc 11-18 21:38:19 [183] Will send LQR every 30.0 secs 11-18 21:38:20 [183] ChapInput: CHALLENGE 11-18 21:38:20 [183] Valsize = 16, Name = Alb 1 11-18 21:38:20 [183] ChapOutput: RESPONCE 11-18 21:38:20 [183] ChapInput: SUCCESS 11-18 21:38:20 [183] Phase: Network 11-18 21:38:20 [183] IPCP: state change Initial --> Closed 11-18 21:38:20 [183] IPCP Up event!! 11-18 21:38:20 [183] IPCP: SendConfigReq 11-18 21:38:20 [183] IPADDR [6] 10.0.0.1 11-18 21:38:20 [183] COMPPROTO [6] 002d0f00 11-18 21:38:20 [183] IPCP: state change Closed --> Req-Sent 11-18 21:38:20 [183] CCP: state change Initial --> Closed 11-18 21:38:20 [183] CCP Up event!! 11-18 21:38:20 [183] CCP: SendConfigReq 11-18 21:38:20 [183] CCP: state change Closed --> Req-Sent 11-18 21:38:20 [183] CCP: Received Configure Request (1) state = Req-Sent (6) 11-18 21:38:20 [183] STAC[6] 11-18 21:38:20 [183] CCP: SendConfigRej(Req-Sent) 11-18 21:38:20 [183] STAC[6] 11-18 21:38:20 [183] IPCP: Received Configure Request (1) state = Req-Sent (6) 11-18 21:38:20 [183] COMPPROTO[6] 002d0f01 11-18 21:38:20 [183] IPADDR[6] 193.162.157.162 11-18 21:38:20 [183] IPCP: SendConfigAck(Req-Sent) 11-18 21:38:20 [183] COMPPROTO[6] 002d0f01 11-18 21:38:20 [183] IPADDR[6] 193.162.157.162 11-18 21:38:20 [183] IPCP: state change Req-Sent --> Ack-Sent 11-18 21:38:20 [183] IPCP: Received Configure Nak (1) state = Ack-Sent (8) 11-18 21:38:20 [183] IPADDR[6] 194.239.150.7 11-18 21:38:20 [183] IPADDR[6] changing address: 10.0.0.1 --> 194.239.150.7 11-18 21:38:20 [183] IPCP: SendConfigReq 11-18 21:38:20 [183] IPADDR [6] 194.239.150.7 11-18 21:38:20 [183] COMPPROTO [6] 002d0f00 11-18 21:38:20 [183] CCP: Received Configure Reject (1) state = Req-Sent (6) 11-18 21:38:20 [183] CCP: RecvConfigRej. 11-18 21:38:20 [183] PRED1[2] 11-18 21:38:20 [183] CCP: SendConfigReq 11-18 21:38:20 [183] IPCP: Received Configure Ack (2) state = Ack-Sent (8) 11-18 21:38:20 [183] IPCP: state change Ack-Sent --> Opend 11-18 21:38:20 [183] IPCP: LayerUp. 11-18 21:38:20 [183] myaddr = 194.239.150.7 hisaddr = 193.162.157.162 11-18 21:38:20 [183] OsLinkup: 193.162.157.162 11-18 21:38:21 [183] CCP: Received Configure Reject (2) state = Req-Sent (6) 11-18 21:38:21 [183] CCP: RecvConfigRej. 11-18 21:38:21 [183] CCP: SendConfigReq 11-18 21:38:21 [183] CCP: Received Configure Reject (3) state = Req-Sent (6) 11-18 21:38:21 [183] CCP: RecvConfigRej. 11-18 21:38:21 [183] CCP: SendConfigReq 11-18 21:38:21 [183] CCP: Received Configure Reject (4) state = Req-Sent (6) 11-18 21:38:21 [183] CCP: RecvConfigRej. 11-18 21:38:21 [183] CCP: SendConfigReq 11-18 21:38:21 [183] CCP: Received Configure Reject (5) state = Req-Sent (6) 11-18 21:38:21 [183] CCP: RecvConfigRej. 11-18 21:38:21 [183] CCP: SendConfigReq 11-18 21:38:21 [183] CCP: Received Configure Reject (6) state = Req-Sent (6) 11-18 21:38:21 [183] CCP: RecvConfigRej. 11-18 21:38:21 [183] CCP: SendConfigReq 11-18 21:38:21 [183] CCP: Received Configure Reject (7) state = Req-Sent (6) 11-18 21:38:21 [183] CCP: RecvConfigRej. 11-18 21:38:21 [183] CCP: SendConfigReq 11-18 21:38:22 [183] CCP: Received Configure Reject (8) state = Req-Sent (6) 11-18 21:38:22 [183] CCP: RecvConfigRej. 11-18 21:38:22 [183] CCP: SendConfigReq 11-18 21:38:22 [183] CCP: Received Terminate Request (2) state = Req-Sent (6) 11-18 21:38:22 [183] CCP: SendTerminateAck 11-18 21:38:22 [183] CCP: Received Terminate Request (3) state = Req-Sent (6) 11-18 21:38:22 [183] CCP: SendTerminateAck 11-18 21:38:25 [183] CCP: SendTerminateReq. 11-18 21:38:25 [183] CCP: state change Req-Sent --> Closing 11-18 21:38:25 [183] CCP: Received Terminate Ack (12) state = Closing (4) 11-18 21:38:25 [183] CCP: state change Closing --> Closed 11-18 21:38:25 [183] CCP: LayerFinish. 11-18 21:38:26 [183] CCP: Received Terminate Request (4) state = Closed (2) 11-18 21:38:26 [183] CCP: SendTerminateAck 11-18 21:38:30 [183] CCP: Received Terminate Request (5) state = Closed (2) 11-18 21:38:30 [183] CCP: SendTerminateAck 11-18 21:38:49 [183] LqrOutput: 11-18 21:38:49 [183] Magic: 4e848517 LastOutLQRs: 00000000 11-18 21:38:49 [183] LastOutPackets: 00000000 LastOutOctets: 00000000 11-18 21:38:49 [183] PeerInLQRs: 00000000 PeerInPackets: 00000017 11-18 21:38:49 [183] PeerInDiscards: 00000000 PeerInErrors: 00000000 11-18 21:38:49 [183] PeerInOctets: 00000167 PeerOutLQRs: 00000002 11-18 21:38:49 [183] PeerOutPackets: 0000001f PeerOutOctets: 000003cd --------------------- --------------167E2781446B--