Frank that link takes me to your Google Drive but i dont see your buster image. I only see 5 Items in there they are as follows: r2_wifi_firmware.zip , r2_wifi_helper.zip, wifi_helper.tar.gz, wmt-tools+script.tar.gz, wmt-tools+script+conf.zip Thats is all I see nothing labeled buster
-Brian-
Frank… THANK YOU that got the access point running. Istill isnt persistant however i have to run that script each time the BPI-R2 loses power or reboots however. Now to try to bridge the ap0 and lan0@eth0 so I can share the Internet coming in on lan0@eth0.
Your mainrouter have to know that your wifi-subnet is reachable via r2s lan ip…so you need static route on it…else packets go out,but response goes to your mainrouter and not further (or gets routed via defaultroute = back to internet)
Here is my current setup
DSL Router NAT IP Schema (172.16.42.0/24 )
BPI-R2 Schema lan0@eth0 172.16.42.118
BPI-R2 AP Schema ap0 192.168.10.1/24
I have created a static route on the DSL Router as follows
Destination IP Address = 192.168.10.1 (BPI-R2 ap0)
IP Subnet Mask = 255.255.255.0
Gateway Address = 172.16.42.118 (lan0@eth0 on BPI-R2)
Metric = 2
On the BPI-R2 for routes I have:
172.16.42.0/24 dev lan0 proto kernel scope link src 172.16.42.118
192.168.10.0/24 dev ap0 proto kernel scope link src 192.168.10.1
While from the BPI-R2 I can ping my DSl Router (172.16.42.2) I cannot ping in the other direction.
Obviously my perspective on settings is flawed can you assist?
192.168.10.0 (network-address not ip-address) is reachable via 172.16.42.118
Ping between these 2 hosts should not be affected only traffic going over both ones. Don’t forget to set default route on wifi-client (192.168.10.1) and r2 (172.16.42.2)
root@bpi-r2:~# ip route show
default via 172.16.42.2 dev lan0 onlink
172.16.42.0/24 dev lan0 proto kernel scope link src 172.16.42.118
192.168.10.0/24 dev ap0 proto kernel scope link src 192.168.10.1
Now while I can ping everything from both directions ( 172.16.42.xx and 192.168.10.xx ) when my Phone Connects to BPI-R2 ap0 it says “no internet” and sure enough when trying to access gmail or facebook etc… It doesnt refresh like it has no Internet. While connected with my phone and Data connection is turned off I cannot ping 8.8.8.8 or www.google.com.
However when I ssh into the BPI-R2 on the 192.168.10.1 ap0 I can ping 8.8.8.8 and www.google.com
Is there someway to upgrade from debian 9 to 10? I don’t want to reinstall all the packages
Here is my kernel info:
uname -a
Linux BPI-R2 4.14.122-bpi-r2-main #1 SMP Thu Jun 6 17:46:54 CST 2019 armv7l GNU/Linux
btw, i have an issue. If i add mac-address in bpi-r2-mac.dts, I can get well performant. But with random macaddress and change 802-3-ethernet.cloned-mac-address in NetworkManager. I could not get more then 10Mpbs
Imho you can upgrade the normal debian way by changing the apt-sources,but this makes not a clean system and maybe break your ols one…so i prefer a fresh system and have old as backup.
You use dto in uboot? Else mac.dtb isn’t loaded…which kernels have you tried (maybe 4.19,5.x-phylink)?
You can ssh from your phone to r2 and dns/ping works from there (r2).
Can you ping your mainrouter from your mobile device? if not: Can you ping lan0-address of r2?
If also not:
Have you enabled v4-routing on r2 (needs to be done every boot if only used the echo)? Make it permanant with sysctl.conf
have you set default route for wifi-devices set to r2’s ap0-address?
Because The R2 is my NAS and home media center and network base server. Too many package are installed. Maybe i will not upgrade it, but performace is necessary for me.
You can ssh from your phone to r2 and dns/ping works from there (r2).
When SSH’d into the ap0 yes I can ping my main DSL router
Can you ping your mainrouter from your mobile device? if not: Can you ping lan0-address of r2?
YES when my mobile device is connected to ap0 and data is turned off I can ping my main DSL Router
If also not: Have you enabled v4-routing on r2 (needs to be done every boot if only used the echo)? Make it permanant with sysctl.conf have you set default route for wifi-devices set to r2’s ap0-address?[/quote]
I haven done this I will try it now one I google the command architecture
Turns out IPv4 Forwarding is enabled in /etc/sysctl.conf the following line is uncommented there
net.ipv4.ip_forward=1
When you ask have you set default route for wifi-devices set to r2’s ap0- I havent done anything with each wifi device I thought they wouldnt need special treatment when just accessing another Access Point am I wrong?
Hmm im rebooting my BPI-R2 and hoping every it gets pushed, if not I wont be able to use the BPI-R2 as my household router as having new devices that connect (Friends coming over) they will have to mess with there phone.