On Thu, 19 Jul 2001, [iso-8859-1] Stefan Hußfeldt wrote:
> |check_link_down ()
> |{
[snip]
> |}
> |...
>
> |[root@kilroy root]# /sbin/mii-tool eth0
> |eth0: no link
>
> When i disable the check_link_down function it works.
Dunno, but the mii-tool doesn't work anymore with newer kernel too:
[root@mobile /root]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:02:DD:70:32:97
inet addr:192.168.1.199 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:313 errors:0 dropped:0 overruns:0 frame:0
TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:174480 (170.3 Kb) TX bytes:39711 (38.7 Kb)
Interrupt:7 Base address:0x300
[root@mobile /root]# mii-tool eth0
SIOCGMIIPHY on 'eth0' failed: Operation not supported