LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-06-2009, 02:17 PM   #1
tortenteufel
LQ Newbie
 
Registered: Feb 2004
Location: germany
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
wpa_supplicant won't start automatically so dhcp won't give me an IP


Hey folks!
Just (friday ^^) installed Slackware 13.0. Running great - except for my wireless Atheros AR9285 Wireless Network Adapter. I'm connecting to a LinkSys-Router with "tomato"-firmware on it. The router has a DHCP running but i didn't get an IP. Reason was: "wpa_supplicant" didn't start automatically.
But when i ran:
Code:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
before starting "rc.inet1" everything went fine.

But shouldn't "wpa_supplicant" be called automatically by "rc.inet1"?
Why does it not start automatically on my machine??

I did the configuration as described in "Aliens Slackbook":

wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
country=DE

network={
  scan_ssid=0
  ssid="tomato"
  proto=RSN
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
rc.inet1.conf:
Code:
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="myrouter"
WLAN_ESSID[4]="routersessid"
WLAN_MODE[4]="Managed"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"
These are my files. Am i missing anything?
Your help will be greatly appreciated.

With kind regards,
-cakedevil
 
Old 09-06-2009, 02:21 PM   #2
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 460

Rep: Reputation: 39
I prefer to use wicd... makes things much easier.
I believe its in extra.
 
Old 09-06-2009, 02:44 PM   #3
jkirchner
Member
 
Registered: Apr 2007
Location: Upstate NY
Distribution: Xubuntu
Posts: 464

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by mattydee View Post
I prefer to use wicd... makes things much easier.
I believe its in extra.
I second the wicd recommendation. It is in extras on the dvd. It made life very, very easy.
 
Old 09-06-2009, 02:46 PM   #4
easuter
Member
 
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 537

Rep: Reputation: 62
I think my laptop also has an Athero card, and I need to run wpa_supplicant with the -B to "daemonize" it. After that I get an IP address with dhcpcd just fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Start wpa_supplicant before hostapd daghenningsorbo Linux - Networking 1 03-13-2009 06:49 PM
How to automatically detect when wpa_supplicant connects to a network d1s4st3r Linux - Wireless Networking 0 02-25-2008 03:43 AM
wpa_supplicant problem - ndiswrapper, router's dhcp all working without encryption MakeItWork Linux - Wireless Networking 3 12-26-2007 01:00 PM
suse 9.3 wpa_supplicant dhcp sabeltann Linux - Wireless Networking 6 09-21-2005 03:28 AM
dhcp won't start automatically on boot blk96gt Slackware 5 01-24-2005 01:42 PM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration