Open Ysurac opened 3 years ago
@flimo44 these packages should be installed by default. I will check if it's an error on package manager or if there are really not available.
Hello @Ysurac Can you please for RC3 correct the package link :
Downloading http://packages.openmptcprouter.com/v0.58rc3/x86_64/luci/Packages.gz *** Failed to download the package list from http://packages.openmptcprouter.com/v0.58rc3/x86_64/luci/Packages.gz
Merci
@flimo44 fixed
@Ysurac when upgrading RC3 i have this error on VPS side:
Reading state information... Done python3-jwt is already the newest version (1.7.0-2). python3-netaddr is already the newest version (0.7.19-1). python3-passlib is already the newest version (1.7.1-1). libuv1 is already the newest version (1.34.2-1). python3-uvloop is already the newest version (0.14.0+ds1-1). 0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done python3-aiofiles is already the newest version (0.4.0-2). ipcalc is already the newest version (0.41-5). jq is already the newest version (1.5+dfsg-2+b1). python3-netifaces is already the newest version (0.10.4-1+b1). python3-psutil is already the newest version (5.5.1-1). python3-uvicorn is already the newest version (0.11.5-1). 0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded. -- pip3 install needed python modules netjsonconfig 0.9.1 has requirement jinja2<3.0,>=2.9, but you'll have jinja2 3.0.1 which is incompatible. Reading package lists... Done Building dependency tree Reading state information... Done
Anyway it was installing other things anyway, and seems to finish fine. Will check gateway side for wg aggregation. Thanks
I did a quick check, despite for the PK key bug on WGWAN interface that is still there, it seems that on upload side the aggregation is not working well.
With WG enabled on the WAN:
With WG disabled on the WAN:
Currently i'm outside and can't test more, but i did 5 speedtests for each WG on and off. Will check more later. Thanks.
Hello @Ysurac
I have this error every hour in the system log in RC3 : ?
Fri May 21 09:02:16 2021 daemon.err omr-tracker[19536]: /bin/omr-tracker: eval: line 1132: openmptcprouter.wan1.multipath: not found
Fri May 21 09:02:16 2021 daemon.err omr-tracker[19536]: /bin/omr-tracker: eval: line 1132: openmptcprouter.wan2.multipath: not found
Fri May 21 09:02:16 2021 daemon.err omr-tracker[19536]: /bin/omr-tracker: eval: line 1132: openmptcprouter.omrvpn.multipath: not found
Fri May 21 09:02:16 2021 daemon.err omr-tracker[19536]: /bin/omr-tracker: eval: line 1132: openmptcprouter.loopback.multipath: not found
Fri May 21 09:02:16 2021 daemon.err omr-tracker[19536]: /bin/omr-tracker: eval: line 1132: openmptcprouter.lan.multipath: not found
Fri May 21 09:02:16 2021 daemon.err omr-tracker[19536]: /bin/omr-tracker: eval: line 1132: openmptcprouter.omr6in4.multipath: not found
Fri May 21 09:02:16 2021 daemon.err omr-tracker[19536]: /bin/omr-tracker: eval: line 1132: openmptcprouter.LAN_FB.multipath: not found
Fri May 21 09:03:02 2021 daemon.err omr-tracker[19537]: Usage: uci [
@flimo44 I compiled RC4 that fix this issue (a big typo...)
hello RC4 not OK for me. Many error in log , very slow. ping OpenMptcpRouter very bad ( openmptcprouter-v0.58rc4-r0+16336-b36068d35d-x86-64-generic-ext4-combined.img ).
i tested a bit, here is what i sorted:
Will update if will find more. Thanks
@Malaga82 VPS script is updated to latest release ? I have no issues with WG PK. I don't understand the 8, you have another wireguard VPN ?
@Ysurac i re-launched the script yesterday with RC4, and before with RC2. i'm on Version 0.1025-test 5.4.100-mptcp. Well, i don't know, but everytime i use WG and it creates a WGWAN interface, it has no PK filled. Maybe something remains in config even if VPN WAN interface is removed? for 8. i have a wireguard server and forwarded the port for accessing lan home. But the first time it's not connecting, the second time is fine. I used WG official client for Windows. WIll check with other clients, maybe it's the client. Thanks
@Malaga82 can you give me the result of uci show network
and uci show openmptcprouter
(without VPS ip) after you set MPTCP over VPN and when PK are not filled ? And how you set it ?
@Ysurac here it is:
root@OpenMPTCProuter:~# uci show network
network.loopback=interface network.loopback.ifname='lo' network.loopback.proto='static' network.loopback.ipaddr='127.0.0.1' network.loopback.netmask='255.0.0.0' network.loopback.multipath='off' network.loopback.macaddr='00:00:00:00:00:00' network.loopback.metric='1' network.globals=globals network.globals.multipath='enable' network.globals.mptcp_path_manager='fullmesh' network.globals.mptcp_checksum='0' network.globals.mptcp_debug='0' network.globals.mptcp_fullmesh_create_on_err='1' network.globals.mptcp_ndiffports_num_subflows='1' network.globals.mptcp_scheduler='blest' network.globals.mptcp_fullmesh_num_subflows='2' network.globals.congestion='cubic' network.globals.ula_prefix='fd46:da54:b5de::/48' network.globals.mptcp_syn_retries='3' network.globals.mptcp_rr_cwnd_limited='Y' network.globals.mptcp_rr_num_segments='1' network.lan=interface network.lan.ifname='eth0' network.lan.proto='static' network.lan.netmask='255.255.255.0' network.lan.ip6assign='60' network.lan.delegate='0' network.lan.ip4table='lan' network.lan.macaddr='d2:76:e9:19:f8:13' network.lan.metric='2' network.lan.ipaddr='192.168.1.254' network.lan.defaultroute='0' network.lan.peerdns='0' network.lan.multipath='off' network.lan.ipv6='0' network.lan_rule=rule network.lan_rule.lookup='lan' network.lan_rule.priority='100' network.wan1=interface network.wan1.ifname='eth1' network.wan1.proto='static' network.wan1.ip4table='wan' network.wan1.defaultroute='0' network.wan1.macaddr='1e:c0:b0:92:87:4a' network.wan1.ipv6='0' network.wan1.metric='3' network.wan1.peerdns='0' network.wan1.label='FTTC' network.wan1.ipaddr='192.168.2.200' network.wan1.netmask='255.255.255.0' network.wan1.gateway='192.168.2.254' network.wan1.dns='192.168.1.20' '94.140.15.15' network.wan1.addlatency='0' network.wan1.multipath='master' network.wan2=interface network.wan2.proto='static' network.wan2.ip4table='wan' network.wan2.defaultroute='0' network.wan2.macaddr='b6:ed:6f:31:be:ed' network.wan2.ipv6='0' network.wan2.peerdns='0' network.wan2.label='4G' network.wan2.netmask='255.255.255.0' network.wan2.ifname='eth2' network.wan2.dns='94.140.14.14' '94.140.15.15' network.wan2.ipaddr='192.168.8.200' network.wan2.gateway='192.168.8.1' network.wan2.addlatency='0' network.wan2.metric='4' network.wan2.multipath='off' network.omrvpn=interface network.omrvpn.ifname='tun0' network.omrvpn.ip4table='vpn' network.omrvpn.multipath='off' network.omrvpn.leasetime='12h' network.omrvpn.type='tunnel' network.omrvpn.ipv6='0' network.omrvpn.proto='none' network.omrvpn.txqueuelen='100' network.omrvpn.metric='1200' network.omr6in4=interface network.omr6in4.proto='6in4' network.omr6in4.ip4table='vpn' network.omr6in4.multipath='off' network.omr6in4.auto='0' network.omr6in4.ip6addr='fe80::a00:2/126' network.omr6in4.gateway='fe80::a00:1/126' network.omr6in4.metric='1201' network.omr6in4.ipaddr='10.255.255.2' network.omr6in4.peeraddr='10.255.255.1' network.WAN3=interface network.WAN3.proto='static' network.WAN3.ifname='eth3' network.WAN3.label='4G_VF' network.WAN3.addlatency='0' network.WAN3.ipaddr='192.168.0.253' network.WAN3.netmask='255.255.255.0' network.WAN3.gateway='192.168.0.1' network.WAN3.dns='94.140.14.14' '94.140.15.15' network.WAN3.macaddr='9a:35:c4:27:9a:af' network.WAN3.defaultroute='0' network.WAN3.peerdns='0' network.WAN3.ipv6='0' network.WAN3.metric='6' network.WAN3.multipath='on' network.wgwan2=interface network.wgwan2.nohostroute='1' network.wgwan2.proto='wireguard' network.wgwan2.fwmark='0x5394' network.wgwan2.addresses='10.255.247.4/24' network.wgwan2.private_key='X' network.wgwan2.gateway='10.255.247.1' network.wgwan2.public_key='X' network.wgwan2.multipath='on' network.wgwan2.metric='7' network.wgwan2.defaultroute='0' network.wgwan2.peerdns='0' network.wgwan2.ipv6='0' network.@wireguard_wgwan2[0]=wireguard_wgwan2 network.@wireguard_wgwan2[0].description='Wireguard on wan2' network.@wireguard_wgwan2[0].endpoint_host='X' network.@wireguard_wgwan2[0].endpoint_port='65311' network.@wireguard_wgwan2[0].persistent_keepalive='28' network.@wireguard_wgwan2[0].allowed_ips='0.0.0.0/0'
root@OpenMPTCProuter:~# uci show openmptcprouter
openmptcprouter.settings=settings openmptcprouter.settings.enabled='1' openmptcprouter.settings.disable_ipv6='1' openmptcprouter.settings.check_ipv4_website='http://ip.openmptcprouter.com' openmptcprouter.settings.check_ipv6_website='http://ipv6.openmptcprouter.com' openmptcprouter.settings.enable_nodelay='1' openmptcprouter.settings.scaling_governor='performance' openmptcprouter.settings.shadowsocks_disable='0' openmptcprouter.settings.firstboot='0' openmptcprouter.settings.disable_fastopen='0' openmptcprouter.settings.external_check='1' openmptcprouter.settings.debug='0' openmptcprouter.settings.defaultgw='1' openmptcprouter.settings.tracebox='1' openmptcprouter.settings.proxy='shadowsocks' openmptcprouter.settings.menu='OpenMPTCProuter' openmptcprouter.settings.serial='Not' openmptcprouter.settings.shadowsocksudp='0' openmptcprouter.settings.disableintfrename='0' openmptcprouter.settings.ha='1' openmptcprouter.settings.vpn='glorytun_tcp' openmptcprouter.settings.vnstat_backup='1' openmptcprouter.settings.dns64='0' openmptcprouter.settings.modemmanager='1' openmptcprouter.settings.sfe_enabled='0' openmptcprouter.settings.sfe_bridge='0' openmptcprouter.settings.disablegwping='0' openmptcprouter.settings.allmptcpovervpn='0' openmptcprouter.settings.disableloopdetection='0' openmptcprouter.settings.version='0.58rc4' openmptcprouter.settings.status_vps_timeout='3' openmptcprouter.settings.status_getip_timeout='3' openmptcprouter.settings.master='dynamic' openmptcprouter.settings.disableserverping='1' openmptcprouter.settings.apilc='1622220849' openmptcprouter.settings.mptcpovervpn='wireguard' openmptcprouter.omr=router openmptcprouter.omr.detected_public_ipv4='X' openmptcprouter.omr.detected_ss_ipv4='X' openmptcprouter.omr.ss_sss0='up' openmptcprouter.wan1=interface openmptcprouter.wan1.metric='3' openmptcprouter.wan1.multipathvpn='0' openmptcprouter.wan1.manufacturer='huawei' openmptcprouter.wan1.mptcp_status='MPTCP enabled' openmptcprouter.wan1.mtu='1492' openmptcprouter.wan1.state='up' openmptcprouter.wan1.publicip='X' openmptcprouter.wan1.asn='ADSL-NX' openmptcprouter.wan1.multipath='master' openmptcprouter.wan1.lc='1622221903' openmptcprouter.wan1.latency_previous='45' openmptcprouter.wan1.latency='42' openmptcprouter.wan2=interface openmptcprouter.wan2.metric='4' openmptcprouter.wan2.mtu='1422' openmptcprouter.wan2.asn='MOBILE' openmptcprouter.wan2.mptcp_status='MPTCP enabled' openmptcprouter.wan2.manufacturer='huawei' openmptcprouter.wan2.publicip='X' openmptcprouter.wan2.state='up' openmptcprouter.wan2.multipathvpn='1' openmptcprouter.wan2.multipath='off' openmptcprouter.wan2.lc='1622221899' openmptcprouter.wan2.latency_previous='158' openmptcprouter.wan2.latency='260' openmptcprouter.omrvpn=interface openmptcprouter.omrvpn.multipath='off' openmptcprouter.omrvpn.state='down' openmptcprouter.omrvpn.metric='1200' openmptcprouter.loopback=interface openmptcprouter.loopback.multipath='off' openmptcprouter.loopback.metric='1' openmptcprouter.lan=interface openmptcprouter.lan.metric='2' openmptcprouter.lan.multipathvpn='0' openmptcprouter.lan.multipath='off' openmptcprouter.omr6in4=interface openmptcprouter.omr6in4.multipath='off' openmptcprouter.omr6in4.metric='1201' openmptcprouter.latest_versions=latest_versions openmptcprouter.latest_versions.omr='0.57.3' openmptcprouter.latest_versions.vps='0.1024' openmptcprouter.latest_versions.lc='1622220366' openmptcprouter.server_IT_backup=server openmptcprouter.server_IT_backup.username='openmptcprouter' openmptcprouter.server_IT_backup.get_config='0' openmptcprouter.server_IT_backup.password='XXX' openmptcprouter.server_IT_backup.port='65500' openmptcprouter.server_IT_backup.redirect_ports='0' openmptcprouter.server_IT_backup.nofwredirect='0' openmptcprouter.server_IT_backup.pihole='0' openmptcprouter.server_IT_backup.kernel='5.4.81-mptcp' openmptcprouter.server_IT_backup.machine='x86_64' openmptcprouter.server_IT_backup.omr_version='0.1023' openmptcprouter.server_IT_backup.master='0' openmptcprouter.server_IT_backup.backup='1' openmptcprouter.server_IT_backup.lastbackup='1613207072.9011' openmptcprouter.server_IT_backup.admin_error='0' openmptcprouter.server_IT_backup.ip='XXX' openmptcprouter.server_IT_backup.token='XXX' openmptcprouter.server_IT_backup.lastchange='1622222007' openmptcprouter.server_IT_backup.set_firewall='1' openmptcprouter.WAN3=interface openmptcprouter.WAN3.metric='6' openmptcprouter.WAN3.multipathvpn='0' openmptcprouter.WAN3.manufacturer='huawei' openmptcprouter.WAN3.mptcp_status='MPTCP enabled' openmptcprouter.WAN3.asn='VODAFONE' openmptcprouter.WAN3.publicip='X' openmptcprouter.WAN3.state='up' openmptcprouter.WAN3.multipath='on' openmptcprouter.WAN3.lc='1622221962' openmptcprouter.WAN3.latency_previous='122' openmptcprouter.WAN3.latency='108' openmptcprouter.vps=server openmptcprouter.vps.username='openmptcprouter' openmptcprouter.vps.password='XX' openmptcprouter.vps.port='65500' openmptcprouter.vps.ipv6='XXX' openmptcprouter.vps.pihole='0' openmptcprouter.vps.machine='x86_64' openmptcprouter.vps.nofwredirect='0' openmptcprouter.vps.available_vpn='glorytun_tcp' 'glorytun_udp' 'dsvpn' 'openvpn' 'openvpn_bonding' 'mlvpn' openmptcprouter.vps.redirect_ports='0' openmptcprouter.vps.get_config='0' openmptcprouter.vps.master='1' openmptcprouter.vps.backup='0' openmptcprouter.vps.lastbackup='1613207073.184747' openmptcprouter.vps.kernel='5.4.100-mptcp' openmptcprouter.vps.omr_version='0.1025-test' openmptcprouter.vps.admin_error='0' openmptcprouter.vps.ip='X' openmptcprouter.vps.token='XXX' openmptcprouter.vps.lastchange='1622222008' openmptcprouter.vps.set_firewall='1' openmptcprouter.wgwan2=interface openmptcprouter.wgwan2.multipath='on' openmptcprouter.wgwan2.vpn='1' openmptcprouter.wgwan2.baseintf='wan2' openmptcprouter.wgwan2.metric='7' openmptcprouter.wgwan2.state='down'
@Malaga82 Did you import an old config ? Did you try to check in the wizard, "Advanced settings" checkbox, "Force retrieve settings" and validate ?
This should add an openmptcprouter.vps.wgkey
entry in the uci show openmptcprouter
output
@Ysurac yes, i can't really not import it, as i have many things setted up and can't check one by one. I'll try with "force retrieve settings". BTW with WG on i have poor upload performance on that WAN: is something you are aware of? Thanks
did the procedure for port forwarding change? I do not see a "Use V2Ray" box in the port forwarding https://github.com/Ysurac/openmptcprouter/wiki/Port-forwarding-using-v2ray
@bobafetthotmail No changes. You see v2ray box in advanced settings tab when you select VPN as source zone.
hello @Ysurac I have this error : Wed Jun 2 14:13:36 2021 daemon.warn odhcpd[15554]: A default route is present but there is no public prefix on lan thus we don't announce a default route! Wed Jun 2 14:13:36 2021 daemon.err odhcpd[15554]: Failed to send to ff02::1%lan@eth0 (Permission denied)
(openmptcprouter v0.58rc5 r0+16336-b36068d35d )
@flimo44 Did you try to validate the wizard again ?
in /network/firewall/forwards "this device" in not really the right device that have the open port. If i edit i see the correct one.
@Malaga82 it's the match column, and redirection really come from VPN and go to router before doing what you have in action column.
oh ok, delete that, i thought on 0.57 it was pointing to the internal lan device. my bad
@flimo44 Did you try to validate the wizard again ?
Yes ( j'avais dรฉjร fait ) same error
@flimo44 what you have in Network->Interfaces, Edit LAN, DHCP server tab, IPv6 settings sub tab ?
@flimo44 what you have in Network->Interfaces, Edit LAN, DHCP server tab, IPv6 settings sub tab ?
Edit : run again VPS script ( 2 fois ) , reboot VPS and validate the wizard again : it,s become OK..... ( A suivre car j'ai vu passer 2 pertes du VPN. Depuis 5 minutes รงa semble tenir je vais surveiller les logs, ....)
Bizarre cette erreur : Wed Jun 2 17:58:47 2021 daemon.err omr-tracker[12929]: Segmentation fault Wed Jun 2 17:58:47 2021 kern.info kernel: [56742.128732] traps: logread[29509] general protection fault ip:7f69858a64e9 sp:7fffb3c7a5b0 error:0 in libc.so[7f6985865000+49000]
@Bumpalert I try to fix that @techworldthink for Release Candidate yes, it's from master branch. There is a v0.58rc1 tag.
dynamic dns in the 0.58rc2 is working for VPS server.
hello ,
Ip V6 is OK now ๐
Error systeme log after installed qemu-ga :
Wed Jun 2 21:48:04 2021 daemon.err qemu-ga[10998]: 1622663284.695172: critical: error opening channel: No such file or directory Wed Jun 2 21:48:04 2021 daemon.err qemu-ga[10998]: 1622663284.695401: critical: error opening channel Wed Jun 2 21:48:04 2021 daemon.err qemu-ga[10998]: 1622663284.695509: critical: failed to create guest agent channel Wed Jun 2 21:48:04 2021 daemon.err qemu-ga[10998]: 1622663284.700070: critical: failed to initialize guest agent channel
A Other message i don't anderstand. Where is set this limitation of 10Mbit , sqm QoS ?
Wed Jun 2 20:41:00 2021 daemon.info vnstatd[30057]: Info: Traffic rate for "tun0" higher than set maximum 10 Mbit (20s->27262976, r9493299 t38521979, 64bit:1), syncing. Wed Jun 2 20:41:40 2021 daemon.info vnstatd[30057]: Info: Traffic rate for "tun0" higher than set maximum 10 Mbit (20s->27262976, r11691821 t27956600, 64bit:1), syncing.
it's activated , but not 10Mbit limitation fixed for tun0 :
@flimo44 I will test qemu-qa but did you try a reboot ? You have nothing in log before the error ? You are using proxmox ? For the message, it's related to vnstat, not to SQM. vnstat is used to monitor traffic usage, no problem here.
@flimo44 I will test qemu-qa but did you try a reboot ? You have nothing in log before the error ? You are using proxmox ? For the message, it's related to vnstat, not to SQM. vnstat is used to monitor traffic usage, no problem here.
@Ysurac On my virtual Manadger qmenu seems to work despite the error. Otherwise I tried to restore the backup and since then it looks much better. I don't see any more error for the moment in the logs.
New error 1 time : Thu Jun 3 03:17:20 2021 daemon.info vnstatd[8666]: Error: Exec step failed (8: attempt to write a readonly database): "update interface set rxtotal=rxtotal+1213043, txtotal=txtotal+255324 where id=2" Thu Jun 3 03:17:20 2021 daemon.info vnstatd[8666]: Error: Fatal database error detected, exiting.
For your info I noticed that in the router is a Multi-IP issue for this rc5
At every reboot all remote servers for shadowsocks-libev get into disabled state as well as the redir rules, this in turn prevent in some circumstances the correct forward to operate and therefore traffic to exit always with main IP.
Forcing the file /etc/config/shadowsocks-libev removes the tick graphically but doesn't necessarily solve the problem
@gnosoz I found the issue, this will be solved for final release (or next rc)
but here seems ok: and here too: I have "Dynamic Change" as Master selection, and used to works well.
@Malaga82 I would need the result of uci show network
and uci show openmptcprouter
without keys and VPS IP.
Will post it as soon as see the issue again, it disappeared after going to /network/mptcp/settings
and /system/openmptcprouter
.
if you can sort it anyway, i'll post it.
Thanks
@Malaga82 as you are in dynamic change this can be due to a refresh while settings are updated. Why do you use dynamc mode and not balancing ?
@Ysurac should I? What "Balancing" do? i mean, i used to have dynamic with 0.57 and since sometimes my master go down for VDSL re-sync, the master will switch to another WAN and then go back to FTTC WAN as soon as it's back on again. Never had issue on 0.57 that way. But if i should use "Balancing", i can switch and try that. Thanks
@Malaga82 Balancing use all interfaces as route to the VPS in a load balancing mode with a higher priority for master. This should help to have no downtime when a connection is down.
@gnosoz I found the issue, this will be solved for final release (or next rc)
Can you advise roughly which script is causing it so I can start the to test it?๐
@gnosoz You can try snapshot image: https://download.openmptcprouter.com/develop/5.4/ It was in openmptcprouter-vps init script: https://github.com/Ysurac/openmptcprouter-feeds/blob/develop/openmptcprouter/files/etc/init.d/openmptcprouter-vps
OpenMPTCProuter v0.58 is out now. I need to write some docs for IPv6 full support.
Hello, Ysurac!
I'm having a problem after updating VPS and sysupgrading router (Pi4B) to .1026 and 0.58 respectively.
Since update router status page says:
Server: Can't get public IP address from ShadowSocks Can't contact Server Admin Script (No token yet available)
WAN interfaces: No Server http response after 1 second
But I can access server by ssh, it has connectivity. If I ssh on router - it can ping and traceroute to server.
I reinstalled router from scratch by flashing new image to sdcard. Problem remains.
Any more info needed?
Thank you.
Check State->System log. Did you reboot VPS after upgrade ?
Yes, VPS was rebooted.
System log has this: user.notice OMR-VPS: Can't get vps token, try later (can ping server NUC on xxxxxxx.net, no server API answer on xxxxxxx.net)
Since vps is behind router on site - I can see packets come to port 65500 from my router, but server is not answering. If I do netstat -l on server I can't see any open 65000 port. (see output below):
root@MPTCPserv:~# netstat -l Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:65101 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:65101 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:65301 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:65401 0.0.0.0: LISTEN tcp 0 0 localhost:10085 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:65222 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:65001 0.0.0.0: LISTEN tcp6 0 0 [::]:65400 [::]: LISTEN tcp6 0 0 [::]:65228 [::]: LISTEN udp 0 0 0.0.0.0:65357 0.0.0.0: udp 0 0 0.0.0.0:65358 0.0.0.0: udp 0 0 0.0.0.0:bootps 0.0.0.0: udp 0 0 0.0.0.0:bootpc 0.0.0.0: udp 0 0 localhost:323 0.0.0.0: udp 0 0 localhost:8839 0.0.0.0: udp 0 0 0.0.0.0:65101 0.0.0.0: udp 0 0 0.0.0.0:65101 0.0.0.0: udp 0 0 0.0.0.0:65201 0.0.0.0: udp 0 0 0.0.0.0:65202 0.0.0.0: udp 0 0 0.0.0.0:65203 0.0.0.0: udp 0 0 0.0.0.0:65204 0.0.0.0: udp 0 0 0.0.0.0:65205 0.0.0.0: udp 0 0 0.0.0.0:65206 0.0.0.0: udp 0 0 0.0.0.0:65207 0.0.0.0: udp 0 0 0.0.0.0:65208 0.0.0.0: udp 0 0 0.0.0.0:65301 0.0.0.0: udp 0 0 0.0.0.0:65311 0.0.0.0: udp 0 0 0.0.0.0:65351 0.0.0.0: udp 0 0 0.0.0.0:65352 0.0.0.0: udp 0 0 0.0.0.0:65353 0.0.0.0: udp 0 0 0.0.0.0:65354 0.0.0.0: udp 0 0 0.0.0.0:65355 0.0.0.0: udp 0 0 0.0.0.0:65356 0.0.0.0: udp6 0 0 localhost:323 [::]: udp6 0 0 [::]:65001 [::]: udp6 0 0 [::]:65311 [::]: raw6 0 0 [::]:ipv6-icmp [::]:* 7 Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 4736 /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 4740 /var/run/pcscd/pcscd.comm unix 2 [ ACC ] STREAM LISTENING 2518 /run/systemd/private unix 2 [ ACC ] STREAM LISTENING 52701 /run/user/0/systemd/private unix 2 [ ACC ] STREAM LISTENING 2528 /run/systemd/fsck.progress unix 2 [ ACC ] SEQPACKET LISTENING 2531 /run/udev/control unix 2 [ ACC ] STREAM LISTENING 52707 /run/user/0/gnupg/S.gpg-agent.ssh unix 2 [ ACC ] STREAM LISTENING 52710 /run/user/0/gnupg/S.dirmngr unix 2 [ ACC ] STREAM LISTENING 52712 /run/user/0/gnupg/S.gpg-agent.browser unix 2 [ ACC ] STREAM LISTENING 52714 /run/user/0/gnupg/S.gpg-agent unix 2 [ ACC ] STREAM LISTENING 52716 /run/user/0/gnupg/S.gpg-agent.extra unix 2 [ ACC ] STREAM LISTENING 2540 /run/systemd/journal/stdout
API is not running on the VPS side. Try to do a systemctl restart omr-admin
It seems like API is repeatedly restarting, because when I do
systemctl status omr-admin.service
I repeatedly get "running" and "FAILED" responses. See below:
root@MPTCPserv:/# systemctl status omr-admin.service โ omr-admin.service - OMR-Admin Loaded: loaded (/lib/systemd/system/omr-admin.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2021-06-14 20:45:33 MSK; 11s ago Process: 23510 ExecStart=/usr/bin/omr-admin.py (code=exited, status=1/FAILURE) Main PID: 23510 (code=exited, status=1/FAILURE)
Jun 14 20:45:33 MPTCPserv systemd[1]: omr-admin.service: Service RestartSec=100ms expired, scheduling restart. Jun 14 20:45:33 MPTCPserv systemd[1]: omr-admin.service: Scheduled restart job, restart counter is at 5. Jun 14 20:45:33 MPTCPserv systemd[1]: Stopped OMR-Admin. Jun 14 20:45:33 MPTCPserv systemd[1]: omr-admin.service: Start request repeated too quickly. Jun 14 20:45:33 MPTCPserv systemd[1]: omr-admin.service: Failed with result 'exit-code'. Jun 14 20:45:33 MPTCPserv systemd[1]: Failed to start OMR-Admin. root@MPTCPserv:/# systemctl status omr-admin.service โ omr-admin.service - OMR-Admin Loaded: loaded (/lib/systemd/system/omr-admin.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2021-06-14 20:45:46 MSK; 207ms ago Main PID: 23733 (omr-admin.py) Tasks: 1 (limit: 4915) Memory: 24.9M CGroup: /system.slice/omr-admin.service โโ23733 /usr/bin/python3 /usr/bin/omr-admin.py
Jun 14 20:45:46 MPTCPserv systemd[1]: Started OMR-Admin. root@MPTCPserv:/# systemctl status omr-admin.service โ omr-admin.service - OMR-Admin Loaded: loaded (/lib/systemd/system/omr-admin.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2021-06-14 20:45:48 MSK; 219ms ago Main PID: 23761 (omr-admin.py) Tasks: 1 (limit: 4915) Memory: 27.5M CGroup: /system.slice/omr-admin.service โโ23761 /usr/bin/python3 /usr/bin/omr-admin.py
Jun 14 20:45:48 MPTCPserv systemd[1]: Started OMR-Admin. root@MPTCPserv:/# systemctl status omr-admin.service โ omr-admin.service - OMR-Admin Loaded: loaded (/lib/systemd/system/omr-admin.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2021-06-14 20:45:48 MSK; 1s ago Process: 23761 ExecStart=/usr/bin/omr-admin.py (code=exited, status=1/FAILURE) Main PID: 23761 (code=exited, status=1/FAILURE)
Jun 14 20:45:48 MPTCPserv systemd[1]: omr-admin.service: Service RestartSec=100ms expired, scheduling restart. Jun 14 20:45:48 MPTCPserv systemd[1]: omr-admin.service: Scheduled restart job, restart counter is at 5. Jun 14 20:45:48 MPTCPserv systemd[1]: Stopped OMR-Admin. Jun 14 20:45:48 MPTCPserv systemd[1]: omr-admin.service: Start request repeated too quickly. Jun 14 20:45:48 MPTCPserv systemd[1]: omr-admin.service: Failed with result 'exit-code'. Jun 14 20:45:48 MPTCPserv systemd[1]: Failed to start OMR-Admin.
What is the result of ps aux | grep omr
and /usr/bin/omr-admin.py
?
root@MPTCPserv:/# ps aux | grep omr root 480 0.0 0.0 6856 3528 ? Ss 20:21 0:01 /bin/bash /usr/local/bin/omr-service root 539 0.0 0.0 0 0 ? I< 20:21 0:00 [omr-bonding] root 2331 0.0 0.1 24540 16004 ? Rs 20:57 0:00 /usr/bin/python3 /usr/bin/omr-admin.py root 2333 0.0 0.0 6072 884 pts/1 S+ 20:57 0:00 grep omr
root@MPTCPserv:/# /usr/bin/omr-admin.py
Traceback (most recent call last):
File "/usr/bin/omr-admin.py", line 773, in
There is a problem in /etc/openmptcprouter-vps-admin/omr-admin-config.json
OK. How can I fix it to get OMR to work?
Changes:
Server script:
Previous Beta
**V0.58 Beta 1:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58beta1/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` _Know issues:_ * Some translation problem like "MacVLAN" in wizard instead of "VLAN" * Patch for 16 WANs support not added * V2Ray issue **V0.58 Beta 2:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58beta2/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` _Know issues:_ * Wrong display of not good firewall zone in status page when MPTCP over VPN enabled **V0.58 Beta 3:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58beta3/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` _Know issues:_ * Tracker still running for omrvpn interface even when VPN is set as none * OpenVPN TCP issues **V0.58 Beta 4:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58beta4/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` _Know issues:_ * Tracker set interface down if gateway doesn't answer to ping * OMR-ByPass issue with domains **V0.58 Beta 5:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58beta5/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` **V0.58 Beta 6:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58beta6/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` **V0.58 Beta 7:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58beta7/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` **V0.58 RC1:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58rc1/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` _Know issues:_ * Some translation issues * ModemManager protocol not working * Wrong theme after update * MPTCP over VPN issues **V0.58 RC2:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58rc2/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` **V0.58 RC3:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58rc3/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` _Know issues:_ * Error in omr-tracker script on loop detection, RC4 is compiling. **V0.58 RC4:** _Images_: https://download.openmptcprouter.com/refs/tags/v0.58rc4/5.4/ _VPS script_: ```wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh``` _Know issues:_ * Packages list not updated after upgrade (fixed in develop branch)V0.58 RC5: Images: https://download.openmptcprouter.com/refs/tags/v0.58rc5/5.4/ VPS script:
wget -O - http://www.openmptcprouter.com/server-test/debian10-x86_64.sh | sh