Gentoo Archives: gentoo-user

From: "Manuel Pérez López" <mapelo@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] problem with eth0 and rc-update
Date: Thu, 13 Jul 2006 22:43:17
Message-Id: 894a74bd0607131459g5eeb1562jdeab6f17547dadff@mail.gmail.com
1 I do not know why my eth0 does not start right at default or boot time
2 (or later). I have to
3 restart it manualy everytime with '/etc/init.d/net.eth0 restart', and then (it
4 is my gate to ADSL) my conection to internet is up. What's the problem?
5
6 This is my rc-update show (I have 2 eth and 2 wlan)
7
8 acpid | default
9 alsasound | default
10 apache2 | default
11 bluetooth | default
12 bootmisc | boot
13 checkfs | boot
14 checkroot | boot
15 clock | boot
16 coldplug | boot
17 consolefont | boot
18 cupsd | default
19 dbus | default
20 domainname | boot default
21 ez-ipupdate | default
22 famd | default
23 hald | default
24 hostname | boot
25 hylafax | default
26 iptables | boot
27 ivman | default
28 keymaps | boot
29 kmyfirewall | default
30 lircd | default
31 lisa | default
32 local | default nonetwork
33 localmount | boot
34 modules | boot
35 mysql | default
36 net.eth0 | default
37 net.eth1 | default
38 net.lo | default
39 netmount | default
40 net.wlan0 | default
41 net.wlan1 | default
42 proftpd | default
43 rmnologin | boot
44 samba | default
45 sshd | default
46 syslog-ng | default
47 urandom | boot
48 vixie-cron | default
49 webmin | default
50 xdm | default
51
52 And this is my 'uncomprensible' /etc/conf.d/net:
53
54
55 config_eth0=( "192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255" )
56 config_eth1=( "192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255" )
57 config_wlan0=( "192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255" )
58 config_wlan1=( "192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.255" )
59
60 #routes_eth0=("default via 192.168.1.1")
61 routes_eth1=("default via 192.168.1.1")
62 #routes_wlan0=("default via 192.168.1.1")
63 #routes_wlan1=("default via 192.168.1.1")
64
65
66 Thanks
67 M. Perez
68 --
69 gentoo-user@g.o mailing list