Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Unable to ping one pandaboard from another with both having QNX on it: (8 Items)
   
Unable to ping one pandaboard from another with both having QNX on it  
Hi all,

I have QNX 6.5.0 running on two pandaboards (Board1 & Board2) connected by a crosswire ethernet cable. I am using a ASIX USB to Ethernet dongle on both the boards since for some reason the mac address of the ethernet port on both boards are all 0's. I use the following lines in the build script to start up io-pkt-v4 

        io-pkt-v4 -dasix promiscuous,mac=<MAC ADDRESS>,verbose=4 -ptcpip
        waitfor /dev/socket
        if_up -p en0
        display_msg Getting Static IP
        ifconfig en0 <IP> netmask 255.255.254.0
        ifconfig en0

The following are the sloginfo for both boards

Board 1
Time             Sev Major Minor Args
Jan 01 00:00:00    2    19   1800 devb-mmcsd-blaze 1.00A (Aug  2 2012 12:28:51)
Jan 01 00:00:00    2     5     0 libcam.so (Jun 15 2010 01:01:35) bver 6040207
Jan 01 00:00:00    2     5   100 cam-disk.so (Jun 15 2010 01:01:50)
Jan 01 00:00:02    5    14     0 tcpip starting
Jan 01 00:00:02    3    14     0 Unable to attach to pci server: No such file or directory
Jan 01 00:00:02    3    14     0 Using pseudo random generator.  See "random" option
Jan 01 00:00:03    5    14     0 devn-ax: MII transceiver found at address 16.
Jan 01 00:00:03    5    14     0 io-pkt shim
Jan 01 00:00:03    5    14     0 Vendor .............. 0x0
Jan 01 00:00:03    5    14     0 Device .............. 0x0
Jan 01 00:00:03    5    14     0 Revision ............ 0x0
Jan 01 00:00:03    5    14     0 MAC address ......... 0050b6 0a3c66
Jan 01 00:00:03    5    14     0 Asix
Jan 01 00:00:03    5    14     0 LanIdx .............. 18
Jan 01 00:00:03    5    14     0 DevIdx .............. 0
Jan 01 00:00:03    5    14     0 Vendor .............. 0xb95
Jan 01 00:00:03    5    14     0 Device .............. 0x7720
Jan 01 00:00:03    5    14     0 Revision ............ 0x0
Jan 01 00:00:03    5    14     0 MAC address ......... <MAC ADDRESS>
Jan 01 00:00:06    5    10     0 devn-ax: link up (100 BaseT Full Duplex)


Board2
Time             Sev Major Minor Args
Jan 01 00:00:00    2    19   1800 devb-mmcsd-blaze 1.00A (Aug  2 2012 12:26:08)
Jan 01 00:00:00    2     5     0 libcam.so (Jun 15 2010 01:01:35) bver 6040207
Jan 01 00:00:00    2     5   100 cam-disk.so (Jun 15 2010 01:01:50)
Jan 01 00:00:02    5    14     0 tcpip starting
Jan 01 00:00:02    3    14     0 Unable to attach to pci server: No such file or directory
Jan 01 00:00:02    3    14     0 Using pseudo random generator.  See "random" option
Jan 01 00:00:03    5    14     0 devn-ax: MII transceiver found at address 16.
Jan 01 00:00:03    5    14     0 io-pkt shim
Jan 01 00:00:03    5    14     0 Vendor .............. 0x0
Jan 01 00:00:03    5    14     0 Device .............. 0x0
Jan 01 00:00:03    5    14     0 Revision ............ 0x0
Jan 01 00:00:03    5    14     0 MAC address ......... 0050b6 0a546c
Jan 01 00:00:03    5    14     0 Asix
Jan 01 00:00:03    5    14     0 LanIdx .............. 18
Jan 01 00:00:03    5    14     0 DevIdx .............. 0
Jan 01 00:00:03    5    14     0 Vendor .............. 0xb95
Jan 01 00:00:03    5    14     0 Device .............. 0x7720
Jan 01 00:00:03    5    14     0 Revision ............ 0x0
Jan 01 00:00:03    5    14     0 MAC address ......... <MAC ADDRESS>
Jan 01 00:00:36    5    10     0 devn-ax: link up (100 BaseT Full Duplex)

nicinfo:

Board1
en0: 
  Asix Ethernet Controller

  Physical Node ID ........................... <MAC ADDRESS>
  Current Physical Node ID ................... <MAC ADDRESS>
  Current Operation Rate ..................... 100.00 Mb/s full-duplex
  Active Interface Type ...................... MII
    Active PHY address ....................... 16
  Maximum Transmittable data Unit ............ 1514
  Maximum Receivable data Unit ............... 1514
  Promiscuous Mode ........................... Off
  Multicast Support .......................... Enabled

  Packets Transmitted OK...
View Full Message
RE: Unable to ping one pandaboard from another with both having QNX on it  
Is your dongle consistently working by connecting to your desktop for example. We are not getting anything on either 
side. What is the version of your devn-asix.so?


-----Original Message-----
From: Johnson Thomas [mailto:community-noreply@qnx.com] 
Sent: Thursday, August 02, 2012 12:52 PM
To: drivers-networking
Subject: Unable to ping one pandaboard from another with both having QNX on it

Hi all,

I have QNX 6.5.0 running on two pandaboards (Board1 & Board2) connected by a crosswire ethernet cable. I am using a ASIX USB to Ethernet dongle on both the boards since for some reason the mac address of the ethernet port on both boards are all 0's. I use the following lines in the build script to start up io-pkt-v4 

        io-pkt-v4 -dasix promiscuous,mac=<MAC ADDRESS>,verbose=4 -ptcpip
        waitfor /dev/socket
        if_up -p en0
        display_msg Getting Static IP
        ifconfig en0 <IP> netmask 255.255.254.0
        ifconfig en0

The following are the sloginfo for both boards

Board 1
Time             Sev Major Minor Args
Jan 01 00:00:00    2    19   1800 devb-mmcsd-blaze 1.00A (Aug  2 2012 12:28:51)
Jan 01 00:00:00    2     5     0 libcam.so (Jun 15 2010 01:01:35) bver 6040207
Jan 01 00:00:00    2     5   100 cam-disk.so (Jun 15 2010 01:01:50)
Jan 01 00:00:02    5    14     0 tcpip starting
Jan 01 00:00:02    3    14     0 Unable to attach to pci server: No such file or directory
Jan 01 00:00:02    3    14     0 Using pseudo random generator.  See "random" option
Jan 01 00:00:03    5    14     0 devn-ax: MII transceiver found at address 16.
Jan 01 00:00:03    5    14     0 io-pkt shim
Jan 01 00:00:03    5    14     0 Vendor .............. 0x0
Jan 01 00:00:03    5    14     0 Device .............. 0x0
Jan 01 00:00:03    5    14     0 Revision ............ 0x0
Jan 01 00:00:03    5    14     0 MAC address ......... 0050b6 0a3c66
Jan 01 00:00:03    5    14     0 Asix
Jan 01 00:00:03    5    14     0 LanIdx .............. 18
Jan 01 00:00:03    5    14     0 DevIdx .............. 0
Jan 01 00:00:03    5    14     0 Vendor .............. 0xb95
Jan 01 00:00:03    5    14     0 Device .............. 0x7720
Jan 01 00:00:03    5    14     0 Revision ............ 0x0
Jan 01 00:00:03    5    14     0 MAC address ......... <MAC ADDRESS>
Jan 01 00:00:06    5    10     0 devn-ax: link up (100 BaseT Full Duplex)


Board2
Time             Sev Major Minor Args
Jan 01 00:00:00    2    19   1800 devb-mmcsd-blaze 1.00A (Aug  2 2012 12:26:08)
Jan 01 00:00:00    2     5     0 libcam.so (Jun 15 2010 01:01:35) bver 6040207
Jan 01 00:00:00    2     5   100 cam-disk.so (Jun 15 2010 01:01:50)
Jan 01 00:00:02    5    14     0 tcpip starting
Jan 01 00:00:02    3    14     0 Unable to attach to pci server: No such file or directory
Jan 01 00:00:02    3    14     0 Using pseudo random generator.  See "random" option
Jan 01 00:00:03    5    14     0 devn-ax: MII transceiver found at address 16.
Jan 01 00:00:03    5    14     0 io-pkt shim
Jan 01 00:00:03    5    14     0 Vendor .............. 0x0
Jan 01 00:00:03    5    14     0 Device .............. 0x0
Jan 01 00:00:03    5    14     0 Revision ............ 0x0
Jan 01 00:00:03    5    14     0 MAC address ......... 0050b6 0a546c
Jan 01 00:00:03    5    14     0 Asix
Jan 01 00:00:03    5    14     0 LanIdx .............. 18
Jan 01 00:00:03    5    14     0 DevIdx .............. 0
Jan 01 00:00:03    5    14     0 Vendor .............. 0xb95
Jan 01 00:00:03    5    14     0 Device .............. 0x7720
Jan 01 00:00:03    5    14     0 Revision ............ 0x0
Jan 01 00:00:03    5    14     0 MAC address ......... <MAC ADDRESS>
Jan 01 00:00:36    5    10     0 devn-ax: link up (100 BaseT Full Duplex)

nicinfo:

Board1
en0: 
  Asix Ethernet Controller

  Physical Node ID ........................... <MAC ADDRESS>
  Current Physical Node ID ................... <MAC ADDRESS>
  Current Operation...
View Full Message
Re: Unable to ping one pandaboard from another with both having QNX on it  
What is <MAC ADDRESS>? Why are you specifying it if the Asix dongle
already has a MAC address?





On 2012-08-02 12:51 PM, "Johnson Thomas" <community-noreply@qnx.com> wrote:

>Hi all,
>
>I have QNX 6.5.0 running on two pandaboards (Board1 & Board2) connected
>by a crosswire ethernet cable. I am using a ASIX USB to Ethernet 
dongle
>on both the boards since for some reason the mac address of the ethernet
>port on both boards are all 0's. I use the following lines in the build
>script to start up io-pkt-v4
>
>        io-pkt-v4 -dasix promiscuous,mac=<MAC ADDRESS>,verbose=4 -ptcpip
>        waitfor /dev/socket
>        if_up -p en0
>        display_msg Getting Static IP
>        ifconfig en0 <IP> netmask 255.255.254.0
>        ifconfig en0
>
>The following are the sloginfo for both boards
>
>Board 1
>Time             Sev Major Minor Args
>Jan 01 00:00:00    2    19   1800 devb-mmcsd-blaze 1.00A (Aug  2 2012
>12:28:51)
>Jan 01 00:00:00    2     5     0 libcam.so (Jun 15 2010 01:01:35) bver
>6040207
>Jan 01 00:00:00    2     5   100 cam-disk.so (Jun 15 2010 01:01:50)
>Jan 01 00:00:02    5    14     0 tcpip starting
>Jan 01 00:00:02    3    14     0 Unable to attach to pci server: No such
>file or directory
>Jan 01 00:00:02    3    14     0 Using pseudo random generator.  See
>"random" option
>Jan 01 00:00:03    5    14     0 devn-ax: MII transceiver found at
>address 16.
>Jan 01 00:00:03    5    14     0 io-pkt shim
>Jan 01 00:00:03    5    14     0 Vendor .............. 0x0
>Jan 01 00:00:03    5    14     0 Device .............. 0x0
>Jan 01 00:00:03    5    14     0 Revision ............ 0x0
>Jan 01 00:00:03    5    14     0 MAC address ......... 0050b6 0a3c66
>Jan 01 00:00:03    5    14     0 Asix
>Jan 01 00:00:03    5    14     0 LanIdx .............. 18
>Jan 01 00:00:03    5    14     0 DevIdx .............. 0
>Jan 01 00:00:03    5    14     0 Vendor .............. 0xb95
>Jan 01 00:00:03    5    14     0 Device .............. 0x7720
>Jan 01 00:00:03    5    14     0 Revision ............ 0x0
>Jan 01 00:00:03    5    14     0 MAC address ......... <MAC ADDRESS>
>Jan 01 00:00:06    5    10     0 devn-ax: link up (100 BaseT Full Duplex)
>
>
>Board2
>Time             Sev Major Minor Args
>Jan 01 00:00:00    2    19   1800 devb-mmcsd-blaze 1.00A (Aug  2 2012
>12:26:08)
>Jan 01 00:00:00    2     5     0 libcam.so (Jun 15 2010 01:01:35) bver
>6040207
>Jan 01 00:00:00    2     5   100 cam-disk.so (Jun 15 2010 01:01:50)
>Jan 01 00:00:02    5    14     0 tcpip starting
>Jan 01 00:00:02    3    14     0 Unable to attach to pci server: No such
>file or directory
>Jan 01 00:00:02    3    14     0 Using pseudo random generator.  See
>"random" option
>Jan 01 00:00:03    5    14     0 devn-ax: MII transceiver found at
>address 16.
>Jan 01 00:00:03    5    14     0 io-pkt shim
>Jan 01 00:00:03    5    14     0 Vendor .............. 0x0
>Jan 01 00:00:03    5    14     0 Device .............. 0x0
>Jan 01 00:00:03    5    14     0 Revision ............ 0x0
>Jan 01 00:00:03    5    14     0 MAC address ......... 0050b6 0a546c
>Jan 01 00:00:03    5    14     0 Asix
>Jan 01 00:00:03    5    14     0 LanIdx .............. 18
>Jan 01 00:00:03    5    14     0 DevIdx .............. 0
>Jan 01 00:00:03    5    14     0 Vendor .............. 0xb95
>Jan 01 00:00:03    5    14     0 Device .............. 0x7720
>Jan 01 00:00:03    5    14     0 Revision ............ 0x0
>Jan 01 00:00:03    5    14     0 MAC address ......... <MAC ADDRESS>
>Jan 01 00:00:36    5    10     0 devn-ax: link up (100 BaseT Full Duplex)
>
>nicinfo:
>
>Board1
>en0: 
>  Asix Ethernet Controller
>
>  Physical Node ID...
View Full Message
Re: Unable to ping one pandaboard from another with both having QNX on it  
Thanks for the quick response.

I just added that as part of my various attempts to get the ping working. Even if I remove that, the issue exists.

Note: I had tried connecting one of the pandaboard to a desktop using the same crosswire ethernet cable. So basically 
the same setup as mentioned above, with one pandaboard replaced with a Desktop. Everything works fine. I can ping from 
the pandaboard to the Desktop and other way round too. The Desktop had the same IP/netmask as BOARD2 mentioned above.

Thanks,
Johnson
Re: Unable to ping one pandaboard from another with both having QNX on it  
The <MAC ADDRESS> is the mac addresses on the respective boards. I am not giving it a different mac address. 

I dont know how to check the version of devn-asix.so, but the build version of the QNX BSP for pandaboard that I am 
using is 201203081153, if that helps.

Thanks,
Johnson
Re: Unable to ping one pandaboard from another with both having QNX on it  
I can only imagine that there is not enough power on the USB ports to
power the dongle as well as the link. Try connecting the dongles via a USB
hub.





On 2012-08-02 1:55 PM, "Johnson Thomas" <community-noreply@qnx.com> wrote:

>Thanks for the quick response.
>
>I just added that as part of my various attempts to get the ping working.
>Even if I remove that, the issue exists.
>
>Note: I had tried connecting one of the pandaboard to a desktop using the
>same crosswire ethernet cable. So basically the same setup as mentioned
>above, with one pandaboard replaced with a Desktop. Everything works
>fine. I can ping from the pandaboard to the Desktop and other way round
>too. The Desktop had the same IP/netmask as BOARD2 mentioned above.
>
>Thanks,
>Johnson
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post94603
>To cancel your subscription to this discussion, please e-mail
>drivers-networking-unsubscribe@community.qnx.com

RE: Unable to ping one pandaboard from another with both having QNX on it  
It sounds a little too simple, but did you try both boards (individually) connected to the desktop? (i.e. dev1 <-> 
desktop, then dev2 <-> desktop)

There could be something wrong with Ethernet connector or transceiver on one of the Asix dongles (it's rare, but I have 
seen it before).


-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: August-02-12 2:17 PM
To: drivers-networking@community.qnx.com
Subject: Re: Unable to ping one pandaboard from another with both having QNX on it

I can only imagine that there is not enough power on the USB ports to power the dongle as well as the link. Try 
connecting the dongles via a USB hub.





On 2012-08-02 1:55 PM, "Johnson Thomas" <community-noreply@qnx.com> wrote:

>Thanks for the quick response.
>
>I just added that as part of my various attempts to get the ping working.
>Even if I remove that, the issue exists.
>
>Note: I had tried connecting one of the pandaboard to a desktop using 
>the same crosswire ethernet cable. So basically the same setup as 
>mentioned above, with one pandaboard replaced with a Desktop. 
>Everything works fine. I can ping from the pandaboard to the Desktop 
>and other way round too. The Desktop had the same IP/netmask as BOARD2 mentioned above.
>
>Thanks,
>Johnson
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post94603
>To cancel your subscription to this discussion, please e-mail 
>drivers-networking-unsubscribe@community.qnx.com





_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post94608
To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
Re: RE: Unable to ping one pandaboard from another with both having QNX on it  
Hi all,

Thank you for all the responses and help. 

As Hugh had suggested, I used a powered USB Hub on Board2 and then removed the dongle on board1 and connected to the 
ethernet port on the board, and it works now. I can ping one from the other and vice-versa. So now, board1 has all 0's 
mac address and board2 has the same configuration as mentioned above.

Thanks,
Johnson