LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-20-2008, 01:35 PM   #1
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
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???

Thanks in advance
 
Old 02-20-2008, 07:46 PM   #2
edwardp
Member
 
Registered: Jun 2003
Location: USA
Distribution: Debian 7 (Wheezy)
Posts: 78

Rep: Reputation: 15
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.
 
Old 02-20-2008, 07:57 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
 
Old 02-20-2008, 11:42 PM   #4
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
Thanks for your help.....

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????
 
Old 02-21-2008, 12:18 AM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
WPA-PSK Wireless in RHEL5, How? Swiftmind Linux - Wireless Networking 1 01-17-2008 07:57 PM
WPA-PSK not working, but unsecured wireless OK Bleys Maynard Linux - Wireless Networking 9 06-11-2007 07:33 AM
help with wireless wmp54g and wpa-psk gfem Fedora 1 05-21-2007 11:46 PM
Cisco Wireless WPA-PSK support plythgam Linux - Wireless Networking 1 09-12-2005 10:15 AM
How do i set up WPA PSK with wpa supplicant and linuxant? Eleavings Linux - Wireless Networking 4 12-27-2004 11:24 AM


All times are GMT -5. The time now is 07:12 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 Google+: linuxquestions
Open Source Consulting | Domain Registration