R7800: Wlan fails after attended sysupgrade

Hi Together,
i upgradet from 22.x to

OpenWrt 23.05.5 r24106-10cc5fcd00 / LuCI openwrt-23.05 branch git-24.264.56413-c7a3562

everything seems to work okay - beside of the two wlan interfaces didnt come up. there is an errormessage in the log:

Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795): Syntax error: Unable to compile module '/usr/share/hostap/common.uc':
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   | Syntax error: Unable to resolve path for module 'nl80211'
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   | In /usr/share/hostap/common.uc, line 1, byte 35:
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   |
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   |  `import * as nl80211 from "nl80211";`
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   |   Near here ------------------------^
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   |
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   |
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   | Syntax error: Unable to resolve path for module 'rtnl'
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   | In /usr/share/hostap/common.uc, line 2, byte 29:
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   |
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   |  `import * as rtnl from "rtnl";`
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   |   Near here ------------------^
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795): In /usr/share/hostap/wdev.uc, line 3, byte 137:
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):  `import { vlist_new, is_equal, wdev_create, wdev_set_mesh_params, wdev_remove, wdev_set_up, phy_open } from "/usr/share/hostap/common.uc";`
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):   Near here ------------------------------------------------------------------------------------------------------------------------------^
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):
Sat Nov  2 10:45:39 2024 daemon.notice netifd: radio1 (1795):

here is the full log.

could you point me out to a possible solution?

thank you

Install ucode rtnl module, probably wpad-mbedtls too

thanks. that helped a little bit. the error message changed to:

Sat Nov  2 11:17:09 2024 daemon.notice netifd: radio0 (5883): Command failed: Not found
Sat Nov  2 11:17:09 2024 daemon.notice netifd: radio0 (5883): Command failed: Not found
Sat Nov  2 11:17:10 2024 daemon.notice netifd: Wireless device 'radio0' is now down
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio1 (5900): Command failed: Not found
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio1 (5900): Command failed: Not found
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio0 (5913): WARNING: Variable 'data' does not exist or is not an array/object
Sat Nov  2 11:17:10 2024 daemon.notice netifd: Wireless device 'radio1' is now down
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio1 (5925): WARNING: Variable 'data' does not exist or is not an array/object
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio1 (5925): Command failed: Not found
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio1 (5925): Command failed: Not found
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio0 (5913): Command failed: Not found
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio0 (5913): Command failed: Not found
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio1 (5925): sh: acs_survey: out of range
Sat Nov  2 11:17:10 2024 daemon.notice netifd: radio1 (5925): sh: acs_survey: out of range
Sat Nov  2 11:17:40 2024 daemon.notice netifd: radio1 (5925): Command failed: Request timed out
Sat Nov  2 11:17:40 2024 daemon.notice netifd: radio1 (5925): Command failed: Not found
Sat Nov  2 11:17:40 2024 daemon.notice netifd: radio1 (5925): Device setup failed: HOSTAPD_START_FAILED
Sat Nov  2 11:17:40 2024 daemon.notice netifd: Wireless device 'radio1' set retry=0
Sat Nov  2 11:17:40 2024 daemon.notice netifd: radio0 (5913): Command failed: Request timed out
Sat Nov  2 11:17:40 2024 daemon.notice netifd: radio0 (5913): Command failed: Not found
Sat Nov  2 11:17:40 2024 daemon.notice netifd: radio0 (5913): Device setup failed: HOSTAPD_START_FAILED
Sat Nov  2 11:17:40 2024 daemon.notice netifd: Wireless device 'radio1' is now up
Sat Nov  2 11:17:40 2024 daemon.notice netifd: Wireless device 'radio0' set retry=0
Sat Nov  2 11:17:40 2024 daemon.notice netifd: Wireless device 'radio0' is now up

perhaps there is a mistake in the old config?

update: after a reboot it works - thanks!

Seems wifi support disappeared (like by default in x86 vm), if you dont have config backup make one now.
Install clean 23.05.5 and type config back via luci.

now it works. beside of the pppoe connection iam tuning just right now. i think i dont need a fresh / clean install. it seems that all settings where recovered corectly.

perhaps someone can point me in the right direction. actualy iam switching from my old isp (ftth) to my new isp (vodafone dsl). both are using pppoe.

i cannot get the pppoe connection to my new isp working on the r7800. thats realy strange since pppoe works with my old ftth provider.

i also have for testing puposes another openwrt router. there the pppoe connection works with my new provider. i also cloned the mac from the test-router but it didnt worked. could it be that the isp only accepts the router that i connected the first time to the new line?

Logs from the new provider (dsl vodafone)

openwrt r7800 / mainrouter (not working)

Plugin pppoe.so loaded.
PPPoE plugin from pppd 2.4.9
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 04:a1:51:80:14:cd
 [service-name] [host-uniq  cc 07 00 00]
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 04:a1:51:80:14:cd
 [service-name] [host-uniq  cc 07 00 00]
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 04:a1:51:80:14:cd
 [service-name] [host-uniq  cc 07 00 00]
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery
Plugin pppoe.so loaded.
PPPoE plugin from pppd 2.4.9
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 04:a1:51:80:14:cd
 [service-name] [host-uniq  f8 0f 00 00]
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 04:a1:51:80:14:cd
 [service-name] [host-uniq  f8 0f 00 00]
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 04:a1:51:80:14:cd
 [service-name] [host-uniq  f8 0f 00 00]
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery

openwrt testrouter (working)

Plugin pppoe.so loaded.
PPPoE plugin from pppd 2.4.9
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 04:a1:51:80:14:cd
 [service-name] [host-uniq  00 00 10 cc]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 42
 dst 04:a1:51:80:14:cd  src 3c:61:04:53:88:06
 [AC-name ORAJ00] [host-uniq  00 00 10 cc] [service-name] [AC-cookie  8c 4a 5e 68 88 f8 bc 80 cd f3 e4 7f 73 fc 40 43]
Send PPPOE Discovery V1T1 PADR session 0x0 length 32
 dst 3c:61:04:53:88:06  src 04:a1:51:80:14:cd
 [service-name] [host-uniq  00 00 10 cc] [AC-cookie  8c 4a 5e 68 88 f8 bc 80 cd f3 e4 7f 73 fc 40 43]
Recv PPPOE Discovery V1T1 PADS session 0x32 length 42
 dst 04:a1:51:80:14:cd  src 3c:61:04:53:88:06
 [service-name] [host-uniq  00 00 10 cc] [AC-name ORAJ00] [AC-cookie  8c 4a 5e 68 88 f8 bc 80 cd f3 e4 7f 73 fc 40 43]
PADS: Service-Name: ''
PPP session is 50
Connected to 3c:61:04:53:88:06 via interface eth0.2
using channel 2
Renamed interface ppp0 to pppoe-wan
Using interface pppoe-wan
Connect: pppoe-wan <--> eth0.2
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x9cd2094b>]
rcvd [LCP ConfReq id=0x12 <mru 1492> <auth pap> <magic 0x43594865>]
sent [LCP ConfAck id=0x12 <mru 1492> <auth pap> <magic 0x43594865>]
rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x9cd2094b>]
sent [LCP EchoReq id=0x0 magic=0x9cd2094b]
sent [PAP AuthReq id=0x1 user="vodafone-vdsl.komplett/xxxx" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0x43594865]
sent [LCP EchoReq id=0x1 magic=0x9cd2094b]
sent [LCP EchoReq id=0x2 magic=0x9cd2094b]
sent [PAP AuthReq id=0x2 user="vodafone-vdsl.komplett/xxxx" password=<hidden>]
sent [LCP EchoReq id=0x3 magic=0x9cd2094b]
sent [LCP EchoReq id=0x4 magic=0x9cd2094b]
sent [LCP EchoReq id=0x5 magic=0x9cd2094b]
rcvd [LCP ConfReq id=0x2 <mru 1492> <auth chap MD5> <magic 0xa6c12371>]
sent [LCP ConfReq id=0x2 <mru 1492> <magic 0x59cec316>]
sent [LCP ConfAck id=0x2 <mru 1492> <auth chap MD5> <magic 0xa6c12371>]
rcvd [LCP ConfAck id=0x2 <mru 1492> <magic 0x59cec316>]
sent [LCP EchoReq id=0x0 magic=0x59cec316]
rcvd [CHAP Challenge id=0x1 <40ccee751c702d0dd364ee2c4245af2f>, name = "blncbr023"]
sent [CHAP Response id=0x1 <257a814a4a2dbc2205bb28fa7892020e>, name = "vodafone-vdsl.komplett/xxxx"]
rcvd [LCP EchoRep id=0x0 magic=0xa6c12371]
rcvd [CHAP Success id=0x1 "access accepted : vodafone-vdsl.komplett/xxxx"]
CHAP authentication succeeded: access accepted : vodafone-vdsl.komplett/xxxx
CHAP authentication succeeded
peer from calling number 3C:61:04:53:88:06 authorized
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPV6CP ConfReq id=0x1 <addr fe80::28da:98b6:e6f5:25d0>]
rcvd [IPCP ConfReq id=0x1 <addr 88.74.72.1>]
sent [IPCP ConfAck id=0x1 <addr 88.74.72.1>]
rcvd [IPV6CP ConfReq id=0x1 <addr fe80::2a31:52ff:fe58:d8e7>]
sent [IPV6CP ConfAck id=0x1 <addr fe80::2a31:52ff:fe58:d8e7>]
rcvd [IPCP ConfNak id=0x1 <addr 192.0.0.1> <ms-dns1 176.95.16.250> <ms-dns2 176.95.16.251>]
sent [IPCP ConfReq id=0x2 <addr 192.0.0.1> <ms-dns1 176.95.16.250> <ms-dns2 176.95.16.251>]
rcvd [IPV6CP ConfAck id=0x1 <addr fe80::28da:98b6:e6f5:25d0>]
local  LL address fe80::28da:98b6:e6f5:25d0
remote LL address fe80::2a31:52ff:fe58:d8e7
Script /lib/netifd/ppp6-up started (pid 4402)
rcvd [IPCP ConfAck id=0x2 <addr 192.0.0.1> <ms-dns1 176.95.16.250> <ms-dns2 176.95.16.251>]
local  IP address 192.0.0.1
remote IP address 88.74.72.1
primary   DNS address 176.95.16.250
secondary DNS address 176.95.16.251
Script /lib/netifd/ppp-up started (pid 4403)
Script /lib/netifd/ppp-up finished (pid 4403), status = 0x1
Script /lib/netifd/ppp6-up finished (pid 4402), status = 0x0

I think "upgrade" to clean image, it has wifi and pppoe in place. network turned into DSA (ip link shows lan1@eth0 , not eth0.1) then all config/network needs to be re-done.

i installed a clean sysupgrade image. dsl line is now working. i think the problem was the vlan - the old provider was on vlan 37 / the new provider didnt accept that vlan ...

but also i made a clean sysupgrade without preserving config files, dsa is not present:

grep -sq DEVTYPE=dsa /sys/class/net/*/uevent;

gives not output.

should i install dsa manually or is it ok like it is?

thanks

DSA is kernel feature, likely to come in next release....

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.