Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Detection of network-cable



On Sunday 16 March 2003 20:57, you wrote:
> Hi again.
>
> A little bit offtopic, but i'm interested, if it is possible to detect the
> status of the network-connection. I ask, because it takes a lot of time to
> wait for the dhcp-client if there is no network connection present.
>
> Is it possible to parse a file in /proc or /dev (i'm using devfs and a
> kernel 2.4.20) to see, if there is a network cable (or better: a network
> link) available? If it is possible, i would only start the dhcp client, if
> there is a network available.
>
>
>
> Thanks in advance,
> Oliver

You are searching for "ifplugd" :
http://www.stud.uni-hamburg.de/users/lennart/projects/ifplugd/

-- 
Regards
Steffen
____________________
counter.li.org : #296567.
machine: 181800
vdr-box : 87
____________________
Please dont CC me, since if I have replied I'll watch the tread. Both mails 
will be filtered to the ML-folder. Thanks


--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index