KiwiSDR on wifi
Got my Kiwi to connect to my local wifi network. But it seems it is treating the wifi connection (wlan0) as a non local connection, even if ip adresses are local. Local network 192.168.1.X. Kiwi is given 192.168.1.225 by dhcp.
How to treat the wifi connection as local?
Wifi connection seems a better choice as less chance of hash via the ethernet cable and only the 5 V supply to consider.
73 de Olaf - LA3RK
How to treat the wifi connection as local?
Wifi connection seems a better choice as less chance of hash via the ethernet cable and only the 5 V supply to consider.
73 de Olaf - LA3RK
Comments
But there is no support from me for WiFi in general. Too many problems getting WiFi to work as demonstrated by the hundreds of posts on this forum.
CONSOLE: only available to local admin connections
Can connect to kiwi both as listener and as admin, but "CONNECT" on console page states that I am not on a local connection. But as long as I can connect via ssh it should be ok.
Understand the missing support on wifi as it has a number of problems.
Any advice?
Create a file called check_start_wlan.sh in root's directory ("/root/check_start_wlan.sh") Change the "your_wlan0_connection_string" for your particular wlan0 connmanctl connection string
then as root:
crontab -e
Add this line to the end of the crontab:
*/10 * * * * /bin/bash /root/check_start_wlan.sh
make sure to add an empty line after that line, then save/exit.
Verify the crontab looks sane
crontab -l
This should every 10 minutes via cron: check the output of ifconfig, look for the line starting with "wlan0", get the next line and check if there's a valid IP address present (checking if the "inet" phrase is present), if "inet" not present then ask connmanctl to connect that connection.
Note - only tested in my head, error conditions not trapped, running scripts as root creates a theoretical security risk etc etc etc.
Happy to take suggestions/improvement
I will try to implement your suggestion, first checking that the script works as intended.
Thanks again!
Nick