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 04-21-2007, 01:27 PM   #1
LQ Newbie
Registered: Dec 2004
Location: Warsaw
Distribution: Fedora mostly
Posts: 10

Rep: Reputation: 0
connect to wifi WPA pre-shared key from a command prompt, how?

I have a Compaq Presario V5305WM laptop, and they told me in another thread, the only way to get the BCM43xx wifi card to work in Debian Etch, was to use ndiswrapper.

okay, but, how do I connect to a network using WPA pre-shared key, in Debian, or any flavor of linux for that matter, without using the network manager GUI applet?

because the GUI applet only works in KDE or Gnome, which is fine, but I don't always use KDE or Gnome, sometimes I boot into a shell prompt, but what if I wanted to boot into runlevel 3 for instance, and surf to a page using lynx, what then???

because I have no clue how to setup ndiswrapper in Debian, or how to connect to a network using WPA other then using the network manager applet in FC6, isn't there another way?

Old 04-21-2007, 05:48 PM   #2
Senior Member
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
An example of the command I use:

/usr/local/bin/wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -Dwext -iwlan0
Old 04-21-2007, 07:06 PM   #3
LQ Newbie
Registered: Dec 2004
Location: Warsaw
Distribution: Fedora mostly
Posts: 10

Original Poster
Rep: Reputation: 0
ahh! thanks man!


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
Cannot connect via Wifi Radar with WPA enabled? Feelin' Fine Linux - Wireless Networking 1 03-13-2007 01:56 AM
[ipw2200 & WPA] Need help to connect to WPA enabled router. Hyakutake Slackware 2 03-02-2007 09:58 AM
How can i enable WPA pre-shared key, wireless? spondootre Linux - Newbie 5 06-24-2005 01:12 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM

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