LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 10-17-2009, 02:07 PM   #1
Registered: Mar 2009
Location: America
Distribution: Debian/Arch
Posts: 134

Rep: Reputation: 16
Need CLI help with WPA2 personal w/ TKIP+AES

I'm trying to create a bash script that auto-executes on boot-up.

The script will attempt to connect to my hidden (not broadcasting ssid) wireless network which uses WPA2 Personal with TKIP+AES.

The reason I'm doing this is because when using Ubuntu, it seems to take forever to load up my network connection using the built in connection software. Even after everything is booted it still seems to take another 2 minutes to connect to my wireless router.

I know the problem is rather superfluous, however it's something I would like to learn how to do. I've found alot of info on auto-connecting to open networks or even WEP networks but haven't had as much luck with WPA2.

I'd just like to mention i'm also open to other alternatives that would connect me faster besides such a bash script.

other things that may or may not be useful:
SSID: cyn-net
wireless device Name: wlan0
wireless device can use: 802.11 a,b,g, or n
Using wireless n router.
Old 10-18-2009, 05:10 PM   #2
Registered: Jun 2009
Location: NYC
Posts: 259

Rep: Reputation: 58
I have a page on this, with a link to an excellent tutorial by a gentleman named Mike.

My page is at

(The link to Mike's article is towards the top of the page.)

It's Fedora specific, but the wpa_supplicant commands should work on any distribution.


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
AES or TKIP cccc Linux - Wireless Networking 3 07-18-2009 02:45 PM
rtl8185 wpa2 AES ndiswrapper wpa_supplicant linuxx86 Linux - Wireless Networking 0 03-09-2009 01:28 PM
LXer: Configuring WPA2 (AES) in Slackware LXer Syndicated Linux News 0 08-15-2008 07:30 AM
WPA2 TKIP ubuntu 6.06, need to start on boot for bridge trainpic Linux - Wireless Networking 1 08-19-2006 12:04 AM
AES vs RC4 vs TKIP jspsandhu Linux - Security 4 07-19-2005 09:50 AM

All times are GMT -5. The time now is 06:21 PM.

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