WebReflection / archibold.io

archibold.io
ISC License
86 stars 14 forks source link

Trouble on Raspberry Pi 4 connecting via WiFi #8

Closed ubidefeo closed 4 years ago

ubidefeo commented 4 years ago

At first launch I could not get to the automatic setup. The bootstrap process always failed to retrieve OK and went into wifi-setup again. I found out that resolvconf has an issue reading from resolvconf.conf stating that static is an unknown command.

I repeated the provisioning process from scratch but got the same result. The issue seems to be DNS related, because I could ping 8.8.8.8 but not domain names, which made it fail here

if [ "$(curl -Ls http://archibold.io/OK)" != "OK" ]; then
  ./wifi-setup
fi

I eventually plugged in an Ethernet cable and relaunched bootstrap. It is now progressing :)

ubidefeo commented 4 years ago

for some reason I ended up posting issues to the wrong repo. closing.

WebReflection commented 4 years ago

@ubidefeo this is the right repository, as the other one got archived. The DNS gotcha happens from time to time, and it could be WiFi router related. Via wired connection, if you have some, there should never be a problem, but it's true I should likely force some different DNS provider out of the box, so that this issue would occur less.

ubidefeo commented 4 years ago

that would be amazing, @WebReflection in the end I've only tried at home, where I have a Mikrotik managing the network and it can be pretty strict with some stuff :)

joshuakarjala commented 4 years ago

I have the same issue - endless loop

WebReflection commented 4 years ago

@joshuakarjala then use a network cable, as it's the easiest way to go, 'cause I've no idea why your router wouldn't let the Pi connect (or try changing DNS)