Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Internet Thanasis <thanasis@××××××××××.org>
Re: [gentoo-user] Internet Todd Goodman <tsg@×××××××××.net>