LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-21-2006, 09:04 PM   #1
NeoChaosX
LQ Newbie
 
Registered: Mar 2005
Location: San Jose, CA
Distribution: Ubuntu, DSL
Posts: 15

Rep: Reputation: 0
Connected to a different network and I want it to stop


Okay, here's my problem. I have a wireless network secured with WPA set up in my home, and running Ubuntu 5.10 on my laptop. With wpa_supplicant installed, I'm able to connect to the network and the Internet just fine. However, there is a second wireless network, "default" being run by a neighbor of mine. When I am connected to this network, I have crap reception, and the connection does not work.

I don't willingly choose connect to "default". However, while I'm running Ubuntu, when I'm connected to my home network, I will be randomly disconnected from my network and connected to "default", with no explanation. Obviously, this is a pain in the ass for me. I'm stumped and I have no idea how to stop this behavior from happening. What I want to know is if there's a way to blacklist "default", or even better, disable the behavior of being connected to "default".

Last edited by NeoChaosX; 02-21-2006 at 09:17 PM.
 
Old 02-21-2006, 09:27 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
While I'm not familiar with the configuration tools on Ubuntu, usually you do this by specifying the ESSID of the access point you want to use. The default is usually "auto" or "any", which is probably what is causing your problem.

Check the setup tool, and see where they allow you to specify the ESSID, set it to the ESSID of your access point, and you should only connect to that one.

When you want to "roam", you'll need to set it back to "auto" or "any".
 
Old 02-21-2006, 10:23 PM   #3
NeoChaosX
LQ Newbie
 
Registered: Mar 2005
Location: San Jose, CA
Distribution: Ubuntu, DSL
Posts: 15

Original Poster
Rep: Reputation: 0
Well, I really don't know how to do that with wpa_supplicant. Plus, I need to say I'm actually using Kubuntu, and I've tried using KWifiManager to select my network, but eventually I get kicked back to "default", so it's something inherent in the way the system works.
 
Old 02-22-2006, 04:46 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
From a command-line, as root, issue the command:

iwconfig

What does it say your ESSID is? If it's not what you want, try:

iwconfig wlan0 essid some_essid

Of course, replace "some_essid" with the name of your wireless network.
 
  


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
Connected to GPRS network and got an IP, but still no internet d2army Linux - Networking 0 02-15-2006 06:31 PM
On network but not connected to internet. tongueless Linux - Networking 3 01-25-2005 03:27 PM
connected to wireless network but no ip... pAn1k Linux - Wireless Networking 5 01-01-2005 04:09 PM
cannot see network when mac os x connected gSalsero Linux - Networking 1 06-21-2004 04:16 AM
stop hotplug from detecting things connected to usb (but still noticing usb itself) TheOneAndOnlySM Linux - Hardware 5 10-18-2003 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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