Bug#591012: netcfg: Support /sys/class/net/ethX/carrier for link detection?

2010-12-31 Thread Matthew Palmer
Petter Reinholdtsen wrote: > Should netcfg link detection be extended to use > /sys/class/net/ethX/carrier if it exist? At the moment its > ethtool_lite() function uses the mii-diag/ethtool kernel API to check link > status, but the /sys/ file seem to be a more generic way to do this. In principl

Bug#591012: netcfg: Support /sys/class/net/ethX/carrier for link detection?

2010-07-30 Thread Petter Reinholdtsen
Package: netcfg Version: 1.54 Should netcfg link detection be extended to use /sys/class/net/ethX/carrier if it exist? At the moment its ethtool_lite() function uses the mii-diag/ethtool kernel API to check link status, but the /sys/ file seem to be a more generic way to do this. Happy hacking,