Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow Dhcpcd start up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
xshroom
n00b
n00b


Joined: 07 Nov 2004
Posts: 3

PostPosted: Sun Mar 06, 2005 3:07 pm    Post subject: Slow Dhcpcd start up Reply with quote

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
View user's profile Send private message
hex4def6
n00b
n00b


Joined: 13 Mar 2004
Posts: 39
Location: Pleasanton, CA

PostPosted: Mon Mar 07, 2005 6:46 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Mar 07, 2005 9:18 am    Post subject: Reply with quote

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
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Mon May 09, 2005 5:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum