Problem Description
I am trying to set up a wifi hotspot using Freedombox on an Orange Pi PC+ using a fresh install of Debian 11 Armbian.
Steps to Reproduce
-
Install dnsmasq-base (required by NetworkManger to provide dhcp for a hotspot) using
sudo apt-get install dnsmasq-base
. -
Log in, go to System->Networks & click on “Add Connection” button
-
Use the following settings:
connection name: “Freedombox AP”
interface: wlan0
firewall zone: internal
SSID: testing
mode: Access Point
frequency: B/G
channel: 5
authentication model: WPA
passphrase: 12345678
PV4 Addressing Method: Shared
Address: 10.42.10.1
Netmask: 255.255.255.0
IPV6: ignore. -
Check network status using nmcli:
…
wlan0: connected to Freedombox AP
“wlan0”
wifi (rtl8189fs), 12:81:A9:B7:BF:DA, hw, mtu 1500
inet4 10.42.10.1/24
route4 10.42.10.0/24
route4 169.254.0.0/16
inet6 fe80::1081:a9ff:feb7:bfda/64
route6 fe80::/64 -
Attempt to connect to the new access point using a phone or another computer.
Expected Results
Stable Internet connection
**Actual Results"
Connection is established, but then drops a few seconds afterwards. This process repeats indefinitely. Running journalctl -f with Sharing and Wifi logging levels set to DEBUG gives repeating entries like these:
Mar 22 06:13:31 oppcp systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Mar 22 06:13:43 oppcp kernel: RTL871X: set group key camid:1, addr:00:00:00:00:00:00, kid:1, type:TKIP
Mar 22 06:13:43 oppcp kernel: RTL871X: send eapol packet
Mar 22 06:13:43 oppcp wpa_supplicant[1296]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Mar 22 06:13:43 oppcp kernel: RTL871X: recv eapol packet
Mar 22 06:13:43 oppcp kernel: RTL871X: send eapol packet
Mar 22 06:13:43 oppcp wpa_supplicant[1296]: wlan0: AP-STA-CONNECTED 38:e3:9f:11:b5:18
Mar 22 06:13:43 oppcp kernel: RTL871X: recv eapol packet
Mar 22 06:13:43 oppcp kernel: RTL871X: set pairwise key camid:4, addr:38:e3:9f:11:b5:18, kid:0, type:AES
Mar 22 06:13:44 oppcp dnsmasq-dhcp[4277]: DHCPDISCOVER(wlan0) 38:e3:9f:11:b5:18
Mar 22 06:13:44 oppcp dnsmasq-dhcp[4277]: DHCPOFFER(wlan0) 10.42.10.99 38:e3:9f:11:b5:18
Mar 22 06:13:44 oppcp dnsmasq-dhcp[4277]: DHCPREQUEST(wlan0) 10.42.10.99 38:e3:9f:11:b5:18
Mar 22 06:13:44 oppcp dnsmasq-dhcp[4277]: DHCPACK(wlan0) 10.42.10.99 38:e3:9f:11:b5:18
Mar 22 06:13:44 oppcp dnsmasq[4277]: query[A] www.google.com from 10.42.10.99
Mar 22 06:13:44 oppcp dnsmasq[4277]: forwarded www.google.com to 127.0.0.1
Mar 22 06:13:44 oppcp dnsmasq[4277]: query[A] connectivitycheck.gstatic.com from 10.42.10.99
Mar 22 06:13:44 oppcp dnsmasq[4277]: forwarded connectivitycheck.gstatic.com to 127.0.0.1
Mar 22 06:13:44 oppcp dnsmasq[4277]: reply www.google.com is 142.250.190.36
Mar 22 06:13:44 oppcp dnsmasq[4277]: reply connectivitycheck.gstatic.com is 142.250.191.99
.Mar 22 06:13:44 oppcp dnsmasq[4277]: query[A] mtalk.google.com from 10.42.10.99
Mar 22 06:13:44 oppcp dnsmasq[4277]: forwarded mtalk.google.com to 127.0.0.1
Mar 22 06:13:44 oppcp dnsmasq[4277]: reply mtalk.google.com is
Mar 22 06:13:44 oppcp dnsmasq[4277]: reply mobile-gtalk.l.google.com is 142.250.112.188
Mar 22 06:13:44 oppcp dnsmasq[4277]: query[NAPTR] us.tracfone.rcs.telephony.goog from 10.42.10.99
Mar 22 06:13:44 oppcp dnsmasq[4277]: forwarded us.tracfone.rcs.telephony.goog to 127.0.0.1
Mar 22 06:13:44 oppcp dnsmasq[4277]: query[SRV] _sips._tcp.us.tracfone.rcs.telephony.goog from 10.42.10.99
Mar 22 06:13:44 oppcp dnsmasq[4277]: forwarded _sips._tcp.us.tracfone.rcs.telephony.goog to 127.0.0.1
Mar 22 06:13:44 oppcp dnsmasq[4277]: reply _sips._tcp.us.tracfone.rcs.telephony.goog is
Mar 22 06:13:44 oppcp dnsmasq[4277]: query[A] us.tracfone.rcs.telephony.goog from 10.42.10.99
Mar 22 06:13:44 oppcp dnsmasq[4277]: forwarded us.tracfone.rcs.telephony.goog to 127.0.0.1
Mar 22 06:13:44 oppcp dnsmasq[4277]: query[AAAA] us.tracfone.rcs.telephony.goog from 10.42.10.99
Mar 22 06:13:44 oppcp dnsmasq[4277]: forwarded us.tracfone.rcs.telephony.goog to 127.0.0.1
Mar 22 06:13:44 oppcp dnsmasq[4277]: reply us.tracfone.rcs.telephony.goog is 216.239.36.131
Mar 22 06:13:44 oppcp dnsmasq[4277]: reply us.tracfone.rcs.telephony.goog is NODATA-IPv6
Mar 22 06:13:47 oppcp systemd[1]: systemd-hostnamed.service: Succeeded.
Mar 22 06:13:51 oppcp wpa_supplicant[1296]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Mar 22 06:13:51 oppcp kernel: RTL871X: send eapol packet
Mar 22 06:13:51 oppcp kernel: RTL871X: recv eapol packet
Mar 22 06:13:51 oppcp kernel: RTL871X: send eapol packet
Mar 22 06:13:51 oppcp kernel: RTL871X: recv eapol packet
Mar 22 06:13:51 oppcp kernel: RTL871X: set pairwise key camid:4, addr:38:e3:9f:11:b5:18, kid:0, type:AES
Mar 22 06:13:51 oppcp dnsmasq-dhcp[4277]: DHCPDISCOVER(wlan0) 38:e3:9f:11:b5:18
Mar 22 06:13:51 oppcp dnsmasq-dhcp[4277]: DHCPOFFER(wlan0) 10.42.10.99 38:e3:9f:11:b5:18
Mar 22 06:13:51 oppcp dnsmasq-dhcp[4277]: DHCPREQUEST(wlan0) 10.42.10.99 38:e3:9f:11:b5:18
Mar 22 06:13:51 oppcp dnsmasq-dhcp[4277]: DHCPACK(wlan0) 10.42.10.99 38:e3:9f:11:b5:18
Mar 22 06:13:52 oppcp dnsmasq[4277]: query[A] connectivitycheck.gstatic.com from 10.42.10.99
Mar 22 06:13:52 oppcp dnsmasq[4277]: cached connectivitycheck.gstatic.com is 142.250.191.99
Mar 22 06:13:52 oppcp dnsmasq[4277]: query[A] www.google.com from 10.42.10.99
Mar 22 06:13:52 oppcp dnsmasq[4277]: cached www.google.com is 142.250.190.36
Mar 22 06:13:52 oppcp dnsmasq[4277]: query[A] mtalk.google.com from 10.42.10.99
Mar 22 06:13:52 oppcp dnsmasq[4277]: cached mtalk.google.com is
Mar 22 06:13:52 oppcp dnsmasq[4277]: cached mobile-gtalk.l.google.com is 142.250.112.188
Mar 22 06:13:52 oppcp dnsmasq[4277]: query[NAPTR] us.tracfone.rcs.telephony.goog from 10.42.10.99
Mar 22 06:13:52 oppcp dnsmasq[4277]: forwarded us.tracfone.rcs.telephony.goog to 127.0.0.1
Mar 22 06:13:52 oppcp dnsmasq[4277]: query[SRV] _sips._tcp.us.tracfone.rcs.telephony.goog from 10.42.10.99
Mar 22 06:13:52 oppcp dnsmasq[4277]: cached _sips._tcp.us.tracfone.rcs.telephony.goog is
Mar 22 06:13:52 oppcp dnsmasq[4277]: query[A] us.tracfone.rcs.telephony.goog from 10.42.10.99
Mar 22 06:13:52 oppcp dnsmasq[4277]: cached us.tracfone.rcs.telephony.goog is 216.239.36.131
Mar 22 06:13:52 oppcp dnsmasq[4277]: query[AAAA] us.tracfone.rcs.telephony.goog from 10.42.10.99
Mar 22 06:13:52 oppcp dnsmasq[4277]: cached us.tracfone.rcs.telephony.goog is NODATA-IPv6
Mar 22 06:13:58 oppcp wpa_supplicant[1296]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0