* RE: link status changes forwarded to userspace?
@ 2001-08-03 20:50 Leif Sawyer
2001-08-03 21:10 ` Anders Eriksson
0 siblings, 1 reply; 4+ messages in thread
From: Leif Sawyer @ 2001-08-03 20:50 UTC (permalink / raw)
To: Justin Guyett, Anders Eriksson; +Cc: linux-kernel
Justin Guyett [justin@soze.net] responded to:
> On Fri, 3 Aug 2001, Anders Eriksson wrote:
>
>> Is it possible to get the link status change (e.g. eth
>> cable inserted in card) forwarded to userspace?
>
> mii-tool does it (comes with net-tools).
This works great for pci-based 10/100 cards, however when I
try it on my 10-meg only ISA-3c509 (eth[0-1]) and PCI-de4x5 (eth2):
mii-diag eth[0-2]
SIOCGMIIPHY on eth[0-2] failed: operation not supported
so probably there's more to it than just using mii-diag..
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: link status changes forwarded to userspace?
2001-08-03 20:50 link status changes forwarded to userspace? Leif Sawyer
@ 2001-08-03 21:10 ` Anders Eriksson
0 siblings, 0 replies; 4+ messages in thread
From: Anders Eriksson @ 2001-08-03 21:10 UTC (permalink / raw)
To: Leif Sawyer; +Cc: Justin Guyett, linux-kernel
mii-tools works for me (eepro100 & 3c59x). Now if there were a 'run as daemon
and call this script on change' option... Time to do some hacking...
/A
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: link status changes forwarded to userspace?
2001-08-03 19:58 ` link status changes forwarded to userspace? Anders Eriksson
@ 2001-08-03 20:06 ` Justin Guyett
0 siblings, 0 replies; 4+ messages in thread
From: Justin Guyett @ 2001-08-03 20:06 UTC (permalink / raw)
To: Anders Eriksson; +Cc: linux-kernel
On Fri, 3 Aug 2001, Anders Eriksson wrote:
> Is it possible to get the link status change (e.g. eth cable inserted in card)
> forwarded to userspace? I'd be cool to auto trigger dhcp on connect and
> silently skip the interface if no cable during boot.
you can get the link status from userspace, and that should be enough to
skip no-link interfaces during boot. mii-tool does it (comes with
net-tools).
justin
^ permalink raw reply [flat|nested] 4+ messages in thread
* link status changes forwarded to userspace?
2001-08-03 19:44 BUG can fill process table Andrew Morton
@ 2001-08-03 19:58 ` Anders Eriksson
2001-08-03 20:06 ` Justin Guyett
0 siblings, 1 reply; 4+ messages in thread
From: Anders Eriksson @ 2001-08-03 19:58 UTC (permalink / raw)
To: linux-kernel
Hi,
Is it possible to get the link status change (e.g. eth cable inserted in card)
forwarded to userspace? I'd be cool to auto trigger dhcp on connect and
silently skip the interface if no cable during boot.
/Anders
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-08-03 21:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-03 20:50 link status changes forwarded to userspace? Leif Sawyer
2001-08-03 21:10 ` Anders Eriksson
-- strict thread matches above, loose matches on Subject: below --
2001-08-03 19:44 BUG can fill process table Andrew Morton
2001-08-03 19:58 ` link status changes forwarded to userspace? Anders Eriksson
2001-08-03 20:06 ` Justin Guyett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).