Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.86k stars 269 forks source link

VPS Script install not complete #111

Closed SoGooDFR closed 6 years ago

SoGooDFR commented 6 years ago

Expected Behavior

Fresh Debian 9 install and execute : wget -O - http://www.openmptcprouter.com/server/debian9-x86_64.sh | sh And after script we get : '/root/openmptcprouter_config.txt'

Actual Behavior

No generate of /root/openmptcprouter_config.txt and not modify '/etc/motd'. No changing default ssh port 22 to 65222. Glorytun service isn't started.

Htop after script install and reboot: vps_script_htop

Steps to Reproduce the Problem

  1. Fresh OS + OpenMPTCPRouter install on VPS.
  2. No generated files by script and no changing default ssh port.

Specifications

PxxBxx commented 6 years ago

I confirm the bug with the v0.37 script, the last line output is the wget line L202 :

Resolving www.openmptcprouter.com (www.openmptcprouter.com)... 94.23.252.192
Connecting to www.openmptcprouter.com (www.openmptcprouter.com)|94.23.252.192|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 305 [application/octet-stream]
Saving to: ‘/lib/systemd/system/omr.service’

/lib/systemd/system/omr.ser 100%[==========================================>]     305  --.-KB/s    in 0s

2018-07-27 18:58:39 (49.8 MB/s) - ‘/lib/systemd/system/omr.service’ saved [305/305]

Nothing after this, the script stops, so the lines changing the port for SSH are not executed

I tried to copy/paste the 9 lines for "Add OpenMPTCPRouter service" in a separate .sh file, and all 9 lines are executed. I have no clue "why" the script stops there, sorry, I can't help.

When I do my install(s), I execute every lines one (or more) at a time, so that I can control errors (there are none... except the script stops at omr.service...)

Ysurac commented 6 years ago

I've no problem on updating but I will try on a new install

PxxBxx commented 6 years ago

BTW when upgrading, the script fails/stops when invoking :

systemctl -q disable omr-6in4

I removed the line and was able to do the upgrade (I didn't have this service beforehand, I upgraded 0.37 to 0.37, in order to fetch the new shorewall conf)

nicoz76 commented 6 years ago

same problem on a fresh install ( debian9 OVH ).