This board should supported since IPFire 2.21
USB-to-LAN adapters are listed here.
Download at least IPFire 2.21 (Flash Image) and flash it to an MicroSD card.
Note!
uENV.txt
file and change SERIAL-CONSOLE=ON
to OFF
.After flashing the SD card install it into the Raspberry Pi, connect the cables and power supply, and power it up. At the start of booting you'll see:
Net: No ethernet found.
starting USB…
USB0: Core Release: 2.80a
scanning bus 0 for devices…
The Raspberry Pi 2 Model B (Raspi 2B) will normally boot within xx seconds.
Note!
If the IPFire sits for more than 3 to 4 minutes it may be trying to locate a driver for an unknown USB device. Unplug the unknown device and reboot the Raspberry Pi.
Once the Raspi 2B is fully booted begin to follow the steps here.
Note!
In the IPFire setup Extended Network Menu the on-board Ethernet port is known as usb: Standard Microsystems Corp. SMSC95
. And the wireless/WiFi is known as sdio: brcmfmac
.
computer [iperf3 client] <- green -> IPFire (Raspi 3B) <- red -> computer [iperf3 server]
iMac3:~ $ iperf3 -c 192.168.60.178
Connecting to host 192.168.60.178, port 5201
[ 5] local 192.168.1.100 port 51505 connected to 192.168.60.178 port 5201
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.00 sec 73.1 MBytes 61.3 Mbits/sec sender
[ 5] 0.00-10.03 sec 72.7 MBytes 60.8 Mbits/sec receiver
iMac3:~ $ iperf3 -c 192.168.60.178 -R
Connecting to host 192.168.60.178, port 5201
Reverse mode, remote host 192.168.60.178 is sending
[ 5] local 192.168.1.100 port 51511 connected to 192.168.60.178 port 5201
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.00 sec 43.0 MBytes 36.1 Mbits/sec sender
[ 5] 0.00-10.00 sec 42.9 MBytes 36.0 Mbits/sec receiver
/usr/bin/openssl speed -elapsed -evp [cipher]
Cipher | 16k bytes((Tested on IPFire 2.21 (armv5tel) - Core Update 126)) | |
---|---|---|
kB/s | Mbit/s | |
--- | --- | --- |
aes-256-gcm | 3,271 | 26.2 |
aes-192-gcm | 3,495 | 28.0 |
aes-128-gcm | 3,750 | 30.0 |
camellia-256-cbc | 8,673 | 69.4 |
camellia-192-cbc | 8,634 | 69.1 |
camellia-128-cbc | 11,207 | 89.7 |
aes-256-cbc | 6,521 | 52.2 |
aes-192-cbc | 7,493 | 59.9 |
aes-128-cbc | 8,760 | 70.1 |
seed-cbc | 9,208 | 73.7 |
time /usr/sbin/openvpn --test-crypto --secret /tmp/secret --verb 0 --tun-mtu 20000 --ncp-disable --cipher [cipher]
Cipher | real | Mbit/s |
---|---|---|
aes-256-gcm | 3m44.902s | 14.2 |
aes-192-gcm | 3m31.700s | 15.1 |
aes-128-gcm | 3m24.175s | 15.7 |
camellia-256-cbc | 2m37.592s | 20.3 |
camellia-192-cbc | 2m37.278s | 20.3 |
camellia-128-cbc | 2m27.808s | 21.6 |
aes-256-cbc | 2m57.281s | 18.1 |
aes-192-cbc | 2m53.330s | 18.5 |
aes-128-cbc | 2m40.917s | 19.9 |
seed-cbc | 2m36.968s | 20.4 |
Older Revisions • November 9, 2021 at 4:36 pm • Jon