[En-Nut-Discussion] detecting an unplugged network cable

elbric0 elbric0 at f-m.fm
Mon Nov 8 01:47:22 CET 2010


Hi,

I would like to detect if a network cable is unplugged at boot time and skip everything related to network when it is the case. NutRegisterDevice(&DEV_ETHER, 0, 0) returns an error after a long while when the cable is unplugged. It is possible to use that, but it is a little annoying as is makes boot time quite long. Is there another way to make the check or a way to make NutRegisterDevice return faster?

Best Regards

Jasmin


More information about the En-Nut-Discussion mailing list