Re: [gentoo-user] problem with net.eth0
Hi,According to your restart output, net.eth0 sarts at boot runlevel, it should start at default runlevel. Check this with 'rc-update -s'If it really starts during boot runlevel, try the following : rc-update del net.eth0 rc-update add net.eth0 defaultThen restart the system.On 9/16/06, Daniel Iliev [EMAIL PROTECTED] wrote:HI, everyone!I had a system lock-up during heavy hdd activity. This caused huge file system problems. I hardly restored the system in order to boot, butfinally I had a successful emerge -e system. Now I have some problemsleft and I will appreciate your help to solve them.I can start my network manually but can not do this through gentoo's native mechanism. Here is the output:The problem: /etc/init.d/net.eth0 restart * Caching service dependencies... [ ok ] * Service net.eth0 stopping * WARNING:you are stopping a boot service. * Service net.eth0 stopped * Service net.eth0 starting * WARNING:net.eth0 has started but is inactiveThe link: ls -la /etc/init.d/net.eth0 lrwxrwxrwx 1 root root 6 15 Sep7,18 /etc/init.d/net.eth0 - net.loThe confing file: sed '/#/d;/^$/d' /conf/net modules=( iproute2 ) config_eth0=( 10.0.0.11/24 10.0.0.1/24 ) routes_eth0=( default via 10.0.0.10 )Please, give me a hand to get net.eth0 back in normal state.--Best regards,Daniel--gentoo-user@gentoo.org mailing list-- /JM
Re: [gentoo-user] problem with net.eth0
On Sat, 16 Sep 2006 03:14:16 +0300, Daniel Iliev wrote: The problem: /etc/init.d/net.eth0 restart * Caching service dependencies ... [ ok ] * Service net.eth0 stopping * WARNING: you are stopping a boot service. * Service net.eth0 stopped * Service net.eth0 starting * WARNING: net.eth0 has started but is inactive Do you have ifplugd or netplug installed? This is the message I get when bringing up my wired interface with no cable connected. If that's the case you have nothing to worry about, the interface will be activated when a link beat is detected on the cable. -- Neil Bothwick If you only have a hammer, you tend to see every problem as a nail. * Maslow signature.asc Description: PGP signature
Re: [gentoo-user] problem with net.eth0
Jean-Marc Beaune wrote: Hi, According to your restart output, net.eth0 sarts at boot runlevel, it should start at default runlevel. Check this with 'rc-update -s' If it really starts during boot runlevel, try the following : rc-update del net.eth0 rc-update add net.eth0 default Then restart the system. Actually net.eth0 was installed in both runlevels. I did: rc-update -d net.eth0 rc-update -a net.eth0 default reboot The result is the same - the same output from net.eth0 restart and the interface is inactive until I manually give it IP addresses, bring it up and set a default route using the ip command from iproute2 package. In a few words: the problem is still here ;-( -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem with net.eth0
Neil Bothwick wrote: Do you have ifplugd or netplug installed? This is the message I get when bringing up my wired interface with no cable connected. If that's the case you have nothing to worry about, the interface will be activated when a link beat is detected on the cable. No, none of those is installed: eix netplug * sys-apps/netplug Available versions: 1.2.9-r2 ~1.2.9-r3 Installed: none eix ifplugd * sys-apps/ifplugd Available versions: 0.28-r5 0.28-r6 ~0.28-r7 Installed: none -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem with net.eth0
Hans-Werner Hilse wrote: Hi, Can you set up the link manually? dmesg output when trying? $ ip link eth0 up $ ip addr add 10.0.0.1 eth0 $ ip addr add 10.0.0.11 eth0 -hwh Hans-Werner Hilse, thank you! The idea was enough - dmesg shows nothing, but /var/log/messages had lines like this: netplugd[1026]: /etc/netplug.d/netplug eth0 in - pid 1026 According to eix netplug wasn't merged, but there were some files from that package. So the problem was solved as follows: emerge netplug qlist netplug | xargs -n1 unlink emerge -C netplug Now net.eth0 works as usual. Thanks, guys! -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem with net.eth0
On Tuesday 29 August 2006 16:28, Goldwyn Rodrigues wrote: Hi, I updated the installed packages, which includes baselayout. However, restarting a the network, I get the error: hydrauser5 ~ # /etc/init.d/net.eth0 restart * Caching service dependencies ... [ ok ]/etc/init.d/net.eth0: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: No such file or directory * Starting find: /lib/rcscripts/net.modules.d/: No such file or directory * no interface module has been loaded hydrauser5 ~ # equery belongs /etc/init.d/net.eth0 [ Searching for file(s) /etc/init.d/net.eth0 in *... ] sys-apps/baselayout-1.12.4-r7 (/etc/init.d/net.eth0 - net.lo) What packages am I missing or have misconfigured? Perhaps you forgot etc-update? -- gentoo-user@gentoo.org mailing list