LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-08-2008, 03:01 PM   #1
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Rep: Reputation: 37
How do I configure WPA for my wireless in Etch


I just installed Debian Etch on my Gateway 7330GZ laptop via the net install. I am floored at how well the install went (on a laptop). The install even picked up my built-in Broadcom BCM4306 wireless card. I used my wired network to do the install because it didn't provide the option of using WPA-PSK, and my wireless network uses that. After the install, I went to the network manager, selected eth0 (my wireless), and enabled it. It is still only giving me the option for WEP.

I have verified that wpasupplicant is installed. So how do I install and/or configure my wireless to use WPA? I have searched through Google, and apparently in Etch ndiswrapper is no longer supported? Any help is greatly appreciated.

Thanks,
 
Old 03-08-2008, 03:58 PM   #2
hkoster1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: Debian testing/Sid (AMD64)
Posts: 32

Rep: Reputation: 15
Quote:
Originally Posted by Tons of Fun View Post
I just installed Debian Etch on my Gateway 7330GZ laptop via the net install. I am floored at how well the install went (on a laptop). The install even picked up my built-in Broadcom BCM4306 wireless card. I used my wired network to do the install because it didn't provide the option of using WPA-PSK, and my wireless network uses that. After the install, I went to the network manager, selected eth0 (my wireless), and enabled it. It is still only giving me the option for WEP.

I have verified that wpasupplicant is installed. So how do I install and/or configure my wireless to use WPA? I have searched through Google, and apparently in Etch ndiswrapper is no longer supported? Any help is greatly appreciated.

Thanks,
Mmm... are you sure that eth0 is your wireless interface? Sounds more like the wired interface you used for installing Etch, no?
Does the command (as root) "iwconfig" show any wireless interfaces? Probably not, eh?

So, about ndiswrapper have a look at some Howto I made at http://forums.debian.net/viewtopic.php?t=17719. About wpa_supplicant, good of you to have installed that. Network-manager, which is part of the standard install of Etch, knows how to utilize it to make a connection. At any rate, getting this to work is a minor issue once you have ndiswrapper running. Let us know if you have got that far and still have problems.
 
Old 03-08-2008, 04:58 PM   #3
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Original Poster
Rep: Reputation: 37
Actually, I was mistaken. eth0 is given to my firewire port, eth1 my wireless, and eth2 my NIC. Still seems odd to me, especially eth1 as the wireless. I was expecting wlan0 or something similar. Below is the results of iwconfig:

Case:/home/hank# iwconfig
lo no wireless extensions.

eth2 no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11b/g ESSID:"" Nickname:"Broadcom 4306"
Mode:Managed Access Point: Invalid
RTS thrff Fragment thrff
Encryption keyff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

sit0 no wireless extensions.

Case:/home/hank#

Either way, I will follow your link and let you know how it goes. Thanks for the reply.
 
Old 03-08-2008, 05:22 PM   #4
hkoster1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: Debian testing/Sid (AMD64)
Posts: 32

Rep: Reputation: 15
OK, seems one of the b43 or b43legacy drivers is in Etch and is picking up on your wireless Broadcom device. If network-manager doesn't bring it up, then you could try and add something like the following to your /etc/network/interfaces file:
Code:
auto eth1
iface eth1 inet dhcp
    wpa-ssid NetworkName
    wpa-psk "WPAPassPhrase"
    wpa-driver wext
and then try and bring up the eth1 interface the first time (as root) with the "ifup eth1" command (or try "ifdown eth1" first). Could also try the ipw driver.

I haven't seen any reports of this being successful, though, so you may have to go the ndiswrapper route. In that case use the interface that ndiswrapper gives you, probably wlan0, and definitely use the wext driver.

Have fun!
 
Old 03-08-2008, 06:26 PM   #5
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Original Poster
Rep: Reputation: 37
Talking

YESSS! It worked. I tried using ndiswrapper, but the broadcom drivers were in .exe format. I installed them on an XP machine and extracted the 2 .inf files. I tried both with ndiswrapper, but got a bad driver error. Then I tried iwlist scan per your last reply, and I saw my network. So, I configured my sources.list with your recommendation, brought it up with ifup, and the wifi light came on. I checked ifconfig, and saw that it had an ip address, unplugged the CAT-5, rebooted the machine to make sure it comes up ok on it's own, and now I am replying with my wireless connection.

Thank you very much for the help. Like I said in the beginning of this post, I am really surprised how well this install went. I first tried Sarge on an old Fujitsu laptop, and it took almost a month to work all of the bugs out. I started this one a few hours ago, and it is now fully up and operational.

Now it's time to show my Windows friends a Linux laptop. Two of them have the same laptop, a Gateway 7330GZ, so the speed tests will be interesting.
 
Old 03-09-2008, 01:54 AM   #6
hkoster1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: Debian testing/Sid (AMD64)
Posts: 32

Rep: Reputation: 15
Great that you got it working!
Just out of curiosity, which kernel are you using in your Etch (check with the "uname -r" command), and which b43xx(?) module (check with the "lsmod |more" command)?
 
Old 03-09-2008, 09:40 AM   #7
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Original Poster
Rep: Reputation: 37
The kernel is 2.6.18-6-686 on a Gateway 7330GZ laptop with an Intel P4 proc. The Broadcom module is bcm43xx.
 
Old 03-09-2008, 10:00 AM   #8
hkoster1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: Debian testing/Sid (AMD64)
Posts: 32

Rep: Reputation: 15
Thanks for the info. Some more recent broadcom 43xx devices don't work well with the bcm43xx module... so there ndiswrapper must be used. You may keep that in the back of your mind, should you experience problems.

I notice that you have a laptop, so you may be interested in another Howto of mine at http://forums.debian.net/viewtopic.php?t=17199, describing use of the roaming mode of wpa_supplicant. It was written for another wireless chipset, but can easily be adapted to your case. Something to do on a rainy afternoon...

Have fun!
 
Old 03-09-2008, 03:48 PM   #9
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian Wheezy / BackTrack 5/ Linux Mint 17
Posts: 379

Original Poster
Rep: Reputation: 37
Great, thanks. This was going to be my next challenge.
 
  


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
scripts (kommander and command line) to start wireless devices with wpa/wpa2/wpa-aes Fluxx Linux - Wireless Networking 4 06-28-2010 02:51 AM
slackware 12 configure wpa wifi ajshevitz Linux - Newbie 5 02-21-2008 07:17 PM
wpa can't configure ggeo Linux - Wireless Networking 8 08-26-2007 10:24 AM
Debian Etch and WPA roaming problems basileus Linux - Laptop and Netbook 1 06-07-2007 02:46 AM
how to configure wpa support on freeradius? ericmeng Linux - Security 1 06-19-2004 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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