Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?
Date: Mon, 24 Oct 2011 02:12:12
Message-Id: CAMpmEiG0cepZZm6Tuz8Gc85x1P6_9edpLpL3Rs7hbb27oqCb4Q@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed? by Neil Bothwick
1 On 10/23/2011 06:45 PM, Neil Bothwick wrote:
2 > On Sun, 23 Oct 2011 17:35:45 -0400, Valmor de Almeida wrote:
3 >
4 >> I don't have net.eth0 (I deleted it per wicd installation instructions).
5 >> My other machines that use wicd do not have it either and they all work.
6 >> Don't seem to find the difference between what I have working and this
7 >> MacBook Pro I put Gentoo on wherein wicd will not work out of the box.
8 >
9 > Have you tried diffing /etc/wicd/wired-settings.conf from the working and
10 > non-working systems.
11 >
12 > Is eth0 actually present at this time?
13 >
14 >
15
16 On my wired machine that works out of the box I have:
17
18 [wired-default]
19 afterscript = None
20 use_static_dns = False
21 dhcphostname = lpt1
22 dns3 = None
23 postdisconnectscript = None
24 dns1 = None
25 search_domain = None
26 dns_domain = None
27 lastused = True
28 broadcast = None
29 default = 1
30 netmask = None
31 dns2 = None
32 beforescript = None
33 profilename = wired-default
34 predisconnectscript = None
35 ip = None
36 gateway = None
37 use_global_dns = False
38
39 On the machine I have to issue a manual dhcpcd eth0 I have:
40
41 [wired-default]
42 ip
43 broadcast
44 netmask
45 gateway
46 search_domain
47 dns_domain
48 dns1
49 dns2
50 dns3
51 beforescript
52 afterscript
53 predisconnectscript
54 postdisconnectscript
55 default = True
56 dhcphostname = mac1
57
58 Don't know whether the missing values make a difference. As far as
59 eth0, at the moment after dhcpcd eth0 is issued, it is:
60
61 mac1 wicd # ifconfig -a
62 eth0 Link encap:Ethernet HWaddr xxxxxxxxxxxxxxxxxx
63 inet addr:192.168.10.7 Bcast:192.168.10.255 Mask:255.255.255.0
64 inet6 addr: xxxxxxxxxxxxxxxxxxxx Scope:Link
65 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
66 RX packets:4565 errors:0 dropped:0 overruns:0 frame:0
67 TX packets:3102 errors:0 dropped:0 overruns:0 carrier:0
68 collisions:0 txqueuelen:1000
69 RX bytes:5285197 (5.0 MiB) TX bytes:420643 (410.7 KiB)
70 Interrupt:16
71
72 Before dhcpcd eth0 is issued eth0 is there, I think, but it does not
73 have an inet addr: assigned to it. I will need to reboot to confirm
74 it.
75
76 Thanks,
77
78 --
79 Valmor

Replies

Subject Author
Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed? Neil Bothwick <neil@××××××××××.uk>