Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!agis!news1.best.com!ddsw1!panix!news.mathworks.com!europa.chnt.gtegsc.com!news.sprintlink.net!cs.utexas.edu!uwm.edu!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!dial22.ppp.iastate.edu!marcus From: marcus@ccelab.iastate.edu (Marcus I. Ryan) Newsgroups: comp.unix.bsd.freebsd.misc Subject: PPP Server setup with iij-ppp in 2.0.5A (config file question) Date: Tue, 13 Jun 1995 13:46:56 LOCAL Organization: Iowa State University Lines: 131 Message-ID: <marcus.107.001391C2@ccelab.iastate.edu> NNTP-Posting-Host: dial22.ppp.iastate.edu X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #4] I have recently upgraded to 2.0.5A and would like to set up a PPP host (as the one I'm using now will begin charging July 1st). I have been trying different things with the config files, but seemingly to no avail. PPP makes a connection, and according to the logs, talks to the client. Unfortunately, not much else happens with it. I've looked through the sample files, the manual page, and the FAQs (which all cover pppd, not ppp). I've learned a lot from the manual page, but not enough about the configuration files to be useful, and the sample files don't include server setups. Here is my attempt. Please tell me what I'm doing wrong if you would. Host server: 129.186.7.167 Host Gateway: 129.186.7.254 Client Assigned IP address: 129.186.7.173 I don't want to do anything more than put the ppplogin script as their login shell. No PAP or CHAP (what's lqr?). ~/.ppp.conf default: set device /dev/ttyd1 set speed 57600 set ifaddr 129.186.7.167 129.186.7.173 disable lqr deny lqr disable pap deny pap disable chap deny chap /etc/ppp/ppp.linkup 129.186.7.173: add 129.186.7.167 255.255.255.0 129.186.7.173 Should this work? Is my routing wrong? Have I forgotten to change something in my client? All help is appreciated. If it helps, here is /var/log/ppp.log (what does Received Protocol Reject (3) state = Opend, Protocol (80fd) was rejected. mean? What is protocol (80fd)?) 06-13 18:27:23 [804] Using interface: tun0 06-13 18:27:23 [804] Listening at 3000. 06-13 18:27:23 [804] PPP Started. Packet mode enabled 06-13 18:27:23 [804] LCP: state change Initial --> Closed 06-13 18:27:23 [804] LCP: SendConfigReq 06-13 18:27:23 [804] ACFCOMP 06-13 18:27:23 [804] PROTOCOMP 06-13 18:27:23 [804] ACCMAP [6] 00000000 06-13 18:27:23 [804] MRU [4] 1500 06-13 18:27:23 [804] MAGICNUM [6] 92af7ae8 06-13 18:27:23 [804] LCP: state change Closed --> Req-Sent 06-13 18:27:24 [804] *Connected! 06-13 18:27:25 [804] LCP: Received Configure Request (2) state = Req-Sent (6) 06-13 18:27:25 [804] MRU 1500 06-13 18:27:25 [804] ACCMAP 00000000 06-13 18:27:25 [804] MAGICNUM 0001d0ee 06-13 18:27:25 [804] PROTOCOMP 06-13 18:27:25 [804] ACFCOMP 06-13 18:27:25 [804] LCP: SendConfigAck(Req-Sent) 06-13 18:27:25 [804] MRU 1500 06-13 18:27:25 [804] ACCMAP 00000000 06-13 18:27:25 [804] MAGICNUM 0001d0ee 06-13 18:27:25 [804] PROTOCOMP 06-13 18:27:25 [804] ACFCOMP 06-13 18:27:25 [804] LCP: state change Req-Sent --> Ack-Sent 06-13 18:27:26 [804] LCP: SendConfigReq 06-13 18:27:26 [804] ACFCOMP 06-13 18:27:26 [804] PROTOCOMP 06-13 18:27:26 [804] ACCMAP [6] 00000000 06-13 18:27:26 [804] MRU [4] 1500 06-13 18:27:26 [804] MAGICNUM [6] 92af7ae8 06-13 18:27:29 [804] LCP: Received Configure Request (3) state = Ack-Sent (8) 06-13 18:27:29 [804] MRU 1500 06-13 18:27:29 [804] ACCMAP 00000000 06-13 18:27:29 [804] MAGICNUM 0001dd97 06-13 18:27:29 [804] PROTOCOMP 06-13 18:27:29 [804] ACFCOMP 06-13 18:27:29 [804] LCP: SendConfigAck(Ack-Sent) 06-13 18:27:29 [804] MRU 1500 06-13 18:27:29 [804] ACCMAP 00000000 06-13 18:27:29 [804] MAGICNUM 0001dd97 06-13 18:27:29 [804] PROTOCOMP 06-13 18:27:29 [804] ACFCOMP 06-13 18:27:29 [804] LCP: SendConfigReq 06-13 18:27:29 [804] ACFCOMP 06-13 18:27:29 [804] PROTOCOMP 06-13 18:27:29 [804] ACCMAP [6] 00000000 06-13 18:27:29 [804] MRU [4] 1500 06-13 18:27:29 [804] MAGICNUM [6] 92af7ae8 06-13 18:27:30 [804] LCP: Received Configure Ack (3) state = Ack-Sent (8) 06-13 18:27:30 [804] LCP: state change Ack-Sent --> Opend 06-13 18:27:30 [804] LCP: LayerUp 06-13 18:27:30 [804] Phase: Authenticate 06-13 18:27:30 [804] his = 0, mine = 0 06-13 18:27:30 [804] Phase: Network 06-13 18:27:30 [804] IPCP: state change Initial --> Closed 06-13 18:27:30 [804] IPCP Up event!! 06-13 18:27:30 [804] IPCP: SendConfigReq 06-13 18:27:30 [804] IPADDR [6] 129.186.7.167 06-13 18:27:30 [804] COMPPROTO [6] 002d0f00 06-13 18:27:30 [804] IPCP: state change Closed --> Req-Sent 06-13 18:27:30 [804] CCP: state change Initial --> Closed 06-13 18:27:30 [804] CCP Up event!! 06-13 18:27:30 [804] CCP: SendConfigReq 06-13 18:27:30 [804] CCP: state change Closed --> Req-Sent 06-13 18:27:30 [804] IPCP: Received Configure Request (2) state = Req-Sent (6) 06-13 18:27:30 [804] COMPPROTO[6] 002d0f01 06-13 18:27:30 [804] IPADDR[6] 129.186.7.173 06-13 18:27:30 [804] IPCP: SendConfigAck(Req-Sent) 06-13 18:27:30 [804] COMPPROTO[6] 002d0f01 06-13 18:27:30 [804] IPADDR[6] 129.186.7.173 06-13 18:27:30 [804] IPCP: state change Req-Sent --> Ack-Sent 06-13 18:27:30 [804] IPCP: Received Configure Ack (1) state = Ack-Sent (8) 06-13 18:27:30 [804] IPCP: state change Ack-Sent --> Opend 06-13 18:27:30 [804] IPCP: LayerUp. 06-13 18:27:30 [804] myaddr = 129.186.7.167 hisaddr = 129.186.7.173 06-13 18:27:30 [804] OsLinkup: 129.186.7.173 06-13 18:27:30 [804] LCP: Received Protocol Reject (3) state = Opend (9) 06-13 18:27:30 [804] -- Protocol (80fd) was rejected. 06-13 18:27:30 [804] CCP: LayerFinish. 06-13 18:27:30 [804] CCP: state change Req-Sent --> Stopped 06-13 18:27:50 [804] Disconnected! 06-13 18:27:50 [804] Connect time: 26 secs 06-13 18:27:50 [804] Phase: Dead 06-13 18:27:50 [804] OsLinkdown: 129.186.7.173 06-13 18:27:51 [804] PPP Terminated.