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

Allwinner h5 #3571

Open
Silvanskii opened this issue Oct 4, 2024 · 10 comments
Open

Allwinner h5 #3571

Silvanskii opened this issue Oct 4, 2024 · 10 comments

Comments

@Silvanskii
Copy link

I have a few problems.
0.59-0.60r2 core 6.1 (I tried to compile all versions for H5)
When I use any of these versions when connecting two modems in MBIM or NCM mode in modemmanager everything works fine until system reboot. After reboot new ports are assigned and the same modem is assigned to different wan1 and wan2 until you fix it manually. Sometimes it matches, but more often after rebooting the modems will not work until you select them manually. But the wifi and opkg tab works correctly. How to bind modem1 to wan1 and modem2 to wan2?
0.59-0.60r2 core 5.4
modemmanager Works great! after reboot all modems are in their places and USB port names do not change very fast as they did for core 6.1. But there is another problem, wifi and opkg tab doesn't work (I can't see how much free space is available) packages are installed via cli without problems.
I have spent a lot of time compiling different versions, so far the result is like this.

2024-10-04_19-09-16
2024-10-04_19-09-52

@Ysurac
Copy link
Owner

Ysurac commented Oct 4, 2024

Please use template.
Try v0.61 snapshot, and if you have still same issue, I will need the result of uci show network

@Silvanskii
Copy link
Author

Please use template. Try v0.61 snapshot, and if you have still same issue, I will need the result of uci show network

v0.61-6.1-develop
I managed to do it the 1st time.
Sometimes this error then loading "printk: console [ttyS0] disabled" appears and OS booting stops until reboot.
Error "MPTCP kernel on router and VPS doesn't match" but server Debian12 core 6.1
2 modems in mmbi mode worked 3 times after reboot without additional settings. Like this.
wan1=modem1
wan2=modem2
After several reboots
wan1-modem1
wan2-modem1
and that's why it doesn't work.
After every reboot a new wifi is created, even though I didn't even take it out of the pc, just rebooted
2024-10-04_23-36-14

---uci show network core 6.1---
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='7'
network.globals=globals
network.globals.ula_prefix='fdaf:fb98:e19f::/48'
network.globals.multipath='enable'
network.globals.mptcp_path_manager='fullmesh'
network.globals.mptcp_scheduler='default'
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.100.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.lan_rule=rule
network.lan_rule.lookup='lan'
network.lan_rule.priority='100'
network.wan1=interface
network.wan1.proto='modemmanager'
network.wan1.peerdns='0'
network.wan1.device='/sys/devices/platform/soc/1c1b000.usb/usb6/6-1'
network.wan1.iptype='ipv4'
network.wan1.loglevel='ERR'
network.wan1.multipath='master'
network.wan1.addlatency='0'
network.wan1.metric='5'
network.wan1.ipv6='0'
network.wan1.defaultroute='0'
network.wan1.delegate='0'
network.wan1.apn='internet'
network.wan1.auth='none'
network.wan1_dev=device
network.wan1_dev.name='wan1'
network.wan1_dev.txqueuelen='1000'
network.wan2_dev=device
network.wan2_dev.name='wan2'
network.wan2_dev.txqueuelen='1000'
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/126'
network.omr6in4.ip6addr='fe80::a00:2/126'
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='0x65395'
network.wan1_fw_rule6.lookup='5'
network.wan2_fw_rule6=rule6
network.wan2_fw_rule6.priority='1'
network.wan2_fw_rule6.mark='0x65396'
network.wan2_fw_rule6.lookup='6'
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.wwan0_fw_rule6=rule6
network.wwan0_fw_rule6.priority='1'
network.wwan0_fw_rule6.mark='0x65398'
network.wwan0_fw_rule6.lookup='8'
network.lan_dev=device
network.lan_dev.name='eth0'
network.wan3=interface
network.wan3.proto='modemmanager'
network.wan3.device='/sys/devices/platform/soc/1c1d000.usb/usb8/8-1/8-1.2'
network.wan3.iptype='ipv4'
network.wan3.loglevel='ERR'
network.wan3.multipath='on'
network.wan3.addlatency='0'
network.wan3.metric='8'
network.wan3.apn='internet'
network.wan3.ipv6='0'
network.wan3.defaultroute='0'
network.wan3.peerdns='0'
network.wan3.delegate='0'
network.wan3.auth='none'
network.wwan1_fw_rule6=rule6
network.wwan1_fw_rule6.priority='1'
network.wwan1_fw_rule6.mark='0x65395'
network.wwan1_fw_rule6.lookup='5'
network.wan3_dev=device
network.eth0_fw_rule=rule
network.eth0_fw_rule.priority='1'
network.eth0_fw_rule.mark='0x45399999'
network.eth0_fw_rule.lookup='9999'
network.wwan1_fw_rule=rule
network.wwan1_fw_rule.priority='1'
network.wwan1_fw_rule.mark='0x45395'
network.wwan1_fw_rule.lookup='5'
network.tun0_fw_rule=rule
network.tun0_fw_rule.priority='1'
network.tun0_fw_rule.mark='0x45391500'
network.tun0_fw_rule.lookup='1500'
network.wwan0_fw_rule=rule
network.wwan0_fw_rule.priority='1'
network.wwan0_fw_rule.mark='0x45398'
network.wwan0_fw_rule.lookup='8'
network.all_fw_rule=rule
network.all_fw_rule.priority='1'
network.all_fw_rule.mark='0x4539'
network.all_fw_rule.lookup='991337'

---------------------------------v0.61-5.4-develop
The wifi and opkg section is still not working in this version.
---uci show network core 5.4---
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='fd91:950a:4ebd::/48'
network.globals.packet_steering='0'
network.globals.multipath='enable'
network.globals.mptcp_path_manager='fullmesh'
network.globals.mptcp_scheduler='blest'
network.globals.congestion='bbr2'
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.100.1'
network.lan.netmask='255.255.255.0'
network.lan.device='eth0'
network.lan.ifname='eth0'
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.metric='9999'
network.lan_rule=rule
network.lan_rule.lookup='lan'
network.lan_rule.priority='100'
network.wan1=interface
network.wan1.proto='static'
network.wan1.ip4table='wan'
network.wan1.multipath='master'
network.wan1.defaultroute='0'
network.wan1.delegate='0'
network.wan1.addlatency='0'
network.wan1.type='macvlan'
network.wan1.device='wan1'
network.wan1.masterintf='eth0'
network.wan1.peerdns='0'
network.wan1.metric='6'
network.wan1.ipv6='0'
network.wan1_dev=device
network.wan1_dev.txqueuelen='1000'
network.wan1_dev.name='wan1'
network.wan1_dev.type='macvlan'
network.wan1_dev.ifname='eth0'
network.wan1_dev.mode='vepa'
network.wan1_dev.macaddr='92:4a:a9:fb:94:31'
network.wan2=interface
network.wan2.proto='static'
network.wan2.ip4table='wan'
network.wan2.multipath='on'
network.wan2.defaultroute='0'
network.wan2.delegate='0'
network.wan2.addlatency='0'
network.wan2.type='macvlan'
network.wan2.device='wan2'
network.wan2.masterintf='eth0'
network.wan2.peerdns='0'
network.wan2.metric='7'
network.wan2.ipv6='0'
network.wan2_dev=device
network.wan2_dev.txqueuelen='1000'
network.wan2_dev.name='wan2'
network.wan2_dev.type='macvlan'
network.wan2_dev.ifname='eth0'
network.wan2_dev.mode='vepa'
network.wan2_dev.macaddr='4c:43:a4:ca:8e:30'
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'
2024-10-04_23-50-18
2024-10-04_23-46-58

@Ysurac
Copy link
Owner

Ysurac commented Oct 5, 2024

For snapshot, you need to use kernel 6.6.
I don't see modems in your 5.4 config.

@Silvanskii
Copy link
Author

Silvanskii commented Oct 5, 2024

For snapshot, you need to use kernel 6.6. I don't see modems in your 5.4 config.
When I try to make an image with kernel 6.6 I get an error "bpf-headers failed to build".
Maybe I'm doing the wrong commands to create the image:
git switch -c v0.61-6.6
git checkout v0.61-6.6
OMR_TARGET="Deb12-i9-0.61-6.6" OMR_RELEASE="0.61-6.6" OMR_KERNEL="6.6" ./build.sh

@Silvanskii
Copy link
Author

For snapshot, you need to use kernel 6.6. I don't see modems in your 5.4 config.
uci show network ---- core 5.4 (Work good)
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='7'
network.globals=globals
network.globals.ula_prefix='fdea:2e38:2b37::/48'
network.globals.multipath='enable'
network.globals.mptcp_path_manager='fullmesh'
network.globals.mptcp_scheduler='blest'
network.globals.congestion='bbr2'
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.100.1'
network.lan.netmask='255.255.255.0'
network.lan.device='eth0'
network.lan.ifname='eth0'
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.metric='9999'
network.lan_rule=rule
network.lan_rule.lookup='lan'
network.lan_rule.priority='100'
network.wan1=interface
network.wan1.type='macvlan'
network.wan1.masterintf='eth0'
network.wan1.peerdns='0'
network.wan1.proto='modemmanager'
network.wan1.device='/sys/devices/platform/soc/1c1d000.usb/usb4/4-1/4-1.2'
network.wan1.iptype='ipv4v6'
network.wan1.loglevel='ERR'
network.wan1.multipath='off'
network.wan1.addlatency='0'
network.wan1.metric='5'
network.wan1_dev=device
network.wan1_dev.txqueuelen='1000'
network.wan1_dev.name='wan1'
network.wan1_dev.type='macvlan'
network.wan1_dev.ifname='eth0'
network.wan1_dev.mode='vepa'
network.wan1_dev.macaddr='20:ce:65:66:a7:ca'
network.wan2=interface
network.wan2.type='macvlan'
network.wan2.masterintf='eth0'
network.wan2.peerdns='0'
network.wan2.proto='modemmanager'
network.wan2.device='/sys/devices/platform/soc/1c1b000.usb/usb2/2-1'
network.wan2.iptype='ipv4v6'
network.wan2.loglevel='ERR'
network.wan2.multipath='off'
network.wan2.addlatency='0'
network.wan2.metric='6'
network.wan2_dev=device
network.wan2_dev.txqueuelen='1000'
network.wan2_dev.name='wan2'
network.wan2_dev.type='macvlan'
network.wan2_dev.ifname='eth0'
network.wan2_dev.mode='vepa'
network.wan2_dev.macaddr='a6:1b:c2:18:d6:8c'
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'

@Silvanskii
Copy link
Author

--------- v0.61-snapshot-6.6-develop ---------
Special thanks for the fact that I can now see the temperature of the device again, this function has been missing for a long time and this version works!
In the log, some commands occur 2 times. After rebooting a new interface appears in the wifi tab and it has to be configured again (in kernel version 5.4 I rebooted more than 10 times and the interface was the same).
Unfortunately after times of rebooting the modems stopped working. Wan1=modem1, wan2=modem. I see that the log says everything is fine, but the names from the log and the USB names do not match.
2024-10-05_19-53-53
2024-10-05_20-04-25
2024-10-05_20-04-35
2024-10-05_20-05-03

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='6'
network.globals=globals
network.globals.ula_prefix='fdaf:fb98:e19f::/48'
network.globals.multipath='enable'
network.globals.mptcp_path_manager='fullmesh'
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.globals.mptcp_scheduler='blest'
network.globals.congestion='bbr'
network.lan=interface
network.lan.proto='static'
network.lan.ipaddr='192.168.100.1'
network.lan.netmask='255.255.255.0'
network.lan.device='br-lan'
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.lan.metric='9999'
network.lan_rule=rule
network.lan_rule.lookup='lan'
network.lan_rule.priority='100'
network.wan1=interface
network.wan1.peerdns='0'
network.wan1.modalias='usb:v2CB7p0007d0333dcEFdsc02dp01ic02isc0Eip00in00-72:4c:7 7:bb:cc:74'
network.wan1.product='2cb7/7/333'
network.wan1.proto='modemmanager'
network.wan1.device='/sys/devices/platform/soc/1c1b000.usb/usb9/9-1'
network.wan1.loglevel='ERR'
network.wan1.addlatency='0'
network.wan1.ipv6='0'
network.wan1.defaultroute='0'
network.wan1.delegate='0'
network.wan1.multipath='master'
network.wan1.apn='internet'
network.wan1.iptype='ipv4'
network.wan1.metric='3'
network.wan1_dev=device
network.wan1_dev.name='wan1'
network.wan1_dev.txqueuelen='1000'
network.wan2=interface
network.wan2.peerdns='0'
network.wan2.modalias='usb:v2CB7p0007d0333dcEFdsc02dp01ic02isc0Eip00in00-72:4c:7 7:bb:cc:74'
network.wan2.product='2cb7/7/333'
network.wan2.proto='modemmanager'
network.wan2.loglevel='ERR'
network.wan2.addlatency='0'
network.wan2.ipv6='0'
network.wan2.multipath='on'
network.wan2.defaultroute='0'
network.wan2.delegate='0'
network.wan2.apn='internet'
network.wan2.iptype='ipv4'
network.wan2.device='/sys/devices/platform/soc/1c1d000.usb/usb3/3-1/3-1.2'
network.wan2.metric='4'
network.wan2_dev=device
network.wan2_dev.name='wan2'
network.wan2_dev.txqueuelen='1000'
network.omrvpn=interface
network.omrvpn.device='tun0'
network.omrvpn.ip4table='vpn'
network.omrvpn.multipath='off'
network.omrvpn.leasetime='12h'
network.omrvpn.type='tunnel'
network.omrvpn.txqueuelen='100'
network.omrvpn.proto='none'
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.auto='0'
network.omr6in4.ip6addr='fd00::a00:2/126'
network.omr6in4.gateway='fd00::a00:1/126'
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='0x65395'
network.wan1_fw_rule6.lookup='5'
network.wan2_fw_rule6=rule6
network.wan2_fw_rule6.priority='1'
network.wan2_fw_rule6.mark='0x65396'
network.wan2_fw_rule6.lookup='6'
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.wwan1_fw_rule6=rule6
network.wwan1_fw_rule6.priority='1'
network.wwan1_fw_rule6.mark='0x65396'
network.wwan1_fw_rule6.lookup='6'
network.wwan0_fw_rule6=rule6
network.wwan0_fw_rule6.priority='1'
network.wwan0_fw_rule6.mark='0x65395'
network.wwan0_fw_rule6.lookup='5'
network.lan_dev=device
network.lan_dev.name='eth0'
network.phy2_ap0_fw_rule6=rule6
network.phy2_ap0_fw_rule6.priority='1'
network.phy2_ap0_fw_rule6.mark='0x65398'
network.phy2_ap0_fw_rule6.lookup='8'
network.@device[4]=device
network.@device[4].name='br-lan'
network.@device[4].type='bridge'
network.@device[4].ports='eth0'
network.br_lan_fw_rule6=rule6
network.br_lan_fw_rule6.priority='1'
network.br_lan_fw_rule6.mark='0x65399999'
network.br_lan_fw_rule6.lookup='9999'
network.wan3=interface
network.wan3.proto='dhcp'
network.wan3.device='eth7'
network.wan3.addlatency='0'
network.wan3.ipv6='0'
network.wan3.multipath='on'
network.wan3.defaultroute='0'
network.wan3.peerdns='0'
network.wan3.delegate='0'
network.wan3.metric='5'
network.wan3_dev=device
network.wan3_dev.name='eth7'
network.eth7_fw_rule6=rule6
network.eth7_fw_rule6.priority='1'
network.eth7_fw_rule6.mark='0x65395'
network.eth7_fw_rule6.lookup='5'
network.ppp0_fw_rule6=rule6
network.ppp0_fw_rule6.priority='1'
network.ppp0_fw_rule6.mark='0x65394'
network.ppp0_fw_rule6.lookup='4'
network.ppp1_fw_rule6=rule6
network.ppp1_fw_rule6.priority='1'
network.ppp1_fw_rule6.mark='0x65393'
network.ppp1_fw_rule6.lookup='3'
network.br_lan_fw_rule=rule
network.br_lan_fw_rule.priority='1'
network.br_lan_fw_rule.mark='0x45399999'
network.br_lan_fw_rule.lookup='9999'
network.tun0_fw_rule=rule
network.tun0_fw_rule.priority='1'
network.tun0_fw_rule.mark='0x45391500'
network.tun0_fw_rule.lookup='1500'
network.eth7_fw_rule=rule
network.eth7_fw_rule.priority='1'
network.eth7_fw_rule.mark='0x45395'
network.eth7_fw_rule.lookup='5'
network.all_fw_rule=rule
network.all_fw_rule.priority='1'
network.all_fw_rule.mark='0x4539'
network.all_fw_rule.lookup='991337'

@Silvanskii
Copy link
Author

-----0.61 - 5.4 snapshot ------
No temperature display, also wireless partition doesn't work and no free space for opkg (in 0.61 core 6.6 it all works)/
New red errors that I didn't see before, but they disappeared 6 minutes after powering on.
Most in this version and in 0.60rc1-5.4-develop the modems work fine. After rebooting everything is in place. WIFI I configured manually and it works, without web interface.
2024-10-05_20-12-32
2024-10-05_20-12-42
2024-10-05_20-24-35

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='9'
network.globals=globals
network.globals.ula_prefix='fdaf:fb98:e19f::/48'
network.globals.multipath='enable'
network.globals.mptcp_path_manager='fullmesh'
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.globals.mptcp_scheduler='blest'
network.lan=interface
network.lan.proto='static'
network.lan.ipaddr='192.168.100.1'
network.lan.netmask='255.255.255.0'
network.lan.device='br-lan'
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.lan_rule=rule
network.lan_rule.lookup='lan'
network.lan_rule.priority='100'
network.wan1=interface
network.wan1.peerdns='0'
network.wan1.modalias='usb:v2CB7p0007d0333dcEFdsc02dp01ic02isc0Eip00in00-72:4c:77:bb:cc:74'
network.wan1.product='2cb7/7/333'
network.wan1.proto='modemmanager'
network.wan1.device='/sys/devices/platform/soc/1c1b000.usb/usb2/2-1'
network.wan1.loglevel='ERR'
network.wan1.addlatency='0'
network.wan1.ipv6='0'
network.wan1.defaultroute='0'
network.wan1.delegate='0'
network.wan1.multipath='master'
network.wan1.apn='internet'
network.wan1.metric='10'
network.wan1.iptype='ipv4'
network.wan1_dev=device
network.wan1_dev.name='wan1'
network.wan1_dev.txqueuelen='1000'
network.wan2=interface
network.wan2.peerdns='0'
network.wan2.modalias='usb:v2CB7p0007d0333dcEFdsc02dp01ic02isc0Eip00in00-72:4c:77:bb:cc:74'
network.wan2.product='2cb7/7/333'
network.wan2.proto='modemmanager'
network.wan2.loglevel='ERR'
network.wan2.addlatency='0'
network.wan2.ipv6='0'
network.wan2.multipath='on'
network.wan2.defaultroute='0'
network.wan2.delegate='0'
network.wan2.apn='internet'
network.wan2.iptype='ipv4'
network.wan2.device='/sys/devices/platform/soc/1c1d000.usb/usb4/4-1/4-1.2'
network.wan2.metric='11'
network.wan2_dev=device
network.wan2_dev.name='wan2'
network.wan2_dev.txqueuelen='1000'
network.omrvpn=interface
network.omrvpn.device='tun0'
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.omrvpn.proto='none'
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.auto='0'
network.omr6in4.metric='1201'
network.omr6in4.ip6addr='fd00::a00:2/126'
network.omr6in4.gateway='fd00::a00:1/126'
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='0x65395'
network.wan1_fw_rule6.lookup='5'
network.wan2_fw_rule6=rule6
network.wan2_fw_rule6.priority='1'
network.wan2_fw_rule6.mark='0x65396'
network.wan2_fw_rule6.lookup='6'
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.wwan1_fw_rule6=rule6
network.wwan1_fw_rule6.priority='1'
network.wwan1_fw_rule6.mark='0x65396'
network.wwan1_fw_rule6.lookup='6'
network.wwan0_fw_rule6=rule6
network.wwan0_fw_rule6.priority='1'
network.wwan0_fw_rule6.mark='0x65395'
network.wwan0_fw_rule6.lookup='5'
network.lan_dev=device
network.lan_dev.name='eth0'
network.phy2_ap0_fw_rule6=rule6
network.phy2_ap0_fw_rule6.priority='1'
network.phy2_ap0_fw_rule6.mark='0x65398'
network.phy2_ap0_fw_rule6.lookup='8'
network.@device[4]=device
network.@device[4].name='br-lan'
network.@device[4].type='bridge'
network.@device[4].ports='eth0'
network.br_lan_fw_rule6=rule6
network.br_lan_fw_rule6.priority='1'
network.br_lan_fw_rule6.mark='0x65399999'
network.br_lan_fw_rule6.lookup='9999'
network.br_lan_fw_rule=rule
network.br_lan_fw_rule.priority='1'
network.br_lan_fw_rule.mark='0x45399999'
network.br_lan_fw_rule.lookup='9999'
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'

@Ysurac
Copy link
Owner

Ysurac commented Oct 6, 2024

Don't try 5.4 kernel, it's a legacy version so without any updates.
For 6.6, I'm not sure to understand correctly, you have issues with modems or wireless ?
Modems should always be same as it's using the direct USB path to modem so if modem stay on same USB port (internal or external), it should always be same modem.
For wireless, if you have issues, I would need uci show wireless

@Silvanskii
Copy link
Author

Don't try 5.4 kernel, it's a legacy version so without any updates. For 6.6, I'm not sure to understand correctly, you have issues with modems or wireless ? Modems should always be same as it's using the direct USB path to modem so if modem stay on same USB port (internal or external), it should always be same modem. For wireless, if you have issues, I would need uci show wireless

For version 6.6 there is a problem with modems. After reboot they don't work as wan1=modem1 wan2=modem1. In version 6.6 wifi and opkg works fine. I think the problem is with interface assignment. After 10 reboots in kernel 5.4 radio0=wifi0, in kernel 6.1 and 6.6 every reboot new names for the interface, but they do not change from their location, all devices are set in the same place and not removed.

@Ysurac
Copy link
Owner

Ysurac commented Oct 7, 2024

Make sure you have "Disable interfaces auto rename" checked in System->OpenMPTCProuter, "Advanced settings" tab.

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