Gentoo Archives: gentoo-amd64

From: Nadav Horesh <nadavh@×××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] network services start problems
Date: Mon, 12 Jan 2009 10:30:14
Message-Id: 1231763251.8995.7.camel@nadav.envision.co.il
In Reply to: Re: [gentoo-amd64] network services start problems by Verm
1 The file /etc/conf.d/net is basically empty (only comments)
2
3 >From /var/log/messages:
4
5 Jan 12 14:07:54 nadav 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1)
6 00:16:76:b9:00:76
7 Jan 12 14:07:54 nadav 0000:00:19.0: eth0: Intel(R) PRO/1000 Network
8 Connection
9 Jan 12 14:07:54 nadav 0000:00:19.0: eth0: MAC: 4, PHY: 6, PBA No:
10 ffffff-0ff
11 Jan 12 14:07:57 nadav rc-scripts: WARNING: netmount is scheduled to
12 start when net.eth0 has started.
13 Jan 12 14:07:58 nadav 0000:00:19.0: eth0: Link is Up 100 Mbps Full
14 Duplex, Flow Control: RX/TX
15 Jan 12 14:07:58 nadav 0000:00:19.0: eth0: 10/100 speed: disabling TSO
16 Jan 12 14:07:58 nadav netplugd[7904]: eth0: state DOWN flags 0x00001003
17 UP,BROADCAST,MULTICAST -> 0x00011043
18 UP,BROADCAST,RUNNING,MULTICAST,10000
19 Jan 12 14:07:58 nadav netplugd[8047]: /etc/netplug.d/netplug eth0 in ->
20 pid 8047
21 Jan 12 14:07:58 nadav netplugd[7904]: eth0: state INNING pid 8047 exited
22 status 256
23 Jan 12 14:08:03 nadav rc-scripts: WARNING: dhcdbd is scheduled to start
24 when net.eth0 has started.
25 Jan 12 14:08:03 nadav rc-scripts: WARNING: samba is scheduled to start
26 when net.eth0 has started.
27 Jan 12 14:08:09 nadav eth0: no IPv6 routers present
28
29 The last line points at what Sebastian indicated
30
31 Nadav.
32
33 On Mon, 2009-01-12 at 14:50 +0500, Verm wrote:
34
35 > Show your /etc/conf.d/net and cat /var/log/messages | grep eth0
36 > Nadav Horesh <nadavh@×××××××××××.com> писал(а) в своём письме Mon, 12 Jan
37 > 2009 16:35:47 +0500:
38 >
39 > > I think that the net.eth0 service start properly:
40 > >
41 > > nadav nadav # ifconfig
42 > > eth0 Link encap:Ethernet HWaddr 00:16:76:b9:00:76
43 > > inet6 addr: fe80::216:76ff:feb9:76/64 Scope:Link
44 > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
45 > > RX packets:3103228 errors:0 dropped:0 overruns:0 frame:0
46 > > TX packets:1688388 errors:0 dropped:0 overruns:0 carrier:0
47 > > collisions:0 txqueuelen:100
48 > > RX bytes:4247059842 (3.9 GiB) TX bytes:156304214 (149.0 MiB)
49 > > Memory:d2200000-d2220000
50 > >
51 > > lo Link encap:Local Loopback
52 > > inet addr:127.0.0.1 Mask:255.0.0.0
53 > > inet6 addr: ::1/128 Scope:Host
54 > > UP LOOPBACK RUNNING MTU:16436 Metric:1
55 > > RX packets:36446 errors:0 dropped:0 overruns:0 frame:0
56 > > TX packets:36446 errors:0 dropped:0 overruns:0 carrier:0
57 > > collisions:0 txqueuelen:0
58 > > RX bytes:19347370 (18.4 MiB) TX bytes:19347370 (18.4 MiB)
59 > >
60 > > Nadav.
61 > >
62 > > On Mon, 2009-01-12 at 10:17 +0100, Nicolas Sebrecht wrote:
63 > >
64 > >> On Mon, Jan 12, 2009 at 08:57:51AM +0200, Nadav Horesh wrote:
65 > >>
66 > >> > After login I have to start the dhcp and smb services manualy and
67 > >> directly
68 > >> >
69 > >> > nadav nadav # dhcpcd eth0
70 > >> > nadav nadav # smbd start
71 > >> > nadav nadav # nmbd start
72 > >> >
73 > >> > When I try to run manually the init.d scripts I get a strange results:
74 > >> > nadav nadav # /etc/init.d/net.eth0 start
75 > >> > * WARNING: net.eth0 has already been started.
76 > >> >
77 > >> > nadav nadav # /etc/init.d/samba start
78 > >> > * WARNING: samba is scheduled to start when net.eth0 has started.
79 > >> >
80 > >> > nadav nadav # /etc/init.d/dhcpd start
81 > >> > * WARNING: dhcpd is scheduled to start when net.eth0 has started.
82 > >> >
83 > >> > How it could be that net.eth0 started but the samba and dhcp services
84 > >> do no recognize it?
85 > >>
86 > >> It seems that /etc/init.d/net.eth0 wrongly says that eth0 has started.
87 > >>
88 > >> Could you restart your system and check the ifconfig command output ?
89 > >>
90 >
91 >
92 >

Replies

Subject Author
Re: [gentoo-amd64] network services start problems Nicolas Sebrecht <nicolas.s-dev@×××××××.net>
Re: [gentoo-amd64] network services start problems Sebastian Redl <sebastian.redl@×××××××××××.at>