public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problem with net.eth0
@ 2006-08-29 20:28 Goldwyn Rodrigues
  2006-08-30  0:41 ` Jerry McBride
  0 siblings, 1 reply; 8+ messages in thread
From: Goldwyn Rodrigues @ 2006-08-29 20:28 UTC (permalink / raw
  To: gentoo-user

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?

-- 
Goldwyn
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Problem with net.eth0
  2006-08-29 20:28 [gentoo-user] Problem " Goldwyn Rodrigues
@ 2006-08-30  0:41 ` Jerry McBride
  0 siblings, 0 replies; 8+ messages in thread
From: Jerry McBride @ 2006-08-30  0:41 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] problem with net.eth0
@ 2006-09-16  0:14 Daniel Iliev
  2006-09-16  8:11 ` Jean-Marc Beaune
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Daniel Iliev @ 2006-09-16  0:14 UTC (permalink / raw
  To: gentoo-user

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, but 
finally I had a successful "emerge -e system". Now I have some problems 
left 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 inactive

The link:
 >ls -la /etc/init.d/net.eth0
 >lrwxrwxrwx 1 root root 6 15 Sep  7,18 /etc/init.d/net.eth0 -> net.lo

The 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] problem with net.eth0
  2006-09-16  0:14 [gentoo-user] problem with net.eth0 Daniel Iliev
@ 2006-09-16  8:11 ` Jean-Marc Beaune
  2006-09-16 11:58   ` Daniel Iliev
  2006-09-16 10:06 ` Neil Bothwick
       [not found] ` <20060916182251.adb33a05.hilse@web.de>
  2 siblings, 1 reply; 8+ messages in thread
From: Jean-Marc Beaune @ 2006-09-16  8:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]

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.

On 9/16/06, Daniel Iliev <danny@ilievnet.com> 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, but
> finally I had a successful "emerge -e system". Now I have some problems
> left 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.eth0stopping
> > * WARNING:  you are stopping a boot service.
> > * Service net.eth0 stopped
> > * Service net.eth0 starting
> > * WARNING:  net.eth0 has started but is inactive
>
> The link:
> >ls -la /etc/init.d/net.eth0
> >lrwxrwxrwx 1 root root 6 15 Sep  7,18 /etc/init.d/net.eth0 -> net.lo
>
> The 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

[-- Attachment #2: Type: text/html, Size: 2526 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] problem with net.eth0
  2006-09-16  0:14 [gentoo-user] problem with net.eth0 Daniel Iliev
  2006-09-16  8:11 ` Jean-Marc Beaune
@ 2006-09-16 10:06 ` Neil Bothwick
  2006-09-16 12:00   ` Daniel Iliev
       [not found] ` <20060916182251.adb33a05.hilse@web.de>
  2 siblings, 1 reply; 8+ messages in thread
From: Neil Bothwick @ 2006-09-16 10:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] problem with net.eth0
  2006-09-16  8:11 ` Jean-Marc Beaune
@ 2006-09-16 11:58   ` Daniel Iliev
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Iliev @ 2006-09-16 11:58 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] problem with net.eth0
  2006-09-16 10:06 ` Neil Bothwick
@ 2006-09-16 12:00   ` Daniel Iliev
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Iliev @ 2006-09-16 12:00 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] problem with net.eth0
       [not found] ` <20060916182251.adb33a05.hilse@web.de>
@ 2006-09-16 18:55   ` Daniel Iliev
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Iliev @ 2006-09-16 18:55 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-09-16 19:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-16  0:14 [gentoo-user] problem with net.eth0 Daniel Iliev
2006-09-16  8:11 ` Jean-Marc Beaune
2006-09-16 11:58   ` Daniel Iliev
2006-09-16 10:06 ` Neil Bothwick
2006-09-16 12:00   ` Daniel Iliev
     [not found] ` <20060916182251.adb33a05.hilse@web.de>
2006-09-16 18:55   ` Daniel Iliev
  -- strict thread matches above, loose matches on Subject: below --
2006-08-29 20:28 [gentoo-user] Problem " Goldwyn Rodrigues
2006-08-30  0:41 ` Jerry McBride

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox