guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.91k stars 244 forks source link

Wifi + page loading issues #597

Closed COPLGIE closed 1 month ago

COPLGIE commented 1 month ago

What were you doing?

Trying to load up FullPageOS onto a Pi 5 with8gb of RAM.

What did you expect to happen?

To load and display multiple webpages after eachother after editing the 2 needed files.

What happened instead?

When connected via UTP en editing the fullpageos.txt file with 1 url it works fine.

When i edit fullpagedashboard.txt with multiple url's and fullpageos.txt with http://localhost/fullpagedashboard it only loads the Welcome screen with QR for setup. Does not load contents of fullpagedashboard.

When i try to connect via wifi it seems it does not connect at all for some reason. Edited the fullpageos_wpa_supplicant.txt file:

WPA/WPA2 secured

network={ ssid="SSID which has spaces" psk="password" }

Does nothing. I read that adding "key_mgmt=WPA-PSK" below psk= could solve the issue but nothing.

So i pretty much got 2 issues.

  1. Multiple pages listed in fullpagedashboard.txt is not working
  2. Connecting to a wifi network doesnt work.

Was there an error message displayed? What did it say?

Nothing.

Version of FullPageOS?

On windows, dont know how i can get into /etc/ but i selected the Nightly from 2024-03-24. ive tried the other 2 versions also, from 2022-03-07 and 2024-03-31 but exactly the same happens.

DietrichsPro commented 1 month ago

Here's the solution in English: Step 1. ctrl+alt+F2 Step 2. Login (pi, raspberry) Step 3. sudo raspi-config Step 4. Wireless Lan Step 5. Enter your wifi network details.

COPLGIE commented 1 month ago

I've tried the above, DietrichsPro, thanks, but unfortunately to no avail. I receive the message; There was an error running option S1 Wireless LAN

I've tried multiple SSID's that we have, including the hotspot on my phone, but no bueno.

Edit: I've seem to have connected the pi to a network, if i execute ifconfig i see wan0 has an IP adres in the range of the network, so that should be ok.

Problem now is that it does not load the url's which ive listed in fullpagedashboard. It shows the setup instructions page. Its almost like it does not load up the fullpageos.txt

Suggestions?

DietrichsPro commented 1 month ago

Mi sugerencia es que habilites el ssh en raspi-config y te conectes con la terminal para modificar la url desde sudo nano /boot/firmware/fullpageos.txt

sudo reboot.

cuando recibas la pantalla blanca obliga a chrome a iniciar. chromium-browser www.paginaweb.com

2Neanderthal commented 1 month ago

When you are doing the dashboard make sure you have no extra spaces anywhere. I had something similar happen and it happened to be an extra line under my last URL.

I had to set my wifi using Network manager. Run "systemctl status NetworkManager" to see if Network manager is running. "sudo nano /etc/NetworkManager/system-connections/preconfigured.nmconnection" -This is where I found the network files to be pulling from.

guysoft commented 1 month ago

Duplicate of #570

There is a NetworkManager way to set the wifi, and there is an even easier one coming up soon.

COPLGIE commented 1 month ago

@guysoft unfortunatly, my issue has not been completely resolved. Pages mentioned in the fullpagedashboard.txt do not load.

@2Neanderthal there are no spaces in my fullpagedashboard.txt. I also checked fullpageos.txt but also no spaces.

apartmedia commented 1 month ago

Is it a duplicate of #534? Is yes, take a look at this comment. Might be your case.

COPLGIE commented 1 month ago

@apartmedia Just tried this, and is the solution, it works. Thanks!

Strange tho that it doesnt work with the .txt file while that is how it should work. Perhaps this will get fixed in an update in the future?

apartmedia commented 1 month ago

A „fix“ would be more related to FullPageDashboard. The way how FullPageOS currently provide the URL‘s (each address in one line of a text file) can not be parsed by FullPageDashboard. The actual FullPageDashboard api can not read multiple line by line URL’s coming from a simple text file. It needs the json format which is currently provided only via the adding function of the tab bar. Or the needed json format would need to be provided directly by FPOS (instead of a text file).