Re: Rapsberry Pi 4b wifi

Flemming Faber via leaf-user <[email protected]> Thu, 15 Jun 2023 09:48:02 +0200
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>
Hi Jean-Roch,

I got a new firmware-rpi-nonfree.lrp from K.P.Kirchdoerfer, and that works fine with the built-in wifi in the RPi.
I don’t think this has made it to 7.2.2, but I expect it to be in 7.2.3.

I have been testing speeds with iperf3.
I was running the server on my local network on an iMac 27” from 2014 that works perfectly.

The Raspberry Pi:
/etc/issue: 
Linux 5.15.93-cortex72 #1 SMP Sat Mar 25 20:50:12 CET 2023
LEAF Bering-uClibc 7.2.1 Rev 1 uClibc 1.0.42
  
My network supports 1 Gbit speeds, both wired and wifi.

When I run iperf3 as a client from my Raspberry Pi I get the following results:
Ethernet connection (/dev/eth0):

Accepted connection from 192.168.22.42, port 33564
[  5] local 192.168.22.6 port 5201 connected to 192.168.22.42 port 33568
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  64.1 MBytes   537 Mbits/sec
[  5]   1.00-2.00   sec  65.1 MBytes   546 Mbits/sec
[  5]   2.00-3.00   sec  65.0 MBytes   545 Mbits/sec
[  5]   3.00-4.00   sec  65.7 MBytes   551 Mbits/sec
[  5]   4.00-5.00   sec  65.0 MBytes   546 Mbits/sec
[  5]   5.00-6.00   sec  65.4 MBytes   549 Mbits/sec
[  5]   6.00-7.00   sec  64.9 MBytes   545 Mbits/sec
[  5]   7.00-8.00   sec  64.9 MBytes   544 Mbits/sec
[  5]   8.00-9.00   sec  65.5 MBytes   549 Mbits/sec
[  5]   9.00-10.00  sec  65.3 MBytes   548 Mbits/sec
[  5]  10.00-10.01  sec  1003 KBytes   557 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.01  sec   652 MBytes   546 Mbits/sec                  receiver
—————————————————————————————

Using wifi (/dev/wlan0):
Accepted connection from 192.168.22.159, port 36702
[  5] local 192.168.22.6 port 5201 connected to 192.168.22.159 port 37118
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  6.93 MBytes  58.1 Mbits/sec
[  5]   1.00-2.00   sec  6.82 MBytes  57.2 Mbits/sec
[  5]   2.00-3.00   sec  7.55 MBytes  63.4 Mbits/sec
[  5]   3.00-4.00   sec  6.57 MBytes  55.1 Mbits/sec
[  5]   4.00-5.00   sec  5.24 MBytes  44.0 Mbits/sec
[  5]   5.00-6.00   sec  6.41 MBytes  53.8 Mbits/sec
[  5]   6.00-7.00   sec  7.67 MBytes  64.3 Mbits/sec
[  5]   7.00-8.00   sec  7.53 MBytes  63.2 Mbits/sec
[  5]   8.00-9.00   sec  7.83 MBytes  65.7 Mbits/sec
[  5]   9.00-10.00  sec  7.57 MBytes  63.5 Mbits/sec
[  5]  10.00-10.03  sec   204 KBytes  65.4 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.03  sec  70.3 MBytes  58.9 Mbits/sec                  receiver
-----------------------------------------------------------

So there is an almost 10x difference between wired and wifi performance on the RPi.
I am sure this is not a performance you want on the wifi for a firewall.

I have been using the different versions of the APU/APU2 platform for many years. 
But there are alternatives today.
Right now I use for my home firewall an Intel based unit,
Qotom Mini Pc X86 4 Lan Gigabit With Celeron J1900 and VGA,
I bought it through aliexpress.com. Of course, this has now been updated to a newer model.
You can now get a Fanless Router Celeron J4125 Mini PC Quad Core 4x Intel i225/i226 2.5G LAN with HDMI and VGA for 115 EUR.
This is without RAM and SSD.

Hope this can help you,

Flemming

Flemming Faber
Jeppes Allé 16
2400 Copenhagen NV

tel. +45 6083 0053
email: [email protected]




------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/