public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] net.eth0 error
@ 2005-08-19  9:10 Zbynek Houska
  2005-08-19  9:40 ` [gentoo-user] " Marek Więcek
  0 siblings, 1 reply; 3+ messages in thread
From: Zbynek Houska @ 2005-08-19  9:10 UTC (permalink / raw
  To: gentoo-user

Hello,

since yesterday I am getting such strange message at boot:


localhost ~ # /etc/init.d/net.eth0 start
 * Caching service dependencies ...
[ ok ] * Starting eth0
/etc/init.d/net.eth0: line 683: interface_variable: command not found
 *   Cannot default to dhcp as there is no dhcp module loaded
 *   No configuration for eth0
[ !! ]

and

localhost ~ # /etc/init.d/net.lo start
 * Starting lo
 *   Bringing up lo ...
/etc/init.d/net.lo: line 664: interface_loopback_create: command not fou
[ !! ]

my /etc/conf.d/net contains following:

config_eth0=( "192.168.0.3 netmask 255.255.255.0 broadcast
192.168.0.255" )
routes_eth0=(
        "default via 192.168.0.1"
)

Could someone tell me where problem might be?
Zbynek

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: net.eth0 error
  2005-08-19  9:10 [gentoo-user] net.eth0 error Zbynek Houska
@ 2005-08-19  9:40 ` Marek Więcek
  2005-08-19 13:03   ` Zbynek Houska
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Więcek @ 2005-08-19  9:40 UTC (permalink / raw
  To: gentoo-user

Zbynek Houska wrote:

> my /etc/conf.d/net contains following:
> 
> config_eth0=( "192.168.0.3 netmask 255.255.255.0 broadcast
> 192.168.0.255" )
> routes_eth0=(
>         "default via 192.168.0.1"

Have you upgraded baselayout recently?
Did you do etc-update afterwards?
Do you have iproute2 installed?

If you did all above, then change /etc/conf.d/net
to following:

modules=( "iproute2" )
config_eth0=( "192.168.0.3/24 brd 192.168.0.255" )
routes_eth0=( "default via 192.168.0.1" )

-- 
marek wiecek

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: net.eth0 error
  2005-08-19  9:40 ` [gentoo-user] " Marek Więcek
@ 2005-08-19 13:03   ` Zbynek Houska
  0 siblings, 0 replies; 3+ messages in thread
From: Zbynek Houska @ 2005-08-19 13:03 UTC (permalink / raw
  To: gentoo-user

Marek Więcek píše v Pá 19. 08. 2005 v 11:40 +0200:
> Zbynek Houska wrote:
> 
> > my /etc/conf.d/net contains following:
> > 
> > config_eth0=( "192.168.0.3 netmask 255.255.255.0 broadcast
> > 192.168.0.255" )
> > routes_eth0=(
> >         "default via 192.168.0.1"
> 
> Have you upgraded baselayout recently?
> Did you do etc-update afterwards?
> Do you have iproute2 installed?

well, I omited to add that system was undergoing emerge -uD system, so I
figured out that culprit was me by not updating config files using
etc-update.
> 
> If you did all above, then change /etc/conf.d/net
> to following:
> 
> modules=( "iproute2" )
> config_eth0=( "192.168.0.3/24 brd 192.168.0.255" )
> routes_eth0=( "default via 192.168.0.1" )

so now everything works as expected :)

thank you for your patience.
> 
> -- 
> marek wiecek
> 
Zbynek

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-08-19 13:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19  9:10 [gentoo-user] net.eth0 error Zbynek Houska
2005-08-19  9:40 ` [gentoo-user] " Marek Więcek
2005-08-19 13:03   ` Zbynek Houska

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