You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Booted the OpenStick and started the P4wnP1 service
● P4wnP1.service - P4wnP1 Startup Service
Loaded: loaded (/etc/systemd/system/P4wnP1.service; disabled; preset: enabled)
Active: active (running) since Wed 2023-11-29 18:12:38 CET; 2s ago
Main PID: 2395 (P4wnP1_service)
Tasks: 12 (limit: 411)
Memory: 108.7M
CPU: 1.171s
CGroup: /system.slice/P4wnP1.service
├─2395 /usr/local/bin/P4wnP1_service
├─2449 /usr/sbin/hostapd /tmp/hostapd_wlan0.conf
└─2463 /usr/sbin/dnsmasq --log-facility=- -k -x /var/run/dnsmasq_wlan0.pid -C /tmp/dnsmasq_wlan0.conf
nov 29 18:12:40 openstick P4wnP1_service[2395]: 2023/11/29 18:12:40 Stopping DHCP client for interface 'wlan0'...
nov 29 18:12:40 openstick P4wnP1_service[2395]: 2023/11/29 18:12:40 Setting Interface wlan0 to IP 172.24.0.1
nov 29 18:12:40 openstick P4wnP1_service[2395]: 2023/11/29 18:12:40 Setting Interface wlan0 to UP
nov 29 18:12:40 openstick P4wnP1_service[2395]: 2023/11/29 18:12:40 Setting Interface wlan0 to MULTICAST to ON
nov 29 18:12:40 openstick P4wnP1_service[2395]: 2023/11/29 18:12:40 ... killing dnsmasq
nov 29 18:12:40 openstick P4wnP1_service[2395]: 2023/11/29 18:12:40 ... dnsmasq for interface 'wlan0' isn't running, no need to stop it
nov 29 18:12:40 openstick P4wnP1_service[2395]: 2023/11/29 18:12:40 Starting dnsmasq for interface 'wlan0' with config '/tmp/dnsmasq_wlan0.conf'...
nov 29 18:12:40 openstick P4wnP1_service[2395]: 2023/11/29 18:12:40 ... DHCP server for interface 'wlan0' started
nov 29 18:12:40 openstick P4wnP1_service[2395]: 2023/11/29 18:12:40 SetLEDSettings blink_count:2
nov 29 18:12:40 openstick P4wnP1_service[2395]: /usr/local/P4wnP1/scripts/servicestart.sh: LED blink count set to 2
I can access the Wifi access point, get an IP address assigned and go to the webpage at http://172.24.0.1:8000
But then the only thing i see is a pulsating circle. So opened Chrome console which pointed me to an error in webapp.js. The exact error message:
Uncaught TypeError: Cannot read properties of undefined webapp.js:28185 (reading 'length')
git clone https://github.com/RoganDawes/P4wnP1_aloa.git
cd P4wnP1_aloa/web_client
gopherjs build -o ../www/webapp.js
and copied those files (webapp.js and webapp.js.map) over to /usr/local/P4wnP1/www/
And also tried just using the shipped webapp.js and webapp.js.map from the Git build/ directory.
All with the same result: Uncaught TypeError
Uncaught TypeError: Cannot read properties of undefined webapp.js:28185 (reading 'length')
What did work though is downloading the v0.1.1-beta release and extracting webapp.js and webapp.js.map and copying those files over. The webinterface loads correctly. But i'm using OpenStick and the latest commits implicate that there should be OpenStick support (that would involve the LTE modem) which i'd love to use
Hi, awesome project which i'm trying to get running on UF896 OpenStick
I've created a Debian Bookworm chroot environment and installed Go 1.17.9. Compiled it like so
That build succesfully and copied the files over like so
Booted the OpenStick and started the P4wnP1 service
I can access the Wifi access point, get an IP address assigned and go to the webpage at http://172.24.0.1:8000
But then the only thing i see is a pulsating circle. So opened Chrome console which pointed me to an error in webapp.js. The exact error message:
Specifcally at this section
Maybe the array is empty ?
Any pointers on how to solve this are more than welcome.
Thanks !
The text was updated successfully, but these errors were encountered: