Date: Thu, 19 Jan 2006 18:38:43 +0000 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: freebsd-questions@freebsd.org Cc: vapostu@compunetworld.com Subject: Re: NIC Message-ID: <43CFDCB3.9000105@dial.pipex.com> In-Reply-To: <20060119185746.53fb0381@localhost> References: <20060119132903.657f1278@localhost> <200601191400.k0JE048k010453@mark.apostu.com> <20060119185746.53fb0381@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Fabian Keil wrote: >>-----Original Message----- >>From: Fabian Keil [mailto:freebsd-listen@fabiankeil.de] >>Sent: Thursday, January 19, 2006 7:29 AM >>To: vitalie@apostu.com >>Cc: freebsd-questions@freebsd.org >>Subject: Re: NIC >> >>"Vitalie Apostu" <vitalie@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43CFDCB3.9000105>