LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-21-2009, 10:08 AM   #1
gmic
LQ Newbie
 
Registered: Dec 2008
Posts: 16

Rep: Reputation: 0
Possible to connect to WPA2 secured WLAN w/ only ifconfig & iwconfig?


In my situation I would like to connect to a wireless lan router which is secured with wpa2-psk. The router also uses dhcp.

The tools I have are ifconfig, iwconfig and dhcp. Is it possible to connect to my router with only this three tools? If so, how?
 
Old 02-21-2009, 10:24 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
No.

You also need a supported wifi card, supporting libraries and wpa supplicant.
Here's a howto:
http://www.cyberciti.biz/tips/howto-...iguration.html
 
Old 07-15-2011, 01:56 PM   #3
Greatwolf
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0
Question

Out of curiosity, why didn't they just add WPA/WPA2 support into ifconfig and iwconfig? Those two works with open wifi networks and wep networks so why not wpa also? If nothing else, it's at least consistent and we won't have to figure out yet another tool just to handle wpa authentication.

If, hypothetically, in the future a new encryption protocol is devised due to exploitable weakness in wpa, will we have yet another different tool just to handle that protocol too instead of making everything streamline and well integrated?

IMO, this makes things harder to use rather than easier.
 
Old 07-15-2011, 03:35 PM   #4
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
I am by no means an expert on this matter, but I do have some knowledge. I believe that the reasons for the need for wpa-supplicant is due to the complexities involved with the WPA and WPA2 authentications schemes, as the WPA2 has both WPA2-PSK and WPA2 enterprise which requires 802.11x authentication over Radius, which is probably why we need another application. Also when WPA came out before WPA2 there were many cards that didn't support anything but WEP due to older firmwares, and that wpa supplicant was needed to augment this shortcoming. Of course this is all conjecture on my part. Also don't forget this IS linux and they have about 30 different applications to do the same thing.
 
  


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
iwconfig - ifconfig brivy Linux - Networking 2 12-19-2007 01:01 PM
No ifconfig nor Iwconfig wasabi0503 Fedora 2 03-28-2006 12:23 AM
ifconfig & iwconfig do not work Koneko Linux - Newbie 3 08-06-2005 10:04 PM
ifconfig vs iwconfig danjmw Linux - Wireless Networking 3 12-20-2004 04:41 PM
iwconfig and ifconfig not working t3kops Fedora 1 07-17-2004 01:35 PM


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

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