[plug] pppd
Dean Wright
dwright at space.net.au
Sun Oct 31 21:22:20 WST 1999
Garth and Jeremy,
here is what was put in the daemon file after I changed the login.config to
the setting said by Jeremy.
if you see on the lines marked with ****'s the first line shows that I can
login and that it gets the right name and pass,
but then down at the next ****'s it says that the peer disconnected and I
was wondering if this was a problem with my settings in the options file?
Oct 31 17:03:34 ScoutCom1 pppd[280]: pppd 2.3.7 started by a_ppp, uid 0
Oct 31 17:03:34 ScoutCom1 pppd[280]: Using interface ppp0
Oct 31 17:03:34 ScoutCom1 pppd[280]: Connect: ppp0 <--> /dev/ttyS0
Oct 31 17:03:34 ScoutCom1 pppd[280]: Warning - secret file
/etc/ppp/pap-secrets has world and/or group access
Oct 31 17:03:34 ScoutCom1 pppd[280]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth pap> <magic 0xa70a47c7> <pcomp> <accomp>]
Oct 31 17:03:37 ScoutCom1 pppd[280]: rcvd [LCP ConfReq id=0x2 <asyncmap
0xa0000> <magic 0x16d671e> <pcomp> <accomp> <callback 0x600>]
Oct 31 17:03:37 ScoutCom1 pppd[280]: sent [LCP ConfRej id=0x2 <callback
0x600>]
Oct 31 17:03:37 ScoutCom1 pppd[280]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth pap> <magic 0xa70a47c7> <pcomp> <accomp>]
Oct 31 17:03:37 ScoutCom1 pppd[280]: rcvd [LCP ConfReq id=0x3 <asyncmap
0xa0000> <magic 0x16d671e> <pcomp> <accomp>]
Oct 31 17:03:37 ScoutCom1 pppd[280]: sent [LCP ConfAck id=0x3 <asyncmap
0xa0000> <magic 0x16d671e> <pcomp> <accomp>]
Oct 31 17:03:37 ScoutCom1 pppd[280]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<auth pap> <magic 0xa70a47c7> <pcomp> <accomp>]
Oct 31 17:03:37 ScoutCom1 pppd[280]: sent [LCP EchoReq id=0x0
magic=0xa70a47c7]
Oct 31 17:03:38 ScoutCom1 pppd[280]: rcvd [LCP EchoRep id=0x0
magic=0x16d671e]
Oct 31 17:03:40 ScoutCom1 pppd[280]: rcvd [PAP AuthReq id=0x2 user="dean"
password="dean"]
Oct 31 17:03:40 ScoutCom1 pppd[280]: Warning - secret file
/etc/ppp/pap-secrets has world and/or group access
****Oct 31 17:03:40 ScoutCom1 pppd[280]: user dean logged in
Oct 31 17:03:40 ScoutCom1 pppd[280]: sent [PAP AuthAck id=0x2 "Login ok"]
Oct 31 17:03:40 ScoutCom1 pppd[280]: sent [IPCP ConfReq id=0x1 <addr
172.16.0.1> <compress VJ 0f 01>]
Oct 31 17:03:42 ScoutCom1 pppd[280]: rcvd [IPCP ConfReq id=0x1 <compress VJ
0f 01> <addr 0.0.0.0> <ms-dns 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns 0.0.0.0>
<ms-wins 0.0.0.0>]
Oct 31 17:03:42 ScoutCom1 pppd[280]: sent [IPCP ConfRej id=0x1 <addr
0.0.0.0> <ms-dns 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns 0.0.0.0> <ms-wins
0.0.0.0>]
Oct 31 17:03:42 ScoutCom1 pppd[280]: rcvd [CCP ConfReq id=0x1 < 12 06 00 00
00 01> < 11 05 00 01 04>]
Oct 31 17:03:42 ScoutCom1 pppd[280]: sent [CCP ConfReq id=0x1]
Oct 31 17:03:42 ScoutCom1 pppd[280]: sent [CCP ConfRej id=0x1 < 12 06 00 00
00 01> < 11 05 00 01 04>]
Oct 31 17:03:42 ScoutCom1 pppd[280]: rcvd [IPCP ConfAck id=0x1 <addr
172.16.0.1> <compress VJ 0f 01>]
Oct 31 17:03:42 ScoutCom1 pppd[280]: rcvd [IPCP ConfReq id=0x2 <addrs
0.0.0.0 172.16.0.1> <compress VJ 0f 01>]
Oct 31 17:03:42 ScoutCom1 pppd[280]: sent [IPCP ConfRej id=0x2 <addrs
0.0.0.0 172.16.0.1>]
Oct 31 17:03:42 ScoutCom1 pppd[280]: rcvd [CCP ConfAck id=0x1]
Oct 31 17:03:42 ScoutCom1 pppd[280]: rcvd [CCP ConfReq id=0x2]
Oct 31 17:03:42 ScoutCom1 pppd[280]: sent [CCP ConfAck id=0x2]
Oct 31 17:03:42 ScoutCom1 pppd[280]: rcvd [IPCP TermReq id=0x3]
Oct 31 17:03:42 ScoutCom1 pppd[280]: sent [IPCP TermAck id=0x3]
Oct 31 17:03:42 ScoutCom1 pppd[280]: rcvd [CCP TermReq id=0x3]
Oct 31 17:03:42 ScoutCom1 pppd[280]: CCP terminated by peer
Oct 31 17:03:42 ScoutCom1 pppd[280]: sent [CCP TermAck id=0x3]
Oct 31 17:03:42 ScoutCom1 pppd[280]: Compression disabled by peer.
Oct 31 17:03:43 ScoutCom1 pppd[280]: sent [IPCP ConfReq id=0x1 <addr
172.16.0.1> <compress VJ 0f 01>]
Oct 31 17:03:44 ScoutCom1 pppd[280]: rcvd [IPCP TermAck id=0x1]
Oct 31 17:03:46 ScoutCom1 pppd[280]: sent [IPCP ConfReq id=0x1 <addr
172.16.0.1> <compress VJ 0f 01>]
Oct 31 17:03:47 ScoutCom1 pppd[280]: rcvd [IPCP TermAck id=0x1]
Oct 31 17:03:49 ScoutCom1 pppd[280]: sent [IPCP ConfReq id=0x1 <addr
172.16.0.1> <compress VJ 0f 01>]
Oct 31 17:03:50 ScoutCom1 pppd[280]: rcvd [IPCP TermAck id=0x1]
Oct 31 17:03:52 ScoutCom1 pppd[280]: rcvd [LCP TermReq id=0x4]
*****Oct 31 17:03:52 ScoutCom1 pppd[280]: LCP terminated by peer
Oct 31 17:03:52 ScoutCom1 pppd[280]: sent [LCP TermAck id=0x4]
Oct 31 17:03:53 ScoutCom1 pppd[280]: Hangup (SIGHUP)
Oct 31 17:03:53 ScoutCom1 pppd[280]: Modem hangup
Oct 31 17:03:53 ScoutCom1 pppd[280]: Connection terminated.
Oct 31 17:03:53 ScoutCom1 pppd[280]: Connect time 0.4 minutes.
Oct 31 17:03:53 ScoutCom1 pppd[280]: Exit.
if I am to assign an IP to the peer should I have this in the options.ttyS0
file?
and also do I need to have setup things like DNS address's, or hosts or an
interface if I am only planning to connect these two machines and pass files
between them?
Am I pretty close to getting this connection going I feel like its just
around the corner, fingers crossed that it is.
BTW I reckon I owe you guy's a couple beers for helping me :-)
Dean
More information about the plug
mailing list