Hello,
I have been trying to connect to my university's eduroam network, but I have been having problems.
I have the following setup:
- GL-AR300M16-Ext router
- 4.3.17 firmware
- Trying to connect to eduroam via repeater mode, so I can retranslate with my own SSID.
- Have not been able to get DNS or DHCP working due to not being able to connect to a network.
I followed this guide: Extensible Authentication Protocol - GL.iNet Router Docs 3. The first part didn't work and gave me an "incorrect username or password" error, and the second part via Luci also didn't work. Our eduroam network is a bit weird because it uses WPA-EAP for key management, TTLS for EAP and PAP for phase 2. When I try to put these settings into Luci, it does not connect, and gives me the following errors in the logs:
2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1360) prepare connect 'eduroam(F4:2E:7F:BD:0E:A1)', WPA2 802.1X (CCMP) channel 6
Tue Aug 20 04:38:44 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1458) connecting 'eduroam F4:2E:7F:BD:0E:A1'...
Tue Aug 20 04:38:44 2024 daemon.notice hostapd: Remove interface 'wlan0'
Tue Aug 20 04:38:44 2024 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Tue Aug 20 04:38:44 2024 daemon.notice hostapd: wlan0: AP-DISABLED
Tue Aug 20 04:38:44 2024 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Tue Aug 20 04:38:44 2024 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Tue Aug 20 04:38:44 2024 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Tue Aug 20 04:38:44 2024 daemon.notice netifd: Wireless device 'radio0' is now down
Tue Aug 20 04:38:47 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:47 2024 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Tue Aug 20 04:38:47 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:47 2024 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Tue Aug 20 04:38:47 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:47 2024 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ENABLED
Tue Aug 20 04:38:47 2024 daemon.notice hostapd: wlan0: AP-ENABLED
Tue Aug 20 04:38:47 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:48 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:48 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:48 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:48 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:48 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:49 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:49 2024 daemon.notice netifd: radio0 (12930): sh: out of range
Tue Aug 20 04:38:49 2024 daemon.notice netifd: radio0 (12930): sh: out of range
Tue Aug 20 04:38:49 2024 daemon.notice netifd: radio0 (12930): sh: out of range
Tue Aug 20 04:38:49 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:49 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Tue Aug 20 04:38:49 2024 daemon.notice netifd: Wireless device 'radio0' is now up
Tue Aug 20 04:38:49 2024 daemon.notice netifd: Interface 'wwan' is enabled
Tue Aug 20 04:38:50 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-SCAN-RESULTS
Tue Aug 20 04:38:50 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: SME: Trying to authenticate with f4:2e:7f:bd:0e:a1 (SSID='eduroam' freq=2437 MHz)
Tue Aug 20 04:38:50 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>SME: Trying to authenticate with f4:2e:7f:bd:0e:a1 (SSID='eduroam' freq=2437 MHz)
Tue Aug 20 04:38:50 2024 kern.info kernel: [ 625.208358] wlan-sta0: authenticate with f4:2e:7f:bd:0e:a1
Tue Aug 20 04:38:50 2024 kern.info kernel: [ 625.227731] wlan-sta0: send auth to f4:2e:7f:bd:0e:a1 (try 1/3)
Tue Aug 20 04:38:50 2024 kern.info kernel: [ 625.238903] wlan-sta0: authenticated
Tue Aug 20 04:38:50 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: Trying to associate with f4:2e:7f:bd:0e:a1 (SSID='eduroam' freq=2437 MHz)
Tue Aug 20 04:38:50 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>Trying to associate with f4:2e:7f:bd:0e:a1 (SSID='eduroam' freq=2437 MHz)
Tue Aug 20 04:38:50 2024 kern.info kernel: [ 625.298563] wlan-sta0: associate with f4:2e:7f:bd:0e:a1 (try 1/3)
Tue Aug 20 04:38:50 2024 kern.info kernel: [ 625.308906] wlan-sta0: RX AssocResp from f4:2e:7f:bd:0e:a1 (capab=0x1431 status=0 aid=1)
Tue Aug 20 04:38:50 2024 kern.info kernel: [ 625.317721] wlan-sta0: associated
Tue Aug 20 04:38:50 2024 kern.debug kernel: [ 625.321517] wlan-sta0: Limiting TX power to 36 (36 - 0) dBm as advertised by f4:2e:7f:bd:0e:a1
Tue Aug 20 04:38:50 2024 daemon.notice netifd: Network device 'wlan-sta0' link is up
Tue Aug 20 04:38:50 2024 daemon.notice netifd: Interface 'wwan' has link connectivity
Tue Aug 20 04:38:50 2024 daemon.notice netifd: Interface 'wwan' is setting up now
Tue Aug 20 04:38:50 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: Associated with f4:2e:7f:bd:0e:a1
Tue Aug 20 04:38:50 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>Associated with f4:2e:7f:bd:0e:a1
Tue Aug 20 04:38:50 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: CTRL-EVENT-EAP-STARTED EAP authentication started
Tue Aug 20 04:38:50 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-EAP-STARTED EAP authentication started
Tue Aug 20 04:38:50 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-EAP-STATUS status='started' parameter=''
Tue Aug 20 04:38:50 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Tue Aug 20 04:38:50 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Tue Aug 20 04:38:50 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=21 -> NAK
Tue Aug 20 04:38:50 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=21 -> NAK
Tue Aug 20 04:38:50 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-EAP-STATUS status='refuse proposed method' parameter='TTLS'
Tue Aug 20 04:38:50 2024 daemon.notice hostapd: handle_probe_req: send failed
Tue Aug 20 04:38:50 2024 daemon.notice hostapd: handle_probe_req: send failed
Tue Aug 20 04:38:50 2024 daemon.notice netifd: wwan (13265): udhcpc: started, v1.35.0
Tue Aug 20 04:38:51 2024 daemon.notice netifd: wwan (13265): udhcpc: broadcasting discover
Tue Aug 20 04:38:51 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
Tue Aug 20 04:38:51 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-EAP-STATUS status='completion' parameter='failure'
Tue Aug 20 04:38:51 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-EAP-FAILURE EAP authentication failed
Tue Aug 20 04:38:51 2024 kern.info kernel: [ 626.205642] wlan-sta0: deauthenticated from f4:2e:7f:bd:0e:a1 (Reason: 23=IEEE8021X_FAILED)
Tue Aug 20 04:38:51 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: CTRL-EVENT-DISCONNECTED bssid=f4:2e:7f:bd:0e:a1 reason=23
Tue Aug 20 04:38:51 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="eduroam" auth_failures=1 duration=10 reason=AUTH_FAILED
Tue Aug 20 04:38:51 2024 daemon.notice wpa_supplicant[2021]: BSSID f4:2e:7f:bd:0e:a1 ignore list count incremented to 2, ignoring for 10 seconds
Tue Aug 20 04:38:51 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-DISCONNECTED bssid=f4:2e:7f:bd:0e:a1 reason=23
Tue Aug 20 04:38:51 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="eduroam" auth_failures=1 duration=10 reason=AUTH_FAILED
Tue Aug 20 04:38:51 2024 daemon.notice netifd: Network device 'wlan-sta0' link is down
Tue Aug 20 04:38:51 2024 daemon.notice netifd: Interface 'wwan' has link connectivity loss
Tue Aug 20 04:38:51 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-SCAN-STARTED
Tue Aug 20 04:38:51 2024 daemon.notice netifd: wwan (13265): udhcpc: received SIGTERM
Tue Aug 20 04:38:51 2024 daemon.notice netifd: wwan (13265): udhcpc: entering released state
Tue Aug 20 04:38:51 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-SCAN-RESULTS
Tue Aug 20 04:38:51 2024 daemon.notice netifd: wwan (13265): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan" } (Permission denied)
Tue Aug 20 04:38:51 2024 daemon.notice netifd: Interface 'wwan' is now down
Tue Aug 20 04:38:51 2024 daemon.notice netifd: Interface 'wwan' is disabled
Tue Aug 20 04:38:51 2024 daemon.notice netifd: Interface 'wwan' is enabled
Tue Aug 20 04:38:51 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:610) shutdown wlan-sta0
Tue Aug 20 04:38:51 2024 daemon.notice netifd: Interface 'wwan' is disabled
Tue Aug 20 04:38:51 2024 daemon.err lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1313) connect fail due to key error
Tue Aug 20 04:38:51 2024 daemon.err lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1318) reconnect in 30 seconds...
Tue Aug 20 04:38:52 2024 daemon.notice hostapd: Remove interface 'wlan0'
Tue Aug 20 04:38:52 2024 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Tue Aug 20 04:38:52 2024 daemon.notice hostapd: wlan0: AP-DISABLED
Tue Aug 20 04:38:52 2024 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Tue Aug 20 04:38:52 2024 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Tue Aug 20 04:38:52 2024 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Tue Aug 20 04:38:52 2024 daemon.err wpa_supplicant[2021]: Failed to stop hostapd AP interfaces
Tue Aug 20 04:38:52 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: CTRL-EVENT-DSCP-POLICY clear_all
Tue Aug 20 04:38:52 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-DSCP-POLICY clear_all
Tue Aug 20 04:38:52 2024 daemon.notice wpa_supplicant[2021]: wlan-sta0: CTRL-EVENT-DSCP-POLICY clear_all
Tue Aug 20 04:38:52 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:548) <3>CTRL-EVENT-DSCP-POLICY clear_all
Tue Aug 20 04:38:52 2024 daemon.notice wpa_supplicant[2021]: nl80211: deinit ifname=wlan-sta0 disabled_11b_rates=0
Tue Aug 20 04:38:52 2024 daemon.err wpa_supplicant[2021]: rmdir[ctrl_interface=/var/run/wpa_supplicant]: Permission denied
Tue Aug 20 04:38:53 2024 daemon.notice netifd: Wireless device 'radio0' is now down
Tue Aug 20 04:38:54 2024 user.notice mwan3[13290]: Execute ifdown event on interface wwan (unknown)
Tue Aug 20 04:38:59 2024 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Tue Aug 20 04:38:59 2024 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Tue Aug 20 04:38:59 2024 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Tue Aug 20 04:39:01 2024 daemon.notice hostapd: 20/40 MHz operation not permitted on channel pri=6 sec=10 based on overlapping BSSes
Tue Aug 20 04:39:01 2024 daemon.notice hostapd: Fallback to 20 MHz
Tue Aug 20 04:39:01 2024 daemon.notice netifd: Wireless device 'radio0' is now up
Tue Aug 20 04:39:01 2024 daemon.notice hostapd: wlan0: interface state HT_SCAN->ENABLED
Tue Aug 20 04:39:01 2024 daemon.notice hostapd: wlan0: AP-ENABLED
Tue Aug 20 04:39:02 2024 user.notice firewall: Reloading firewall due to ifdown of wwan ()
Tue Aug 20 04:39:07 2024 daemon.err lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:192) call scan trigger fail, wait 6s
Tue Aug 20 04:39:08 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:563) load config...
Tue Aug 20 04:39:11 2024 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:654) disconnected actively
Tue Aug 20 04:39:25 2024 user.info : luci: accepted login on / for root from 192.168.8.129
Tue Aug 20 04:44:54 2024 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.8.129 e8:b5:d0:f5:94:55
Tue Aug 20 04:44:54 2024 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.8.129 e8:b5:d0:f5:94:55 PSULIB-CIRC-LAP
Tue Aug 20 04:45:06 2024 daemon.notice netifd: Network device 'eth0' link is up
Tue Aug 20 04:45:06 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Tue Aug 20 04:45:06 2024 daemon.notice netifd: Interface 'wan' is setting up now
Tue Aug 20 04:45:06 2024 kern.info kernel: [ 1000.981288] eth0: link up (100Mbps/Full duplex)
Tue Aug 20 04:45:06 2024 daemon.notice netifd: wan (19324): udhcpc: started, v1.35.0
Tue Aug 20 04:45:06 2024 daemon.notice netifd: wan (19324): udhcpc: broadcasting discover
Tue Aug 20 04:45:09 2024 daemon.notice netifd: wan (19324): udhcpc: broadcasting discover
Tue Aug 20 04:45:12 2024 daemon.notice netifd: wan (19324): udhcpc: broadcasting discover
Tue Aug 20 04:46:15 2024 daemon.notice netifd: Network device 'eth0' link is down
Tue Aug 20 04:46:15 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Tue Aug 20 04:46:15 2024 kern.info kernel: [ 1070.660017] eth0: link down
Tue Aug 20 04:46:16 2024 daemon.notice netifd: wan (19324): udhcpc: received SIGTERM
Tue Aug 20 04:46:16 2024 daemon.notice netifd: wan (19324): udhcpc: entering released state
Tue Aug 20 04:46:16 2024 daemon.notice netifd: wan (19324): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Tue Aug 20 04:46:16 2024 daemon.notice netifd: Interface 'wan' is now down
Tue Aug 20 04:46:16 2024 daemon.notice netifd: Interface 'wan' is disabled
Tue Aug 20 04:46:16 2024 daemon.notice netifd: Interface 'wan' is enabled
Tue Aug 20 04:46:18 2024 user.notice mwan3[20379]: Execute ifdown event on interface wan (unknown)
Tue Aug 20 04:46:22 2024 user.notice firewall: Reloading firewall due to ifdown of wan ()
Tue Aug 20 04:46:39 2024 user.info : luci: accepted login on / for root from 192.168.8.129
Tue Aug 20 04:47:25 2024 daemon.notice hostapd: Remove interface 'wlan0'
Tue Aug 20 04:47:25 2024 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Tue Aug 20 04:47:25 2024 daemon.notice hostapd: wlan0: AP-DISABLED
Tue Aug 20 04:47:25 2024 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Tue Aug 20 04:47:25 2024 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Tue Aug 20 04:47:25 2024 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Tue Aug 20 04:47:25 2024 daemon.notice netifd: Wireless device 'radio0' is now down
Tue Aug 20 04:47:26 2024 daemon.notice netifd: Wireless device 'radio0' is now up
Tue Aug 20 04:49:22 2024 daemon.notice netifd: Wireless device 'radio0' is now down
Tue Aug 20 04:49:25 2024 daemon.notice netifd: radio0 (23858): sh: out of range
Tue Aug 20 04:49:25 2024 daemon.notice netifd: radio0 (23858): sh: out of range
Tue Aug 20 04:49:26 2024 daemon.notice netifd: Wireless device 'radio0' is now up
Tue Aug 20 04:49:28 2024 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Tue Aug 20 04:49:28 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Tue Aug 20 04:49:28 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Tue Aug 20 04:53:01 2024 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.8.129 e8:b5:d0:f5:94:55
Tue Aug 20 04:53:01 2024 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.8.129 e8:b5:d0:f5:94:55 PSULIB-CIRC-LAP
Is there anything I can do to connect? Thank you.