WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: unreliable wifi  (Read 365 times)

Offline pppqq

  • Newbie
  • *
  • Posts: 8
unreliable wifi
« on: January 19, 2025, 09:07:29 AM »
hello,
I have installed tinycore on a raspberry pi zero and am investigating if it is going to be useful.
I installed firmware-rpi-wifi and wifi.
I bring up the wifi link using wifi.sh, entered the ssid and password ok.
The link is established initially (using wifi.sh -a) but after a while it drops and takes a long time to re-establish.
I can initially log on with ssh (i want to run the pi headless) but the link fails after a short while and rarely resumes.

I can run the same sdcard on a pi B  using an ethernet connection and that is very reliable.

There is nothing wrong with my wifi as i can run the same pi reliably using raspian and ultibo builds.

Offline ovacikar

  • Jr. Member
  • **
  • Posts: 69
Re: unreliable wifi
« Reply #1 on: January 19, 2025, 09:27:38 AM »
I do not own a pi Zero myself, but are you not able access it using serial / usb cable to the pi to check logs, dmesg ?

maybe you can run a script  in a loop to dump dmesg output every minute to a file in /mnt/mmcblkXXX/tce folder , so you can read them after a reboot

« Last Edit: January 19, 2025, 09:30:30 AM by ovacikar »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1299
Re: unreliable wifi
« Reply #2 on: January 19, 2025, 11:00:32 AM »
What version did you install, if you are using 15.0 did you read the known issues on the release announcement?

Offline pppqq

  • Newbie
  • *
  • Posts: 8
Re: unreliable wifi
« Reply #3 on: January 19, 2025, 11:37:07 AM »
i am using version 15.0 - didn't see anything about wifi in the installation notes.

I want to know if the packages i have installed are the "right" ones or if there's something better.

The raspian wifi handling seems to be rock solid - are the TC packages derived from that code ? or re-invented.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11755
Re: unreliable wifi
« Reply #4 on: January 19, 2025, 12:10:33 PM »
Hi pppqq
Welcome to the forum.

Release notes:
https://forum.tinycorelinux.net/index.php/topic,27338.0.html

Some talk about intermittent wifi continues here:
https://forum.tinycorelinux.net/index.php/topic,27338.msg176760.html#msg176760

Offline pppqq

  • Newbie
  • *
  • Posts: 8
Re: unreliable wifi
« Reply #5 on: January 19, 2025, 12:57:52 PM »
hello here is dmesg from boot:-


Code: [Select]
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.6.47-piCore (tc@piCore) (arm-bcm2708hf-linux-gnueabihf-gcc (crosstool-NG 1.26.0.66_6ad7b96) 13.2.0, GNU ld (crosstool-NG 1.26.0.66_6ad7b96) 2.42) #9 Sat Aug 31 14:48:51 EDT 2024
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi Zero W Rev 1.1
[    0.000000] random: crng init done
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Reserved memory: created CMA memory pool at 0x17800000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x17800000..0x1b7fffff (65536 KiB) map reusable linux,cma
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=1024 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:96:6A:C2 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  zswap.compressor=lz4 zswap.zpool=z3fold dwc_otg.fiq_fsm_mask=0xF dwc_otg.lpm_enable=0 console=tty1 root=/dev/ram0 rootwait quiet nortc loglevel=3 noembed
[    0.000000] Unknown kernel command line parameters "nortc noembed", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 113680
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 367608K/458752K available (10031K kernel code, 1478K rwdata, 3148K rodata, 452K init, 582K bss, 25608K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 34996 entries in 103 pages
[    0.000000] ftrace: allocated 103 pages with 5 groups
[    0.000000] trace event string verifier disabled
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000007] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000068] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000167] bcm2835: system timer (irq = 27)
[    0.001020] Console: colour dummy device 80x30
[    0.001063] printk: console [tty1] enabled
[    0.001200] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060284] CPU: Testing write buffer coherency: ok
[    0.060380] pid_max: default: 32768 minimum: 301
[    0.060546] LSM: initializing lsm=capability,integrity
[    0.060860] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060904] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.062337] cgroup: Disabling memory control group subsystem
[    0.064719] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.064988] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.065272] Setting up static identity map for 0x8220 - 0x8258
[    0.066709] devtmpfs: initialized
[    0.079174] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.079565] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.079622] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089559] pinctrl core: initialized pinctrl subsystem
[    0.091490] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.094056] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.101451] audit: initializing netlink subsys (disabled)
[    0.101911] audit: type=2000 audit(0.100:1): state=initialized audit_enabled=0 res=1
[    0.103007] thermal_sys: Registered thermal governor 'step_wise'
[    0.103418] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.103455] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.103936] Serial: AMBA PL011 UART driver
[    0.111477] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[    0.130649] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-08-30T19:19:11, variant start
[    0.140674] raspberrypi-firmware soc:firmware: Firmware hash is 2808975b80149bbfe86844655fe45c7de66fc078
[    0.156473] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.164309] bcm2835-dma 20007000.dma-controller: DMA legacy API manager, dmachans=0x1
[    0.167166] SCSI subsystem initialized
[    0.167631] usbcore: registered new interface driver usbfs
[    0.167732] usbcore: registered new interface driver hub
[    0.167848] usbcore: registered new device driver usb
[    0.168653] pps_core: LinuxPPS API ver. 1 registered
[    0.168685] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.168738] PTP clock support registered
[    0.181868] clocksource: Switched to clocksource timer
[    0.182755] VFS: Disk quotas dquot_6.6.0
[    0.182869] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.183108] FS-Cache: Loaded
[    0.184024] CacheFiles: Loaded
[    0.225177] NET: Registered PF_INET protocol family
[    0.225529] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.232555] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.232639] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.232677] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.232764] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.232884] TCP: Hash tables configured (established 4096 bind 4096)
[    0.233034] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.233090] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.233432] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.234581] RPC: Registered named UNIX socket transport module.
[    0.234624] RPC: Registered udp transport module.
[    0.234637] RPC: Registered tcp transport module.
[    0.234647] RPC: Registered tcp-with-tls transport module.
[    0.234658] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.235563] armv6-pmu arm-pmu: hw perfevents: no irqs for PMU, sampling events not supported
[    0.235642] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    0.240125] Trying to unpack rootfs image as initramfs...
[    1.579070] Freeing initrd memory: 4916K
[    2.997020] Initialise system trusted keyrings
[    2.997535] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    2.997723] zbud: loaded
[    2.999290] NFS: Registering the id_resolver key type
[    2.999371] Key type id_resolver registered
[    2.999389] Key type id_legacy registered
[    2.999473] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.999498] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.000860] Key type asymmetric registered
[    3.000903] Asymmetric key parser 'x509' registered
[    3.001100] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.001133] io scheduler mq-deadline registered
[    3.001151] io scheduler kyber registered
[    3.001294] io scheduler bfq registered
[    3.004029] pinctrl-bcm2835 20200000.gpio: GPIO_OUT persistence: yes
[    3.005474] bcm2708_fb soc:fb: FB found 1 display(s)
[    3.022122] Console: switching to colour frame buffer device 106x46
[    3.049299] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1280x1024
[    3.057264] bcm2835-rng 20104000.rng: hwrng registered
[    3.057818] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    3.084067] brd: module loaded
[    3.097621] loop: module loaded
[    3.098858] Loading iSCSI transport class v2.0-870.
[    3.101388] usbcore: registered new interface driver smsc95xx
[    3.101447] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    3.829911] Core Release: 2.80a
[    3.829968] Setting default values for core params
[    3.830010] Finished setting default values for core params
[    4.030237] Using Buffer DMA mode
[    4.030267] Periodic Transfer Interrupt Enhancement - disabled
[    4.030284] Multiprocessor Interrupt Enhancement - disabled
[    4.030298] OTG VER PARAM: 0, OTG VER FLAG: 0
[    4.030325] Dedicated Tx FIFOs mode
[    4.031659]
[    4.031687] WARN::dwc_otg_hcd_init:1070: FIQ DMA bounce buffers: virt = d7914000 dma = 0x97914000 len=9024
[    4.031754] FIQ FSM acceleration enabled for :
[    4.031754] Non-periodic Split Transactions
[    4.031754] Periodic Split Transactions
[    4.031754] High-Speed Isochronous Endpoints
[    4.031754] Interrupt/Control Split Transaction hack enabled
[    4.031780] dwc_otg: Microframe scheduler enabled
[    4.032209]
[    4.032232] WARN::hcd_init_fiq:457: FIQ on core 0
[    4.032264]
[    4.032273] WARN::hcd_init_fiq:458: FIQ ASM at c0737c14 length 36
[    4.032304]
[    4.032321] WARN::hcd_init_fiq:496: MPHI regs_base at dc810000
[    4.032371] dwc_otg 20980000.usb: DWC OTG Controller
[    4.032493] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[    4.032593] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[    4.032670] Init: Port Power? op_state=1
[    4.032687] Init: Power Port (0)
[    4.033129] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    4.033174] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.033201] usb usb1: Product: DWC OTG Controller
[    4.033222] usb usb1: Manufacturer: Linux 6.6.47-piCore dwc_otg_hcd
[    4.033243] usb usb1: SerialNumber: 20980000.usb
[    4.034628] hub 1-0:1.0: USB hub found
[    4.034760] hub 1-0:1.0: 1 port detected
[    4.036036] dwc_otg: FIQ enabled
[    4.036072] dwc_otg: NAK holdoff enabled
[    4.036086] dwc_otg: FIQ split-transaction FSM enabled
[    4.036119] Module dwc_common_port init
[    4.036805] usbcore: registered new interface driver usb-storage
[    4.037397] mousedev: PS/2 mouse device common for all mice
[    4.040716] sdhci: Secure Digital Host Controller Interface driver
[    4.040759] sdhci: Copyright(c) Pierre Ossman
[    4.041119] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.042932] ledtrig-cpu: registered to indicate activity on CPUs
[    4.043580] hid: raw HID events driver (C) Jiri Kosina
[    4.043838] usbcore: registered new interface driver usbhid
[    4.043866] usbhid: USB HID core driver
[    4.044079] bcm2835_vchiq 2000b840.mailbox: there is not valid maps for state default
[    4.052374] Initializing XFRM netlink socket
[    4.052548] NET: Registered PF_PACKET protocol family
[    4.052736] Key type dns_resolver registered
[    4.099115] registered taskstats version 1
[    4.099370] Loading compiled-in X.509 certificates
[    4.131416] uart-pl011 20201000.serial: cts_event_workaround enabled
[    4.132426] 20201000.serial: ttyAMA1 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[    4.133043] serial serial0: tty port ttyAMA1 registered
[    4.136379] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    4.137010] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    4.139417] mmc-bcm2835 20300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    4.139476] mmc-bcm2835 20300000.mmcnr: DMA channel allocated
[    4.162152] Indeed it is in host mode hprt0 = 00041901
[    4.223783] sdhost: log_buf @ 20cc1acd (97913000)
[    4.274710] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    4.285898] of_cfs_init
[    4.286274] of_cfs_init: OK
[    4.288372] clk: Disabling unused clocks
[    4.298122] Freeing unused kernel image (initmem) memory: 452K
[    4.298187] Kernel memory protection not selected by kernel config.
[    4.298326] Run /init as init process
[    4.298350]   with arguments:
[    4.298360]     /init
[    4.298371]     nortc
[    4.298381]     noembed
[    4.298390]   with environment:
[    4.298399]     HOME=/
[    4.298409]     TERM=linux
[    4.311699] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.315385] mmc0: Host Software Queue enabled
[    4.315462] mmc0: new high speed SDHC card at address 0007
[    4.317059] mmcblk0: mmc0:0007 SD8GB 7.42 GiB
[    4.328728]  mmcblk0: p1 p2
[    4.334111] mmcblk0: mmc0:0007 SD8GB 7.42 GiB
[    4.382104] usb 1-1: new low-speed USB device number 2 using dwc_otg
[    4.383320] Indeed it is in host mode hprt0 = 00041901
[    4.501490] mmc1: new high speed SDIO card at address 0001
[    4.710381] usb 1-1: New USB device found, idVendor=413c, idProduct=2005, bcdDevice= 1.05
[    4.710477] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.710507] usb 1-1: Product: DELL USB Keyboard
[    4.710529] usb 1-1: Manufacturer: DELL
[    4.721204] input: DELL DELL USB Keyboard as /devices/platform/soc/20980000.usb/usb1/1-1/1-1:1.0/0003:413C:2005.0001/input/input0
[    4.789038] hid-generic 0003:413C:2005.0001: input,hidraw0: USB HID v1.10 Keyboard [DELL DELL USB Keyboard] on usb-20980000.usb-1/input0
[    6.392634] zram: Added device: zram0
[    6.844555] rpi-gpiomem 20200000.gpiomem: window base 0x20200000 size 0x00001000
[    6.901255] rpi-gpiomem 20200000.gpiomem: initialised 1 regions as /dev/gpiomem
[    7.890800] zram0: detected capacity change from 0 to 203632
[    7.915773] Adding 101812k swap on /dev/zram0.  Priority:-2 extents:1 across:101812k SS
[    8.233329] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    8.968435] EXT4-fs (mmcblk0p2): mounted filesystem 1f1697d9-1d8c-4f9b-80d5-f67542a3faca r/w with ordered data mode. Quota mode: none.
[    8.979188] EXT4-fs (mmcblk0p2): unmounting filesystem 1f1697d9-1d8c-4f9b-80d5-f67542a3faca.
[    9.078405] EXT4-fs (mmcblk0p2): mounted filesystem 1f1697d9-1d8c-4f9b-80d5-f67542a3faca r/w with ordered data mode. Quota mode: none.
[   44.273028] mc: Linux media interface: v0.10
[   44.338112] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   44.339496] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   44.339524] [vc_sm_connected_init]: start
[   44.575382] [vc_sm_connected_init]: installed successfully
[   44.664974] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   44.864109] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   44.977934] bcm2835_audio bcm2835_audio: card created with 8 channels
[   45.098692] videodev: Linux video capture interface: v2.00
[   45.208931] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   45.224239] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[   45.264415] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[   45.338142] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[   45.363477] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[   45.363612] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[   45.365921] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[   45.368888] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[   45.383216] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[   45.383279] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[   45.383312] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[   45.383335] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[   45.383358] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[   45.391036] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[   45.391115] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[   45.415716] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[   45.416360] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[   45.416437] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[   45.423118] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[   45.439584] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[   45.440236] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[   45.440304] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[   45.443483] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[   45.443599] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[   45.443636] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[   45.443661] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[   45.443683] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[   45.447063] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[   45.453815] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[   45.453907] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[   45.647570] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   45.916738] Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[   45.919406] Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[   45.952830] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   45.955523] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   46.106947] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[   46.146397] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   46.147971] usbcore: registered new interface driver brcmfmac
[   46.477940] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[   46.478917] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jul 19 2021 03:24:18 version 7.45.98 (TOB) (56df937 CY) FWID 01-8e14b897
[   46.640686] warning: `iwconfig' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[   46.719961] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
« Last Edit: January 19, 2025, 01:11:06 PM by Rich »

Offline pppqq

  • Newbie
  • *
  • Posts: 8
Re: unreliable wifi
« Reply #6 on: January 19, 2025, 01:02:27 PM »
the post you mention seems to sum up the same problem i am getting.
However, it is nothing to do with signal strength etc. since I can get a reliable connection with Raspian with the the same hardware, location and wifi network.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11755
Re: unreliable wifi
« Reply #7 on: January 19, 2025, 01:11:21 PM »
Hi pppqq
Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly. Code tags also automatically add horizontal and or vertical scrollbars
to accommodate long lines and listings.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1299
Re: unreliable wifi
« Reply #8 on: January 19, 2025, 01:24:08 PM »
Its in the release posting here.  https://forum.tinycorelinux.net/index.php/topic,27338.0.html

It is because piCore has upgraded to wpa_supplicant 2.11 which includes better WPA3 support.  However the driver for rasberry pi wifi chips is not fully compatible.  It is just now getting fixed in the mainline kernel.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11755
Re: unreliable wifi
« Reply #9 on: January 19, 2025, 01:41:22 PM »
Hi Paul_123
This post seems to confirm it's a wpa_supplicant 2.11 issue and points to a
reversion that supposedly fixes it:
https://github.com/raspberrypi/linux/issues/6049#issuecomment-2500234998
I think I also read somewhere that it occurs when running wpa2 and wpa3 at
the same time.


Offline pppqq

  • Newbie
  • *
  • Posts: 8
Re: unreliable wifi
« Reply #10 on: January 19, 2025, 02:10:07 PM »
so should i go to version 14.0 to get over this ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11755
Re: unreliable wifi
« Reply #11 on: January 19, 2025, 02:37:39 PM »
Hi pppqq
I noticed this at the end of your dmesg:
Code: [Select]
[   46.719961] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabledDoes the situation improve if you disable power save?

Something like:
Code: [Select]
sudo iw dev wlan0 set power_save offor maybe:
Code: [Select]
sudo iwconfig wlan0 power off
Replace  wlan0 with whatever your device is called.
« Last Edit: January 19, 2025, 02:48:55 PM by Rich »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1299
Re: unreliable wifi
« Reply #12 on: January 19, 2025, 08:10:44 PM »
so should i go to version 14.0 to get over this ?

If you read the post I linked, it tells you how to solve it.

Offline pppqq

  • Newbie
  • *
  • Posts: 8
Re: unreliable wifi
« Reply #13 on: January 20, 2025, 05:17:14 AM »
turning power save off does not work.
adding brcmfmac.feature_disable=0x82000 to cmdline does not work.

As i am evaluating this os i do not wish to get bogged down in adding temporary patches. This will take more time than installing a fresh version.
So my question of going back to 14.0 still remains unanswered. What version do i have to go to to have reliable comms ?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1299
Re: unreliable wifi
« Reply #14 on: January 20, 2025, 06:40:52 AM »
All of my wifi devices (including pizero) work just fine, so I’m not sure what is causing your problems.

Have you connected a display and keyboard to see what is happening/errors when the wifi stops?