NIC
Alex Zbyslaw
xfb52 at dial.pipex.com
Thu Jan 19 10:38:50 PST 2006
Fabian Keil wrote:
>>-----Original Message-----
>>From: Fabian Keil [mailto:freebsd-listen at fabiankeil.de]
>>Sent: Thursday, January 19, 2006 7:29 AM
>>To: vitalie at apostu.com
>>Cc: freebsd-questions at freebsd.org
>>Subject: Re: NIC
>>
>>"Vitalie Apostu" <vitalie at apostu.com> wrote:
>>
>>
>>
>>>When I unplug UTP cable from NIC card and plug it back the system
>>>cannot ping any host in network.
>>>Does anybody know how to fix it?
>>>
>>>
>>Did you try ifconfig $nic_device up?
>>
>>
>
>I guess it would violate POLA, I for one wouldn't expect the
>NIC to get up by itself.
>
>
If cable is pulled and plugged back in when the machine is already up, I
would be astonished if it didn't just come back. In fact, I just tried
it to be sure, and everything "just worked".
Vitalie, perhaps some info about the kind of NIC you have might help.
Also can you show ifconfig
1) before you pull the cable
2) after you pull the cable
3) after you plug the cable back in
At least then we could compare what happens for you with what happens
for me.
For reference, I see:
Before:
sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:11:d8:94:74:49
media: Ethernet autoselect (1000baseTX <full-duplex,flag0,flag1>)
status: active
Pulled:
sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:11:d8:94:74:49
media: Ethernet autoselect (none)
status: no carrier
Back in:
sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:11:d8:94:74:49
media: Ethernet autoselect (1000baseTX <full-duplex,flag0,flag1>)
status: active
--Alex
More information about the freebsd-questions
mailing list