RaspiWiFi
RaspiWiFi copied to clipboard
Address remain static (10.0.0.1) in client mode
I'm able to solve it simply removing dhcpcd.conf, but that is needed to be done every time host mode is invoked.
I have the same problem, but I could not solve it. If I remove dhcpcd.conf and press again button to start raspiwifi again, it is not possible to connect
I have the same issue. Any fix? After it reboots and connects to my wifi, it still shows as the static IP:
MacBook-Pro:~ beaconIOT$ ping raspberrypi.local
PING raspberrypi.local (10.0.0.1): 56 data bytes
I'm looking at this now and I suspect it was caused on my system by running manual_reset.py without root permissions. You end up in a really broken state where both host and client modes are trying to bootstrap at the same time, and you still have the host mode dhcpcd.conf and IP 10.0.0.1
I think this issue is being caused by multiple entries of this in etc/crontab
@reboot root run-parts /etc/cron.raspiwifi/"
Every time I run reset, the setup_lib.py runs and adds this line to /etc/crontab
(line 34) and this works fine the first time since it doesn't already exist, but when this runs a second time and creates a duplicate entry the host mode stops working.
Removing the duplicate line and rebooting should successfully get the pi back to host_mode.