These are chat archives for nightscout/intend-to-bolus
I upgraded to latest dev on the weekend and found my rig hitting 100% cpu usage after about 18 hours.
I'm running edison with "bt_with_wifi" set in preferences.
I found multiple 'dhclient wlan0' processes :-
root@myAPS:~# ps -ef | grep dhclient | wc -l
new oref0-online script has a line that checks for no wifi IP :-
18: if ! ip route | grep default | grep -q wlan0; then
this is true on my rig as wlan0 is not the default route (bnep0 is), ip route returns:-
default via 192.168.44.1 dev bnep0
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.160
192.168.2.0/24 dev usb0 proto kernel scope link src 192.168.2.15
192.168.44.0/24 dev bnep0 proto kernel scope link src 192.168.44.214
192.168.44.201 dev bnep0 scope link
I'm not sure when/how the default was set bnep0 (I upgraded rather than clean install), but it should be checking if wlan0 has an IP, not that it's the default route.
Removing the 'grep default' from oref0-online:18 has fixed the issue for me. Is this the best solution or is there a better command to check for wlan0 IP?