vivekpk Posted April 25, 2019 Posted April 25, 2019 Hi i am trying to create a hotspot using Network Manager in my banana pi nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid pducontroller nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk nmcli con modify Hostspot wifi-sec.psk "verylongpassword" nmcli con up Hostspot But when I type nmcli con up Hostspot gives me an output Error: Connection activation failed. here is my system diagnosis information link
Igor Posted April 25, 2019 Posted April 25, 2019 1 hour ago, vivekpk said: Hi i am trying to create a hotspot using Network Manager in my banana pi Is it working when you use armbian-config way? network -> armbian-config?
vivekpk Posted April 25, 2019 Author Posted April 25, 2019 6 minutes ago, Igor said: Is it working when you use armbian-config way? network -> armbian-config? no its not working from armbian-config
Igor Posted April 25, 2019 Posted April 25, 2019 36 minutes ago, vivekpk said: no its not working from armbian-config Tested right now and it works as expected. Logs: http://ix.io/1Hc0 1. Debian Stretch CLI image https://dl.armbian.com/bananapim2plus/Debian_stretch_next.7z 2. Creating user, running update (apt update and apt upgrade) 3. armbian-config -> network -> Hotspot 4. Connect with a mobile, no problem, running speedtest, speed as expected 5. Reboot 5. Connect with a mobile, no problem, running speedtest, speed as expected
vivekpk Posted April 25, 2019 Author Posted April 25, 2019 1 minute ago, Igor said: 1. Debian Stretch CLI image https://dl.armbian.com/bananapim2plus/Debian_stretch_next.7z ok, i will check with this image
vivekpk Posted April 26, 2019 Author Posted April 26, 2019 13 hours ago, Igor said: Tested right now and it works as expected. Logs: http://ix.io/1Hc0 1. Debian Stretch CLI image https://dl.armbian.com/bananapim2plus/Debian_stretch_next.7z 2. Creating user, running update (apt update and apt upgrade) 3. armbian-config -> network -> Hotspot 4. Connect with a mobile, no problem, running speedtest, speed as expected 5. Reboot 5. Connect with a mobile, no problem, running speedtest, speed as expected With this image, it worked, thanks I have one more doubt, how to change the IP of the hotspot by default its 172.24.1.1/24 i tried to change by nmtui->edit a connection->ifupdown (wlan0) but its can this connection is read-only
Igor Posted April 26, 2019 Posted April 26, 2019 7 minutes ago, vivekpk said: i tried to change by nmtui Our (working) solution is not managed by Network manager, so you can't use those tools. Those values are fixed since configuration is on the "proof of concept" level. It works, but I have no time to develop this on super easy management anytime soon. Tools used: hostapd, dnsmasq, ifupdown, iptables. Check their config files to adjust those values manually. I am afraid, no other way. Help with extending AP functionality within armbian-config is more then welcome.
Recommended Posts