Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated to latest - lost all interfaces #3802

Open
talitha77 opened this issue Feb 16, 2025 · 28 comments
Open

updated to latest - lost all interfaces #3802

talitha77 opened this issue Feb 16, 2025 · 28 comments

Comments

@talitha77
Copy link

Kernel Version:6.6.50

Model:Raspberry Pi 5 Model B Rev 1.0

Architecture:ARMv8 Processor rev 1

Firmware Version:openmptcprouter v0.61-6.6 r0+27346-c7ba5574f5

updated this morning and all eth1,2 vanished. ok assuming Wan2/Wan3 as that is what i'm left with in interfaces (aside from eth0) but nothing is connecting. tried clean new install, same issue

Image

Expected Behavior

Current Behavior

Specifications

  • OpenMPTCProuter version:
  • OpenMPTCProuter VPS version:
  • OpenMPTCProuter VPS provider:
  • OpenMPTCProuter platform:
@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

Please complete template.
Here your filesystem is readonly, this may explain problems.
You can also try with https://github.com/Ysurac/openmptcprouter/wiki/Snapshots

@talitha77
Copy link
Author

yes .. this happens 4 out of 5 times when i upgrade or install from new

@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

Use squashfs image if not the case, check SD card and power supply and remove anything connected to USB ports.

@talitha77
Copy link
Author

yes have tried that and that solves the read only problem indeed, but still nothing. have checked all

Image

@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

Nothing is configured here. You imported old config backup or did something else ?

@talitha77
Copy link
Author

i updated with flash, then new card with new install and ran the wizard again. the VPS and key, added the WAN.. i've done it many times..

@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

By default WANs should be available on RPI, 2 WANs using MacVLAN.
Here I have no idea how wan1 is configured, I would need the result, via SSH on the router, of ip a and uci show network

@talitha77
Copy link
Author

i am using usb ethernet adapters. but i dont see them any more

@talitha77
Copy link
Author

root@OpenMPTCProuter:~# 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 proto kernel_lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 2c:cf:67:32:eb:80 brd ff:ff:ff:ff:ff:ff
inet 192.168.101.1/24 brd 192.168.101.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::2ecf:67ff:fe32:eb80/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
3: ip6tnl0@NONE: mtu 1452 qdisc noop state DOWN group default qlen 1000
link/tunnel6 :: brd :: permaddr 7a5f:b91e:c916::
4: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
5: gre0@NONE: mtu 1476 qdisc noop state DOWN group default qlen 1000
link/gre 0.0.0.0 brd 0.0.0.0
6: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
7: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1450 qdisc noop state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
8: ip6gre0@NONE: mtu 1448 qdisc noop state DOWN group default qlen 1000
link/gre6 :: brd :: permaddr 6eb0:c9c1:1907::
9: teql0: mtu 1500 qdisc noop state DOWN group default qlen 100
link/void
10: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 2c:cf:67:32:eb:81 brd ff:ff:ff:ff:ff:ff

@talitha77
Copy link
Author

root@OpenMPTCProuter:~# uci show network
network.loopback=interface
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.loopback.multipath='off'
network.loopback.device='lo'
network.loopback.metric='5'
network.globals=globals
network.globals.ula_prefix='fda2:efc0:768a::/48'
network.globals.packet_steering='0'
network.globals.multipath='enable'
network.globals.mptcp_path_manager='fullmesh'
network.globals.mptcp_scheduler='blest'
network.globals.congestion='bbr'
network.globals.mptcp_checksum='0'
network.globals.mptcp_debug='0'
network.globals.mptcp_syn_retries='4'
network.globals.mptcp_subflows='8'
network.globals.mptcp_add_addr_accepted='1'
network.globals.mptcp_add_addr_timeout='120'
network.globals.mptcp_pm_type='0'
network.globals.mptcp_disable_initial_config='0'
network.globals.mptcp_force_multipath='1'
network.globals.mptcpd_enable='0'
network.globals.mptcp_fullmesh_num_subflows='1'
network.globals.mptcp_fullmesh_create_on_err='1'
network.globals.mptcp_ndiffports_num_subflows='1'
network.lan=interface
network.lan.proto='static'
network.lan.ipaddr='192.168.101.1'
network.lan.netmask='255.255.255.0'
network.lan.device='eth0'
network.lan.ifname='eth0'
network.lan.metric='9999'
network.lan.ipv6='0'
network.lan.delegate='0'
network.lan.addlatency='0'
network.lan.txqueuelen='2000'
network.lan.multipath='off'
network.lan.ip4table='lan'
network.lan.defaultroute='0'
network.lan.peerdns='0'
network.wan1=interface
network.wan1.device='wan2'
network.wan1.proto='dhcp'
network.wan1.ip4table='wan'
network.wan1.multipath='master'
network.wan1.defaultroute='0'
network.wan1.ipv6='0'
network.wan1.metric='2'
network.wan1.peerdns='0'
network.wan1.delegate='0'
network.lan_rule=rule
network.lan_rule.lookup='lan'
network.lan_rule.priority='100'
network.omrvpn=interface
network.omrvpn.device='tun0'
network.omrvpn.proto='none'
network.omrvpn.ip4table='vpn'
network.omrvpn.multipath='off'
network.omrvpn.leasetime='12h'
network.omrvpn.type='tunnel'
network.omrvpn.txqueuelen='100'
network.omrvpn.metric='1500'
network.tun0=device
network.tun0.name='tun0'
network.tun0.mtu='1500'
network.omr6in4=interface
network.omr6in4.proto='6in4'
network.omr6in4.ip4table='vpn'
network.omr6in4.multipath='off'
network.omr6in4.ipaddr='10.255.255.2'
network.omr6in4.peeraddr='10.255.255.1'
network.omr6in4.gateway='fe80::a00:1'
network.omr6in4.ip6addr='fe80::a00:2/128'
network.omr6in4.auto='0'
network.omr6in4.metric='1201'
network.eth0_fw_rule6=rule6
network.eth0_fw_rule6.priority='1'
network.eth0_fw_rule6.mark='0x65399999'
network.eth0_fw_rule6.lookup='9999'
network.wan1_fw_rule6=rule6
network.wan1_fw_rule6.priority='1'
network.wan1_fw_rule6.mark='0x65396'
network.wan1_fw_rule6.lookup='6'
network.wan2_fw_rule6=rule6
network.wan2_fw_rule6.priority='1'
network.wan2_fw_rule6.mark='0x65392'
network.wan2_fw_rule6.lookup='2'
network.tun0_fw_rule6=rule6
network.tun0_fw_rule6.priority='1'
network.tun0_fw_rule6.mark='0x65391500'
network.tun0_fw_rule6.lookup='1500'
network.all_fw_rule6=rule6
network.all_fw_rule6.priority='1'
network.all_fw_rule6.mark='0x6539'
network.all_fw_rule6.lookup='6991337'
network.lan_dev=device
network.lan_dev.name='eth0'
network.wan2_dev=device
network.wan2_dev.type='macvlan'
network.wan2_dev.ifname='eth0'
network.wan2_dev.mode='vepa'
network.wan2_dev.name='wan2'
network.wan1_dev=device
network.wan1_dev.name='wan2'
network.eth0_fw_rule=rule
network.eth0_fw_rule.priority='1'
network.eth0_fw_rule.mark='0x45399999'
network.eth0_fw_rule.lookup='9999'
network.wan2_fw_rule=rule
network.wan2_fw_rule.priority='1'
network.wan2_fw_rule.mark='0x45392'
network.wan2_fw_rule.lookup='2'
network.tun0_fw_rule=rule
network.tun0_fw_rule.priority='1'
network.tun0_fw_rule.mark='0x45391500'
network.tun0_fw_rule.lookup='1500'
network.all_fw_rule=rule
network.all_fw_rule.priority='1'
network.all_fw_rule.mark='0x4539'
network.all_fw_rule.lookup='991337'

@talitha77
Copy link
Author

i have pulled all ethernet usbs except one..

@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

ok, simply missing driver.

@talitha77
Copy link
Author

i thought drivers were bundled.. i never needed one before

@talitha77
Copy link
Author

Your USB adapter (Realtek RTL8152/8153) is detected by USB but isn’t functioning because its corresponding network driver (r8152) isn’t loaded. Confirm if the module exists and try to load it manually. If it’s missing, you’ll likely need to enable and compile it in your kernel configuration or find a build that includes it.

@talitha77
Copy link
Author

i guess i downgrade

@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

On v0.61, less drivers are integrated by default as some realtek drivers are buggy. I will try to add some for next release.
The drivers are available via System->Software or in https://releases.openmptcprouter.com/v0.61-6.6/rpi4/targets/bcm27xx/bcm2711/packages/

Why are you using USB adapters ? On RPI this often make issues.

@talitha77
Copy link
Author

well i tried the VLAN route but i got myself in a horrible mess

@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

By default it's MacVLAN, it just work but modems/box need to be set as static with DHCP server disabled on them.

@talitha77
Copy link
Author

i have four starlinks on different vlans.. my issue started when i created a trunk with all four on it.. I'll try again when i've had enough coffee

@talitha77
Copy link
Author

that driver doesnt work on the rpi5

@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

Which one ?

@talitha77
Copy link
Author

i have tried

kmod-usb-net-rtl8152_6.6.50-r1_aarch64_cortex-a72.ipk kmod-usb-net-rtl8152_6.6.73-r1_aarch64_cortex-a76.ipk
kmod-usb-net-rtl8152_6.6.50-r1_aarch64_cortex-a76.ipk

@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

@talitha77
Copy link
Author

A72 is rpi4.. it gave me a wrong architecture message with opkg

@talitha77
Copy link
Author

then i got this:
root@OpenMPTCProuter:/tmp# opkg install /tmp/kmod-usb-net-rtl8152_6.6.50-r1_aarch64_cortex-a76.ipk
Unknown package 'kmod-usb-net-rtl8152'.
Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency r8152-firmware for kmod-usb-net-rtl8152
  • pkg_hash_check_unresolved: cannot find dependency kmod-crypto-sha256 for kmod-usb-net-rtl8152
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-net-rtl8152 found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package kmod-usb-net-rtl8152.
    root@OpenMPTCProuter:/tmp#

@talitha77
Copy link
Author

obviously i found the a76 in the rpi5 section but it didnt help.. are you able to show me a link to the previous version? It was working fine

@talitha77
Copy link
Author

or point me to a very careful tutorial on the vlan method!

@Ysurac
Copy link
Owner

Ysurac commented Feb 16, 2025

oh it's RPI5, I was thinking about a RPI4.
The message mean this packet have dependencies, so you need the indicated packets.

No support on previous releases, but they are here: https://download.openmptcprouter.com/release/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants