Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 12-24-2008, 08:34 PM   #1
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
setting up wpa on wireless ??

I installed debian lenny on a toshiba laptop for a someone.Got it all set up except for the last thing..wireless..After install I opened kde network manager and it showed a wireless entry,,wlan0..I did lspci..and it showed it as a Antheros device..I googled it and started reading about madwifi drivers for this I looked in synaptic and installed the packages madwifi tools and source..I rebooted and when I looked at network manager it was gone..So I uninstalled what i had instlled and rebooted ..but it stil didnt show any wireless device in Kde network after a bit of googling i installed madwifi from tutorial that used module-assistant to build it..rebooted..and there was a new entry in kde network manager..ath0...Question is..did I even need to install madwifi drivers.??.Kde had it recognized as the kernel had drivers for it?.Wouldnt it have still worked??thats was main question,,other is about it just a matter of adding essid and wpa_psk to /etc/network/interfaces..??
Old 12-25-2008, 12:07 AM   #2
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Rep: Reputation: 17
About your first questions about drivers, I'd say no more need to deal wid madwifi. You WLAN card is detected and is in use. You just need to config WPA. WPA personal need only one key/pass. I'm using it on fedora so I don't know how to deal with debian...
Old 12-29-2008, 08:31 AM   #3
LQ Newbie
Registered: Sep 2007
Distribution: Debian Lenny
Posts: 26

Rep: Reputation: 15
I am using Lenny as well. I don't know about KDE, usually Gnome network manager automatically does the connection for me. But if it doesn't work, you may try it manually (I have done this for quite a long time before I knew Gnome does the same thing for me)

create a file :


ssid="[your id]"
psk="[your password]"


sudo ifdown wlan0
sudo pkill wpa_supplicant

sudo wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf

sudo ifup wlan0
Old 12-29-2008, 10:10 AM   #4
LQ Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I used wicd to configure my atheros card and WPA2 in Debian Lenny after removing network-manager. Worked great !!

Originally Posted by Debian AspireOne wiki
A little note about WiFi and network-manager: It has been observed that network-manager does not work properly with the updated MadWiFi driver (incompatible hal, perhaps). You may need to configure the WLAN (e.g. ESSID, WEP/WPA) manually. Alternatively, wicd is performing beautifully for me. First remove network-manager, then add the following to /etc/apt/sources.list


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
scripts (kommander and command line) to start wireless devices with wpa/wpa2/wpa-aes Fluxx Linux - Wireless Networking 4 06-28-2010 02:51 AM
GUI for setting up WPA encryption? roystonlodge Linux - Networking 2 06-10-2008 09:20 AM
Setting up Wireless w/ WPA to start automatically in Fedora 8 SlowCoder Linux - General 3 02-15-2008 03:54 PM
Setting up dhclient, and maybe wpa again Indiestory Linux - Wireless Networking 20 01-30-2007 11:11 AM

All times are GMT -5. The time now is 12:29 AM.

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