Re: how do you tell if a line is up instead of the card/NIC status?
From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 03/30/04
- Next message: joe_at_invalid.address: "Re: how do you tell if a line is up instead of the card/NIC status?"
- Previous message: Barry Margolin: "Re: how do you tell if a line is up instead of the card/NIC status?"
- In reply to: Flip: "how do you tell if a line is up instead of the card/NIC status?"
- Next in thread: joe_at_invalid.address: "Re: how do you tell if a line is up instead of the card/NIC status?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Mar 2004 20:35:07 GMT
On Tue, 30 Mar 2004 14:46:39 -0500, Flip <> wrote:
>
>
> By doing a ifconfig I'm able to identify if the card is up. However, if
> there is no physical wire connected to that card/interface, how do I find
> this out at a script level?
>
> Any help would be appreciated. Thank you.
>
>
Depends on what OS you are running.
On Debian Linux, the interface doesn't come up unless there is an actual
connection, so /sbin/ifconfig wouldn't show the interface as being up
if the wire wasn't connected.
Trying to run, say, pppd, would fail and the interface wouldn't be created.
Ifconfig doesn't tell you that the card is there except indirectly. But you
can find out if it is from your boot-time messsages.
AC
- Next message: joe_at_invalid.address: "Re: how do you tell if a line is up instead of the card/NIC status?"
- Previous message: Barry Margolin: "Re: how do you tell if a line is up instead of the card/NIC status?"
- In reply to: Flip: "how do you tell if a line is up instead of the card/NIC status?"
- Next in thread: joe_at_invalid.address: "Re: how do you tell if a line is up instead of the card/NIC status?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|