FS#14117 - [netcfg] link detection broken, use ethtool in favour of mii-tool
Attached to Project:
Arch Linux
Opened by Christoph S. (caustic) - Sunday, 05 April 2009, 23:41 GMT
Last edited by James Rayner (iphitus) - Monday, 06 April 2009, 10:26 GMT
Opened by Christoph S. (caustic) - Sunday, 05 April 2009, 23:41 GMT
Last edited by James Rayner (iphitus) - Monday, 06 April 2009, 10:26 GMT
|
Details
netcfg uses mii-tool to detect if a link is established and
exits with an error in case there is no link. the problem
is, that mii-tool does only support a few network cards and
reports no link when the networkcard is not supported:
# mii-tool eth0 SIOCGMIIREG on eth0 failed: Input/output error eth0: 10 Mbit, half duplex, no link # ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised auto-negotiation: Yes Speed: Unknown! (65535) Duplex: Unknown! (255) Port: Twisted Pair PHYAD: 2 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbag Wake-on: g Current message level: 0x00000001 (1) Link detected: yes # ethtool -i eth0 driver: e1000e version: 0.3.3.3-k6 firmware-version: 1.8-3 bus-info: 0000:00:19.0 |
This task depends upon
Comment by James Rayner (iphitus) -
Monday, 06 April 2009, 10:26 GMT
Already fixed in git, and dupe.