Page 1 of 1

SOLVED - Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Tue Feb 19, 2019 4:07 am
by af5bc
I'm trying to setup a mobile hot spot using a Raspberry PI 3A+.

I've burned a fresh SDCARD with beta 4.0 RC3 and installed it in on a RPI 3A+ with a MMDVM_HS_dual_hat. The MMDVM board has a small Nextion display attached. I have everything working except Wifi.

When setting up the host spot I used a USB to Ethernet adapter. When I reboot the host spot with the USB Ethernet adapter disconnected, the wifi doesn't connect and the Nextion display shows MMDV host stopped.

I've added two different wifi networks. Also, tried enabled and disabled AP mode. Note, when AP mode was enabled, my android tablet was not able to connect to it.

Any tips?

Re: Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Tue Feb 19, 2019 2:44 pm
by KE0FHS
Have you tried all the usual suspects?
  • A space in the network name can cause problems connecting to some routers.
  • Some radio/modem boards require the WPA or WPA2 security standard, and won't work with WEP.
  • Make sure your wireless network doesn't have "Wireless Isolation" enabled, which could prevent your computer and hotspot from communicating with each other.
  • Might help to reboot your router, too.

Re: Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Tue Feb 19, 2019 4:56 pm
by af5bc
Thanks. I should comment that the same wireless networks work on a pi zeroW running 3.17.

I'm hoping to get rid of the piZeroW and switch to RPI 3A+ for my mobile setup.

Tonight, I'm going to test the same setup on a 3B+ and a 3B to try to isolate the culpurat.

Re: Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Tue Feb 19, 2019 5:13 pm
by KE0FHS
af5bc wrote: Tue Feb 19, 2019 4:56 pm I'm hoping to get rid of the piZeroW and switch to RPI 3A+ for my mobile setup.
Same here. I really like the RPi 3A+. It's a nice balance between speed, capacity, and size.

FYI, I've got three RPi 3A+ hotspots (one ZUMspot v0.4, one ZUMspot v0.6, and one MMDVM_HS_Hat v6) running Pi-Star 4.0.0-RC3 with no network-related issues.

Re: Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Tue Feb 19, 2019 6:15 pm
by af5bc
KE0FHS wrote: Tue Feb 19, 2019 5:13 pm FYI, I've got three RPi 3A+ hotspots (one ZUMspot v0.4, one ZUMspot v0.6, and one MMDVM_HS_Hat v6) running Pi-Star 4.0.0-RC3 with no network-related issues.
Are they all three running WiFi?

Re: Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Tue Feb 19, 2019 10:47 pm
by KE0FHS
af5bc wrote: Tue Feb 19, 2019 6:15 pm Are they all three running WiFi?
Yes, I use only WiFi for my hotspots at home (Android hotspot when mobile).

SOLVED - Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Wed Feb 20, 2019 2:59 am
by af5bc
I had to manually generate the wpa_supplicant.conf. It had the wrong country code, and it didn't have the proper key_mgmt value.

Also, I used the " wpa_passphrase" command to generate the "psk" value. Here is my new wpa_supplicant.conf file (with SSID and PSK values removed - you will need to generate your own).
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
ap_scan=1
fast_reauth=1
country=US

network={
scan_ssid=1
ssid="<REMOVED>"
psk=<REMOVED>
key_mgmt=WPA-PSK
id_str="0"
priority=100
}

Re: SOLVED - Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Thu Feb 21, 2019 1:59 am
by w7efs
"wpa_passphrase ssid password" certainly doesn't generate all those values, so "wpa_passphrase ssid password >> /etc/wpa_supplicant/wpa_supplicant.conf" and then editing the file to remove the commented plain text password and add the other fields must be what you meant.

Re: SOLVED - Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Thu Feb 21, 2019 3:51 am
by af5bc
That's correct. I generated the psk values with wpa_passphrase, and then tweaked the network parameters manually.

Re: SOLVED - Can't get wifif to work with RPI 3A+ and Beta 4.0 RC3

Posted: Thu Feb 21, 2019 3:12 pm
by KE0FHS
af5bc wrote: Thu Feb 21, 2019 3:51 am That's correct. I generated the psk values with wpa_passphrase, and then tweaked the network parameters manually.
FYI, JP is the default country code because it has the broadest selection of channels. It's fine to leave that as is, no matter where you are located.