LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   setting up wpa on wireless ?? (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/setting-up-wpa-on-wireless-692841/)

stratotak 12-24-2008 08:34 PM

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 chip..so 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 manager..so 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 wlan0...so the kernel had drivers for it?.Wouldnt it have still worked??thats was main question,,other is about wpa..is it just a matter of adding essid and wpa_psk to /etc/network/interfaces..??

n03x3c 12-25-2008 12:07 AM

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...

olin 12-29-2008 08:31 AM

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 :
/etc/wpa_supplicant/wpa_supplicant.conf

add:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
ssid="[your id]"
key_mgmt=WPA-PSK
psk="[your password]"
}

then,

sudo ifdown wlan0
sudo pkill wpa_supplicant

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

sudo ifup wlan0

farslayer 12-29-2008 10:10 AM

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

Quote:

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



All times are GMT -5. The time now is 02:50 PM.