Accessing WPA PSK encrypted wireless network from linux
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Accessing WPA PSK encrypted wireless network from linux
I am using Open SUSE, fedora 8 and mandriva 2008. I have finally managed to get my DLINK DWL G510 wireless card detected.... now how do i configure it to access my wireless home network (used for sharing internet) The network is WPA PSK encrypted....
I would like to know more about using ifconfig, iwconfig commands.....
Since there is config files for everything in linux...can i just edit some config file instead of using the above commands???
With Mandriva, when you set up the wireless interface via the Control Center, there will be a selection where you can choose WPA Pre-Shared Key (it may be shown as WPA-PSK). As long as the key you choose is the same in the Mandriva setting as it is on your router, you should be able to communicate successfully between the laptop and the router.
I have used openSUSE in the past and I know it has a similar setting for the network config in YaST. I have not used Fedora.
SuSE has a configuration wizard in YaST for configuring your network. Most of these settings are saved in /etc/sysconfig/networking/ifcfg-<device>. You can also use the network manager applet. Then you can enter the wpa-psk once and if you change wireless networks, kwallet (on kde) is used to save the PSK key, so you only need to remember your user password. This allows using a strong (random) pre-shared key that is too long and complicated to remember. If you don't use the nm applet, the system will use the ifup/down scripts and get the key from the ifcfg-<device> config file. SuSE uses this file or the nm applet to construct a config file for wpa_supplicant on the fly. The /etc/wpa_supplicant.conf isn't used.
What is the network manager appelet?? Where can i find it???
Well i have already tried configuring network using YAST, i does not seem to work for me...... can somebody point me to a step by step tutorial that uses the command line????
If you use YaST2 to configure the device, the first option is whether or not to use the network manager or scripts to start the network. Select the network manager. If I remember correctly, the package will even be installed at that point. I think that which program is used depends on whether you use kde or gnome. I use kde, and the knetworkmanager program is used. It integrates with kwallet to save the essid/psk information. Later when you need to reconnect you will be asked for your kwallet password. So you would just need to remember that password and not the passphrases for several wireless networks.
I use a random 32 byte key (64 digit hex) generated from the /dev/random device ( copied with dd). So there is no way I could remember such a password or that a hacker might guess it. The downside is that it is stored on my laptop so if it were stolen, I would have to change it at once.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.