Ok, Next problem - Network card

Hiya again peeps

After solving the mouse problems yesterday I finally got trough to the QNX/photon gui thingy and had chance to have a play about. The first thing that I wanted to do was get the thing online and see what was available for d/l. (you know, general thing, play about n tweak!)

I currently run on a ADSL connection via a Ethernet Modem (Thompson Speedtouch 510v4). I couldnt get the ethernet connection working by using my onboard port so I reinstalled the realtek 10/100 RTL8139 (‘C’ varient iirc) based card back into my PC (I used this when I tried QNX4 out ages ago).

I went to the network page and (I think) I added a new connection. I changed the drop down to PPPoE (I think that was it) and then went to select the Ethernet card I have installed. Unfortunately the dropdown box did not have any card or selections available :frowning:.

Is there some magic switch in QNX6 that I need to flick so I can use the card? ;-) Like I said, I know it worked in QNX 4.

Cheers
Sam

ok, just rechecked on the supported hardware page for my NIC.
qnx.com/support/sd_hardware/ … rk.html#11
Going by that it is supported, but do I need to download a driver to make it work?

Actually, thinking about it, can I utilise the network setup and everything if I am ‘testing’ it out from the CD? (I have yet to do a propper hard disk install, although I tried last night and had problems)

Sam

Nope.

Everything that is officially supported should get configured automatically.

try turning off “PnP OS Installed” setting in your BIOS (set it to “No”).

FYI, the ethernet module that you need is rtl. If the above thing doesn’t do the magic, then here is the black magic you need-

  1. Open up terminal
  2. type “slay io-net”
  3. type “io-net -d rtl -p tcpip”
  4. wait for 5 seconds
  5. type “nicinfo”
  6. if step (5) lists correct info about your NIC then you’re set, if not get back to us
  7. Assuming everything is ok, you should be able to setup TCIP setting from the GUI

Hi,
I have had the same problem and followed these instructions.
I have a dual network (via CL1000 motherboard) with via rhine net chipset.
“pci” command shows both ethernet hardware sets and at different address, but the “nicinfo” only shows info for one of them and I cant get the network GUI to find any.
Any help is appreciated.

Thanks
Kevin

Networking in QNX 6.2.1 does not work untill after the second part of the HDD installation is complete. This happened for only 6.2.1 so far and I hope won’t be happening again.

So, booting from a QNX 6.2.1 CDROM is no good for testing network cards.

I’m havins somewhat similar problems. I execute steps 1-5 as you describe, then run the GUI configurator. The problem is that upon reboot, the network configuration disappears and /etc/net.cfg is set back to the default. This is rather mysterious to me.

You can do it with “rc.local” or mess with the enum files.
Full discussion can be found at
openqnx.com/PNphpBB2-viewtopic-t275-.html

Hi,

I have an ethernet onboard card from Broadcom Corporation
on my Asus PEP4 motherboard and I can’t get it to work.
(more info can be found here : beyond3d.com/reviews/asus/p4mbroundup/)

Here is the info that I get from pci -vvv
…[
Class = Network (Ethernet)
Vendor ID = 14e4h, Broadcom Corporation
Device ID = 4401h, Unknown Unknown
PCI index = 0h
Class Codes = 020000h
Revision ID = 1h
Bus number = 2
Device number = 5
Function num = 0
Status Reg = 10h
Command Reg = 6h
I/O space access disabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 0h
PCI Mem Address = e9000000h 32bit length 8192 enabled
Subsystem Vendor ID = 1043h
Subsystem ID = 80a8h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 10
Capabilities Pointer = 40h
Capability ID = 1h
Capabilities = ffc2h - 4000h
Device Dependent Registers:
0x40: 01 00 c2 ff 00 40 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 10 00 00 01 20 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
]…

I tried all the driver and here is the command to
try to load one that doesn’t freeze my system :

slay -f io-net

io-net -dspeedo did=0x4401,vid=0x14e4,verbose -ptcpip

INTEL 82557

Vendor … 0x14e4
Device … 0x4401
Revision … 0x0
I/O port base … 0x0
Memory base … 0xe9000000
Interrupt … 0xa
MAC address … ffffff ffffff

waitfor /dev/socket

Unable to access /dev/socket

And then I checked the nicinfo :

INTEL 82557 Ethernet Controller
Physical Node ID … FFFFFF FFFFFF
Current Physical Node ID … FFFFFF FFFFFF
Media Rate … 0 kb/s half-duplex UTP
MTU … 1514
Lan … 0
Boot ROM Range … 0xE9000000 → 0xE9001FFF
I/O Port Range … 0x0 → 0xFFFFFFFF
Hardware Interrupt … 0xA
Promiscuous … Disabled
Multicast … Enabled

Total Packets Txd OK … 0
Total Packets Txd Bad … 0
Total Packets Rxd OK … 0
Total Rx Errors … 0

Total Bytes Txd … 0
Total Bytes Rxd … 0

Tx Collision Errors … 0
Tx Collisions Errors (aborted) … 0
Carrier Sense Lost on Tx … 0
FIFO Underruns During Tx … 0
Tx deferred … 0
Out of Window Collisions … 0
FIFO Overruns During Rx … 0
Alignment errors … 0
CRC errors … 0

So I suppose that my driver is incorrect.
I know that there is a driver working under Linux but
I wouldn’t really enjoy to rewrite one because I can’t
get any source code for example under QNX…

Everything is fine under Windows 2000 and here are some
info that I get from ipconfig /all :

Configuration IP de Windows 2000
Nom de l’hte . . . . . . . . . . : MYCOMPUTER
Suffixe DNS principal . . . . . . : mydomain.ca
Type de noud. . . . . . . . . . . : Mlang
Routage IP activ . . . . . . . . : Non
Proxy WINS activ . . . . . . . . : Non
Liste de recherche de suffixe DNS : mydomain.ca

Ethernet carte Connexion au rseau local:

    Suffixe DNS spc.  la connexion. : mydomain.ca
    Description . . . . . . . . . . . : ASUSTeK/Broadcom 440x 10/100 

Integrated Controller
Adresse physique. . . . . . . . . : 00-E0-18-FA-0E-64
DHCP activ . . . . . . . . . . . : Oui
Autoconfiguration active . . . . : Oui
Adresse IP. . . . . . . . . . . . : ...
Masque de sous-rseau . . . . . . : 255.255.255.0
Passerelle par dfaut . . . . . . : ...
Serveur DHCP. . . . . . . . . . . : ...
Serveurs DNS. . . . . . . . . . . : ...

Can anyone help me?

Thanks
Francis

You are in luck that someone else has done it already :slight_smile:
openqnx.com/Article220.html

Hi!

Thanks for your help!
Got that driver and installed it.

Even with that driver I can’t get my internet connection to work.
Here is how I load my driver and everything seems fine : (I’m root)

slay -f io-net

io-net -dbcm4400 did=0x4401,vid=0x14e4,verbose -ptcpip

nicinfo

BMC4400 Ethernet Controller
Physical Node ID … 00E018 FA0E64
Current Physical Node ID … 00E018 FA0E64
Media Rate … 100.00 Mb/s half-duplex UTP
MTU … 1514
Lan … 0
Boot ROM Range … 0x40100000 → 0x4010107F
Hardware Interrupt … 0xA
Promiscuous … Disabled
Multicast … Enabled

Total Packets Txd OK … 0
Total Packets Txd Bad … 0
Total Packets Rxd OK … 0
Total Rx Errors … 0

Total Bytes Txd … 0
Total Bytes Rxd … 0

Tx Collision Errors … 0
Tx Collisions Errors (aborted) … 0
Carrier Sense Lost on Tx … 0
FIFO Underruns During Tx … 0
Tx deferred … 0
Out of Window Collisions … 0
FIFO Overruns During Rx … 0
Alignment errors … 0
CRC errors … 0

ifconfig -a

lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
inet 127.0.0.1 netmask 0xff000000
en0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:e0:18:fa:0e:64

Then, when I open phlip, there is always error messages but I don’t know why.
I see the devices tab for my en0.
For the connection type I choose DHCP and check the enable device box and when
I click on apply, it takes some time and I get this message : “Could not spawn ‘netmanager’.
Bad file descriptor.” And then if I try nicinfo again, I get this :

nicinfo

nicinfo: Could not open: /dev/io-net/en0, (No such file or directory)

Can it be because of the driver? Is it me who as something misconfigured?

Thanks for your help
Francis

Try skip the parameters and try again.
ala. io-net -dbcm4400 -ptcpip
then start phlip.

Unless you give me the exact error message from phlip, I won’t be able to helpout more.
is there a coredump of io-net in /var/dumps ? If so, feel free to email it (compress it, or if it’s too large, upload it somewhere)

btw. I am the author of that driver

/Johan Björk