1

I'm trying to add an additional network to a Raspberry Pi 4 running Buster that I use on my home network that I am travelling with. The location I am staying in appears to have Wifi delivered via a wifi extender so I don't have access to the router itself, just the network ID and password and the actual device itself in the rental unit. I have attempted to add another network the wpa_supplicant.conf file as well as adding an IP address I think is free (based on the IP's my phone and laptop take up). The issue is that a network scan doesn't show the Pi on the network and I can't ssh into the Pi either on it's previous or the new static IP. I have edited the wpa_supplicant using ubuntu on WSL, and the cmdline.txt via Windows notepad. The network itself appears to be broadcasting 5G and the device is in the same room as the network extender less than 5 meters away, so I don't think bandwidth or distance are a factor.

What I'm not sure about is if either of these methods are appropriate to update the settings, and or if the issue has to do with a network configuration I don't have access to, but I think that with the correct password and SSID.

Update:

Addressing questions in the comments:

  1. I modified both the wpa_supplicant.conf and cmdline.txt files through different processes because I thought that my issue might be with my previously setting of static IP on my home network. This was a trying everything till something worked process.
  2. I chose to set a static IP for my own ease of use, to avoid updating ssh commands and other IP based configurations when the Pi is turned off. If there's a more efficient way of achieving this, I'm very happy to learn it.
  3. I don't currently have a way to interface with the Pi besides modifying the SD card and I don't want to reimage the SD to preserve it's current software set up.

My current wpa_supplicant.conf looks like this:

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

network={ scan_ssid=1 ssid="mynetwork1" psk="mypass" id_str="home" }

network={ scan_ssid=1 ssid="mynetwork2" psk="mypass2" id_str="airbnb_kirch" }

I've double checked the SSID and passwords, so besides a potential conflict with the network bandwidth I'm not sure where my problem could be. My Pi is a Pi 4, so I don't think the network band is the issue.

nizz0k
  • 119
  • 5

1 Answers1

0

So, in my case the issue came down not the with Wifi settings, but the fact that I'd set the Pi to use a static IP on my home network. Having read more about this, I see why this is a non-ideal approach and is better handled through settings on the router itself for predictable IP assignment. As I am traveling with the Pi, I didn't have ssh access to the OS. My choices came down to using software to mount ext4 files on my widows computer and editing the DHCPCD settings, using the cmdline.txt with an .sh file as suggested by this post on this SO. Alternatives could have been to buy some network cables and connect the Pi to the wifi extender, or alternatively physically connect to the Pi itself but where I'm travelling at the moment would have meant ordering online and waiting.

nizz0k
  • 119
  • 5