Notifications
Clear all

10/18/2023 Map Stopped Working?
Visit this post for the fix

Initialization Error

10 Posts
3 Users
0 Reactions
1,211 Views
(@williamcc2)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

Hey guys,

Β 

Just getting started here and running into an issue when booting up the Pi after flashing the SD with the latest version. I first noticed the issue when I was unable to find the Pi on Berrylan, so hooked up a monitor and keyboard to manually enter the SSID and password. I could be wrong, but seems like the script that prints the "Internet NOT available" message just overwrites anything you try to enter making entering the SSID and password for the wifi not possible. I've included pictures of the first screen the shows up immediately after boot (notice the first line has some sort of error) and subsequent pictures of trying to navigate the menus with the message writing over top. I'm running a new Raspberry Pi 4B on the latest VFR sectional PI version here on the site. For debugging purposes, I was able to flash the SD with the normal Raspberry Pi OS and it loaded and booted without issue so it does not appear to be an issue with the board itself. Any help would be much appreciated. Thanks for a cool project!

Will

Β 

Front page
PI menu
SSID menu

Β 


   
Quote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 557
 

Hi, when you use Berrylan, are you not presented with 'BT WLAN'? This is the RPi that needs to be selected to setup the WiFi. Double check this and if its not showing up, then you will have to force the script to quit so you can get into raspi-config. I believe this is done by pressing 'ctrl+alt+f1' (or f2). Then you should be able to make changes to Raspi-Config. Try that and let us know what happens. - MarkΒ 


   
ReplyQuote
(@williamcc2)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

@markyharris Thanks for getting back. Yes I forgot to mention that Berrylan wasn't showing anything for the Pi. I turned off the filtering in the app and could see all of my other nearby bluetooth devices but the BT WLAN wasn't one of them. With the ctrl+alt+f2 command I was able to stop the script and go into raspi-config and put in the SSID and passphrase, but it appears that I'm just unable to connect the board to wifi successfully. When I ethernet in the livesectional script runs just fine. Thanks for the help.


   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 557
 

Glad you got it working. However, there isn't a reason the wifi feature shouldn't work. Might try rebooting after setting the SSID? I'm just thinking out loud here. - Mark


   
ReplyQuote
(@williamcc2)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

@markyharris unfortunately no change when I reboot. I've spent a few hours trying various things, including flashing the SD with the normal Raspberry Pi OS to see if the issue persists there. Interestingly, the WiFi setup works just fine when I do it through the GUI on the desktop. For some reason that isn't translating to raspi-config in the livesectional image. So ethernet and WiFi both work on Raspberry OS, and ethernet works on the livesectional image but unable to get WiFi connection nor does BT WLAN show up in Berrylan. Just trying to rule out hardware failures.

Maybe I'm barking up the wrong tree, but many online suggestions have been centered around making changes to the wpa_supplicant.conf file, which I have done several times and running various tests it doesn't look like the file is even seen. The path I am using is:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

And the changes I make to it are:

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

network={
 ssid="(my wifi name)"
 psk="(my password)"
}

Is the wpa_supplicant.conf file somewhere different in the livesectional image than it would be in the normal Raspberry OS (i.e. am I writing to the wrong place or a place that doesn't exist in the livesectional image)? Forgive me if I'm talking apples and oranges here. I'm no electronics newbie but I am very unfamiliar with the Pi and file structure. Maybe you'll see some red flags here that I don't. Or maybe I'll just include a very long ethernet cable in the box when I give this gift πŸ™‚

Will


   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 557
 

If I remember correctly, wpa_supplicant.conf is only read and used on the very first boot of an image. In other words you need to burn an image, then from your windows computer, alter the wpa_supplicant.conf with your ssid and password, then insert it into the RPi for its first boot. Then it uses the credentials.

Another thought; the 4B is the latest version of the hardware and the software may not be updated properly. So try this and see what happens;

type

sudo apt-get update

followed by

sudo apt-get upgrade

and then reboot

Hopefully this will update the needed packages so that it runs properly on the 4b. Let us know. - Mark


   
ReplyQuote
(@williamcc2)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

@markyharris gave it a couple of tries with fresh flashes but no luck I'm afraid. I've got a Pi 3A+ headed my way so I will give that a go and report back in case anyone else ever has the same issue. Thanks for the help.

Will


   
ReplyQuote
(@williamcc2)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

Just a follow up post - replaced the 4b with a 3A+ and everything worked fine. Not sure what was up with the 4 but all is well now!


   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 557
 

Thanks for the update. I know we had the same issue with the 4a when it came out, but the update discussed took care of the issue. I'll have to purchase a 4b and set a board up to see what needs to be updated. So more to come at some point. - Mark


   
ReplyQuote
(@kjsnider)
New Member
Joined: 3 years ago
Posts: 1
 

Unfortunately same exact problem here with a 4b.

Kris in MN


   
ReplyQuote
Share: