Author Topic: <SOLVED> Computer Connects To Unwanted Network  (Read 308 times)

Offline joechimp

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 8639
  • The quality of mercy isnot strained It's PCLINUXOS
<SOLVED> Computer Connects To Unwanted Network
« on: April 21, 2013, 08:53:13 AM »
Well, I could not find any info on this so here it goes.
I have a problem connecting to a network that I do not want to connect too.
I use my computer in a building that offers me free wi fi. There are other open connections in this building an therein lies the problem.
No matter how I configure my connection to the wifi I want to use , the computer always connects to a certain open connection in the building. I disconnect, then try to connect to my connection and it connects back to the unwanted connection. Nothing I do seems to stop it.
This is not my strong point, so it may be something simple ,so I apologize in advance for my ignorance.
« Last Edit: April 23, 2013, 05:31:46 PM by joechimp »
There is a 5th dimension,beyond that which is known to man.It is a dimension as vast as space and as timeless as infinity,between science& superstition,& it lies between the pit of man's fears and the summit of his knowledge.This is the dimension of imagination.It is an area which we call PCLINUXOS!

Offline Crow

  • Hero Member
  • *****
  • Posts: 8773
  • OBJECTS IN MIRROR... ARE LOSING
Re: Computer Connects To Unwanted Network
« Reply #1 on: April 21, 2013, 09:56:22 AM »
Stubborn machine, things use to be just like their owner  ;D   ;D   ;D

I wonder if anybody have had that problem, usually is the other way around   ???
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline joechimp

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 8639
  • The quality of mercy isnot strained It's PCLINUXOS
Re: Computer Connects To Unwanted Network
« Reply #2 on: April 21, 2013, 11:00:47 AM »
Stubborn I am.  :D

This is a strange problem. Happens on 2 different laptops. It has been giving me fits.
I tried to configure just the one connection to boot up when I use it. It still connects to the other open network.
There is a 5th dimension,beyond that which is known to man.It is a dimension as vast as space and as timeless as infinity,between science& superstition,& it lies between the pit of man's fears and the summit of his knowledge.This is the dimension of imagination.It is an area which we call PCLINUXOS!

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: Computer Connects To Unwanted Network
« Reply #3 on: April 21, 2013, 11:18:26 AM »

have you tried to configure the interface to not auto connect?

If it doesnt autoconnect,then you will have to manually connect and hence it will connect only to access points you specifically want to connect to.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline joechimp

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 8639
  • The quality of mercy isnot strained It's PCLINUXOS
Re: Computer Connects To Unwanted Network
« Reply #4 on: April 21, 2013, 12:00:53 PM »
Tried that. It reverts back to auto connect. I am truly at a loss here.
There is a 5th dimension,beyond that which is known to man.It is a dimension as vast as space and as timeless as infinity,between science& superstition,& it lies between the pit of man's fears and the summit of his knowledge.This is the dimension of imagination.It is an area which we call PCLINUXOS!

Offline sparerep

  • Jr. Member
  • **
  • Posts: 26
Re: Computer Connects To Unwanted Network
« Reply #5 on: April 22, 2013, 05:10:13 PM »
Try this: I have used it to control connection to psk-secured networks -- it should work for open.

When you make a connection, even an open one, it should appear in wpa_supplicant. Edit the file and add disabled=1 to the network you want to avoid.

You need to know the ssid and be root to edit. The file is:
/etc/wpa_supplicant

Here's one of mine disabled.

network={
    psk="TsjcIbkCc9JpvxAy2LmKPPazXbTQN5vmqA0"
    priority=1
    scan_ssid=0
    ssid="days_and_knights"
    disabled=1
}

If you've already connected, you may need to reboot.

Tom

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3800
Re: Computer Connects To Unwanted Network
« Reply #6 on: April 22, 2013, 06:38:27 PM »
If you don't get it resolved, I would try wicd. I use it exclusively on all of my machines.

Galen

Offline joechimp

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 8639
  • The quality of mercy isnot strained It's PCLINUXOS
Re: Computer Connects To Unwanted Network
« Reply #7 on: April 22, 2013, 06:45:42 PM »
I was unable to get this to work. Perhaps I didn't enter everything correctly or missed a step. Maybe because it is an open network.
Thanks for your help.
There is a 5th dimension,beyond that which is known to man.It is a dimension as vast as space and as timeless as infinity,between science& superstition,& it lies between the pit of man's fears and the summit of his knowledge.This is the dimension of imagination.It is an area which we call PCLINUXOS!

Offline joechimp

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 8639
  • The quality of mercy isnot strained It's PCLINUXOS
Re: Computer Connects To Unwanted Network
« Reply #8 on: April 22, 2013, 06:46:37 PM »
If you don't get it resolved, I would try wicd. I use it exclusively on all of my machines.

Galen

Thank you I will give it a try.
There is a 5th dimension,beyond that which is known to man.It is a dimension as vast as space and as timeless as infinity,between science& superstition,& it lies between the pit of man's fears and the summit of his knowledge.This is the dimension of imagination.It is an area which we call PCLINUXOS!

Offline joechimp

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 8639
  • The quality of mercy isnot strained It's PCLINUXOS
Re: Computer Connects To Unwanted Network
« Reply #9 on: April 23, 2013, 05:31:13 PM »
Thanks Galen. Worked perfectly. I had used it in the past and just didn't think of it.

Guess this is solved.  ;D
There is a 5th dimension,beyond that which is known to man.It is a dimension as vast as space and as timeless as infinity,between science& superstition,& it lies between the pit of man's fears and the summit of his knowledge.This is the dimension of imagination.It is an area which we call PCLINUXOS!