IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Pi400 Wifi wierdnes

Fri Nov 06, 2020 8:03 pm

I am experiencing a wire problem with wifi on my Pi400
it does not always get an IP address, adopting an automatic private address of 169.254.XXX.XXX - especialy after a reboot.

if it does get a good address it often loses it as it fails to renew correctly and the lease expires.
it is less troublesome on my guest wifi (which uses the routers own dhcp) but still fails as above
on the main wifi which uses an external dnsmasq server it is virtually unusable

I suspect my Vermin media superhub may be partialy to blame but the same SD card in a pi4 runs without issue

has anybody experienced similar?

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Fri Nov 06, 2020 9:08 pm

We've had one other report of an issue with the 5G WiFi - again on a Virgin Media SuperHub. Do you know which version of VMSH you have?

There's a support issue open to see if we can get some useful diagnostics in this situation. In the meantime you should find that disabling (or renaming) the 5G SSID leaves you with a reliable (if slower) connection.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 6140
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Pi400 Wifi wierdnes

Fri Nov 06, 2020 9:30 pm

Is your VM hub selecting its WiFi channel(s) "automatically" or manually? Because of competition/overlap from neighbouring devices mine is manually set to channels in both 2.4GHz and 5GHz modes that are well away from said competition, determined with help from a "WiFi Analyzer" Mobile/Tablet App. : https://www.cpmspectrepi.uk/raspberry_p ... tApps.html
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Fri Nov 06, 2020 9:36 pm

My hiub is a superhub 3
Hub 3.0 device information
The information below shows current status of this Hub 3.0.

Standard specification compliant : DOCSIS 3.0
Hardware version : 10
Software version : 9.1.1912.302
Cable MAC address : C0:05:C2:43:21:4B


going to set fixed channels now to see if it makes any difference - nice tip for debugging

Update fixing channels has made no difference

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Fri Nov 06, 2020 10:00 pm

Thanks, that's Interesting - it's the same model, running the same software version, as in the other report.

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Fri Nov 06, 2020 10:20 pm

i can probably get some wire shark traces if they will help

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Fri Nov 06, 2020 10:44 pm

Thanks - we've already got quite a few, but a single capture taken on the Pi 400 showing the traffic when:
a) you switch from the 2.4G to the 5G SSID
or if they both have the same name and it consistently goes for the 5G:
b) when you enable/unblock WiFi
should provide enough information to confirm definitively that this is the same problem (although I'm already convinced it is).

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Sat Nov 07, 2020 9:59 am

Ok I have traces of a failure
do you want similar traces from a PI4 showing success?

where should I send these traces (need to be careful because of potential security/privacy issues, i don't think there was anything sensitive going on at the time but...)

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Sat Nov 07, 2020 12:12 pm

You can email the Pi 400 log to me at phil@raspberrypi.com. I don't think the Pi 4 test would tell me anything useful, but thanks for the offer.

I also have an SH3 with the same software, but it's been in modem mode with WiFi disabled. Running a similar test here means waiting until the family is out or busy with something else so I can break the Internet.

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Sat Nov 07, 2020 5:09 pm

Traces on their way

as a work arround at present I have found an old wifi dongle that I previously used with a Pi(1) model B which works without issue, just a bit slow <20Mbs (I still remember when 512k was std & virgin blew every one away with 2Mb :lol: )

if I need network speed I can always use a cable so nothing desperate for me.


Save Christmas
Stay Home
Protect your Elf

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Sun Nov 08, 2020 8:30 am

Thank you, IPGuru. The capture you sent looks exactly like mine - the only data received by the Pi 400 that was sent directly to it are some authentication packets from the AP.

Enabling some logging in the brcmfmac driver shows it warning about a PHYTX error:

Code: Select all

[   49.755505] brcmfmac: CONSOLE: 000044.341 wl0: PHYTX error
[   49.755512] brcmfmac: CONSOLE: 000044.343 wl0: PHYTX error
[   49.785548] brcmfmac: CONSOLE: 000044.359 wl0: PHYTX error

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Mon Nov 09, 2020 9:57 pm

At the request of Synaptics (who have taken ownership of the 43456 from Broadcom, much as Cypress did with the 43430) I was testing with a modified 4B with the 43456 fitted, and it succeeded in getting an IP address. Repeating the test with the Pi 400 also succeeded in getting an address and streaming over 5G, which is unexpected and confusing.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Tue Nov 10, 2020 10:33 pm

Can you try changing the Wireless settings to use "20/40" channels for 5G rather than "20/40/80"? I also disabled the optimisation, but left channel selection on auto. If that doesn't make it work, try some manual channel selection.

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Sun Nov 15, 2020 5:35 pm

Apologies for the delay, I did not expect such quick results.

set to 20/40 Auto channel selection but smart wifi disabled & currently I seem to be connecting without issue.
I have performed a couple of reboots on the pi400 & reconnected fine, the final proof will be when the lease is due for renewal, but looking promising :D

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Sun Nov 15, 2020 5:48 pm

There are apparently a few ways we can fix this problem, and we're working with Synaptics to decide the best way forward.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Mon Nov 16, 2020 10:04 am

There is a test firmware available to download here:

https://drive.google.com/file/d/1VetXTQ ... sp=sharing

The two files in the zip archive should be copied to /lib/firmware/brcm. With that done you can change the AP settings back to using 20/40/80 channels and reboot the Pi 400.

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Tue Nov 17, 2020 9:47 am

Currently testing but looking ok
The Pi has successfully reconnected a number of times.
my initial seed-tests were disappointing but after a disconnect & reconnect they are now back where I would expect for a pi
50-60 mb down & 15-20 up :-) on my 200/20 circuit

I am impressed by the turn around time, I was worried this would be a hardware issue :-)

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Tue Nov 17, 2020 10:15 am

I'm also impressed by Synaptics's support. I believe a similar issue (but not the same symptoms) affects 43455 so a proper solution needs to be coordinated between the two.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Thu Nov 19, 2020 10:30 am

There's a new release of the clm_blob file available from here: https://drive.google.com/file/d/1J8Ddbs ... sp=sharing
While you're at it, you can try the latest firmware: https://drive.google.com/file/d/1tLev-L ... sp=sharing

All being well they will both be in the next official release.

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Fri Nov 20, 2020 11:53 am

Updated & testing now
seems ok so far (this has been sent from my Pi400 connected via wifi) :-)

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Mon Nov 23, 2020 8:29 pm

testing so far Wifi performance seems to be more reliable than my main laptop is in the same location.

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Tue Nov 24, 2020 9:03 am

Spoke too soon,
system left over night, WiFi appeared up (Ip address remained ok ) but no data transmission. Had to disconnect & reconnect Wifi to restore service

checking my configs to make sure I have not left any of my earlier hacks in place

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3779
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi400 Wifi wierdnes

Tue Nov 24, 2020 9:26 am

You also have the option of reverting to the previous firmware - Synaptics think we would be better off on the new firmware branch, but that is an independent goal from improving the connectivity with the new clm_blob.

IPGuru
Posts: 27
Joined: Mon Sep 29, 2014 11:56 am

Re: Pi400 Wifi wierdnes

Tue Nov 24, 2020 3:14 pm

I think I may do exactly that
I did not soak test the 1st one for as long so it may not be good either, only one way tell & the result either way will hopefully assist the ongoing development

Return to “Raspberry Pi 400”