0unknwn / auto-hotspot Goto Github PK
View Code? Open in Web Editor NEWService and script to automatically create and configure an access point if there is no known network nearby
License: GNU General Public License v2.0
Service and script to automatically create and configure an access point if there is no known network nearby
License: GNU General Public License v2.0
As the title states, I am not seeing a hotspot created when using the manual commands in the auto-hotspot script.
I’m using a Raspberry Pi 3 B+ with Stretch (updated).
Is there a reason who the resolve.conf file is always set to use a loop back ip? My use case needs the pi to be able to resolve a dns address, but from what I've found, it cannot do this due this file not correctly allowing the domain to get resolved. Is there any way to get around this an allow for domains to get resolved when in wifi client mode? Let me know if there is any other information you need.
Hey.
Is there a way to remove your setup and get the old network program back?
A kind of „remove“ or deinstall?
Regards
Hi,
I am using this /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
:
country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
ap_scan=1
update_config=1
### auto hotspot ###
network={
priority=0
ssid="autohotspot"
mode=2
key_mgmt=WPA-PSK
psk="hotspotpassword"
frequency=2462
}
### my network ###
network={
ssid="My regular Wifi network"
psk="Some wrong password to test auto hotspot"
}
Since I didn't see the hotspot I connected the raspberry via ethernet to connect to it and check what's the problem.
When running sudo auto-hotspot --start-ap
I get the following error:
Failed to connect to non-global ctrl_ifname: wlan0 error: No such file or directory
Within the other issue I saw that you wanted to see the output of ip l
so here it is:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether b8:27:eb:8d:36:43 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether b8:27:eb:d8:63:16 brd ff:ff:ff:ff:ff:ff
What do I need to do to get auto hotspot to run correctly?
OS = Debian GNU/Linux 11 (bullseye)
Model = Raspberry Pi 3 Model B Rev 1.2
Hello!
I have a updated bullseye running on a raspberry 3A
I did the install steps and configured the /etc/wpa_supplicant/wpa_supplicant-device.conf
like in the example but with
also when i try to sudo auto-hotspot --start-ap
i get the message: failed to connect to non-global ctrl_iframe: wlan0 error
I´m out off ideas where to troubleshoot
I just confirmed that priority=0 works as a lower priority than other networks, so instead of adding priority to the other networks, just set the ap section...
After running this script or using the instructions SSH appears to be broken upon reboot. I unfortunatly do not have a micro hdmi cable yet but once I will experiment more. this is on a Pi 4B 2GB and 2021-05-07-raspios-buster-armhf
H, with the latest buster lite i get Failed to connect to non-global ctrl_ifname: wlan0 error: No such file or directory. When the script executes wpa_cli. Couldnt find a fix for it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.