root@bpi-r4:~# date -s "2024-07-29 19:31 CEST"
Mon Jul 29 17:31:00 UTC 2024
root@bpi-r4:~# apt update
Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:2 http://security.debian.org/debian-security bookworm-security/main Sources [105 kB]
Get:3 http://security.debian.org/debian-security bookworm-security/main arm64 Packages [166 kB]
Get:4 http://security.debian.org/debian-security bookworm-security/main Translation-en [102 kB]
Hit:5 http://ftp.de.debian.org/debian bookworm InRelease
Get:6 http://ftp.de.debian.org/debian bookworm-updates InRelease [55.4 kB]
Fetched 428 kB in 8s (51.3 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
ip r
root@bpi-r4:~# ip r
default via 192.168.3.3 dev wan proto dhcp src 192.168.3.102 metric 1024
192.168.1.0/24 dev lanbr0 proto kernel scope link src 192.168.1.1
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.2
192.168.3.0/24 dev wan proto kernel scope link src 192.168.3.102 metric 1024
192.168.3.3 dev wan proto dhcp scope link src 192.168.3.102 metric 1024
root@bpi-r4:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc mq state UP group default qlen 1000
link/ether 02:da:b0:a6:8a:c1 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.2/24 scope global eth0
valid_lft forever preferred_lft forever
4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether ae:8f:91:87:8b:51 brd ff:ff:ff:ff:ff:ff
5: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 76:83:fa:da:45:f6 brd ff:ff:ff:ff:ff:ff
6: wan@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 02:da:b0:a6:8a:c1 brd ff:ff:ff:ff:ff:ff
inet 192.168.3.102/24 metric 1024 brd 192.168.3.255 scope global dynamic wan
valid_lft 86177sec preferred_lft 86177sec
inet6 fe80::da:b0ff:fea6:8ac1/64 scope link
valid_lft forever preferred_lft forever
7: lan1@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master lanbr0 state DOWN group default qlen 1000
link/ether 02:da:b0:a6:8a:c1 brd ff:ff:ff:ff:ff:ff
8: lan2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master lanbr0 state UP group default qlen 1000
link/ether 02:da:b0:a6:8a:c1 brd ff:ff:ff:ff:ff:ff
9: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master lanbr0 state LOWERLAYERDOWN group default qlen 1000
link/ether 02:da:b0:a6:8a:c1 brd ff:ff:ff:ff:ff:ff
10: lanbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 1a:03:b0:1e:b6:0e brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255 scope global lanbr0
valid_lft forever preferred_lft forever
inet6 fe80::1803:b0ff:fe1e:b60e/64 scope link
valid_lft forever preferred_lft forever
11: he-ipv6@lanbr0: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
inet6 ::127.0.0.1/96 scope host
valid_lft forever preferred_lft forever
I think the board is getting network but my laptop is not
root@bpi-r4:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=109 time=133 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=109 time=133 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=109 time=132 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=109 time=130 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=109 time=129 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=109 time=128 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=109 time=127 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=109 time=126 ms
It is possible that you need to enable ipforwarding in /etc/sysctl.conf…
If dns works on r4,look if client gets ip from r4,try pinging from your laptop connected on lanbr0…first lanbr-ip,then wan-ip,then your main-routers ip,8.8.8.8,and www.google.com
Possible you need static route on main-router for your r4 lan network,but i think it is not needed because you should have nat on wan,so your main-router should not see your lan subnet…only r4 wan ip
I do not have this modem…with mine i did some manual steps to get network connection.
I do not know any web interface like lucy as it is the best way to hack the router (my webserver is put into lxc container and blocked in firewall from external interfaces).