Try Test Network

Project:JNode Core
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi all
I would like to try the network test
but I think that Jnode doesn't recognize my eth card

JNode /> device
I see in tje list about network just loopback, not a eth-pci
So I think I cant to do the test, have I right?

[vinicio@localhost ~]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:60:BC:FB:14 inet addr:192.168.21.228 Bcast:192.168.21.255 Mask:255.255.255.0
inet6 addr: fe80::215:60ff:febc:fb14/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1780 errors:0 dropped:0 overruns:0 frame:0
TX packets:1370 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2270710 (2.1 MiB) TX bytes:115248 (112.5 KiB)
Interrupt:16

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8666 errors:0 dropped:0 overruns:0 frame:0
TX packets:8666 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3027045 (2.8 MiB) TX bytes:3027045 (2.8 MiB)

Broadcom Corporation BCM4401-B0

[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01)
02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
02:0e.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
08:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

Bad news and good news

Bad news: there is no JNode driver for BCM440x

Good news: the source code for a Linux driver is available, so it should be possible to work out how to write a JNode driver.

http://www.broadcom.com/support/ethernet_nic/4401.php

#1

If your network card is not recognized by JNode that means it is not supported or it is supported but its device identifier is missing from the plugin descriptor of the driver.
You can use the lspci command under Linux to find out the type of your network card. Then check the JNode network card drivers to see if they support it.
If yes, then you can try changin the plugin descriptor of the driver by adding a new identifier.
Otherwise writting a JNode driver for your network card appears to be the only real answer to the problem.