Closed makeupsomething closed 7 years ago
Might be the same problem: https://github.com/xshellinc/iotit/issues/25
This worked for me, but only after logging in once.
192.168.10.167
192.168.2.15
ifconfig
showed wlan0 as 192.168.10.133
192.168.10.133
192.168.10.133
and cannot192.168.2.15
ifconfig
showed wlan0 as 192.168.10.167
after that 192.168.10.167
is the ip address every time, which is the desired outcome
Il write about this quirk in the wiki and we can move this to ice box for now
ok, reboot post configuration did not work. but I found correct(?)
way to set static IP address
it seems it is managed by wpa_cli
daemon which runs /etc/wpa_supplicant/wpa_cli-actions.sh
if [ "$CMD" = "CONNECTED" ]; then
kill_daemon udhcpc /var/run/udhcpc-$IFNAME.pid
ifconfig $IFNAME 192.168.0.254 netmask 255.255.255.0 #new line
route add default gw 192.168.0.1 #new line
#disable dhcp
#udhcpc -i $IFNAME -p /var/run/udhcpc-$IFNAME.pid -S
fi
I added new config and this seems to work
is this issue still valid? @makeupsomething
@dbsparkle testing it today
@kylycht Using latest version I still had to reboot manually before the device got the static ip address i set.
When I set static ip for edison the device takes a different ip.
ifconfig on edison
iotit.log.zip