Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I install the wifi module for raspberry pi 5?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Sun Jan 14, 2024 8:40 pm    Post subject: How do I install the wifi module for raspberry pi 5? Reply with quote

Hi guys,

I've been following this wiki to install Gentoo on the raspberry pi 5, especially for WIFI: https://wiki.gentoo.org/wiki/Raspberry_Pi4_64_Bit_Install#WiFi.

However, since this wiki is for 4 not 5, I don't think the WIFI module is properly installed. I assume brcmfmac43455 can only work for Pi 4, and that's why it fails for Pi 5. I get it, that's fine. But how do I install the correct module for Pi 5? Is brcmfmac43456 for Pi 5? However, I don't see any brcmfmac43456 after I installed raspberrypi-wifi-ucode and linux-firmware.

Has anyone successfully installed WIFI module on Pi 5 and teach me how please?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sun Jan 14, 2024 8:55 pm    Post subject: Reply with quote

DarthJoker,

Welcome to Gentoo.

Skip to the end of Raspberry Pi Install Guide
You will be missing brcmfmac43455-sdio.txt. I had to copy it from PiOS.
As its a Broadcom file, I'm very reluctant to share it.
It appears to be at https://github.com/reMarkable/brcmfmac-firmware/blob/master/brcmfmac43455-sdio.txt now. That's new since I installed my Pi5 in early December.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Sun Jan 14, 2024 9:11 pm    Post subject: Reply with quote

Thank you NeddySeagoon!

However, it still didn't work after I added that file.

Right now there are 3 files under /lib/firmware/brcm/:
* brcmfmac43455-sdio.bin
* brcmfmac43455-sdio.clm_blob
* brcmfmac43455-sdio.txt

Do I still miss something?

NeddySeagoon wrote:
DarthJoker,

Welcome to Gentoo.

Skip to the end of Raspberry Pi Install Guide
You will be missing brcmfmac43455-sdio.txt. I had to copy it from PiOS.
As its a Broadcom file, I'm very reluctant to share it.
It appears to be at https://github.com/reMarkable/brcmfmac-firmware/blob/master/brcmfmac43455-sdio.txt now. That's new since I installed my Pi5 in early December.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Sun Jan 14, 2024 9:35 pm    Post subject: Reply with quote

Also, below is what I got from Rasbian:

lrwxrwxrwx 1 root root 22 Nov 15 14:19 /mnt/gentoo/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt -> brcmfmac43455-sdio.txt
-rw-r--r-- 1 root root 2074 Nov 15 14:19 /mnt/gentoo/lib/firmware/brcm/brcmfmac43455-sdio.txt

It created a link to brcmfmac43455-sdio.txt, is this necessary?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sun Jan 14, 2024 9:39 pm    Post subject: Reply with quote

DarthJoker,

Lets get into the detail of didn't work. Once we know where its broken, we can fix it.

The missing firmware file should allow your wifi interface to appear in
Code:
ifconfig -a

You may need to reboot to get the module to load again and pick up the missing file.

Until you can see your wifi interface, you can't configure it or start it.
How you configure wifi depends on the tools you choose.

Whatever the shiny wrapper, it a two stage process.
1. Get the radio link up. This involves authenticating and associating with the wireless access point.
2. Once that is successful. wifi behaves like any other Ethernet, so you can set it up with dncpcd, or whatever you would like to use for wired networking.

Each step depends on the step that went before, so we need to reduce the problem space.

Whatever tools you use, you will need to know the WiFi SSID and pass phrase to configure the interface.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Mon Jan 15, 2024 7:59 pm    Post subject: Reply with quote

Hi NeddySeagoon,

Sorry I didn't make myself clear enough. When I said it didn't work, I meant the module is not properly loaded. I don't see any WIFI interface even with
Code:
ifconfig -a
command.

Pasting content of dmesg here, hope it helps.

Code:
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] Linux version 6.1.72-v8-16k+ (davxi@gentoo-dublin) (aarch64-unknown-linux-gnu-gcc (Gentoo 12.2.1_p20221008 p1) 12.2.1 20221008, GNU ld (Gentoo 2.39 p5) 2.39.0) #2 SMP PREEMPT Sat Jan 13 21:06:27 GMT 2024
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: bypass linux,cma node, using cmdline CMA params instead
[    0.000000] OF: reserved mem: node linux,cma compatible matching fail
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000007ffff]
[    0.000000]   node   0: [mem 0x0000000000080000-0x000000003f7fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] cma: Reserved 256 MiB at 0x0000000010000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 14 pages/cpu s177448 r8192 d43736 u229376
[    0.000000] pcpu-alloc: s177448 r8192 d43736 u229376 alloc=14*16384
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Hardware dirty bit management
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 521728
[    0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=D8:3A:DD:E8:13:9B vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=tty root=/dev/mmcblk0p3 rootfstype=ext4 rootwait cma=256M@256M net.ifnames=0
[    0.000000] Dentry cache hash table entries: 1048576 (order: 9, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbffc000-0x00000000ffffc000] (64MB)
[    0.000000] Memory: 7976320K/8380416K available (12352K kernel code, 2184K rwdata, 4096K rodata, 4480K init, 1217K bss, 141952K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 40076 entries in 40 pages
[    0.000000] ftrace: allocated 40 pages with 2 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:    RCU event tracing is enabled.
[    0.000000] rcu:    RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]    Trampoline variant of Tasks RCU enabled.
[    0.000000]    Rude variant of Tasks RCU enabled.
[    0.000000]    Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000146] Console: colour dummy device 80x25
[    0.000278] printk: console [tty0] enabled
[    0.000293] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000301] pid_max: default: 32768 minimum: 301
[    0.000322] LSM: Security Framework initializing
[    0.000389] Mount-cache hash table entries: 16384 (order: 3, 131072 bytes, linear)
[    0.000421] Mountpoint-cache hash table entries: 16384 (order: 3, 131072 bytes, linear)
[    0.000779] cgroup: Disabling memory control group subsystem
[    0.001135] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001142] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.001171] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001175] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.001197] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001201] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.001255] rcu: Hierarchical SRCU implementation.
[    0.001259] rcu:    Max phase no-delay instances is 1000.
[    0.001789] EFI services will not be available.
[    0.001860] smp: Bringing up secondary CPUs ...
[    0.002011] Detected PIPT I-cache on CPU1
[    0.002055] CPU1: Booted secondary processor 0x0000000100 [0x414fd0b1]
[    0.002214] Detected PIPT I-cache on CPU2
[    0.002250] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1]
[    0.002406] Detected PIPT I-cache on CPU3
[    0.002438] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1]
[    0.002463] smp: Brought up 1 node, 4 CPUs
[    0.002480] SMP: Total of 4 processors activated.
[    0.002484] CPU features: detected: 32-bit EL0 Support
[    0.002487] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.002492] CPU features: detected: Common not Private translations
[    0.002495] CPU features: detected: CRC32 instructions
[    0.002500] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.002503] CPU features: detected: LSE atomic instructions
[    0.002506] CPU features: detected: Privileged Access Never
[    0.002509] CPU features: detected: RAS Extension Support
[    0.002513] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.002550] CPU: All CPU(s) started at EL2
[    0.002553] alternatives: applying system-wide alternatives
[    0.004433] devtmpfs: initialized
[    0.006946] Enabled cp15_barrier support
[    0.006955] Enabled setend support
[    0.007012] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.007020] futex hash table entries: 1024 (order: 2, 65536 bytes, linear)
[    0.007737] pinctrl core: initialized pinctrl subsystem
[    0.007925] DMI not present or invalid.
[    0.008111] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.008657] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.008705] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.008755] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.008782] audit: initializing netlink subsys (disabled)
[    0.008832] audit: type=2000 audit(0.008:1): state=initialized audit_enabled=0 res=1
[    0.008943] thermal_sys: Registered thermal governor 'step_wise'
[    0.008954] cpuidle: using governor menu
[    0.009023] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.009053] ASID allocator initialised with 32768 entries
[    0.009325] Serial: AMBA PL011 UART driver
[    0.010071] bcm2835-mbox 107c013880.mailbox: mailbox enabled
[    0.010209] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2
[    0.016207] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-01-05T15:57:40, variant start_cd
[    0.020209] raspberrypi-firmware soc:firmware: Firmware hash is 30cc5f3700000000000000000000000000000000
[    0.026206] KASLR enabled
[    0.034777] bcm2835-dma 1000010000.dma: DMA legacy API manager, dmachans=0x1
[    0.035319] iommu: Default domain type: Translated
[    0.035324] iommu: DMA domain TLB invalidation policy: strict mode
[    0.035412] SCSI subsystem initialized
[    0.035461] usbcore: registered new interface driver usbfs
[    0.035472] usbcore: registered new interface driver hub
[    0.035482] usbcore: registered new device driver usb
[    0.035522] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.035593] pps_core: LinuxPPS API ver. 1 registered
[    0.035596] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.035603] PTP clock support registered
[    0.035823] vgaarb: loaded
[    0.035934] clocksource: Switched to clocksource arch_sys_counter
[    0.036065] VFS: Disk quotas dquot_6.6.0
[    0.036081] VFS: Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
[    0.036105] FS-Cache: Loaded
[    0.036133] CacheFiles: Loaded
[    0.037283] NET: Registered PF_INET protocol family
[    0.037442] IP idents hash table entries: 131072 (order: 6, 1048576 bytes, linear)
[    0.039862] tcp_listen_portaddr_hash hash table entries: 4096 (order: 2, 65536 bytes, linear)
[    0.039909] Table-perturb hash table entries: 65536 (order: 4, 262144 bytes, linear)
[    0.039918] TCP established hash table entries: 65536 (order: 5, 524288 bytes, linear)
[    0.040197] TCP bind hash table entries: 65536 (order: 7, 2097152 bytes, linear)
[    0.041872] TCP: Hash tables configured (established 65536 bind 65536)
[    0.042013] MPTCP token hash table entries: 8192 (order: 3, 196608 bytes, linear)
[    0.042127] UDP hash table entries: 4096 (order: 3, 131072 bytes, linear)
[    0.042230] UDP-Lite hash table entries: 4096 (order: 3, 131072 bytes, linear)
[    0.042384] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.042529] RPC: Registered named UNIX socket transport module.
[    0.042534] RPC: Registered udp transport module.
[    0.042536] RPC: Registered tcp transport module.
[    0.042539] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.042544] PCI: CLS 0 bytes, default 64
[    0.042870] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 counters available
[    0.042968] kvm [1]: IPA Size Limit: 40 bits
[    0.042983] kvm [1]: GICV region size/alignment is unsafe, using trapping (reduced performance)
[    0.043015] kvm [1]: vgic interrupt IRQ9
[    0.043045] kvm [1]: VHE mode initialized successfully
[    0.329027] Initialise system trusted keyrings
[    0.329101] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.330867] zbud: loaded
[    0.331342] NFS: Registering the id_resolver key type
[    0.331354] Key type id_resolver registered
[    0.331357] Key type id_legacy registered
[    0.331384] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.331388] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.331433] F2FS not supported on PAGE_SIZE(16384) != 4096
[    0.331506] Key type asymmetric registered
[    0.331509] Asymmetric key parser 'x509' registered
[    0.331527] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.331570] io scheduler mq-deadline registered
[    0.331574] io scheduler kyber registered
[    0.331950] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d503000, parent irq: 31)
[    0.332017] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508380, parent irq: 32)
[    0.332060] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508400, parent irq: 33)
[    0.332104] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d517b00, parent irq: 34)
[    0.332832] gpio-461 (RP1 RUN pin): hogged as output/high
[    0.334067] bcm2708_fb soc:fb: FB found 1 display(s)
[    0.344006] Console: switching to colour frame buffer device 240x67
[    0.347438] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1920x1080
[    0.379700] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.380006] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 37, base_baud = 6000000) is a 16550A
[    0.380053] serial serial0: tty port ttyS0 registered
[    0.380326] iproc-rng200 107d208000.rng: hwrng registered
[    0.380389] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)
[    0.380611] bcm2712-iommu-cache 1000005b00.iommuc: bcm2712_iommu_cache_probe
[    0.382335] brd: module loaded
[    0.383685] loop: module loaded
[    0.383802] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.383922] Loading iSCSI transport class v2.0-870.
[    0.384672] usbcore: registered new device driver r8152-cfgselector
[    0.384694] usbcore: registered new interface driver r8152
[    0.384716] usbcore: registered new interface driver lan78xx
[    0.384734] usbcore: registered new interface driver smsc95xx
[    0.384811] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.384837] dwc_otg: FIQ enabled
[    0.384839] dwc_otg: NAK holdoff enabled
[    0.384840] dwc_otg: FIQ split-transaction FSM enabled
[    0.384842] Module dwc_common_port init
[    0.384959] usbcore: registered new interface driver uas
[    0.384982] usbcore: registered new interface driver usb-storage
[    0.385064] mousedev: PS/2 mouse device common for all mice
[    0.392796] rpi-rtc soc:rpi_rtc: registered as rtc0
[    0.394267] rpi-rtc soc:rpi_rtc: setting system clock to 1970-01-01T00:18:53 UTC (1133)
[    0.394570] bcm2835-wdt bcm2835-wdt: Poweroff handler already present!
[    0.394583] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.396871] sdhci: Secure Digital Host Controller Interface driver
[    0.396884] sdhci: Copyright(c) Pierre Ossman
[    0.396923] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.397112] ledtrig-cpu: registered to indicate activity on CPUs
[    0.397153] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.397173] hid: raw HID events driver (C) Jiri Kosina
[    0.397203] usbcore: registered new interface driver usbhid
[    0.397213] usbhid: USB HID core driver
[    0.397339] NET: Registered PF_PACKET protocol family
[    0.397369] Key type dns_resolver registered
[    0.397583] registered taskstats version 1
[    0.397610] Loading compiled-in X.509 certificates
[    0.397749] Key type .fscrypt registered
[    0.397758] Key type fscrypt-provisioning registered
[    0.399524] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[    0.400001] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff]
[    0.400439] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[    0.400740] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[    0.401037] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[    0.401325] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[    0.402766] brcm-pcie 1000120000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE
[    0.403053] brcm-pcie 1000120000.pcie: Forcing gen 2
[    0.403356] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0000:00
[    0.403636] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.403915] pci_bus 0000:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb])
[    0.404200] pci_bus 0000:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff])
[    0.404489] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400
[    0.404792] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.405674] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.511938] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[    0.512397] pci 0000:01:00.0: [1de4:0001] type 00 class 0x020000
[    0.512843] pci 0000:01:00.0: reg 0x10: [mem 0xffffc000-0xffffffff]
[    0.513279] pci 0000:01:00.0: reg 0x14: [mem 0xffc00000-0xffffffff]
[    0.513707] pci 0000:01:00.0: reg 0x18: [mem 0xffff0000-0xffffffff]
[    0.514192] pci 0000:01:00.0: supports D1
[    0.514602] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.523959] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.524380] pci 0000:00:00.0: BAR 8: assigned [mem 0x1f00000000-0x1f005fffff]
[    0.524795] pci 0000:01:00.0: BAR 1: assigned [mem 0x1f00000000-0x1f003fffff]
[    0.525205] pci 0000:01:00.0: BAR 2: assigned [mem 0x1f00400000-0x1f0040ffff]
[    0.525608] pci 0000:01:00.0: BAR 0: assigned [mem 0x1f00410000-0x1f00413fff]
[    0.526004] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.526391] pci 0000:00:00.0:   bridge window [mem 0x1f00000000-0x1f005fffff]
[    0.526783] pci 0000:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    0.527178] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    0.527623] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.528046] pcieport 0000:00:00.0: PME: Signaling with IRQ 38
[    0.528484] pcieport 0000:00:00.0: AER: enabled with IRQ 38
[    0.528941] rp1 0000:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200
[    0.529329] rp1 0000:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200
[    0.529722] rp1 0000:01:00.0: enabling device (0000 -> 0002)
[    0.530997] rp1 0000:01:00.0: chip_id 0x20001927
[    0.645059] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 106 (d8:3a:dd:e8:13:9b)
[    0.645907] dw_axi_dmac_platform 1f00188000.dma: DesignWare AXI DMA Controller, 8 channels
[    0.708012] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    0.708425] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
[    0.709292] xhci-hcd xhci-hcd.0: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000000000010810
[    0.709717] xhci-hcd xhci-hcd.0: irq 131, io mem 0x1f00200000
[    0.710198] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    0.710609] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[    0.711018] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed
[    0.711483] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    0.711897] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.712314] usb usb1: Product: xHCI Host Controller
[    0.712724] usb usb1: Manufacturer: Linux 6.1.72-v8-16k+ xhci-hcd
[    0.713134] usb usb1: SerialNumber: xhci-hcd.0
[    0.713658] hub 1-0:1.0: USB hub found
[    0.714076] hub 1-0:1.0: 2 ports detected
[    0.714598] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    0.715009] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.715420] usb usb2: Product: xHCI Host Controller
[    0.715828] usb usb2: Manufacturer: Linux 6.1.72-v8-16k+ xhci-hcd
[    0.716243] usb usb2: SerialNumber: xhci-hcd.0
[    0.716730] hub 2-0:1.0: USB hub found
[    0.717147] hub 2-0:1.0: 1 port detected
[    0.775999] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    0.776413] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
[    0.777276] xhci-hcd xhci-hcd.1: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000000000010810
[    0.777696] xhci-hcd xhci-hcd.1: irq 136, io mem 0x1f00300000
[    0.778173] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    0.778587] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[    0.779005] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed
[    0.779455] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    0.779879] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.780306] usb usb3: Product: xHCI Host Controller
[    0.780725] usb usb3: Manufacturer: Linux 6.1.72-v8-16k+ xhci-hcd
[    0.781142] usb usb3: SerialNumber: xhci-hcd.1
[    0.781646] hub 3-0:1.0: USB hub found
[    0.782066] hub 3-0:1.0: 2 ports detected
[    0.782585] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    0.782999] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.783408] usb usb4: Product: xHCI Host Controller
[    0.783812] usb usb4: Manufacturer: Linux 6.1.72-v8-16k+ xhci-hcd
[    0.784172] usb usb4: SerialNumber: xhci-hcd.1
[    0.784569] hub 4-0:1.0: USB hub found
[    0.784904] hub 4-0:1.0: 1 port detected
[    0.785749] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    0.786330] platform 1000800000.codec: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    0.786664] platform 1000800000.codec: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    0.786994] platform 1000800000.codec: Adding to iommu group 0
[    0.787331] platform 1000880000.pisp_be: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    0.787666] platform 1000880000.pisp_be: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    0.788008] platform 1000880000.pisp_be: Adding to iommu group 0
[    0.788366] platform 1000800000.codec: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    0.788702] platform 1000880000.pisp_be: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    0.789037] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_probe: Success
[    0.789637] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    0.790220] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_probe: Success
[    0.790891] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    0.791470] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_probe: Success
[    0.791885] sdhci-brcmstb 1000fff000.mmc: there is not valid maps for state default
[    0.792944] mmc1: CQHCI version 5.10
[    0.792983] mmc0: CQHCI version 5.10
[    0.793192] of_cfs_init
[    0.793237] of_cfs_init: OK
[    0.830089] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit
[    0.927526] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[    0.928009] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    0.932803]  mmcblk0: p1 p2 p3
[    0.933154] mmcblk0: mmc0:aaaa SC16G 14.8 GiB (quirks 0x00004000)
[    0.967941] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    0.982477] mmc1: SDHCI controller on 1001100000.mmc [1001100000.mmc] using ADMA 64-bit
[    0.988802] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
[    0.989219] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
[    1.015447] mmc1: new ultra high speed DDR50 SDIO card at address 0001
[    1.022046] EXT4-fs (mmcblk0p3): recovery complete
[    1.024150] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Quota mode: none.
[    1.024580] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    1.027670] devtmpfs: mounted
[    1.030837] Freeing unused kernel memory: 4480K
[    1.031279] Run /sbin/init as init process
[    1.031666]   with arguments:
[    1.031668]     /sbin/init
[    1.031669]   with environment:
[    1.031670]     HOME=/
[    1.031671]     TERM=linux
[    1.116138] usb 1-1: New USB device found, idVendor=0409, idProduct=005a, bcdDevice= 1.00
[    1.116556] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.159565] hub 1-1:1.0: USB hub found
[    1.160029] hub 1-1:1.0: 3 ports detected
[    1.447968] usb 1-1.1: new full-speed USB device number 3 using xhci-hcd
[    1.555522] usb 1-1.1: New USB device found, idVendor=0853, idProduct=0100, bcdDevice= 1.02
[    1.555876] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.556223] usb 1-1.1: Product: HHKB Professional
[    1.556625] usb 1-1.1: Manufacturer: Topre Corporation
[    1.639584] input: Topre Corporation HHKB Professional as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:0853:0100.0001/input/input0
[    1.700247] hid-generic 0003:0853:0100.0001: input,hidraw0: USB HID v1.11 Keyboard [Topre Corporation HHKB Professional] on usb-xhci-hcd.0-1.1/input0
[    2.225563] rpi-gpiomem 107d508500.gpiomem: window base 0x107d508500 size 0x00000040
[    2.230327] rpi-gpiomem 107d508500.gpiomem: initialised 1 regions as /dev/gpiomem1
[    2.232004] rpi-gpiomem 107d517c00.gpiomem: window base 0x107d517c00 size 0x00000040
[    2.232122] rpi-gpiomem 107d517c00.gpiomem: initialised 1 regions as /dev/gpiomem2
[    2.232149] rpi-gpiomem 107d504100.gpiomem: window base 0x107d504100 size 0x00000020
[    2.232187] rpi-gpiomem 107d504100.gpiomem: initialised 1 regions as /dev/gpiomem3
[    2.232206] rpi-gpiomem 107d510700.gpiomem: window base 0x107d510700 size 0x00000020
[    2.232302] rpi-gpiomem 107d510700.gpiomem: initialised 1 regions as /dev/gpiomem4
[    2.232367] rpi-gpiomem 1f000d0000.gpiomem: window base 0x1f000d0000 size 0x00030000
[    2.232398] rpi-gpiomem 1f000d0000.gpiomem: initialised 1 regions as /dev/gpiomem0
[    2.247555] input: pwr_button as /devices/platform/pwr_button/input/input1
[    2.258455] mc: Linux media interface: v0.10
[    2.293540] videodev: Linux video capture interface: v2.00
[    2.329908] Bluetooth: Core ver 2.22
[    2.329960] NET: Registered PF_BLUETOOTH protocol family
[    2.329962] Bluetooth: HCI device and connection manager initialized
[    2.329968] Bluetooth: HCI socket layer initialized
[    2.329970] Bluetooth: L2CAP socket layer initialized
[    2.329973] Bluetooth: SCO socket layer initialized
[    2.342921] pispbe 1000880000.pisp_be: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    2.343084] Bluetooth: HCI UART driver ver 2.3
[    2.343090] Bluetooth: HCI UART protocol H4 registered
[    2.343200] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.343422] pispbe 1000880000.pisp_be: pispbe_probe: HW version:  0x02252700
[    2.343428] pispbe 1000880000.pisp_be: pispbe_probe: BatchStatus: 0x00000000
[    2.343430] pispbe 1000880000.pisp_be: pispbe_probe: Status:      0x00000000
[    2.343432] pispbe 1000880000.pisp_be: Register nodes for group 0
[    2.343441] Bluetooth: HCI UART protocol Broadcom registered
[    2.343458] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[    2.343537] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[    2.343699] pispbe 1000880000.pisp_be: input device node registered as /dev/video20
[    2.343726] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video21
[    2.343745] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video22
[    2.343761] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video23
[    2.343797] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video24
[    2.343821] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video25
[    2.343844] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video26
[    2.343869] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video27
[    2.343889] pispbe 1000880000.pisp_be: config device node registered as /dev/video28
[    2.344168] pispbe 1000880000.pisp_be: Register nodes for group 1
[    2.344199] pispbe 1000880000.pisp_be: input device node registered as /dev/video29
[    2.344216] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video30
[    2.344233] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video31
[    2.344249] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video32
[    2.344265] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video33
[    2.344281] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video34
[    2.344301] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video35
[    2.344317] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video36
[    2.344360] pispbe 1000880000.pisp_be: config device node registered as /dev/video37
[    2.348715] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    2.349896] rpivid 1000800000.codec: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    2.354416] rpivid 1000800000.codec: Device registered as /dev/video19
[    2.357995] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.360800] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    2.361008] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    2.361199] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.361387] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    2.362749] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.362757] cfg80211: failed to load regulatory.db
[    2.605761] brcmfmac: F1 signature read @0x18000000=0x15264345
[    2.607109] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    2.607251] usbcore: registered new interface driver brcmfmac
[    2.607879] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin failed with error -2
[    2.700458] Bluetooth: hci0: BCM: chip id 107
[    2.700682] Bluetooth: hci0: BCM: features 0x2f
[    2.701956] Bluetooth: hci0: BCM4345C0
[    2.701966] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[    2.702020] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[    2.702022] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.raspberrypi,5-model-b.hcd'
[    2.702024] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.hcd'
[    2.702025] Bluetooth: hci0: BCM: 'brcm/BCM.raspberrypi,5-model-b.hcd'
[    2.702026] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
[    2.886804] EXT4-fs (mmcblk0p3): re-mounted. Quota mode: none.
[    2.896866] EXT4-fs (mmcblk0p3): re-mounted. Quota mode: none.
[    2.975377] Unable to find swap-space signature


I guess those errors indicate what is wrong with the module, please ignore the bluetooth part, I just want to get wifi fixed. Thanks!


UPDATE:

After I manually created a symlink brcmfmac43455-sdio.raspberrypi,5-model-b.bin to brcmfmac43455-sdio.bin, that error went away, but I got new error saying that

Code:
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50


UPDATE UPDATE:

It is shown now after I changed boardflags3 from 0x48200100 to 0x44200100, and the reason I changed that to 0x48200100 before is that it is said in here: https://wiki.gentoo.org/wiki/Raspberry_Pi4_64_Bit_Install#WiFi. Guess that is not necessary now.

Now I can see wlan0.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Mon Jan 15, 2024 9:02 pm    Post subject: Reply with quote

When I start to configure wifi network, I realise that there is proper tool to do so. There is no iw, no wpa_supplicant, no NetworkManager, is there a way to configure WIFI then?

NeddySeagoon wrote:
DarthJoker,

Lets get into the detail of didn't work. Once we know where its broken, we can fix it.

The missing firmware file should allow your wifi interface to appear in
Code:
ifconfig -a

You may need to reboot to get the module to load again and pick up the missing file.

Until you can see your wifi interface, you can't configure it or start it.
How you configure wifi depends on the tools you choose.

Whatever the shiny wrapper, it a two stage process.
1. Get the radio link up. This involves authenticating and associating with the wireless access point.
2. Once that is successful. wifi behaves like any other Ethernet, so you can set it up with dncpcd, or whatever you would like to use for wired networking.

Each step depends on the step that went before, so we need to reduce the problem space.

Whatever tools you use, you will need to know the WiFi SSID and pass phrase to configure the interface.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Mon Jan 15, 2024 9:03 pm    Post subject: Reply with quote

DarthJoker,

The kernel module has file names that it needs to load.

brcmfmac43455-sdio.txt takes the place of data that would normally be in the (EFI) firmware but the Pi doesn't have that.
It really is a text file.
Here, its a real file. On RPiOS its a real file with a symlink.
Code:
/mnt/cdrom/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt -> brcmfmac43455-sdio.txt

I don't have that symlink on my Pi.

The first file is for bluetooth, the other 3 are for the Wifi
Code:
BCM4345C0.raspberrypi,5-model-b.hcd
brcmfmac43455-sdio.raspberrypi,5-model-b.bin
brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob
brcmfmac43455-sdio.raspberrypi,5-model-b.txt


In full, its
Code:
ls -l /mnt/cdrom/lib/firmware/brcm/ | grep 5-mod
lrwxrwxrwx 1 root root      13 Oct 24 15:05 BCM4345C0.raspberrypi,5-model-b.hcd -> BCM4345C0.hcd
lrwxrwxrwx 1 root root      31 Nov 15 14:19 brcmfmac43455-sdio.raspberrypi,5-model-b.bin -> ../cypress/cyfmac43455-sdio.bin
lrwxrwxrwx 1 root root      36 Nov 15 14:19 brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob -> ../cypress/cyfmac43455-sdio.clm_blob
lrwxrwxrwx 1 root root      22 Nov 15 14:19 brcmfmac43455-sdio.raspberrypi,5-model-b.txt -> brcmfmac43455-sdio.txt


Do you have the files that the symlinks point to?
e.g. if you have slimmed down linux-firmware by not installing the cypress directory, you will have missing firmware.

My working Pi5 has all of linux-firmware plus brcmfmac43455-sdio.txt and none of the brcmfmac43455-sdio.raspberrypi,5-model* symlinks.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Mon Jan 15, 2024 9:23 pm    Post subject: Reply with quote

Below is what I have in the firmware/brcm folder:

Code:
xxxx@gentoo-dublin raspberrypi % ls -l /mnt/gentoo/lib/firmware/brcm
total 644
-rw-r--r-- 1 root root 643651 Jan 15 20:33 brcmfmac43455-sdio.bin
-rw-r--r-- 1 root root   4733 Jan 15 20:33 brcmfmac43455-sdio.clm_blob
lrwxrwxrwx 1 root root     22 Jan 15 20:40 brcmfmac43455-sdio.raspberrypi,5-model-b.bin -> brcmfmac43455-sdio.bin
-rw-r--r-- 1 root root   2099 Jan  1  1970 brcmfmac43455-sdio.txt


What can I use to configure WIFI then? There is no iw, wpa_supplicant or NetworkManager. I guess the last way to do it is to connect to ethernet and emerge wap_supplicant?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Mon Jan 15, 2024 9:34 pm    Post subject: Reply with quote

DarthJoker,

That looks good.

Until the interface appears in
Code:
ifconfig -a
you cannot configure it.

The source files are all architecture independent.
On the Pi run
Code:
emerge -pf net-wireless/wpa_supplicant
and it will list the required files.

Fetch the files and put them into /var/cache/distfiles/ then do the emerge for real. No wired Ethernet required.
You can fetch the files however you like. Its a form of sneakernet.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Mon Jan 15, 2024 9:43 pm    Post subject: Reply with quote

Great, I love the way we use distfiles, right on it now!

Thank you so much for your help, NeddySeagoon!
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Fri Jan 19, 2024 9:05 pm    Post subject: Reply with quote

NeddySeagoon,

Turns out, wlan0 is not working properly, I can see the interface, but it cannot connect to WIFI at all.

when I start wpa_supplicant as a service, it says the service is running, but the network is not connected, wlan0 doesn't have an IP at all.

So I run the following command to see more output
Code:
wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0


However, I saw an error message saying
Code:
wlan0: Could not read SSID from driver


Which part can be wrong here? Is it the driver?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Fri Jan 19, 2024 9:40 pm    Post subject: Reply with quote

DarthJoker,

Its a two step process.

wpa_supplicant does the radio part.
dhcpcd or whatever does the setup.

In you access point, what sort of encryption do you use?
WPA2 or WPA3 is OK. WPA or WPA is not. By default wpa_supplicant does not support them as they are broken.
If you can. change your access point to use at least WPA2.
If you need either of the old broken unsafe cryptos, you need to flip the USE flag on wpa_supplicant and rebuild it.

What ore the permissions on your wpa_supplicant.conf ?
What is the content of wpa_supplicant.conf ?
Obscure the pass phrase an its there in clear text, the SSID too if you wish.

In your Wifi network 'hidden'?
Don't do that. It breaks some drivers, as its not standards compliant and its not hidden at all.
The SSID is dropped of one message out of about three that s appears in.

Look in dmesg. Check fore disconnected reason 3.It probably repeats if its there.
That usually means that there are several things trying to control wpa_supplicant. There must be no more than one.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Fri Jan 19, 2024 10:16 pm    Post subject: Reply with quote

I am pretty my access point is WPA2, so it should be fine. Also, SSID is not hidden.

wap_supplicant.conf:
Code:

update_config=1
ap_scan=0

network={
   ssid="DarthJoker"
   psk=b8ddd418cb7c713d233578f8ab76d5e2bb9370bb451c193d352b0f718e5f56c2
}


Permission of wpa_supplicant.conf file:
Code:

darthjoker@gentoo-dublin ~ % ls -l /mnt/gentoo/etc/wpa_supplicant
total 8
-rwxr-xr-x 1 root root 1284 Jan 19 20:44 wpa_cli.sh
-rwxr-xr-x 1 root root  155 Jan 19 20:55 wpa_supplicant.conf


output of ifconfig
Code:

end0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether d8:3a:dd:e8:13:9b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 106 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether d8:3a:dd:e8:13:9c  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



I don't find anything mentions discconnection or disconnected in dmesg:
Code:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] Linux version 6.1.63-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1700 SMP PREEMPT Thu Nov 23 14:10:01 GMT 2023
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000003b800000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000007ffff]
[    0.000000]   node   0: [mem 0x0000000000080000-0x000000003f7fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] On node 0, zone DMA: 2048 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 29 pages/cpu s79208 r8192 d31384 u118784
[    0.000000] pcpu-alloc: s79208 r8192 d31384 u118784 alloc=29*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Hardware dirty bit management
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2062336
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=D8:3A:DD:E8:13:9B vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] Kernel parameter elevator= does not have any effect anymore.
               Please use sysfs to set IO scheduler for individual devices.
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 8063212K/8380416K available (12224K kernel code, 2172K rwdata, 4116K rodata, 4352K init, 1082K bss, 251668K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 41364 entries in 162 pages
[    0.000000] ftrace: allocated 162 pages with 3 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:    RCU event tracing is enabled.
[    0.000000] rcu:    RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]    Trampoline variant of Tasks RCU enabled.
[    0.000000]    Rude variant of Tasks RCU enabled.
[    0.000000]    Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000155] Console: colour dummy device 80x25
[    0.000321] printk: console [tty1] enabled
[    0.000340] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000350] pid_max: default: 32768 minimum: 301
[    0.000385] LSM: Security Framework initializing
[    0.000451] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000479] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000890] cgroup: Disabling memory control group subsystem
[    0.001415] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001426] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.001470] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001476] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.001517] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001523] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.001633] rcu: Hierarchical SRCU implementation.
[    0.001639] rcu:    Max phase no-delay instances is 1000.
[    0.002296] EFI services will not be available.
[    0.002435] smp: Bringing up secondary CPUs ...
[    0.002714] Detected PIPT I-cache on CPU1
[    0.002766] CPU1: Booted secondary processor 0x0000000100 [0x414fd0b1]
[    0.003061] Detected PIPT I-cache on CPU2
[    0.003103] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1]
[    0.003378] Detected PIPT I-cache on CPU3
[    0.003414] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1]
[    0.003453] smp: Brought up 1 node, 4 CPUs
[    0.003475] SMP: Total of 4 processors activated.
[    0.003481] CPU features: detected: 32-bit EL0 Support
[    0.003486] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.003492] CPU features: detected: Common not Private translations
[    0.003497] CPU features: detected: CRC32 instructions
[    0.003502] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.003507] CPU features: detected: LSE atomic instructions
[    0.003511] CPU features: detected: Privileged Access Never
[    0.003515] CPU features: detected: RAS Extension Support
[    0.003521] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.003565] CPU: All CPU(s) started at EL2
[    0.003570] alternatives: applying system-wide alternatives
[    0.005641] devtmpfs: initialized
[    0.008794] Enabled cp15_barrier support
[    0.008806] Enabled setend support
[    0.008863] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.008875] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.009652] pinctrl core: initialized pinctrl subsystem
[    0.009852] DMI not present or invalid.
[    0.010045] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.010773] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.010843] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.011020] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.011049] audit: initializing netlink subsys (disabled)
[    0.011111] audit: type=2000 audit(0.008:1): state=initialized audit_enabled=0 res=1
[    0.011252] thermal_sys: Registered thermal governor 'step_wise'
[    0.011272] cpuidle: using governor menu
[    0.011388] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.011431] ASID allocator initialised with 32768 entries
[    0.011731] Serial: AMBA PL011 UART driver
[    0.012978] bcm2835-mbox 107c013880.mailbox: mailbox enabled
[    0.013345] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2
[    0.021252] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-01-05T15:57:40, variant start_cd
[    0.025254] raspberrypi-firmware soc:firmware: Firmware hash is 30cc5f3700000000000000000000000000000000
[    0.033433] KASLR enabled
[    0.043411] bcm2835-dma 1000010000.dma: DMA legacy API manager, dmachans=0x1
[    0.044474] iommu: Default domain type: Translated
[    0.044480] iommu: DMA domain TLB invalidation policy: strict mode
[    0.044592] SCSI subsystem initialized
[    0.044651] usbcore: registered new interface driver usbfs
[    0.044665] usbcore: registered new interface driver hub
[    0.044679] usbcore: registered new device driver usb
[    0.044769] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.044862] pps_core: LinuxPPS API ver. 1 registered
[    0.044867] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.044875] PTP clock support registered
[    0.045125] vgaarb: loaded
[    0.045309] clocksource: Switched to clocksource arch_sys_counter
[    0.045445] VFS: Disk quotas dquot_6.6.0
[    0.045465] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.045502] FS-Cache: Loaded
[    0.045533] CacheFiles: Loaded
[    0.047142] NET: Registered PF_INET protocol family
[    0.047310] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.049764] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.049814] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.049826] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.050110] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.051895] TCP: Hash tables configured (established 65536 bind 65536)
[    0.052068] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)
[    0.052194] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.052302] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.052465] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.052679] RPC: Registered named UNIX socket transport module.
[    0.052686] RPC: Registered udp transport module.
[    0.052690] RPC: Registered tcp transport module.
[    0.052694] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.052703] PCI: CLS 0 bytes, default 64
[    0.053296] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 counters available
[    0.053472] kvm [1]: IPA Size Limit: 40 bits
[    0.053536] kvm [1]: vgic interrupt IRQ9
[    0.053585] kvm [1]: VHE mode initialized successfully
[    0.337642] Initialise system trusted keyrings
[    0.337770] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    0.339559] zbud: loaded
[    0.340181] NFS: Registering the id_resolver key type
[    0.340202] Key type id_resolver registered
[    0.340207] Key type id_legacy registered
[    0.340236] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.340241] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.340568] Key type asymmetric registered
[    0.340576] Asymmetric key parser 'x509' registered
[    0.340596] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.340655] io scheduler mq-deadline registered
[    0.340661] io scheduler kyber registered
[    0.341247] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d503000, parent irq: 31)
[    0.341403] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508380, parent irq: 32)
[    0.341515] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508400, parent irq: 33)
[    0.341629] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d517b00, parent irq: 34)
[    0.343125] gpio-461 (RP1 RUN pin): hogged as output/high
[    0.344727] bcm2708_fb soc:fb: FB found 1 display(s)
[    0.355607] Console: switching to colour frame buffer device 240x67
[    0.359048] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1920x1080
[    0.392387] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.392932] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 37, base_baud = 6000000) is a 16550A
[    0.392993] serial serial0: tty port ttyS0 registered
[    0.393530] iproc-rng200 107d208000.rng: hwrng registered
[    0.393662] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)
[    0.394305] bcm2712-iommu-cache 1000005b00.iommuc: bcm2712_iommu_cache_probe
[    0.396581] brd: module loaded
[    0.398285] loop: module loaded
[    0.398504] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.398698] Loading iSCSI transport class v2.0-870.
[    0.399786] usbcore: registered new interface driver r8152
[    0.399811] usbcore: registered new interface driver lan78xx
[    0.399832] usbcore: registered new interface driver smsc95xx
[    0.399964] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.400041] dwc_otg: FIQ enabled
[    0.400044] dwc_otg: NAK holdoff enabled
[    0.400046] dwc_otg: FIQ split-transaction FSM enabled
[    0.400049] Module dwc_common_port init
[    0.400289] usbcore: registered new interface driver uas
[    0.400313] usbcore: registered new interface driver usb-storage
[    0.400499] mousedev: PS/2 mouse device common for all mice
[    0.408374] rpi-rtc soc:rpi_rtc: registered as rtc0
[    0.409853] rpi-rtc soc:rpi_rtc: setting system clock to 1970-01-01T00:00:08 UTC (8)
[    0.410491] bcm2835-wdt bcm2835-wdt: Poweroff handler already present!
[    0.410507] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.413116] sdhci: Secure Digital Host Controller Interface driver
[    0.413130] sdhci: Copyright(c) Pierre Ossman
[    0.413265] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.413654] ledtrig-cpu: registered to indicate activity on CPUs
[    0.413705] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.413729] hid: raw HID events driver (C) Jiri Kosina
[    0.413765] usbcore: registered new interface driver usbhid
[    0.413776] usbhid: USB HID core driver
[    0.413967] NET: Registered PF_PACKET protocol family
[    0.414009] Key type dns_resolver registered
[    0.414327] registered taskstats version 1
[    0.414356] Loading compiled-in X.509 certificates
[    0.414550] Key type .fscrypt registered
[    0.414560] Key type fscrypt-provisioning registered
[    0.416691] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[    0.417162] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff]
[    0.417642] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[    0.418101] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[    0.418566] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[    0.419019] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[    0.420649] brcm-pcie 1000120000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE
[    0.421096] brcm-pcie 1000120000.pcie: Forcing gen 2
[    0.421578] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0000:00
[    0.422013] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.422449] pci_bus 0000:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb])
[    0.422891] pci_bus 0000:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff])
[    0.423345] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400
[    0.423836] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.425298] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.533315] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[    0.533781] pci 0000:01:00.0: [1de4:0001] type 00 class 0x020000
[    0.534232] pci 0000:01:00.0: reg 0x10: [mem 0xffffc000-0xffffffff]
[    0.534670] pci 0000:01:00.0: reg 0x14: [mem 0xffc00000-0xffffffff]
[    0.535102] pci 0000:01:00.0: reg 0x18: [mem 0xffff0000-0xffffffff]
[    0.535610] pci 0000:01:00.0: supports D1
[    0.536022] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.545326] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.545747] pci 0000:00:00.0: BAR 8: assigned [mem 0x1f00000000-0x1f005fffff]
[    0.546162] pci 0000:01:00.0: BAR 1: assigned [mem 0x1f00000000-0x1f003fffff]
[    0.546574] pci 0000:01:00.0: BAR 2: assigned [mem 0x1f00400000-0x1f0040ffff]
[    0.546980] pci 0000:01:00.0: BAR 0: assigned [mem 0x1f00410000-0x1f00413fff]
[    0.547380] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.547770] pci 0000:00:00.0:   bridge window [mem 0x1f00000000-0x1f005fffff]
[    0.548163] pci 0000:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    0.548561] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    0.549064] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.549505] pcieport 0000:00:00.0: PME: Signaling with IRQ 38
[    0.549969] pcieport 0000:00:00.0: AER: enabled with IRQ 38
[    0.550517] rp1 0000:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200
[    0.550904] rp1 0000:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200
[    0.551298] rp1 0000:01:00.0: enabling device (0000 -> 0002)
[    0.552901] rp1 0000:01:00.0: chip_id 0x20001927
[    0.574515] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 106 (d8:3a:dd:e8:13:9b)
[    0.575674] dw_axi_dmac_platform 1f00188000.dma: DesignWare AXI DMA Controller, 8 channels
[    0.637428] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    0.637837] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
[    0.638709] xhci-hcd xhci-hcd.0: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000000000010810
[    0.639175] xhci-hcd xhci-hcd.0: irq 131, io mem 0x1f00200000
[    0.639666] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    0.640076] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[    0.640484] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed
[    0.640963] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    0.641381] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.641793] usb usb1: Product: xHCI Host Controller
[    0.642201] usb usb1: Manufacturer: Linux 6.1.63-v8+ xhci-hcd
[    0.642609] usb usb1: SerialNumber: xhci-hcd.0
[    0.643164] hub 1-0:1.0: USB hub found
[    0.643582] hub 1-0:1.0: 2 ports detected
[    0.644192] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    0.644601] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.645008] usb usb2: Product: xHCI Host Controller
[    0.645420] usb usb2: Manufacturer: Linux 6.1.63-v8+ xhci-hcd
[    0.645828] usb usb2: SerialNumber: xhci-hcd.0
[    0.646355] hub 2-0:1.0: USB hub found
[    0.646774] hub 2-0:1.0: 1 port detected
[    0.709422] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    0.709833] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
[    0.710685] xhci-hcd xhci-hcd.1: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000000000010810
[    0.711148] xhci-hcd xhci-hcd.1: irq 136, io mem 0x1f00300000
[    0.711639] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    0.712052] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[    0.712468] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed
[    0.712944] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    0.713513] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.713933] usb usb3: Product: xHCI Host Controller
[    0.714347] usb usb3: Manufacturer: Linux 6.1.63-v8+ xhci-hcd
[    0.714760] usb usb3: SerialNumber: xhci-hcd.1
[    0.715298] hub 3-0:1.0: USB hub found
[    0.715721] hub 3-0:1.0: 2 ports detected
[    0.716324] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    0.716733] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.717137] usb usb4: Product: xHCI Host Controller
[    0.717544] usb usb4: Manufacturer: Linux 6.1.63-v8+ xhci-hcd
[    0.717946] usb usb4: SerialNumber: xhci-hcd.1
[    0.718470] hub 4-0:1.0: USB hub found
[    0.718892] hub 4-0:1.0: 1 port detected
[    0.720376] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    0.721148] platform 1000800000.codec: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    0.721572] platform 1000800000.codec: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    0.721985] platform 1000800000.codec: Adding to iommu group 0
[    0.722421] platform 1000880000.pisp_be: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    0.722837] platform 1000880000.pisp_be: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    0.723257] platform 1000880000.pisp_be: Adding to iommu group 0
[    0.723714] platform 1000800000.codec: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    0.724134] platform 1000880000.pisp_be: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    0.724555] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_probe: Success
[    0.725650] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    0.726438] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_probe: Success
[    0.727617] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    0.728404] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_probe: Success
[    0.729026] sdhci-brcmstb 1000fff000.mmc: there is not valid maps for state default
[    0.729550] mmc1: CQHCI version 5.10
[    0.729827] mmc0: CQHCI version 5.10
[    0.731166] of_cfs_init
[    0.731606] of_cfs_init: OK
[    0.766243] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit
[    0.865492] mmc0: new ultra high speed SDR104 SDXC card at address aaaa
[    0.866186] mmcblk0: mmc0:aaaa SR64G 59.5 GiB
[    0.867864]  mmcblk0: p1 p2 p3
[    0.868401] mmcblk0: mmc0:aaaa SR64G 59.5 GiB (quirks 0x00004000)
[    0.919861] mmc1: SDHCI controller on 1001100000.mmc [1001100000.mmc] using ADMA 64-bit
[    0.924861] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Quota mode: none.
[    0.925294] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    0.926619] devtmpfs: mounted
[    0.930594] Freeing unused kernel memory: 4352K
[    0.933347] Run /sbin/init as init process
[    0.933750]   with arguments:
[    0.933752]     /sbin/init
[    0.933754]   with environment:
[    0.933756]     HOME=/
[    0.933758]     TERM=linux
[    0.953275] mmc1: new ultra high speed DDR50 SDIO card at address 0001
[    2.668252] input: pwr_button as /devices/platform/pwr_button/input/input0
[    2.696916] mc: Linux media interface: v0.10
[    2.698866] rpi-gpiomem 107d508500.gpiomem: window base 0x107d508500 size 0x00000040
[    2.698952] rpi-gpiomem 107d508500.gpiomem: initialised 1 regions as /dev/gpiomem1
[    2.699184] rpi-gpiomem 107d517c00.gpiomem: window base 0x107d517c00 size 0x00000040
[    2.699247] rpi-gpiomem 107d517c00.gpiomem: initialised 1 regions as /dev/gpiomem2
[    2.699407] rpi-gpiomem 107d504100.gpiomem: window base 0x107d504100 size 0x00000020
[    2.699816] rpi-gpiomem 107d504100.gpiomem: initialised 1 regions as /dev/gpiomem3
[    2.699995] rpi-gpiomem 107d510700.gpiomem: window base 0x107d510700 size 0x00000020
[    2.700052] rpi-gpiomem 107d510700.gpiomem: initialised 1 regions as /dev/gpiomem4
[    2.700340] rpi-gpiomem 1f000d0000.gpiomem: window base 0x1f000d0000 size 0x00030000
[    2.700391] rpi-gpiomem 1f000d0000.gpiomem: initialised 1 regions as /dev/gpiomem0
[    2.727736] macb 1f00100000.ethernet end0: renamed from eth0
[    2.765570] videodev: Linux video capture interface: v2.00
[    2.817196] Bluetooth: Core ver 2.22
[    2.817265] NET: Registered PF_BLUETOOTH protocol family
[    2.817269] Bluetooth: HCI device and connection manager initialized
[    2.817282] Bluetooth: HCI socket layer initialized
[    2.817288] Bluetooth: L2CAP socket layer initialized
[    2.817296] Bluetooth: SCO socket layer initialized
[    2.817505] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.822896] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    2.823234] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    2.823555] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.829727] pispbe 1000880000.pisp_be: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    2.830028] pispbe 1000880000.pisp_be: pispbe_probe: HW version:  0x02252700
[    2.830037] pispbe 1000880000.pisp_be: pispbe_probe: BatchStatus: 0x00000000
[    2.830041] pispbe 1000880000.pisp_be: pispbe_probe: Status:      0x00000000
[    2.830044] pispbe 1000880000.pisp_be: Register nodes for group 0
[    2.830217] pispbe 1000880000.pisp_be: input device node registered as /dev/video20
[    2.830283] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video21
[    2.830344] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video22
[    2.830386] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video23
[    2.830522] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video24
[    2.830594] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video25
[    2.830636] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video26
[    2.830680] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video27
[    2.830722] pispbe 1000880000.pisp_be: config device node registered as /dev/video28
[    2.831113] pispbe 1000880000.pisp_be: Register nodes for group 1
[    2.831176] pispbe 1000880000.pisp_be: input device node registered as /dev/video29
[    2.831208] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video30
[    2.831243] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video31
[    2.831275] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video32
[    2.831310] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video33
[    2.831343] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video34
[    2.831378] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video35
[    2.831415] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video36
[    2.831450] pispbe 1000880000.pisp_be: config device node registered as /dev/video37
[    2.852407] Bluetooth: HCI UART driver ver 2.3
[    2.856640] Bluetooth: HCI UART protocol H4 registered
[    2.856716] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.856941] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[    2.857009] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[    2.857846] Bluetooth: HCI UART protocol Broadcom registered
[    2.859710] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    2.861961] rpivid 1000800000.codec: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    2.863271] rpivid 1000800000.codec: Device registered as /dev/video19
[    2.888872] brcmfmac: F1 signature read @0x18000000=0x15264345
[    2.890926] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    2.891327] usbcore: registered new interface driver brcmfmac
[    3.034370] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Sep 21 2018 04:08:34 version 7.45.173 (r707987 CY) FWID 01-d2799ea2
[    3.201819] Bluetooth: hci0: BCM: chip id 107
[    3.202056] Bluetooth: hci0: BCM: features 0x2f
[    3.203183] Bluetooth: hci0: BCM4345C0
[    3.203192] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[    3.203253] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[    3.203256] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.raspberrypi,5-model-b.hcd'
[    3.203259] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.hcd'
[    3.203261] Bluetooth: hci0: BCM: 'brcm/BCM.raspberrypi,5-model-b.hcd'
[    3.203264] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
[    3.519648] EXT4-fs (mmcblk0p3): re-mounted. Quota mode: none.
[    3.537473] EXT4-fs (mmcblk0p3): re-mounted. Quota mode: none.
[    3.726128] Unable to find swap-space signature
[    4.956298] NET: Registered PF_INET6 protocol family
[    4.956803] Segment Routing with IPv6
[    4.956818] In-situ OAM (IOAM) with IPv6
[    4.977017] 8021q: 802.1Q VLAN Support v1.8
[    5.028890] macb 1f00100000.ethernet end0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL)
[    5.028901] macb 1f00100000.ethernet end0: configuring for phy/rgmii-id link mode
[    5.032028] pps pps0: new PPS source ptp0
[    5.032250] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered.
[    5.058668] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[    5.233325] usb 1-2: new high-speed USB device number 2 using xhci-hcd
[    5.381434] usb 1-2: New USB device found, idVendor=0409, idProduct=005a, bcdDevice= 1.00
[    5.381440] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.441208] hub 1-2:1.0: USB hub found
[    5.443044] hub 1-2:1.0: 3 ports detected
[    5.733314] usb 1-2.1: new full-speed USB device number 3 using xhci-hcd
[    5.840624] usb 1-2.1: New USB device found, idVendor=0853, idProduct=0100, bcdDevice= 1.02
[    5.840629] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.840632] usb 1-2.1: Product: HHKB Professional
[    5.840636] usb 1-2.1: Manufacturer: Topre Corporation
[    5.921194] input: Topre Corporation HHKB Professional as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-2/1-2.1/1-2.1:1.0/0003:0853:0100.0001/input/input1
[    5.977539] hid-generic 0003:0853:0100.0001: input,hidraw0: USB HID v1.11 Keyboard [Topre Corporation HHKB Professional] on usb-xhci-hcd.0-2.1/input0
[   13.277480] platform kgdboc: deferred probe pending
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sat Jan 20, 2024 9:42 am    Post subject: Reply with quote

DarthJoker,

Your dmesg shows that the error
Code:
[    2.607879] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin failed with error -2
has gone, so the kernel driver is probably correct and all the bits are there.

What does
Code:
dhcpcd wlan0
tell?
What does it do to the ifconfig output?

What does rfkill tell?
Right now I get
Code:
Pi5 ~ $ rfkill
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
 1 wlan      phy0     blocked unblocked
so my wifi transmitter is off.
rfkill can enable it too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Sat Jan 20, 2024 5:10 pm    Post subject: Reply with quote

after running of dhcpcd wlan0, output of rfkill is
Code:

ID TYPE      DEVICE      SOFT      HARD
 0 wlan      phy0    unblocked unblocked
 1 bluetooth hci0   unblocked unblocked


I also tried copying all the kernel/config.txt/cmdline.txt/modules/brcmfmac files from Raspberry Pi OS, it didn't help either. Still don't let me connect to wifi.

Another thing I tried is installing linux-sources and linux-firmware and used genkernel to build a kernel/modules/brcm firmware, this didn't help either.

It's killing me now, what could be the issue....

A random question, if I want to build the kernel myself for raspberry pi, which package should I use, linux-sources or raspberrypi-sources?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sat Jan 20, 2024 5:44 pm    Post subject: Reply with quote

DarthJoker,

raspberrypi-sources is too old. It predates the RP1 I/O chip used on the Pi5
linux-sources is the upstream kernel, from kernel.org That predates, the RP1 I/O chip too.
Support may begin to appear in 6.8.x but that's not even at -rc1 status yet.

The only way right now is to get a
Code:
git clone https://github.com/raspberrypi/linux

You don't need the whole thing a
Code:
git clone --depth=1 https://github.com/raspberrypi/linux
will get you the current 6.1.y Pi Foundation kernel sources.

My
/etc/wpa_supplicant/wpa_supplicant.conf:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel

network={
               ssid="RadioNet24"
               scan_ssid=1
               key_mgmt=WPA-PSK
               psk="<sekrit>"
          }


Humour me. Use that wpa_supplicant.conf file with your SSID and shared secret.
Its almost a copy of an example from
Code:
man wpa_supplicant.conf

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Sat Jan 20, 2024 9:47 pm    Post subject: Reply with quote

Thank you NeddySeagoon, now I understand what linux sources should I use.

Unfortunately, wlan0 still didn't work. I tried your wpa_supplicant.conf with my credential, same error
Code:
Could not read SSID from driver.


Should I try other wireless tool?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sun Jan 21, 2024 1:46 pm    Post subject: Reply with quote

DarthJoker,

It works for me but not for you so its not the tool.

I have wpa_supplicant installed as follows ...
Code:
# eix wpa_
[I] net-wireless/wpa_supplicant
     Available versions:  2.10-r1 (~)2.10-r2 2.10-r3{xpak} **9999*l {ap broadcom-sta +crda dbus eap-sim eapol-test fasteap +fils +hs2-0 macsec +mbo +mesh p2p privsep ps3 qt5 readline selinux smartcard tdls tkip uncommon-eap-types wep wimax wps}
     Installed versions:  2.10-r3{xpak}(03:02:13 01/01/24)(dbus fils hs2-0 mbo mesh qt5 readline -ap -broadcom-sta -eap-sim -eapol-test -fasteap -macsec -p2p -privsep -ps3 -selinux -smartcard -tdls -tkip -uncommon-eap-types -wep -wimax -wps)
     Homepage:            https://w1.fi/wpa_supplicant/
     Description:         IEEE 802.1X/WPA supplicant for secure wireless transfers


Check your access point crypto. If it includes WPA, the SSID will not be seen. To make wpa_supplicant work with WPA enabled access points USE=tkip must be set.
You could just set USE=tkip and rebuild wpa_supplicant .

WPA is broken and insecure, which is why tkip is off by default.
Some access points allow WPA/WPA2 but that's enough to prevent wpa_supplicant from reporting the SSID.

wpa_cli can tell lots of useful things and bring up the radio link by hand too.
I've never used it though, so other than knowing that it exists, I won't be a lot of help.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Sun Jan 21, 2024 2:54 pm    Post subject: Reply with quote

NeddySeagoon,

quick update, I've got the wifi working with NetworkManager, so I guess it is something wrong with wpa_supplicant. I'll try your USE flags and rebuild the package.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sun Jan 21, 2024 5:01 pm    Post subject: Reply with quote

DarthJoker,

NetworkManager can use either iwd or wpa_supplicant-
Code:
        wifi? (
                !iwd? ( >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] )
                iwd? ( net-wireless/iwd )
        )


It will use iwd if USE=iwd is set and if not, it will use wpa_supplicant.

It may have changed your wpa_supplicant.conf :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Sun Jan 21, 2024 5:25 pm    Post subject: Reply with quote

I didn't use iwd, so I guess it's wpa_supplicant then.

Anyway, I created a wiki to record what I have done to set up raspberry pi 5: https://wiki.gentoo.org/wiki/How_to_install_Gentoo_on_RaspberryPi_5.

It's far away from finish yet.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sun Jan 21, 2024 5:43 pm    Post subject: Reply with quote

DarthJoker,

I'm pleased its working. It would be good to know why.
What is in your wpa_supplicant.conf file now?

That wiki page will be useful to others. Have you considered merging it into the Pi5 section in https://wiki.gentoo.org/wiki/Raspberry_Pi_Install_Guide as it contains a lot of very similar material?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarthJoker
n00b
n00b


Joined: 11 Jan 2024
Posts: 15

PostPosted: Sun Jan 21, 2024 9:13 pm    Post subject: Reply with quote

There is no wpa_supplicant.conf in my system now. I only have a configuration file for NetworkManager.

I guess I can merge my content into this section: https://wiki.gentoo.org/wiki/Raspberry_Pi_Install_Guide#Raspberry_Pi_WiFi.2FBluetooth_Firmware.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sun Jan 21, 2024 10:08 pm    Post subject: Reply with quote

DarthJoker,

You need to use iwd or wpa_supplicant to manage the wifi crypto, so you must have one or the other.

Your wiki edits look good to me, thank you.
There is no need to include the dates you make changes. The wiki tracks who did what and when. See https://wiki.gentoo.org/index.php?title=Raspberry_Pi_Install_Guide&action=history.

That page will be restructured soon to be a main page, common to all Pis and a sub page per Pi type and maybe one or two other sub pages.
The 'one page' is getting a bit difficult to follow.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum