LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-06-2006, 07:08 AM   #1
abu_the_armsdealer
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
wireless + wpa


Hi, I'm using an intel 3945ABG wireless adapter on SuSe 10.0... I finally got the wifi-adapter installed (it has cost me 3 days ), but still I can't connect to the internet...
I can use iwconfig and iwlist but i've no idea how to connect. Also, I tried using the KWifiManager. It found my wifinetwork one time when I disabled WPA, but i couldn't connect to the internet. When I rebooted, it said 'Out of range' although I was sitting next to my router...
Is there anyone who can help me? And how do I configure WPA under linux?

Thanks!!!
 
Old 09-07-2006, 06:45 PM   #2
igorc
Member
 
Registered: May 2005
Location: Sydney, Australia
Distribution: Ubuntu 5.04, Debian 3.1
Posts: 74

Rep: Reputation: 15
Assuming that your wifi network interface is eth1 you can try the following commands:

# iwconfig eth1 mode Managed
# iwconfig eth1 essid your_essid_name
# iwconfig eth1 key restricted your_wpa_key
# iwconfig - just to check up if the card is up and running
# ifconfig eth1 up
# dhclient eth1

This should setup your card and get an ip address from the router via DHCP. If that doesn't work you can always setup your ip address, netmask and gateway (ip of the router) with ifconfig command.

Last edited by igorc; 09-07-2006 at 06:59 PM.
 
Old 09-08-2006, 08:31 AM   #3
abu_the_armsdealer
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you, it works perfectly!
 
Old 03-05-2007, 12:30 PM   #4
blade013be
LQ Newbie
 
Registered: Jul 2005
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by igorc
Assuming that your wifi network interface is eth1 you can try the following commands:

# iwconfig eth1 mode Managed
# iwconfig eth1 essid your_essid_name
# iwconfig eth1 key restricted your_wpa_key
# iwconfig - just to check up if the card is up and running
# ifconfig eth1 up
# dhclient eth1

This should setup your card and get an ip address from the router via DHCP. If that doesn't work you can always setup your ip address, netmask and gateway (ip of the router) with ifconfig command.
Hi,

I encounter the same problem under Kubuntu 6.10.

I have no problem connecting on any unprotected AP or protected by WEP AP, but I can't get associated with any WPA, WPA2, WPA(PSK), ... -protected AP.

I tried the commands given in the quote, it gives the following error on iwconfig eth1 key restricted your_wpa_key :

Error : unrecognised wireless request my_wpa_key

I tried "my_wpa_key", it says the same...

any idea ?
 
Old 03-07-2007, 03:56 AM   #5
igorc
Member
 
Registered: May 2005
Location: Sydney, Australia
Distribution: Ubuntu 5.04, Debian 3.1
Posts: 74

Rep: Reputation: 15
Hi,

The word “your_wpa_key” in the post means that you have to replace that string with the real encrypted WPA key for the network you want to connect to, not to use "your_wpa_key" literally in the configuration.
 
Old 03-07-2007, 04:43 AM   #6
blade013be
LQ Newbie
 
Registered: Jul 2005
Posts: 11

Rep: Reputation: 0
Yes, I know I ment my real wpa_key, I just thought it would be easy to understand...

By the way, it's solved now Thanks !
 
  


Reply



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
trying to get wpa to work, now no wireless at all tomdun2 Linux - Wireless Networking 1 09-04-2006 08:10 AM
Wireless with WPA MartenH Linux - Wireless Networking 4 08-18-2006 02:45 AM
wireless with wpa often disconnected hyapadi SUSE / openSUSE 4 07-16-2005 11:24 PM
WPA on wireless network The Patbon Mandriva 10 03-16-2005 10:55 PM
Wireless w/ WPA in 9.2 Spyder-One SUSE / openSUSE 0 01-23-2005 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration