LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 09-12-2006, 05:25 PM   #1
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Rep: Reputation: 16
wireless network - WPA


Right now my wireless home network is set up with WPA Personal network authentication with TKIP encryption. I am running Dapper Drake, and i have and Intel Pro/Wireless 2200BG Network Adapter.

I am having problems connecting wirelessly while running Linux. I am able to choose my Wireless network. But there is no option to select WPA or WEP, it only is WEP. The only thing i can change is dhcp or static, and ascii or hex for the network key. Sorry this description is not better, I have to do this all off the top of my head, bc there is no way to post while in Linux.

I guess my question is does Linux only support WEP? Is there a way to connect to WPA? Ill use command line if necessary.

Thanks in advance

Jason
 
Old 09-12-2006, 05:52 PM   #2
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
You will need a package called "wpasupplicant". If you have "universe" repositories set up, you could try out "wpagui" too.
 
Old 09-12-2006, 09:10 PM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Would it not be easier to just change from WPA to WEP? It's just a home network after all.
 
Old 09-13-2006, 07:05 AM   #4
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
But WEP is (relatively) easy to break into. You could of course turn on MAC address filtering to only allow certain MAC addresses to connect.
 
Old 09-13-2006, 07:28 AM   #5
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Original Poster
Rep: Reputation: 16
it is still easy to obtain a MAC address from a computer that is currently connected/allowed by a router.

anyways i would rather find a solution in Linux rather than just changing it to WEP, that just seems like the easy way out.
 
Old 09-13-2006, 07:33 AM   #6
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
it is, did you try wpasupplicant and wpagui out yet?
 
Old 09-13-2006, 10:45 AM   #7
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Original Poster
Rep: Reputation: 16
no i wont be able to try those out until i get back from work. thanks for the help by the way.
 
Old 09-13-2006, 10:51 AM   #8
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by jaymoney
it is still easy to obtain a MAC address from a computer that is currently connected/allowed by a router.

anyways i would rather find a solution in Linux rather than just changing it to WEP, that just seems like the easy way out.
You wanted to connect to the internet, I told you how you could.
You did not mention that it was really no big deal, that you just wanted a challenge.

Good luck!
 
Old 09-13-2006, 11:08 AM   #9
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
Quote:
Originally Posted by randell6564
Would it not be easier to just change from WPA to WEP? It's just a home network after all.
A home network can't be abused? This logic is too hard for me.

Btw, wpasupplicant is insanely hard to setup. Any tips?
 
Old 09-13-2006, 01:24 PM   #10
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by Haiyadragon
A home network can't be abused? This logic is too hard for me.

Btw, wpasupplicant is insanely hard to setup. Any tips?
You're right, I was not making sense. But, I'm the kind of user that NEVER stores important information on my box.,ESPECIALLY if I'm wireless!

I use WEP, and I have never been compromised. My meaning was that even if someone did gain access to my box, or connection, big fricken deal! What are they gonna do.,browse my photo's? OMG!

Sure, they might be able to screw up configurations (if they tryed really, really hard!), but everything that is important to me, I backup anyway. If It became so neccessary, I would just wipe my drive and re-install! BUT.,this has NEVER been neccessary to date!
 
Old 09-13-2006, 02:17 PM   #11
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
The chances are slim. But no asshole is gonna use my network

I just made it work btw. With wpasupplicant. I tried NetworkManager but with all its dependencies it still wouldn't run. And when I finally managed to fire it up it couldn't detect wlan0 :/

So I tried wpasupplicant again. Cleaned out the config file to this:

Code:
update_config=1

ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

eapol_version=1

ap_scan=1

fast_reauth=1

network={
	ssid="configuredssid"
	proto=WPA
	key_mgmt=WPA-PSK
	pairwise=TKIP
	group=TKIP
	psk="configuredpskpassword"
}
Run "wpa_supplicant -c /etc/wpa_supplicant.conf -i wlan0" (as root ofcourse). It spits out a whole lot of errors but it works anyway I think it has to run as a deamon, that means all the time.

And then I can use the usual ways to bring up a network device with dhcp (differs per distro, don't know for Ubuntu).

Last edited by Haiyadragon; 09-13-2006 at 02:19 PM.
 
Old 09-13-2006, 02:26 PM   #12
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by Haiyadragon
The chances are slim. But no asshole is gonna use my network
LOL! BUT...
If you were in a situation where you lost your internet connection, but your Wireless picked up an un-secured network, would you use it?

Be honest! If yes, then YOU are an "asshole" :P lol!
 
Old 09-14-2006, 05:23 AM   #13
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
Quote:
Originally Posted by randell6564
LOL! BUT...
If you were in a situation where you lost your internet connection, but your Wireless picked up an un-secured network, would you use it?

Be honest! If yes, then YOU are an "asshole" :P lol!
I would. But only because that guy didn't read my post to enable WPA
 
Old 09-14-2006, 09:09 AM   #14
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by Haiyadragon
I would. But only because that guy didn't read my post to enable WPA
LOL! back at ya!
 
Old 09-24-2006, 04:37 PM   #15
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Original Poster
Rep: Reputation: 16
i dont have a wpasupplicant.conf file anywhere and im also not sure how to configure it. where should i create the the file? also i tried to run wpa_gui but the command was not found. i then downloaded wpagui_0.5.5-1_i386.deb then tried to run it and got the error Dependency is not satisfiable: libc6. any suggestions?
 
  


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
Network manager unable to connect to unsecured wireless - WPA networks fine :S phyre-x Ubuntu 8 05-16-2011 10:11 AM
wireless + wpa abu_the_armsdealer Linux - Hardware 5 03-07-2007 04:43 AM
Wireless network manager using WPA encryption dgranger Linux - Wireless Networking 14 09-20-2006 12:23 PM
WPA on wireless network The Patbon Mandriva 10 03-16-2005 10:55 PM
Configuring WPA-secured wireless network dori Slackware 1 10-07-2004 06:30 AM


All times are GMT -5. The time now is 12:42 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