Help needed with PPPOED (what is: PADO and PADI package)

Hi All,

I am trying to get my QNX box to connect with my ISP (Planet Internet) I’m doing this using a Alcatel SpeedTouch Home. In Windows 98 and Windows NT everything goes fine. With Windows
NT I use the PPTP protocol. With Windows 98 I use the Microsoft VPN. For QNX, I guess I have to use PPPOED. So this is what I am trying at the moment. I start pppoed with a verbose option
and this is what I get (see below) Can anybody help me out or tell me what I have to do.

pppoed nodetach noscript logfd=2 logstatus name=10.0.0.138 service=pc1 en=en1 verbose=10

PPPOED Status: pppoed Started
found a PPPOE session.
status: 0
session id: 0
host mac: ffffffffffff iface[all]
ac mac: ffffffffffff
idx 0 – 0

pppoe_status: No such file or directory
pppoe_status: No such file or directory
pppoe_status: No such file or directory
pppoe_status: No such file or directory
pppoe_status: No such device or address

pppoe_info: returned 0 [No error]
found a nic: en1
mac: 0010a70bde9d
idx 0 – 0

pppoe_info: returned 0 [No error]
found a nic: en0
mac: 0050bf7bc37e
idx 1 – 1

pppoe_info: returned 2 [No such file or directory]

PPPOED Status: Contacting Server
Sending PADI Packet
local mac: 0010a70bde9d
remote mac: ffffffffffff
code= 9 [PADI]
len= 18
tags:
101 00 [Service]
NULL
NULL
102 10 [ServerName]
31302e302e302e313338
10.0.0.138
Getting PADO Packet
Didn’t get a PADO – retrying…
Getting PADO Packet
Didn’t get a PADO – retrying…
Getting PADO Packet
Didn’t get a PADO – retrying…
Getting PADO Packet
Didn’t get a PADO – retrying…
Getting PADO Packet
Didn’t get a PADO – retrying…

Freddy Martens <freddy.martens@planet.nl> wrote in
news:1103_1012429383@inn.qnx.com:

I am trying to get my QNX box to connect with my ISP (Planet Internet)
I’m doing this using a Alcatel SpeedTouch Home. In Windows 98 and
Windows NT everything goes fine. With Windows NT I use the PPTP
protocol. With Windows 98 I use the Microsoft VPN. For QNX, I guess I
have to use PPPOED. So this is what I am trying at the moment. I start
pppoed with a verbose option and this is what I get (see below) Can
anybody help me out or tell me what I have to do.

The PADO/PADI is a session negotiation for PPPoE to you provider. I
noticed you have 2 interfaces, en0 and en1, are you sure that you are
specifing the correct interface? What version of QNX6 are you using?

-Adam

Hi Adam,

Here is the rest of the information.

‘uname-a’ gives me:
QNX PATHFINDER 6.1.0 2001/08/23-19:38:50edt x86pc x86

‘ls -l’ gives me:
-rwxrwxr-x 1 root bin 14096 Jun 22 2001 /lib/dll/npm-pppoe.so
-rwsrwxr-x 1 root bin 20288 Jun 22 2001 /usr/sbin/pppoed
-rwsrwxr-x 1 root bin 144024 Aug 24 01:05 /usr/sbin/pppd

‘ifconfig -a’ gives me:
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976
inet 127.0.0.1 netmask 0xff000000
en0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:50:bf:7b:c3:7e
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
en1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:10:a7:0b:de:9d
inet 10.0.0.150 netmask 0xffffff00 broadcast 10.0.0.255

ping to ADSL modem gives me:
PING 10.0.0.138 (10.0.0.138): 56 data bytes
64 bytes from 10.0.0.138: icmp_seq=0 ttl=255 time=1 ms
— 10.0.0.138 ping statistics —
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1/1/1 ms

Regards,

Freddy

PS: I’m using pptp in Windows NT. Is this the same as pppoe in QNX???




On 31 Jan 2002 21:48:27 GMT, Adam Mallory <amallory@qnx.com> wrote:

Freddy Martens <> freddy.martens@planet.nl> > wrote in
news:> 1103_1012429383@inn.qnx.com> :

I am trying to get my QNX box to connect with my ISP (Planet Internet)
I’m doing this using a Alcatel SpeedTouch Home. In Windows 98 and
Windows NT everything goes fine. With Windows NT I use the PPTP
protocol. With Windows 98 I use the Microsoft VPN. For QNX, I guess I
have to use PPPOED. So this is what I am trying at the moment. I start
pppoed with a verbose option and this is what I get (see below) Can
anybody help me out or tell me what I have to do.

The PADO/PADI is a session negotiation for PPPoE to you provider. I
noticed you have 2 interfaces, en0 and en1, are you sure that you are
specifing the correct interface? What version of QNX6 are you using?

-Adam

Freddy Martens
Field Application Engineer

Prime EDA
Keesomstraat 17
6717 AH Ede, The Netherlands
T: +31 318 692 720
F: +31 547 367 332
M: +31 622 605 232
E: freddy@prime-eda.com
W: http://www.prime-eda.com

Build a more reliable world
http://www.qnx.com

I’m using 2 Realtech 8139 based NIC’s. Configuring these cards using the ‘pci=’ tag isn’t going OK. In opther words: I had some troubles configuring these cards. At this moment, I start io-net like
this: 'io-net -d rtl -p tcpip -p pppmgr -p pppoe -p qnet & ’ And this works. ping 10.0.0.138 gives me a good reply. But starting pppoed by hand (with the same parameters as phdialer) and a optional
verbose gives me a lot of retries on receiving the pado package. I don’t know if the SERVICE tag has something to do with this. So redefining my Questions:

  1. How to configure 2 identical NIC’s with different parameters
  2. What do I have to fill in for the SERVER and SERVICE parameters
  3. How do I get my ADSL connection to work.

Any help would be welcome.

Regards,

Freddy


On Fri, 01 Feb 2002 09:27:44 GMT, Freddy Martens <freddy@prime-eda.com> wrote:

Hi Adam,

Here is the rest of the information.

‘uname-a’ gives me:
QNX PATHFINDER 6.1.0 2001/08/23-19:38:50edt x86pc x86

‘ls -l’ gives me:
-rwxrwxr-x 1 root bin 14096 Jun 22 2001 /lib/dll/npm-pppoe.so
-rwsrwxr-x 1 root bin 20288 Jun 22 2001 /usr/sbin/pppoed
-rwsrwxr-x 1 root bin 144024 Aug 24 01:05 /usr/sbin/pppd

‘ifconfig -a’ gives me:
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976
inet 127.0.0.1 netmask 0xff000000
en0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:50:bf:7b:c3:7e
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
en1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:10:a7:0b> :de:> 9d
inet 10.0.0.150 netmask 0xffffff00 broadcast 10.0.0.255

ping to ADSL modem gives me:
PING 10.0.0.138 (10.0.0.138): 56 data bytes
64 bytes from 10.0.0.138: icmp_seq=0 ttl=255 time=1 ms
— 10.0.0.138 ping statistics —
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1/1/1 ms

Regards,

Freddy

PS: I’m using pptp in Windows NT. Is this the same as pppoe in QNX???




On 31 Jan 2002 21:48:27 GMT, Adam Mallory <> amallory@qnx.com> > wrote:
Freddy Martens <> freddy.martens@planet.nl> > wrote in
news:> 1103_1012429383@inn.qnx.com> :

I am trying to get my QNX box to connect with my ISP (Planet Internet)
I’m doing this using a Alcatel SpeedTouch Home. In Windows 98 and
Windows NT everything goes fine. With Windows NT I use the PPTP
protocol. With Windows 98 I use the Microsoft VPN. For QNX, I guess I
have to use PPPOED. So this is what I am trying at the moment. I start
pppoed with a verbose option and this is what I get (see below) Can
anybody help me out or tell me what I have to do.

The PADO/PADI is a session negotiation for PPPoE to you provider. I
noticed you have 2 interfaces, en0 and en1, are you sure that you are
specifing the correct interface? What version of QNX6 are you using?

-Adam


Freddy Martens
Field Application Engineer

Prime EDA
Keesomstraat 17
6717 AH Ede, The Netherlands
T: +31 318 692 720
F: +31 547 367 332
M: +31 622 605 232
E: > freddy@prime-eda.com
W: > http://www.prime-eda.com

Build a more reliable world
http://www.qnx.com
\

Freddy Martens
Field Application Engineer

Prime EDA
Keesomstraat 17
6717 AH Ede, The Netherlands
T: +31 318 692 720
F: +31 547 367 332
M: +31 622 605 232
E: freddy@prime-eda.com
W: http://www.prime-eda.com

Build a more reliable world
http://www.qnx.com