Raspberry Pi Client Software:
https://github.com/jimskon/wificlient
Log in to Pi: Kenyon Kenyon
Client statemachine: /home/kenyon/wificlient/wifi_state_machine.rb
Edit to Point to right server:
CONTROLLER = '138.28.162.215' # Kenyon Test server 1
PORT=3001
To watch log:
tail -f /tmp/pifi.log
To get IP address:
ifconfig
Contol the wifi statemachine:
sudo service cloudwifi restart/start/stop/status
Using Server for project
For regular login: jamesskon@gmail.com. FixStatus
For manager login jimskon@hotmail.com managersecret
mysql:
http://138.28.162.215/phpmyadmin. Root Kenyon2023
How to create a disk image of the PI os:
Do a “df” to find the disk name.
sudo dd if=/dev/rdisk5 of=wificlient16.dmg status=progress bs=16M
Build Hostapd
Build:
dpkg-buildpackage -b
Install:
dpkg -i hostapd_2.9.0-21_arm64.deb
Install Realtek driver:
git clone https://github.com/morrownr/8821cu-20210916.git
cd 8821cu-20210916 sudo ./install-driver.sh
Hostapd
Source: https://w1.fi/hostapd/
