I was trying to create a static IP hotspot on resin:
My script is not working following https://docs.resin.io/deployment/network/2.x/#setting-a-static-ip
Will clients get auto-dhcp? My aim is to connect to 192.168.1.127:5000, having a Flask Webserver running on that IP.
Hi. Have you copied this script in the right location? It should be placed in the “system-connections” directory.
If you did that, what are the symptoms? Does the wifi interface get assigned the desired IP address?
Hi. I have copied it to system-connections. It does not assign the desired IP or opens the AP. I am using wlan0 (Rpi3 Interal Wifi) looking at ifconfig
I have managed to setup the second wifi. I had to activate the connection using nmcli connection up <connection-id>.
Now if I use the static IP, my connecting devices are not assigned an IP. Do I need something like dnsmasq? How can my clients now receive an IP? I have the simple-node-server with hello world running on port 80.
So everyone who connects to the device should see on :80 the node server. Thanks!
I have used ipv4 connection shared and set the address1 and gateway to the same ip. It works. I have a problem with autoconnect=true. If I set autoconnect=true, the device won’t connect to the internet.