Gentoo Archives: gentoo-user

From: FredL <raptor@××××××××.fr>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Fresh install and problem with net.* init.d script
Date: Mon, 22 Jul 2013 20:43:01
Message-Id: c414ff75bc8b8764d75014dfdc43ce1a@drakonix.fr
1 Hello,
2
3 I've just build a new gentoo system from my running one (no cd install
4 at all) and everything seems to be fine except that I can't start any
5 net.* script from default runlevel.
6
7 I use the new udev naming scheme, it detect my 2 interface as enp2s0 and
8 enp5s1 so I have created the symlinks like this:
9
10 ln -s /etc/init.d/net.lo /etc/init.d/net.enp2s0
11
12 then I have added the script to default runlevel:
13
14 rc-update add net.enp2s0 default
15
16 These iface are configured with static ip in /etc/conf.d/net like this:
17
18 config_enp2s0="192.168.0.5 netmask 255.255.255.0 brd 192.168.0.255"
19 routes_enp2s0="default via 192.168.0.1"
20
21 config_enp5s1="10.10.10.100/24"
22
23 when I boot the system, none of my two interface are started, instead
24 dhcpcd start and assign ip from dhcp server
25
26 After booting if I manually start the scripts it assign my static config
27 to an alias of my interfaces...
28
29 I really can't figure out what I am doing wrong, If someone have any
30 idea it would be nice.
31
32 Thanks for reading and sorry for my poor english speaking
33
34 Fred Leon

Replies

Subject Author
Re: [gentoo-user] Fresh install and problem with net.* init.d script Paul Hartman <paul.hartman+gentoo@×××××.com>