So far no replies! Nobody any ideas?
I think, it's time to deliver some more information.
My goal is to establish a WAN connection for my C2600 via wifi.
For 5G wifi the relevant definitions in /etc/config/network are:
config interface 'wwan'
option proto 'dhcp'
For 5G wifi the relevant definitions in /etc/config/wireless are:
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
option channel '36'
option band '5g'
option cell_density '0'
option htmode 'HT20'
option country 'DE'
config wifi-iface 'wifinet12'
option device 'radio0'
option mode 'sta'
option network 'wwan'
option ssid 'H2O-LTEMOBIL-WLAN'
option encryption 'psk2'
option key 'Top-Secret'
option ifname 'wtplink5'
With these definitions I can successfully establish a WAN connection via wifi 5G. Logread shows the following entries:
Tue Nov 8 18:39:45 2022 daemon.notice wpa_supplicant[1533]: wtplink5: SME: Trying to authenticate with XX:XX:XX:XX:XX:XX (SSID='H2O-LTEMOBIL-WLAN' freq=5180 MHz)
Tue Nov 8 18:39:45 2022 kern.info kernel: [72918.995989] wtplink5: authenticate with XX:XX:XX:XX:XX:XX
Tue Nov 8 18:39:46 2022 kern.info kernel: [72919.338196] wtplink5: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
Tue Nov 8 18:39:46 2022 daemon.notice wpa_supplicant[1533]: wtplink5: Trying to associate with XX:XX:XX:XX:XX:XX (SSID='H2O-LTEMOBIL-WLAN' freq=5180 MHz)
Tue Nov 8 18:39:46 2022 kern.info kernel: [72919.347301] wtplink5: authenticated
Tue Nov 8 18:39:46 2022 kern.info kernel: [72919.359731] wtplink5: associate with XX:XX:XX:XX:XX:XX (try 1/3)
Tue Nov 8 18:39:46 2022 kern.info kernel: [72919.365873] wtplink5: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x11 status=0 aid=2)
Tue Nov 8 18:39:46 2022 kern.info kernel: [72919.372577] wtplink5: associated
Tue Nov 8 18:39:46 2022 daemon.notice netifd: Network device 'wtplink5' link is up
Tue Nov 8 18:39:46 2022 daemon.notice wpa_supplicant[1533]: wtplink5: Associated with XX:XX:XX:XX:XX:XX
Tue Nov 8 18:39:46 2022 daemon.notice wpa_supplicant[1533]: wtplink5: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Tue Nov 8 18:39:47 2022 daemon.notice wpa_supplicant[1533]: wtplink5: Unknown event 37
Tue Nov 8 18:39:47 2022 daemon.notice wpa_supplicant[1533]: wtplink5: WPA: Key negotiation completed with XX:XX:XX:XX:XX:XX [PTK=CCMP GTK=TKIP]
Tue Nov 8 18:39:47 2022 daemon.notice wpa_supplicant[1533]: wtplink5: CTRL-EVENT-CONNECTED - Connection to XX:XX:XX:XX:XX:XX completed [id=0 id_str=]
Tue Nov 8 18:39:51 2022 daemon.notice wpa_supplicant[1533]: wtplink5: Unknown event 37
Tue Nov 8 18:39:55 2022 user.notice WANIP: got lease for wtplink5: 192.168.73.244/24
Tue Nov 8 18:39:55 2022 user.notice firewall: Reloading firewall due to ifup of wwan (wtplink5)
For 2G wifi the relevant definitions in /etc/config/network are:
config interface 'wwan2'
option proto 'dhcp'
For 2G wifi the relevant definitions in /etc/config/wireless are:
config wifi-device 'radio1'
option type 'mac80211'
option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
option band '2g'
option htmode 'HT20'
option cell_density '0'
option txpower '17'
option country 'DE'
option channel '11'
config wifi-iface 'wifinet9'
option device 'radio1'
option mode 'sta'
option network 'wwan2'
option ssid 'H2O-LTEMOBIL-WLAN'
option encryption 'psk2'
option key 'Top-Secret'
option ifname 'wtplink2'
With these definitions I cannot successfully establish a WAN connection via wifi 2G. Logread shows the following entries:
Tue Nov 8 21:29:46 2022 daemon.notice netifd: Wireless device 'radio1' is now up
Tue Nov 8 21:29:46 2022 daemon.notice netifd: Interface 'wwan2' is enabled
Tue Nov 8 21:29:47 2022 daemon.notice wpa_supplicant[1538]: wtplink2: SME: Trying to authenticate with XX:XX:XX:XX:XX:XX (SSID='H2O-LTEMOBIL-WLAN' freq=2462 MHz)
Tue Nov 8 21:29:47 2022 kern.info kernel: [ 1412.281364] wtplink2: authenticate with XX:XX:XX:XX:XX:XX
Tue Nov 8 21:29:48 2022 kern.info kernel: [ 1412.613521] wtplink2: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
Tue Nov 8 21:29:48 2022 kern.info kernel: [ 1413.015212] wtplink2: send auth to XX:XX:XX:XX:XX:XX (try 2/3)
Tue Nov 8 21:29:49 2022 kern.info kernel: [ 1414.022017] wtplink2: send auth to XX:XX:XX:XX:XX:XX (try 3/3)
Tue Nov 8 21:29:50 2022 kern.info kernel: [ 1415.050994] wtplink2: authentication with XX:XX:XX:XX:XX:XX timed out
The previous tests have been made with a TP-Link MR7350 (stock firmware) as AP to connect to. But the results are the same, when I replace the TP-Link with a Linksys WRT1900ACSv2 (OpenWRT).
My question: Is there anything wrong with my definitions? Did I miss anything?