Connected to a different network and I want it to stop
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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".
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".
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.