You are not logged in.

#1 2012-06-22 05:54:50

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Why doesn't wpa_supplicant + wpa_gui start dhcpcd? [SOLVED]

I followed the wiki's instructions and now wpa_supplicant starts on boot and wpa_gui starts up with my DE, and is able to configure a network connection, but it never gets an IP address until I run "dhcpcd wlan0" manually. Why is that? Is there something more I need to do?

EDIT: Solution: put it in /etc/rc.local after the wpa_supplicant line

Last edited by YAOMTC (2012-06-23 22:11:30)

Offline

#2 2012-06-22 07:37:25

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Why doesn't wpa_supplicant + wpa_gui start dhcpcd? [SOLVED]

Have a look here for ways to automate that on boot.


Burninate!

Offline

#3 2012-06-22 08:46:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Why doesn't wpa_supplicant + wpa_gui start dhcpcd? [SOLVED]

More generally,wpa_supplicant doesn't know anything about IP addresses, nor does it care. It simply does the job it's designed for i.e. negotiating and authenticating with wpa access points. After it's done that, other applications can be called to deal with IP addressing.

Offline

#4 2012-06-22 18:55:38

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Why doesn't wpa_supplicant + wpa_gui start dhcpcd? [SOLVED]

Oh, I figured it out. I just had to put 'dhcpcd wlan0' in /etc/rc.local after the wpa_supplicant line. Simple! I guess I was just out of it last night, that should have been obvious.

Offline

#5 2012-06-23 07:47:17

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Why doesn't wpa_supplicant + wpa_gui start dhcpcd? [SOLVED]

Good to hear you've got it working as you want.

Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

Board footer

Powered by FluxBB