on older Orange Pi zero I used nmcli for creating access point or connecting as a client to wifi.
Now I am running Linux orangepizeroplus2 3.4.113-sun8i #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017 armv7l on Orange Pi Zero plus2 h3 but I am not able to create access point with this (it does not work as on older OpiZero, I am using the same commands):
nmcli c add type wifi ifname wlan0 con-name connection-name autoconnect no ssid hotspotssid
nmcli connection modify connection-name 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli connection modify connection-name wifi-sec.key-mgmt wpa-psk
nmcli connection modify connection-name +ipv4.addresses 192.168.2.1/24
nmcli connection modify connection-name wifi-sec.psk "lepassword"
nmcli connection up connection-name
It writes me that "Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/1)" but I am not able to broadcast access point from other devices (android, pc, etc.).
nmcli d shows:
DEVICE TYPE STATE CONNECTION
wlan0 wifi connected connection-name
What am I doing wrong please?
P.S. when I want to connect to home wifi network as a client with "sudo nmcli device wifi connect myssid password pass" it works.
Question
peter12
Hello,
on older Orange Pi zero I used nmcli for creating access point or connecting as a client to wifi.
Now I am running Linux orangepizeroplus2 3.4.113-sun8i #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017 armv7l on Orange Pi Zero plus2 h3 but I am not able to create access point with this (it does not work as on older OpiZero, I am using the same commands):
nmcli c add type wifi ifname wlan0 con-name connection-name autoconnect no ssid hotspotssid nmcli connection modify connection-name 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared nmcli connection modify connection-name wifi-sec.key-mgmt wpa-psk nmcli connection modify connection-name +ipv4.addresses 192.168.2.1/24 nmcli connection modify connection-name wifi-sec.psk "lepassword" nmcli connection up connection-name
It writes me that "Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/1)" but I am not able to broadcast access point from other devices (android, pc, etc.).
nmcli d shows:
DEVICE TYPE STATE CONNECTION
wlan0 wifi connected connection-name
What am I doing wrong please?
P.S. when I want to connect to home wifi network as a client with "sudo nmcli device wifi connect myssid password pass" it works.
Link to comment
Share on other sites
11 answers to this question
Recommended Posts