Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - [ppp] I'll share my ppp connection test result.: (3 Items)
   
[ppp] I'll share my ppp connection test result.  
Hi, 
I'll share my ppp test result.

My test enviroment is 
- QNX PC#1 + UART port <----- Serial cable(cross cable) ----> QNX PC #2+ UART Port. 
I think that this is very basic enviroment to test ppp. 
So, any user of QNX can generate the same result like me in my thought.

I'll compare test result of ppp connection between QNX PC#1 and QNX PC#2 in two cases - ionet and iopkt.

I put the command in QNX PC#1 : pppd /dev/ser1 115200 10.100:10.200 (acting as a server)
And I put the command in QNX PC#2 : pppd /dev/ser1 115200 debug updetach (acting as a client)

Would you please confirm that I typed right commands ? 
If there is any wrong options, please let me know.

In case of ionet, the debug message is like below.
As a result two PCs can talk each other using ping utility.

# pppd /dev/ser1 115200 debug updetach
Loaded npm-pppmgr.so
Using interface ppp0
Connect: ppp0 <--> /dev/ser1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd0ae699a> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd0ae699a> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe41e4249> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe41e4249> <pcomp> <accomp>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 10.0.0.100>]
sent [IPCP ConfAck id=0x1 <addr 10.0.0.100>]
rcvd [IPCP ConfNak id=0x1 <addr 10.0.0.200>]
sent [IPCP ConfReq id=0x2 <addr 10.0.0.200>]
rcvd [IPCP ConfAck id=0x2 <addr 10.0.0.200>]
local  IP address 10.0.0.200
remote IP address 10.0.0.100
# ping 10.0.0.100
PING 10.0.0.100 (10.0.0.100): 56 data bytes
64 bytes from 10.0.0.100: icmp_seq=0 ttl=255 time=112 ms
64 bytes from 10.0.0.100: icmp_seq=1 ttl=255 time=105 ms
64 bytes from 10.0.0.100: icmp_seq=2 ttl=255 time=105 ms
----10.0.0.100 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 105/107/112 ms   variance = 123 ms^2


But in case with iopkt, pppd is dead with "Fatal Signal 11" message.

# pppd /dev/ser1 115200 debug updetach
using channel 0
Using interface ppp0
Connect: ppp0 <--> /dev/ser1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3b45bb> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xce3b45bb> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x38c4c15> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x38c4c15> <pcomp> <accomp>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.100>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 10.0.0.100>]
rcvd [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Deflate (15) compression enabled
rcvd [IPCP ConfNak id=0x1 <addr 10.0.0.200>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 10.0.0.200>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 10.0.0.200>]
Fatal signal 11


Please let me know that if I missed some options for pppd and if you find any bugs or errros to solve the problem with 
iopkt.

Thanks.
Wayne.







RE: [ppp] I'll share my ppp connection test result.  
Hi Wayne:

	Sorry that this took so long to look into.  Signal 11 is a SIGSEGV.
I'm pretty sure that I know what's going on and we'll look at getting a fix
in shortly.

	Robert.

-----Original Message-----
From: Jongpil Won [mailto:skypiri@lge.com] 
Sent: Wednesday, June 04, 2008 4:34 AM
To: drivers-networking
Subject: [ppp] I'll share my ppp connection test result.

Hi, 
I'll share my ppp test result.

My test enviroment is 
- QNX PC#1 + UART port <----- Serial cable(cross cable) ----> QNX PC #2+
UART Port. 
I think that this is very basic enviroment to test ppp. 
So, any user of QNX can generate the same result like me in my thought.

I'll compare test result of ppp connection between QNX PC#1 and QNX PC#2 in
two cases - ionet and iopkt.

I put the command in QNX PC#1 : pppd /dev/ser1 115200 10.100:10.200 (acting
as a server)
And I put the command in QNX PC#2 : pppd /dev/ser1 115200 debug updetach
(acting as a client)

Would you please confirm that I typed right commands ? 
If there is any wrong options, please let me know.

In case of ionet, the debug message is like below.
As a result two PCs can talk each other using ping utility.

# pppd /dev/ser1 115200 debug updetach
Loaded npm-pppmgr.so
Using interface ppp0
Connect: ppp0 <--> /dev/ser1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd0ae699a> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd0ae699a> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe41e4249> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe41e4249> <pcomp> <accomp>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 10.0.0.100>]
sent [IPCP ConfAck id=0x1 <addr 10.0.0.100>]
rcvd [IPCP ConfNak id=0x1 <addr 10.0.0.200>]
sent [IPCP ConfReq id=0x2 <addr 10.0.0.200>]
rcvd [IPCP ConfAck id=0x2 <addr 10.0.0.200>]
local  IP address 10.0.0.200
remote IP address 10.0.0.100
# ping 10.0.0.100
PING 10.0.0.100 (10.0.0.100): 56 data bytes
64 bytes from 10.0.0.100: icmp_seq=0 ttl=255 time=112 ms
64 bytes from 10.0.0.100: icmp_seq=1 ttl=255 time=105 ms
64 bytes from 10.0.0.100: icmp_seq=2 ttl=255 time=105 ms
----10.0.0.100 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 105/107/112 ms   variance = 123 ms^2


But in case with iopkt, pppd is dead with "Fatal Signal 11" message.

# pppd /dev/ser1 115200 debug updetach
using channel 0
Using interface ppp0
Connect: ppp0 <--> /dev/ser1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3b45bb> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xce3b45bb> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x38c4c15> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x38c4c15> <pcomp> <accomp>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.100>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 10.0.0.100>]
rcvd [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Deflate (15) compression enabled
rcvd [IPCP ConfNak id=0x1 <addr 10.0.0.200>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 10.0.0.200>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 10.0.0.200>]
Fatal signal 11


Please let me know that if I missed some options for pppd and...
RE: [ppp] I'll share my ppp connection test result.  
Hi Wayne:

	I just committed the fix.  You need to update sys-nto.c in
services/pppd/nto and re-build pppd.  Your example worked fine for me with
the new code.

	Robert.

-----Original Message-----
From: Jongpil Won [mailto:skypiri@lge.com] 
Sent: Wednesday, June 04, 2008 4:34 AM
To: drivers-networking
Subject: [ppp] I'll share my ppp connection test result.

Hi, 
I'll share my ppp test result.

My test enviroment is 
- QNX PC#1 + UART port <----- Serial cable(cross cable) ----> QNX PC #2+
UART Port. 
I think that this is very basic enviroment to test ppp. 
So, any user of QNX can generate the same result like me in my thought.

I'll compare test result of ppp connection between QNX PC#1 and QNX PC#2 in
two cases - ionet and iopkt.

I put the command in QNX PC#1 : pppd /dev/ser1 115200 10.100:10.200 (acting
as a server)
And I put the command in QNX PC#2 : pppd /dev/ser1 115200 debug updetach
(acting as a client)

Would you please confirm that I typed right commands ? 
If there is any wrong options, please let me know.

In case of ionet, the debug message is like below.
As a result two PCs can talk each other using ping utility.

# pppd /dev/ser1 115200 debug updetach
Loaded npm-pppmgr.so
Using interface ppp0
Connect: ppp0 <--> /dev/ser1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd0ae699a> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd0ae699a> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe41e4249> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe41e4249> <pcomp> <accomp>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 10.0.0.100>]
sent [IPCP ConfAck id=0x1 <addr 10.0.0.100>]
rcvd [IPCP ConfNak id=0x1 <addr 10.0.0.200>]
sent [IPCP ConfReq id=0x2 <addr 10.0.0.200>]
rcvd [IPCP ConfAck id=0x2 <addr 10.0.0.200>]
local  IP address 10.0.0.200
remote IP address 10.0.0.100
# ping 10.0.0.100
PING 10.0.0.100 (10.0.0.100): 56 data bytes
64 bytes from 10.0.0.100: icmp_seq=0 ttl=255 time=112 ms
64 bytes from 10.0.0.100: icmp_seq=1 ttl=255 time=105 ms
64 bytes from 10.0.0.100: icmp_seq=2 ttl=255 time=105 ms
----10.0.0.100 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 105/107/112 ms   variance = 123 ms^2


But in case with iopkt, pppd is dead with "Fatal Signal 11" message.

# pppd /dev/ser1 115200 debug updetach
using channel 0
Using interface ppp0
Connect: ppp0 <--> /dev/ser1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3b45bb> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xce3b45bb> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x38c4c15> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x38c4c15> <pcomp> <accomp>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.0.0.100>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 10.0.0.100>]
rcvd [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Deflate (15) compression enabled
rcvd [IPCP ConfNak id=0x1 <addr 10.0.0.200>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 10.0.0.200>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 10.0.0.200>]
Fatal signal 11


Please let me know that if I missed some options for pppd and if you...