LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-19-2009, 01:44 PM   #1
kureckam
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Unable to ping device using wpa_supplicant and madwifi


I'm using wpa_supplicant with PSK on a atheros chipset with madwifi 0.9.4 and debian 2.6.24. The device is successfully authenticating with the AP but I'm unable to even ping anything on the network.

wpa_supplicant.conf contains:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
network={
ssid="OSD"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk=89fb...
priority=2
}

I run a script with the following:

wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode sta
iwconfig ath0 essid OSD
iwpriv ath0 authmode 3
ifconfig ath0 0.0.0.0 up
wpa_supplicant -dd -Dmadwifi -iath0 -c/etc/wpa_supplicant/wpa_supplicant.conf

I've also tried running "dhclient ath0" after the device authenticates and it binds to an IP but as I said I can't even ping the network from the device or ping the device from the network. Any ideas on what I'm doing wrong?
 
Old 06-19-2009, 03:37 PM   #2
kureckam
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I think I have resolved the problem. Instead of the script I modified /etc/network/interfaces to be

Code:
auto lo
iface lo inet loopback

auto ath0
iface ath0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
madwifi and wpa_supplicant, won't authenticate. mr.gizm0 Linux - Wireless Networking 2 09-12-2007 06:48 AM
wpa_supplicant without madwifi support? dlock Slackware 3 07-13-2007 01:41 PM
atheros madwifi wpa_supplicant troubles jb2006 Slackware 3 03-27-2006 02:33 PM
2.6.14, Madwifi & wpa_supplicant on Slack 10.2... rkelsen Slackware 4 11-03-2005 05:59 AM
Madwifi / wpa_supplicant on Kanotix (debian3.1) mattshort Linux - Wireless Networking 2 09-05-2005 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration