Hello,
I bought a Banana Pi R2 and installed OpenWRT. I have tried several versions, but I have the same problem with all of them. My internet is down. The problem is with the WAN port. It won’t ping or update on Openwrt. I always get a connection error.
I have tried setting up the WAN as a static IP and DHCP client, but unfortunately it still doesn’t work. I have it connected behind the Asus router, but it doesn’t work behind the ISP router either. Where is the problem?
Without knowing your full network topology it is hard to tell a solution.
Have you tried ping from the R2? For ping after R2 you will need a static route on your main router or do masquerade (nat) on wan-port. Make sure wan and lan are in different subnets.
I guess because you use same lan-subnet on r2 and your asus and your isp router already knows it. Every router instance need to know each subnet connected over it. If you cascade all 3 routers, all segments have to use different subnets and all routers need to know them. E.g. if you have all 3 cascaded, your isp router needs to know if r2 and asus lan-segment is available over the asus Router and asus router needs to know r2 lan is reachable over r2 wan-ip
And before trying public internet,use private ips. Ping from r2 lan to r2 wan,then asus lan,asus wan and isp lan. If all these work your outing works so far and you can try public ip like 8.8.8.8. If this works and “internet” not maybe you have name resolution issue…try to ping www.google.com and look if you see its ip address.
Just open debug-uart and in the data menu the option to upload openwrt to emmc and you were done.
I’ve already worked my way through setting up Openwrt and using SSH, but I discovered another problem. Why after installing OpenWRT is there still 7,1Gb of free memory left out of 8Gb? This is very little for some packages. Is there any functional instruction how to use the full memory capacity?
I have tried various instructions, the memory expands, but after a reboot the memory disappears again.
Afaik the best way is to create additional partition as extending rootfs will cause problems on sysupgrade…daniel wrote some tutorials for handling additional space in openwrt.
I have studied all the instructions, but to no avail. It’s different from BPI R3, because with R2 I can’t push data to NAND memory. I can only load the OS from SD card or EMMC memory.
Every time I try to expand the memory, I succeed, but after reboot the memory disappears again.