Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why wpa_supplicant doesn't launch DHCP client?
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
jerrry94087
n00b
n00b


Joined: 02 Mar 2008
Posts: 41

PostPosted: Sun Jun 15, 2008 4:17 pm    Post subject: Why wpa_supplicant doesn't launch DHCP client? Reply with quote

I have AirLink101 card as wlan0 interface (through ndiswrapper)

/etc/config.d/net:
modules=( "ifconfig" "wpa_supplicant" )
wpa_supplicant_wlan0="-Dndiswrapper"
wpa_timeout_wlan0=60
iface_wlan0="inet dhcp"
config_wlan0=("dhcp")
dhcpcd_wlan0="-t 180" # Timeout after 180 seconds

wpa_supplicant establishes the link.
But dhcpcd (or dhclient) is never started.

How to make DHCP client to start?
Is wpa_supplicant supposed to start DHCP client or there is some other way that it's started?
It has to be maintained by wpa_supplicant since when the link goes down and reestablished DHCP client has to be started.

There is no mentioning of any DHCP in wpa_supplicant config file. Isn't the DHCP client command supposed to be there?
Also Gentoo documentation mentions that kernel has to be compiled with CONFIG_PACKET. How can I know if this option was set? Can this be the cause of the problem?

My kernel is 2.6.23.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Jun 16, 2008 9:18 am    Post subject: Reply with quote

Back up to a .22 kernel and retry. the .23 and .24 give not-so-good support to ndiswrapper. The .22 family give the best support for ndiswrapper. The .25 kernels are getting better at it, but .23 and .24 suck for ndiswrapper.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
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