RaspiWiFi icon indicating copy to clipboard operation
RaspiWiFi copied to clipboard

Address remain static (10.0.0.1) in client mode

Open Zefram88 opened this issue 4 years ago • 4 comments

I'm able to solve it simply removing dhcpcd.conf, but that is needed to be done every time host mode is invoked.

Zefram88 avatar Mar 18 '20 00:03 Zefram88

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

rklass avatar May 06 '20 10:05 rklass

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

beaconIOT avatar Jul 04 '20 23:07 beaconIOT

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

trailhead avatar Nov 05 '20 20:11 trailhead

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.

nishmeht7 avatar Mar 02 '21 09:03 nishmeht7