skyforever
Posts: 4
Joined: Wed Jan 31, 2018 5:05 am

Trouble Stretch WiFi fail to connect when multiple network

Wed Jan 31, 2018 5:14 am

Stretch has been extremely frustrating compared to Jessie which was much more simple as a headless user. I have flashed and -redownloaded stretch like over 10 times to make sure the files weren't corrupt.

Formerly for Jessie, I would just just create an ssh file and file a wpa_supplicant.conf file with the my network SSID and password.

For some reason, wpa_supplicant.conf requires a header to include ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

Now for another reason, it fails to reconnect to wifi after I include a second network following the first.

Is there a new method to include a second network?

I use to have two network so that when I am at home it would connect to my home router and when at another person's home it would connect to theirs.

Thanks

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Trouble Stretch WiFi fail to connect when multiple network

Wed Jan 31, 2018 11:00 am

My install will connect to multiple networks from entries in /etc/wpa_supplicant/wpa_supplicant.conf.

Stretch does require that header.

Code: Select all

country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

skyforever
Posts: 4
Joined: Wed Jan 31, 2018 5:05 am

Re: Trouble Stretch WiFi fail to connect when multiple network

Wed Jan 31, 2018 11:28 am

SurferTim wrote:
Wed Jan 31, 2018 11:00 am
My install will connect to multiple networks from entries in /etc/wpa_supplicant/wpa_supplicant.conf.

Stretch does require that header.

Code: Select all

country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
I do have that header exactly, except it's US instead of GB. After I add a second network entry, It fails to connect to any. I'd have to take out the sd card and place a new wpa_supplicant.conf file in the boot with a single network entry, then it'll work, and will reconnect upon reboot following.

So strange that stretch would differ so much from the previous iterations. The exact same multiple network entries no longer work.

Return to “Networking and servers”