Gentoo Archives: gentoo-user

From: Todd Goodman <tsg@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Internet
Date: Tue, 14 Jun 2011 22:15:54
Message-Id: 20110614214359.GH20163@ns1.bonedaddy.net
In Reply to: Re: [gentoo-user] Internet by Mick
1 * Mick <michaelkintzios@×××××.com> [110614 17:20]:
2 > On Tuesday 14 Jun 2011 20:45:30 Cahn Roger wrote:
3 > > > # /etc/init.d/net.eth0 stop
4 > > > # ifconfig eth0 192.168.1.20 up
5 > > >
6 > > > and post output of
7 > >
8 > > /etc/init.d/net.eth0 stop
9 > > * Caching service dependencies ...
10 > > /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
11 > > /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
12 > > SIOCADDRT: Le fichier existe
13 > > /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
14 > > /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
15 > > SIOCADDRT: Le fichier existe
16 > > /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
17 > > /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
18 >
19 > You need to remove those lines that I asked you to type on the command line
20 > from the /etc/conf.d/net file - or look at the example file provided and use
21 > that to define static address/broadcast/netmask correctly.
22 >
23 > Typically something like:
24 >
25 > config_eth0="192.168.1.20/24"
26 >
27 > should do it. If you want to define a static route and dns server add:
28 >
29 > routes_eth0="default via 192.168.1.1"
30 > dns_servers_eth0="192.168.1.1"
31 >
32 > HTH.
33 > --
34 > Regards,
35 > Mick
36
37 Well his /etc/conf.d/net file is now toast after what Thanasis had him
38 do. So they're out of there now. :-)
39
40 Todd