[BUG] [AVM FritzBox 7412] WLAN missing

Hello Devlops.

I installed today the current OpenWrt-Release on my FritzBox. The WLAN-Adapter will not work and its not documented as known unsupported feature. The reason to install OpenWrt was to make the device to an free Access-Point. Any help for the problem?

Thanks regards.

If u need any data, ask me and I will give U.

System

|Model|AVM FRITZ!Box 7412|
|Architecture|xRX200 rev 1.2|
|Firmware Version|OpenWrt 21.02.0 r16279-5cc0535800 / LuCI openwrt-21.02 branch git-21.231.26241-422c175|
|Kernel Version|5.4.143|

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000
    link/ether 00:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff
4: dsl0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000
    link/ether 00:20:da:86:23:75 brd ff:ff:ff:ff:ff:ff
52: dsl0.7@dsl0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 00:20:da:86:23:75 brd ff:ff:ff:ff:ff:ff
53: pppoe-WAN: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc fq_codel state UNKNOWN qlen 3
    link/ppp

Kernel Log

[    0.000000] Linux version 5.4.143 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16279-5cc0535800)) #0 SMP Tue Aug 31 22:20:08 2021
[    0.000000] SoC: xRX200 rev 1.2
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[    0.000000] MIPS: machine is AVM FRITZ!Box 7412
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Detected 1 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] percpu: Embedded 14 pages/cpu s26256 r8192 d22896 u57344
[    0.000000] pcpu-alloc: s26256 r8192 d22896 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyLTQ0,115200
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=000006d5
[    0.000000] Readback ErrCtl register=000006d5
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 117648K/131072K available (6249K kernel code, 220K rwdata, 1040K rodata, 4248K init, 223K bss, 13424K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from 0x8075aa38 with crng_init=0
[    0.000000] CPU Clock: 500MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[    0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[    0.007913] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.045964] pid_max: default: 32768 minimum: 301
[    0.050906] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.058099] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.069505] rcu: Hierarchical SRCU implementation.
[    0.075080] smp: Bringing up secondary CPUs ...
[    0.080810] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.080829] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.080926] CPU1 revision is: 00019556 (MIPS 34Kc)
[    0.111740] Synchronize counters for CPU 1: done.
[    0.136125] smp: Brought up 1 node, 2 CPUs
[    0.146039] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.155700] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.162722] pinctrl core: initialized pinctrl subsystem
[    0.170520] NET: Registered protocol family 16
[    0.182659] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.195408] pinctrl-xway 1e100b10.pinmux: Init done
[    0.202091] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.212721] pcie-xrx200 1d900000.pcie: failed to get the PCIe PHY
[    0.261564] usbcore: registered new interface driver usbfs
[    0.267186] usbcore: registered new interface driver hub
[    0.272549] usbcore: registered new device driver usb
[    0.278224] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.290612] clocksource: Switched to clocksource MIPS
[    0.297900] thermal_sys: Registered thermal governor 'step_wise'
[    0.298696] NET: Registered protocol family 2
[    0.309256] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.317537] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.325892] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.333646] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.340653] TCP: Hash tables configured (established 1024 bind 1024)
[    0.347243] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.353695] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.361047] NET: Registered protocol family 1
[    0.365353] PCI: CLS 0 bytes, default 32
[    0.466575] random: fast init done

Try
echo 1 > /sys/bus/pci/rescan
https://bugs.openwrt.org/index.php?do=details&task_id=3906

UPDATE:

Sorry, the "echo 1" dont work.

A reinstall also not work, I tried it for safe, cause I played around alot in the web-interface.

Is there a way to list PCI-Devices, the kernel recognize?

lspci. I think it is in package pciutils.

1 Like

Sorry for late answer, have to work :wink:

root@OpenWrt:~# lspci -k
00:00.0 PCI bridge: Lantiq MIPS SoC PCI Express Port (rev 01)
        Kernel driver in use: pcieport
lspci: Unable to load libkmod resources: error -12
01:00.0 Ethernet controller: Qualcomm Atheros AR5008 Wireless Network Adapter (rev 01)

Device was found, but driver not.

Tech-Data says:

WLAN Hardware:
Atheros AR9287
WLAN 2.4GHz:b/g/n
WLAN 5.0GHz:
WLAN driver:
[ath9k](https://openwrt.org/docs/techref/driver.wlan/ath9k)

Loaded with opkg the following:
kmod-ath9k-common 5.4.143+5.10.42-1-1 129.2 KB Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc)

How can I load it into the kernel?

opkg update
opkg install kmod-ath9k

you don t need ath9k_htc

anyway just in case you are offline, you need kmod-ath9k, kmod-ath,kmod-ath9k-common

1 Like

Still online, but have to sleep now =)

Thx for your fast reply.

Will continue tomorrow.

I have to load them then with modprobe?? No, cancel that. Lsmod have the drivers listed, so they already in the kernel, right?

install that and if needed reboot the device

ok, image is in ramfs atm.
Will try it tomorrow. Thx2u.

Good night :slight_smile:

Hey all =)

Now my FB 7412 sucessfully works with WLAN available.
Hopefully this topic helps someone else.

Special thanks to @bricco1981 and Mijzelf.

@richb-hanover-priv

  • Topic can set as solved.
  • Maybe I could help to update the documentation for this device to add these steps. Give and take.

Have a good evening

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