Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dhcp delays when booting (wicd)
Date: Tue, 16 Oct 2012 19:52:11
Message-Id: d993dd5d-887b-4b53-993b-894cd48a349c@email.android.com
In Reply to: [gentoo-user] dhcp delays when booting (wicd) by Mark Knecht
1 Mark Knecht <markknecht@×××××.com> wrote:
2
3 >Hi,
4 > I've been using wicd for quite awhile on my laptop and it works fine
5 >with both wired and wireless interfaces. However I'm using it more
6 >lately where I have to boot the machine from scratch. In this case I
7 >face a rather long delay once or possibly twice during boot.
8 >Basically, the boot scripts say the networking interfaces aren't
9 >turned on so it attempts to run dhcpd. I do not enable nor have I even
10 >added net.eth0 or net.wlan0 in rc-update. (I think that's correct, and
11 >it does work.)
12 >
13 > Anyway, I'm wondering if this delay is normal behavior for wicd?
14 >Everything works fine but I have to wait 30-60 second, once or twice,
15 >for dhcpd while booting. I suspect that's not necessary.
16 >
17 > Getting on the network once I'm up is reasonably fast. The only
18 >thing I found Googling delay & wicd was people waiting 3 minutes to
19 >find wireless networks. I don't have that problem.
20 >
21 > Not sure what data to provide other than the files below.
22 >
23 >Cheers,
24 >Mark
25 >
26 >
27 >slinky ~ # ls -al /etc/init.d/* | grep net
28 >lrwxrwxrwx 1 root root 6 Mar 19 2011 /etc/init.d/net.eth0 ->
29 >net.lo
30 >-rwxr-xr-x 1 root root 16741 Feb 23 2012 /etc/init.d/net.lo
31 >lrwxrwxrwx 1 root root 6 Sep 11 2011 /etc/init.d/net.wlan0 ->
32 >net.lo
33 >-rwxr-xr-x 1 root root 2219 Feb 23 2012 /etc/init.d/netmount
34 >-rwxr-xr-x 1 root root 6962 Feb 23 2012 /etc/init.d/network
35 >slinky ~ #
36 >
37 >
38 >
39 >slinky ~ # cat /etc/conf.d/net
40 >#config_eth0="192.168.1.55 netmask 255.255.255.0"
41 >#routes_eth0="default via 192.168.1.1"
42 >
43 >#modules="wpa_supplicant"
44 >
45 >#config_wlan0="192.168.1.100 netmask 255.255.255.0"
46 >#routes_wlan0="default via 192.168.1.1"
47 >
48 >slinky ~ #
49 >
50 >
51 >slinky ~ # cat /etc/wicd/manager-settings.conf
52 >[Settings]
53 >backend = external
54 >wireless_interface = wlan0
55 >wired_interface = eth0
56 >wpa_driver = wext
57 >always_show_wired_interface = True
58 >use_global_dns = False
59 >global_dns_1 = None
60 >global_dns_2 = None
61 >global_dns_3 = None
62 >global_dns_dom = None
63 >global_search_dom = None
64 >auto_reconnect = True
65 >debug_mode = 0
66 >wired_connect_mode = 1
67 >signal_display_type = 0
68 >should_verify_ap = 1
69 >dhcp_client = 0
70 >link_detect_tool = 0
71 >flush_tool = 0
72 >sudo_app = 0
73 >prefer_wired = False
74 >main_width = 739
75 >main_height = 755
76 >netprop_width = 484
77 >netprop_height = 600
78 >pref_width = 561
79 >pref_height = 540
80 >show_never_connect = True
81 >
82 >slinky ~ #
83
84 Mark.
85
86 There is a setting with example on how to disable auto-start of the network services in /etc/rc.conf .
87
88 I can't check for the actual syntax, but I think this is what you are looking for.
89
90 --
91 Joost
92 --
93 Sent from my Android phone with K-9 Mail. Please excuse my brevity.