Try ifplugd. It's a linux daemon that can detect link status and call a user script (example: /etc/ifplugd/ifplugd.action) whenever the link status changes.
-Ronald 2008/4/18 António Silva <[EMAIL PROTECTED]>: > Hi all, > > How can I check the ETH link status on the EVMDM355?? > > If we unplug the cable we see a message specifying "link down", and another > message "link up" when the cable is plugged again, but i can't find where > this is made in the kernel. I pretend to use this automatically on my > application generating an alarm and maintaining an alarm log. > > I know that using mii-tool we can check the status of the link, i re-compile > the kernel, checking all option of mii (under Device Driver->Networking > Support->PHY device support), I performed make modules and make > modules_install and the re-compile the kernel. > > Nonetheless i still can't use mii-tool because I get the foolowing error > messages: > > modprobe: FATAL: Could not load > /lib/modules/2.6.10_mvl401/modules.dep: No such file or directory > > Does anybody knows how we can solve this, or another way to check the link > status. > > Best Regards, > > A.Silva > > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
