From: Albretch Mueller on
I have a shuttle minibox which network card I need to fix
~
The net card leds are shining steady green and apparently Linux:
~
$ dmesg | grep "Linux version"
Linux version 2.6.19 (root(a)Knoppix) (gcc version 4.1.2 20061028
(prerelease) (Debian 4.1.1-19)) #7 SMP PREEMPT Sun Dec 17 22:01:07 CET
2006
~
detects it right and loads its driver
~
$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr ??:??:??:??:??:??
inet addr:192.168.0.49 Bcast:192.168.0.255 Mask:
255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:20 Base address:0xdead

# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Current message level: 0x00000037 (55)
Link detected: no

$ dmesg | grep eth
eth0: GMII mode.
eth0: Enabling Auto-negotiation.
ADDRCONF(NETDEV_UP): eth0: link is not ready

$ dmesg | grep Eth
sis190 Gigabit Ethernet driver 1.2 loaded.
0000:00:04.0: SiS 190 PCI Fast Ethernet adapter at fad7c000 (IRQ:
20), ??:??:??:??:??:??

00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 190
Gigabit Ethernet Adapter (rev 01)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown
device 3086
Flags: bus master, medium devsel, latency 0, IRQ 20
Memory at fdffc000 (32-bit, non-prefetchable) [size=128]
I/O ports at fc00 [size=128]
Capabilities: <access denied>
~
however I can not connect to the Internet after trying a number of
things I have read from different pages like:
~
linuxquestions.org/questions/linux-hardware-18/sis900-pci-ethernet-
wont-connect-to-network-617944/
~
howtogeek.com/howto/ubuntu/change-your-network-card-mac-address-on-
ubuntu/
~
I have found quite a bit of people talking about problems with those
types of cards. How could you troubleshoot/fix that problem? Can I get
the step-by-step procedure? ;-)
~
Thanks
lbrtchx
From: ArameFarpado on
Em Domingo 10 Janeiro 2010 01:33, Albretch Mueller escreveu:

> I have a shuttle minibox which network card I need to fix
> ~
> The net card leds are shining steady green and apparently Linux:
> ~
> $ dmesg | grep "Linux version"
> Linux version 2.6.19 (root(a)Knoppix) (gcc version 4.1.2 20061028
> (prerelease) (Debian 4.1.1-19)) #7 SMP PREEMPT Sun Dec 17 22:01:07 CET
> 2006
> ~
> detects it right and loads its driver
> ~
> $ ifconfig eth0
> eth0 Link encap:Ethernet HWaddr ??:??:??:??:??:??
> inet addr:192.168.0.49 Bcast:192.168.0.255 Mask:
> 255.255.255.0

this conf is for internal network

where is this interface connected? to a router?

if so:

give the output of

# route



> ~
> however I can not connect to the Internet after trying a number of
> things I have read from different pages like:

that config will depend on how you have your machine connected, and what
kind of internet access you have.


From: Pascal Hambourg on
Hello,

Albretch Mueller a �crit :
> Linux version 2.6.19 (root(a)Knoppix) (gcc version 4.1.2 20061028

2.6.19 is quite old, there has been a number of fixes in the sis190
driver since then. Can't you try a newer kernel ?

> $ ifconfig eth0
> eth0 Link encap:Ethernet HWaddr ??:??:??:??:??:??

Does ifconfig really prints this or are you hiding things ?

> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

I note that the interface is UP but not RUNNING. Usually related to the
link state.

> Link detected: no
[...]
> ADDRCONF(NETDEV_UP): eth0: link is not ready

Bingo.
From: Albretch Mueller on
On Jan 10, 2:07 pm, Pascal Hambourg <boite-a-s...(a)plouf.fr.eu.org>
wrote:
> Hello,
>
> Albretch Mueller a écrit :
>
> > Linux version 2.6.19 (root(a)Knoppix) (gcc version 4.1.2 20061028
>
> 2.6.19 is quite old, there has been a number of fixes in the sis190
> driver since then. Can't you try a newer kernel ?
~
you are right using knoppis 6.2 based on Linux kernel 2.6.31.6 fixed
that problem
~
lbrtchx