I am trying to get PPP running on QNX and have followed the instructions in the following link section, "Networking QNX Neutrino using PPP:
http://www.qnx.com/developers/docs/6.4.1/ide_en/user_guide/target.html
The strange thing is using the Windows PPP settings and the following command it actualy worked once but never again:
"pppd debug nodetach nocrtscts auth +chap 10.0.0.1:10.0.0.2 netmask 255.255.255.0 /dev/ser2 115200"
And by worked I mean using ipconfig I could see my IP address has been assigned to the Windows PPP connection. I then retried it and it did not work. Below is the log I get when the connection fails, Windows reports “Error 734: The PPP link control protocol was terminted”
It appears to me it is authenticating OK but failing after that. I am slightly miffed as to why it worked once and once only. Any advice is appreciated. Thanks.
Warning: couldn't open ppp database /var/run/pppd2.tdb
using channel 0
Using interface ppp0
Failed to create pid file /var/run/ppp0.pid: No such file or directory
Connect: ppp0 <--> /dev/ser2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x34f277b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x34f277b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x34f277b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x34f277b> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <magic 0x4c4e5c62> <pcomp> <accomp> <callback CBCP>]
sent [LCP ConfRej id=0x0 <callback CBCP>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4c4e5c62> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4c4e5c62> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x34f277b> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x34f277b> <pcomp> <accomp>]
sent [CHAP Challenge id=0xde <0ea8f198583c290539bc134646247f7e>, name = "localhost"]
rcvd [LCP Ident id=0x2 magic=0x4c4e5c62 "MSRASV5.10"]
sent [CHAP Challenge id=0xde <0ea8f198583c290539bc134646247f7e>, name = "localhost"]
rcvd [CHAP Response id=0xde <3c2c201cd01d71f047b0c97574c2c985>, name = "root"]
Warning - secret file /etc/ppp/chap-secrets has world and/or group access
sent [CHAP Success id=0xde "Access granted"]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
rcvd [IPCP ConfReq id=0x6 <compress VJ 0f 01> <addr 10.0.0.2> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
sent [IPCP ConfRej id=0x6 <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
rcvd [CCP ConfReq id=0x7 <mppe -H -M -S -L -D +C>]
sent [CCP ConfRej id=0x7 <mppe -H -M -S -L -D +C>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
rcvd [IPCP ConfReq id=0x9 <compress VJ 0f 01> <addr 10.0.0.2>]
sent [IPCP ConfAck id=0x9 <compress VJ 0f 01> <addr 10.0.0.2>]
rcvd [CCP ConfReq id=0xa <mppe -H -M -S -L -D +C>]
sent [CCP ConfRej id=0xa <mppe -H -M -S -L -D +C>]
rcvd [CCP TermReq id=0xb"LN\\b\000<\315t\000\000\002\334"]
sent [CCP TermAck id=0xb]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.1>]
CCP: timeout sending Config-Requests
IPCP: timeout sending Config-Requests
sent [LCP TermReq id=0x2 "No network protocols running"]
sent [LCP TermReq id=0x3 "No network protocols running"]
auth.c: Connection terminated.
Connect time 0.8 minutes.
Sent 969 bytes, received 439 bytes.