Then copy the bpir.img.gz to the SD card /tmp/ folder. It is accessable without root.
If using a pre-build image, rename it to bpir.img.gz
Boot the R64/R3 with the SD card with UART connected. When kernel starts keep ‘shift E’ keys pressed. When finised, you can reboot.
You can keep ‘x’ pressed instead if you want to enter a busybox ash.
Note for R3: To run on EMMC, only the switch most near to powerplug (D) should be down, the rest up. This is different from the normal switch settings. It is done so that you do not need mmcblk0boot0.
After=graphical.targe - won’t start hostapd at all.
I have also noticed that sometimes wlan1 goes down and a restart helps. It rarely happens, but it does happen.
I tried to tune the 5GHz WiFi, but I can’t get a traffic higher than about 26Mbps. I got about 100Mbps with Openwrt. WiFi 2.4GHz reached about 50Mbps with Arch Linux.
100Mbps is at a distance of about 1m. I’ve tried the configuration from Debian as well and I can’t get an adequate 5GHz wifi transmission speed.
My wlan1.conf is currently:
GNU nano 8.1 wlan1.conf
# hostapd configuration file
interface=wlan1
driver=nl80211
ssid=WIFI50
bridge=brlan
country_code=CZ
channel=40
hw_mode=a
ieee80211d=1
ieee80211h=1
ieee80211ax=1 # Enable 802.11ax (Wi-Fi 6)
# HT capabilities
#ht_capab=[HT20][HT40-][HT40+][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1]
# VHT capabilities
#vht_capab=[SHORT-GI-80][RX-STBC-1]
#vht_oper_chwidth=1 # 80 MHz channel width
# HE (High Efficiency) capabilities
# Uncomment if supported by your hardware and hostapd version
#he_capab=[HE80]
auth_algs=1
#wmm_enabled=1
# WPA/IEEE 802.11i settings
wpa=2
wpa_passphrase=justsomepassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
I reverted back to the original wlan1.conf. I used channel 36 instead of channel 149. I measured about 50Mbps. Unfortunately, it is not possible to connect an iPhone to the AP set in this way - Raspberry and lenovo motebooks have no connection problem.
I do not have anything in dmesg or output from hostapd. It just fails.
However, it does look like timeout related. If the AP or the (last) STA times out, maybe it does shut down to save energy? So maybe some unwanted energy saving behavior? But I’m still just guessing…
Edit:
In the middle of doing an iperf3, I got:
Sep 03 08:55:41 bpir3 systemd-networkd[2980]: wlan1: Lost carrier
Nothing else, also not in dmesg output. So it is not timeout related (or this is another bug).
I have a fairly complete Linux router. There are about 7 LAN devices running on it. One of them is Raspberry Pi 5. I am currently solving this problem:
About one in 7 RPI5 boots won’t get a LAN connection. The RPI5 receives an IP address from the DHCP server, but cannot ping anywhere. Conversely, it is possible to ping RPI5 from the router. The fault is likely to be on the RPI side. I just want to make sure there is no setting on the BPI-R3 that can fix this.
Moved the repo server and image-files server over to Oracle always-free-services tier, which has a static ip. There should be no problems migrating. It may be better reachable, perhaps even through the great wall of china.
Ftp and http servers are up, https is to follow up.
is it possible to advise on my case please? trying on bpi-r4 board
Got one of the ready images also used your script to create a new sdcard both AP and router but I cant set the interfaces up due to memory and apparently something is wrong with the system not recognizing the memory correctly
[root@bpir4 ~]# free -hm
total used free shared buff/cache available
Mem: 231Mi 165Mi 14Mi 684Ki 66Mi 66Mi
Swap: 0B 0B 0B
Also during boot there are sine services failing.
[**FAILED**] Failed to start **Setup MAC addresses**.
See 'systemctl status setmac.service' for details.
[**FAILED**] Failed to start **Netfilter Tables**.
See 'systemctl status nftables.service' for details.