Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCP doesn't start with wireless card using wpa_supplicant
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: Wed Apr 16, 2008 9:04 pm    Post subject: DHCP doesn't start with wireless card using wpa_supplicant Reply with quote

I have AirLink101 card as wlan0 interface.

/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 is never started.

How to make dhcpcd to start?

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


Joined: 13 Sep 2006
Posts: 411

PostPosted: Wed Apr 16, 2008 10:53 pm    Post subject: Reply with quote

Code:
dhcpcd wlan0
should start dhcp client on wlan0 interface. but it should happen automatically with starting the net.wlan0 service. do you have net.wlan0 in /etc/init.d/ folder and /etc/wpa_supplicant/wpa_supplicant.conf file? if 'dhcpch wlan0' doesn't work check if there are known issues with your driver.
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Thu Apr 17, 2008 2:07 am    Post subject: Reply with quote

I had a problem DHCP as well, though I solved it before I installed wpa_supplicant, so it may have been a different issue:

https://forums.gentoo.org/viewtopic-t-680666.html

Quote:
I had to compile networking -> networking options -> packet socket into the kernel.
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