Ubuntu 12.04 machine connects to an unknown wireless network automatically even if the connection is not visible in the list of wireless connections. This seems to be like a rogue network, how should I prevent auto connection to this wireless network.
I have 2 wireless networks, but only one of them is configured to auto connect to a certain network.
Open Network Manager and choose Wireless and select Particular connections and select edit and uncheck Connect Automatically button and save.
Use this image for reference
Edit:
We have one more solution , Block that SSID
Where RLSPOT001,RLAVID001 are SSID's that you want to block. Is there any way you can figure what SSID you are connecting ?
then above script can help if you run at startup.
In the wireless menu in the notification area of the panel, there should be an option near the bottom called "Edit Connections...". Select the unidentified network from the list in the window that appears and press the "Delete" button on the right side of the window.