[gentoo-user] net.eth0 problems on boot
Hi, A few days ago my nic stopped working on boot, the problem is the /etc/init.d/net.eth0 script can't start-up. I get this error! bash-2.05b# /etc/init.d/net.eth0 start * Bringing eth0 up... * eth0 is not plugged in or has no carrier signal[ !! ] I can manually run 'dhcpcd eth0' and then it works again! bash-2.05b# /etc/init.d/net.eth0 start * Bringing eth0 up...[ ok ] Anyone have any idea's where to start to debug this? I'm on a LAN so I shouldn't be getting no carrier signals and the cable IS plugged in! Any help would be appreciated! -Thanks -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] net.eth0 problems on boot
Le Mardi, 25 Novembre 2003 16.44, Paul Kimberley a écrit : Hi, A few days ago my nic stopped working on boot, the problem is the /etc/init.d/net.eth0 script can't start-up. I get this error! bash-2.05b# /etc/init.d/net.eth0 start * Bringing eth0 up... * eth0 is not plugged in or has no carrier signal[ !! ] I can manually run 'dhcpcd eth0' and then it works again! bash-2.05b# /etc/init.d/net.eth0 start * Bringing eth0 up...[ ok ] Anyone have any idea's where to start to debug this? I'm on a LAN so I shouldn't be getting no carrier signals and the cable IS plugged in! This is a known bug of baselayout: http://bugs.gentoo.org/show_bug.cgi?id=33272 the easiest fix until it's fixed is to manually edit net.eth0 and replace carrier_IFACE=$(ifconfig | gawk -v IFACE=${iface} '/RUNNING/ { if ($1 == IFACE) print running }') with carrier_IFACE='running' hth -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] net.eth0 problems on boot
Sorry for replying to my own thread but, I've found where the problem starts. Does anyone know where $carrier_IFACE gets set? is it set by the kernel? I've done a grep of the etc dir, and nothing in there sets this flag... # Check that the interface has a carrier if [ ${carrier_IFACE} = running ] then /sbin/dhcpcd ${dhcpcd_IFACE} ${IFACE} /dev/null || { retval=$? eend ${retval} Failed to bring ${IFACE} up return ${retval} } else eend 1 ${IFACE} is not plugged in or has no carrier signal Hi, A few days ago my nic stopped working on boot, the problem is the /etc/init.d/net.eth0 script can't start-up. I get this error! bash-2.05b# /etc/init.d/net.eth0 start * Bringing eth0 up... * eth0 is not plugged in or has no carrier signal[ !! ] I can manually run 'dhcpcd eth0' and then it works again! bash-2.05b# /etc/init.d/net.eth0 start * Bringing eth0 up...[ ok ] Anyone have any idea's where to start to debug this? I'm on a LAN so I shouldn't be getting no carrier signals and the cable IS plugged in! Any help would be appreciated! -Thanks -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: [normal] [gentoo-user] net.eth0 problems on boot
Hi Paul, Hi, A few days ago my nic stopped working on boot, the problem is the /etc/init.d/net.eth0 script can't start-up. I get this error! bash-2.05b# /etc/init.d/net.eth0 start * Bringing eth0 up... * eth0 is not plugged in or has no carrier signal[ !! ] had the same problem yesterday, i guess you updated your baselayout to the most recent version which is a little buggy. maybe you can find a solution that fits your needs here: http://bugs.gentoo.org/show_bug.cgi?id=33272 brgds, Marc -- [EMAIL PROTECTED] mailing list