I trying to connect two QNX machine with a serial null modem cable using the
PPP protocol.
The network driver is started with -ptcpip -v -pppmgr. Both machine can
connect to a network.
I did a stty baud=9600 bits=8 stopb=1 par=none +raw < /dev/ser2 on both
machine.
Then I did a /usr/sbin/pppd /dev/serv2 on both machine
netstat -in show me this below, but after a while the ppp0 line dissapear,
no connection !!!
What i’m missing.
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs
Coll
lo0 32976 6250 0 6250 0
0
lo0 32976 127 127.0.0.1 6250 0 6250 0
0
en0 1500 00:01:02:ce:8a:dc 22046982 0 36635425 0
0
en0 1500 172.16 172.16.22.16 22046982 0 36635425 0
0
ppp0* 1500 0 0 0 0
0
The content of syslog is:
Dec 13 10:11:16 nto pppd[58687597-1]: Connect: ppp1 <–> /dev/ser2
Dec 13 10:11:16 nto pppd[58687597-1]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x4cccd27a> ]
Dec 13 10:11:37 nto last message repeated 7 times
Dec 13 10:11:40 nto pppd[58687597-1]: Terminating on signal 15.
Dec 13 10:11:40 nto pppd[58687597-1]: sent [LCP TermReq id=0x2 “User
request”]
Dec 13 10:11:43 nto pppd[58687597-1]: sent [LCP TermReq id=0x3 “User
request”]
Dec 13 10:11:43 nto pppd[58777740-1]: can’t set control terminal after
detach
Dec 13 10:11:43 nto pppd[58777740-1]: pppd 2.3.11 started by rsenecal, uid 0
Dec 13 10:11:43 nto pppd[58777740-1]: Using interface ppp0
Dec 13 10:11:43 nto pppd[58777740-1]: Connect: ppp0 <–> /dev/ser2
Dec 13 10:11:43 nto pppd[58777740-1]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0xf271db6a> ]
Dec 13 10:11:46 nto pppd[58687597-1]: Connection terminated.
Dec 13 10:11:46 nto pppd[58777740-1]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0xf271db6a> ]
Dec 13 10:11:47 nto pppd[58687597-1]: Exit.
Dec 13 10:11:49 nto pppd[58777740-1]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0xf271db6a> ]
Dec 13 10:12:10 nto last message repeated 7 times
Dec 13 10:12:13 nto pppd[58777740-1]: LCP: timeout sending Config-Requests
Dec 13 10:12:32 nto pppd[58777740-1]: Hangup (SIGHUP)
Dec 13 10:12:32 nto pppd[58777740-1]: Connection terminated.
Dec 13 10:12:33 nto pppd[58777740-1]: Exit