View previous topic :: View next topic |
Author |
Message |
xshroom n00b
Joined: 07 Nov 2004 Posts: 3
|
Posted: Sun Mar 06, 2005 3:07 pm Post subject: Slow Dhcpcd start up |
|
|
Yo,
My dhcpcd does it's job, but really slow....
Got a laptop with Netgear w511t up and running with Ndiswrapper 1.1r1 (autoloading) and a Netgear router WGT624.
so my rc-update shows:
Code: | apmd |
bootmisc | boot
bttrack |
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop |
cupsd |
dhcrelay |
domainname | default
esound |
famd | default
gpm |
hdparm |
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
metalog |
modules | boot
mysql |
net.eth0 |
net.lo | boot
net.wlan0 | default
netmount | default
nscd |
ntp-client |
ntpd |
numlock |
pcmcia |
portmap |
rmnologin | boot
rsyncd |
serial | boot
slapd |
slurpd |
spamd |
sshd |
urandom | boot
xdm |
xfs |
xprint |
|
As you can see i don't use a symbolic link between net.eth0 and net.wlan0.
And i dont have pcmcia up and running during defult runlevel as its up and running with ndiswrapper.
My conf.d/net
Code: |
# iface_eth0="dhcp"
iface_eth0=""
iface_wlan0="dhcp"
dhcpcd_wlan0="-HD"
dhcpcd_wlan0="-N"
gateway="wlan0/192.168.0.1"
|
Is the problem here? or is dhcpcd slow as hell?
But i do belive the trouble is with the user.... |
|
Back to top |
|
|
hex4def6 n00b
Joined: 13 Mar 2004 Posts: 39 Location: Pleasanton, CA
|
Posted: Mon Mar 07, 2005 6:46 am Post subject: |
|
|
I have the same trouble with my atheros card (madwifi drivers). Takes forever to get an IP lease. But an orinoco wifi card does it in seconds... go figure. _________________ The following sentence is false. The preceeding sentence is true. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Mon Mar 07, 2005 9:18 am Post subject: |
|
|
It's a problem with the way we close dhcpcd - but you only see it when it starts.
You have two options
1) emerge baselayout-1.11.9-r1 or newer (you'll need ~ARCH sys-libs/readline and app-shells/bash as well)
2) edit /etc/init.d/net.eth0 and change dhcpcd -z to dhcpcd -k |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Mon May 09, 2005 5:59 am Post subject: |
|
|
Ahh... I was having the same problem with my Dlink DWL-122, usb stick and linux-wlan-ng prism2 drivers. The -z to -k change did the trick!
EDIT: Unfortunatly I spoke too soon... This didn't solve my problem afterall. |
|
Back to top |
|
|
|