* [gentoo-user] dhcp delays when booting (wicd)
@ 2012-10-16 19:38 Mark Knecht
2012-10-16 19:45 ` J. Roeleveld
2012-10-16 21:08 ` Neil Bothwick
0 siblings, 2 replies; 5+ messages in thread
From: Mark Knecht @ 2012-10-16 19:38 UTC (permalink / raw
To: Gentoo User
Hi,
I've been using wicd for quite awhile on my laptop and it works fine
with both wired and wireless interfaces. However I'm using it more
lately where I have to boot the machine from scratch. In this case I
face a rather long delay once or possibly twice during boot.
Basically, the boot scripts say the networking interfaces aren't
turned on so it attempts to run dhcpd. I do not enable nor have I even
added net.eth0 or net.wlan0 in rc-update. (I think that's correct, and
it does work.)
Anyway, I'm wondering if this delay is normal behavior for wicd?
Everything works fine but I have to wait 30-60 second, once or twice,
for dhcpd while booting. I suspect that's not necessary.
Getting on the network once I'm up is reasonably fast. The only
thing I found Googling delay & wicd was people waiting 3 minutes to
find wireless networks. I don't have that problem.
Not sure what data to provide other than the files below.
Cheers,
Mark
slinky ~ # ls -al /etc/init.d/* | grep net
lrwxrwxrwx 1 root root 6 Mar 19 2011 /etc/init.d/net.eth0 -> net.lo
-rwxr-xr-x 1 root root 16741 Feb 23 2012 /etc/init.d/net.lo
lrwxrwxrwx 1 root root 6 Sep 11 2011 /etc/init.d/net.wlan0 -> net.lo
-rwxr-xr-x 1 root root 2219 Feb 23 2012 /etc/init.d/netmount
-rwxr-xr-x 1 root root 6962 Feb 23 2012 /etc/init.d/network
slinky ~ #
slinky ~ # cat /etc/conf.d/net
#config_eth0="192.168.1.55 netmask 255.255.255.0"
#routes_eth0="default via 192.168.1.1"
#modules="wpa_supplicant"
#config_wlan0="192.168.1.100 netmask 255.255.255.0"
#routes_wlan0="default via 192.168.1.1"
slinky ~ #
slinky ~ # cat /etc/wicd/manager-settings.conf
[Settings]
backend = external
wireless_interface = wlan0
wired_interface = eth0
wpa_driver = wext
always_show_wired_interface = True
use_global_dns = False
global_dns_1 = None
global_dns_2 = None
global_dns_3 = None
global_dns_dom = None
global_search_dom = None
auto_reconnect = True
debug_mode = 0
wired_connect_mode = 1
signal_display_type = 0
should_verify_ap = 1
dhcp_client = 0
link_detect_tool = 0
flush_tool = 0
sudo_app = 0
prefer_wired = False
main_width = 739
main_height = 755
netprop_width = 484
netprop_height = 600
pref_width = 561
pref_height = 540
show_never_connect = True
slinky ~ #
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] dhcp delays when booting (wicd)
2012-10-16 19:38 [gentoo-user] dhcp delays when booting (wicd) Mark Knecht
@ 2012-10-16 19:45 ` J. Roeleveld
2012-10-16 21:08 ` Neil Bothwick
1 sibling, 0 replies; 5+ messages in thread
From: J. Roeleveld @ 2012-10-16 19:45 UTC (permalink / raw
To: gentoo-user
Mark Knecht <markknecht@gmail.com> wrote:
>Hi,
> I've been using wicd for quite awhile on my laptop and it works fine
>with both wired and wireless interfaces. However I'm using it more
>lately where I have to boot the machine from scratch. In this case I
>face a rather long delay once or possibly twice during boot.
>Basically, the boot scripts say the networking interfaces aren't
>turned on so it attempts to run dhcpd. I do not enable nor have I even
>added net.eth0 or net.wlan0 in rc-update. (I think that's correct, and
>it does work.)
>
> Anyway, I'm wondering if this delay is normal behavior for wicd?
>Everything works fine but I have to wait 30-60 second, once or twice,
>for dhcpd while booting. I suspect that's not necessary.
>
> Getting on the network once I'm up is reasonably fast. The only
>thing I found Googling delay & wicd was people waiting 3 minutes to
>find wireless networks. I don't have that problem.
>
> Not sure what data to provide other than the files below.
>
>Cheers,
>Mark
>
>
>slinky ~ # ls -al /etc/init.d/* | grep net
>lrwxrwxrwx 1 root root 6 Mar 19 2011 /etc/init.d/net.eth0 ->
>net.lo
>-rwxr-xr-x 1 root root 16741 Feb 23 2012 /etc/init.d/net.lo
>lrwxrwxrwx 1 root root 6 Sep 11 2011 /etc/init.d/net.wlan0 ->
>net.lo
>-rwxr-xr-x 1 root root 2219 Feb 23 2012 /etc/init.d/netmount
>-rwxr-xr-x 1 root root 6962 Feb 23 2012 /etc/init.d/network
>slinky ~ #
>
>
>
>slinky ~ # cat /etc/conf.d/net
>#config_eth0="192.168.1.55 netmask 255.255.255.0"
>#routes_eth0="default via 192.168.1.1"
>
>#modules="wpa_supplicant"
>
>#config_wlan0="192.168.1.100 netmask 255.255.255.0"
>#routes_wlan0="default via 192.168.1.1"
>
>slinky ~ #
>
>
>slinky ~ # cat /etc/wicd/manager-settings.conf
>[Settings]
>backend = external
>wireless_interface = wlan0
>wired_interface = eth0
>wpa_driver = wext
>always_show_wired_interface = True
>use_global_dns = False
>global_dns_1 = None
>global_dns_2 = None
>global_dns_3 = None
>global_dns_dom = None
>global_search_dom = None
>auto_reconnect = True
>debug_mode = 0
>wired_connect_mode = 1
>signal_display_type = 0
>should_verify_ap = 1
>dhcp_client = 0
>link_detect_tool = 0
>flush_tool = 0
>sudo_app = 0
>prefer_wired = False
>main_width = 739
>main_height = 755
>netprop_width = 484
>netprop_height = 600
>pref_width = 561
>pref_height = 540
>show_never_connect = True
>
>slinky ~ #
Mark.
There is a setting with example on how to disable auto-start of the network services in /etc/rc.conf .
I can't check for the actual syntax, but I think this is what you are looking for.
--
Joost
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] dhcp delays when booting (wicd)
2012-10-16 19:38 [gentoo-user] dhcp delays when booting (wicd) Mark Knecht
2012-10-16 19:45 ` J. Roeleveld
@ 2012-10-16 21:08 ` Neil Bothwick
2012-10-17 0:49 ` Mark Knecht
1 sibling, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2012-10-16 21:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 800 bytes --]
On Tue, 16 Oct 2012 12:38:43 -0700, Mark Knecht wrote:
> I've been using wicd for quite awhile on my laptop and it works fine
> with both wired and wireless interfaces. However I'm using it more
> lately where I have to boot the machine from scratch. In this case I
> face a rather long delay once or possibly twice during boot.
> Basically, the boot scripts say the networking interfaces aren't
> turned on so it attempts to run dhcpd. I do not enable nor have I even
> added net.eth0 or net.wlan0 in rc-update. (I think that's correct, and
> it does work.)
Do you have this in /etc/rc.conf?
rc_hotplug="!net.*"
Without it, hotplug will try to start the network even if the net.*
scripts aren't in your runlevel.
--
Neil Bothwick
Top Oxymorons Number 41: Good grief
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] dhcp delays when booting (wicd)
2012-10-16 21:08 ` Neil Bothwick
@ 2012-10-17 0:49 ` Mark Knecht
2012-10-17 3:39 ` J. Roeleveld
0 siblings, 1 reply; 5+ messages in thread
From: Mark Knecht @ 2012-10-17 0:49 UTC (permalink / raw
To: gentoo-user
On Tue, Oct 16, 2012 at 2:08 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Tue, 16 Oct 2012 12:38:43 -0700, Mark Knecht wrote:
>
>> I've been using wicd for quite awhile on my laptop and it works fine
>> with both wired and wireless interfaces. However I'm using it more
>> lately where I have to boot the machine from scratch. In this case I
>> face a rather long delay once or possibly twice during boot.
>> Basically, the boot scripts say the networking interfaces aren't
>> turned on so it attempts to run dhcpd. I do not enable nor have I even
>> added net.eth0 or net.wlan0 in rc-update. (I think that's correct, and
>> it does work.)
>
> Do you have this in /etc/rc.conf?
>
> rc_hotplug="!net.*"
>
> Without it, hotplug will try to start the network even if the net.*
> scripts aren't in your runlevel.
>
>
> --
> Neil Bothwick
>
> Top Oxymorons Number 41: Good grief
Ah, is that the one Joost was talking about?!@? Made the change and
now I'm booting quickly and networking (wireless anyway as I'm not
near a wired connector right now) is fine when I log into KDE.
Thanks to both you and Joost.
Cheers,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] dhcp delays when booting (wicd)
2012-10-17 0:49 ` Mark Knecht
@ 2012-10-17 3:39 ` J. Roeleveld
0 siblings, 0 replies; 5+ messages in thread
From: J. Roeleveld @ 2012-10-17 3:39 UTC (permalink / raw
To: gentoo-user
Mark Knecht <markknecht@gmail.com> wrote:
>On Tue, Oct 16, 2012 at 2:08 PM, Neil Bothwick <neil@digimed.co.uk>
>wrote:
>> On Tue, 16 Oct 2012 12:38:43 -0700, Mark Knecht wrote:
>>
>>> I've been using wicd for quite awhile on my laptop and it works
>fine
>>> with both wired and wireless interfaces. However I'm using it more
>>> lately where I have to boot the machine from scratch. In this case I
>>> face a rather long delay once or possibly twice during boot.
>>> Basically, the boot scripts say the networking interfaces aren't
>>> turned on so it attempts to run dhcpd. I do not enable nor have I
>even
>>> added net.eth0 or net.wlan0 in rc-update. (I think that's correct,
>and
>>> it does work.)
>>
>> Do you have this in /etc/rc.conf?
>>
>> rc_hotplug="!net.*"
>>
>> Without it, hotplug will try to start the network even if the net.*
>> scripts aren't in your runlevel.
>>
>>
>> --
>> Neil Bothwick
>>
>> Top Oxymorons Number 41: Good grief
>
>Ah, is that the one Joost was talking about?!@? Made the change and
>now I'm booting quickly and networking (wireless anyway as I'm not
>near a wired connector right now) is fine when I log into KDE.
>
>Thanks to both you and Joost.
>
>Cheers,
>Mark
Mark.
Yes. That's the one.
Don't have the file on the mobile phone...
Glad to hear you got it working.
--
Joost
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-17 3:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-16 19:38 [gentoo-user] dhcp delays when booting (wicd) Mark Knecht
2012-10-16 19:45 ` J. Roeleveld
2012-10-16 21:08 ` Neil Bothwick
2012-10-17 0:49 ` Mark Knecht
2012-10-17 3:39 ` J. Roeleveld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox