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

Notices

Reply
 
Search this Thread
Old 09-08-2008, 12:09 PM   #1
fourteenlines
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
VPN and Wireless Via Console


All,

My wireless is set up using ndiswrapper and wpa_supplicant. I've got my home wireless network and my schools wireless network in my /etc/wpa_supplicant.conf, but I'm having trouble when I need to associate with an open wireless network after I have booted up. I do:
Code:
~ # ifconfig wlan0 up
~ # iwconfig wlan0 essid "ESSID"
This does not successfully associate with the open wireless network. What am I missing?

Also, what are my options for VPN on the console?
 
Old 09-08-2008, 12:19 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
If you add the following to wpa_supplicant.conf that will tell it to connect to any open network when your defined networks aren't available.

network={
key_mgmt=NONE
priority=0
}
 
Old 09-08-2008, 03:51 PM   #3
fourteenlines
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by masonm View Post
If you add the following to wpa_supplicant.conf that will tell it to connect to any open network when your defined networks aren't available.

network={
key_mgmt=NONE
priority=0
}
Thanks! That is helpful for when my computer boots up. But what if I would like to change my wireless network after I have already started my computer? I'm confused why iwconfig does not work.
 
Old 09-08-2008, 06:32 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Quote:
Originally Posted by fourteenlines View Post
Thanks! That is helpful for when my computer boots up. But what if I would like to change my wireless network after I have already started my computer? I'm confused why iwconfig does not work.
iwconfig isn't working for you because you handed off control to wpa_supplicant (I've fought with it in the past).

I've found that wicd is a very handy tool for wireless connections (assuming of course you're running a GUI). It may be the solution you're looking for. It allows you to store connection profiles and make changes on the fly.
 
  


Reply

Tags
console, vpn, wireless


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
wireless router VPN problem Ipolit Linux - Wireless Networking 0 11-29-2006 07:39 AM
Wireless Security and VPN depam Linux - Software 4 08-23-2006 09:08 PM
vpn + wireless gautamn Linux - Wireless Networking 5 09-22-2005 06:56 PM
wireless concerns: is a VPN the solution? yocompia Linux - Security 5 09-16-2003 01:43 PM
Wireless Security & VPN Smerk Linux - Wireless Networking 2 12-11-2002 08:53 PM


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