craftbeerpi3 icon indicating copy to clipboard operation
craftbeerpi3 copied to clipboard

Feature request: Automatically start wifi hotspot

Open oleost opened this issue 6 years ago • 8 comments

Having Craftbeerpi as headless without any screen and relying on WiFi connection can be an hassle. Maybe you gotten new router, new password or in a different location.

Changing wifi password is not easy to do either.

I would suggest an option that if no network is detected it will create its own hotspot.

oleost avatar Apr 08 '18 12:04 oleost

Great idea - can be very useful

Philip ;)

On 8 April 2018 at 15:10, Ole-Petter [email protected] wrote:

Having Craftbeerpi as headless without any screen and relying on WiFi connection can be an hassle. Maybe you gotten new router, new password or in a different location.

Changing wifi password is not easy to do either.

I would suggest an option that if no network is detected it will create its own hotspot.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Manuel83/craftbeerpi3/issues/183, or mute the thread https://github.com/notifications/unsubscribe-auth/AHARWxNGQuVwVgyySxV98kEDucedodnEks5tmf4tgaJpZM4TLg9L .

Philusha1983 avatar Apr 08 '18 12:04 Philusha1983

http://www.raspberryconnect.com/network/item/330-raspberry-pi-auto-wifi-hotspot-switch-internet

oleost avatar Apr 08 '18 14:04 oleost

So I followed the install instruction on the link provided.

When I start the RPi3 without ethernet plugged in it succesfully creates an hotspot I`m able to connect to.

But when trying to access Craftbeerpi @ 192.168.50.5:5000 ( Which is the RPi IP address" it fails to connect.

Any idea if this is Craftbeerpi fault or the provided script?

oleost avatar Apr 09 '18 16:04 oleost

Check with netstat -lntp where the python process is listening

2018-04-09 13:55 GMT-03:00 Ole-Petter [email protected]:

So I followed the install instruction on the link provided.

When I start the RPi3 without ethernet plugged in it succesfully creates an hotspot I`m able to connect to.

But when trying to access Craftbeerpi @ 192.168.50.5:5000 ( Which is the RPi IP address" it fails to connect.

Any idea if this is Craftbeerpi fault or the provided script?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Manuel83/craftbeerpi3/issues/183#issuecomment-379820759, or mute the thread https://github.com/notifications/unsubscribe-auth/AK4bcQyI5U3eI8yOSoRs1pidysqOvkCAks5tm5KVgaJpZM4TLg9L .

lalo-uy avatar Apr 09 '18 17:04 lalo-uy

15232970204116520779233205629702

oleost avatar Apr 09 '18 18:04 oleost

@lalo-uy This is what netstat gives me.

oleost avatar Apr 09 '18 18:04 oleost

So I started and stopped Craftbeerpi and then it works.

But after a reboot now both SSH and Craftbeerpi is refusing connection.

oleost avatar Apr 09 '18 18:04 oleost

This is more of an issue for the operating system. If you change your Wifi router you can simply turn off the Raspberry Pi, connect the SD card to a computer that can read the filesystem and manually change the settings in the wpa_supplicant configuration.

jfl88 avatar May 16 '18 03:05 jfl88