Closed spiltmilk1111 closed 5 years ago
@spiltmilk1111 it has been tested on a ASUS router only, what router are you using?
Using an asus RTN66U optware-ng
Sent from my iPhone
On 3 Feb 2018, at 4:04 am, 1951FDG notifications@github.com wrote:
@spiltmilk1111 it has been tested on a ASUS router only, what router are you using?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@spiltmilk1111 Are you running standard stock firmware or ASUSWRT-Merlin?
Could you open a ssh session to get the output of /bin/uname -o
, and post it here
Thanks
ASUSWRT-Merlin RT-N66U 380.69-2 Sun Jan 28 06:07:49 UTC 2018 admin@RT-N66R-16B0:/tmp/home/root# /bin/uname -o ASUSWRT-Merlin admin@RT-N66R-16B0:/tmp/home/root#
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Sun, 04 Feb 2018 14:47:56 +0000 (UTC) Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
@spiltmilk1111 [1] Are you running standard stock firmware or
ASUSWRT-Merlin?
Could you open a ssh session to get the output of /bin/uname -o, and
post it here
Thanks
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [2], or mute the thread [3].
[1] https://github.com/spiltmilk1111 [2] https://githubcom/jotyGill/openpyn-nordvpn/issues/104#issuecomment-362911861 [3] https://github.com/notifications/unsubscribe-auth/AfvWh1PK8zt2z8WdB9M-spToWiw_xowaks5tRcMcgaJpZM4R3Hdj
ASUSWRT-Merlin RT-N66U 380.69-2 Sun Jan 28 06:07:49 UTC 2018
admin@RT-N66R-16B0:/tmp/home/root# /bin/uname -o ASUSWRT-Merlin admin@RT-N66R-16B0:/tmp/home/root#
i was planing on installing (mipsel,std) - http://entware-3x.zyxmon.org/binaries/mipsel/installer/install_std.sh [1]
I have checked the package list and all dependecies are met.
opkg install git-http iputils-ping procps-ng-pgrep python3-pip sudo
unzip wget
cd /opt/tmp git clone https://github.com/1951FDG/openpyn-nordvpn.git cd openpyn-nordvpn/ git checkout RT-AC86U-E5F0 git pull pip3 install -U setuptools pip3 install --upgrade .
echo "" >>/etc/passwd echo "root:x:0:0:root:/root:/bin/sh" >>/etc/passwd
different than "admin" echo "" >>/opt/etc/sudoers echo "admin ALL=(ALL) ALL" >>/opt/etc/sudoers
sudo openpyn --init
/opt/etc/init.d/S23openpyn start
DO I NEED TO SUBSTITUTE THIS LINE? GIT CHECKOUT RT-AC86U-E5F0
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Sun, 04 Feb 2018 14:47:56 +0000 (UTC) Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
@spiltmilk1111 [2] Are you running standard stock firmware or
ASUSWRT-Merlin?
Could you open a ssh session to get the output of /bin/uname -o, and
post it here
Thanks
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [3], or mute the thread [4].
[1] http://entware-3x.zyxmon.org/binaries/mipsel/installer/install_std.sh [2] https://github.com/spiltmilk1111 [3] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-362911861 [4] https://github.com/notifications/unsubscribe-auth/AfvWh1PK8zt2z8WdB9M-spToWiw_xowaks5tRcMcgaJpZM4R3Hdj
oops actually due to recent changes, i'm going to update the README file, https://github.com/jotyGill/openpyn-nordvpn/pull/106. You don't need to do GIT CHECKOUT RT-AC86U-E5F0, and you could opt to clone this master repository instead of my fork.
Regarding optware-ng, it should work, both the script itself and the nvram option, give it a try,
Hey thanks for all your time
i tried to install common dependencies on optware-ng however when i tried installing
ipkg install git-http
the package was not available....
any advice?
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Mon, 05 Feb 2018 11:36:41 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
oops actually due to recent changes, i'm going to update the README
file. You don't need to do GIT CHECKOUT RT-AC86U-E5F0, and you could opt to clone this master repository instead of my fork.
Regarding optware-ng, it should work, both the script itself and the
nvram option, give it a try,
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-363196667 [2] https://github.com/notifications/unsubscribe-auth/AfvWh7xBAIOju02OdBWBKNcyil8KmhXBks5tR1hJgaJpZM4R3Hdj
Hey do something like ipkg list | grep git
to filter all lines containing git and find the appropiate package name, or maybe you don't need it altogether if this works git clone git@github.com:jotyGill/openpyn-nordvpn.git
i get....
admin@RT-N66R-16B0:/tmp/share# git clone https://github.com/jotyGill/openpyn-nordvpn.git Cloning into 'openpyn-nordvpn'.. remote: Counting objects: 1249, done. remote: Compressing objects: 100% (94/94), done. remote: Total 1249 (delta 88), reused 87 (delta 45), pack-reused 1109 Receiving objects: 100% (1249/1249), 276.54 KiB | 184.00 KiB/s, done. Resolving deltas: 100% (775/775), done. Checking connectivity... done. admin@RT-N66R-16B0:/tmp/share# cd openpyn-nordvpn/ admin@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# git pull Already up-to-date. admin@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# pip3 install --upgrade setuptools Traceback (most recent call last): File "/opt/bin/pip3", line 5, in from pkg_resources import load_entry_point File "/opt/local/lib/python3.5/site-packages/pkg_resources/init.py", line 36, in import email.parser File "/opt/lib/python3.5/email/parser.py", line 12, in from email.feedparser import FeedParser, BytesFeedParser File "/opt/lib/python3.5/email/feedparser.py", line 27, in from email import message File "/opt/lib/python3.5/email/message.py", line 16, in from email import utils File "/opt/lib/python3.5/email/utils.py", line 29, in import socket File "/opt/lib/python3.5/socket.py", line 49, in import _socket ImportError: No module named '_socket' admin@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# pip3 install --upgrade .
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Tue, 06 Feb 2018 01:40:48 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
Hey do something like ipkg list | grep git to filter all lines
containing git and find the appropiate package name, or maybe you don't need it altogether if this works git clone git@github.com:jotyGill/openpyn-nordvpn.git
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-363366009 [2] https://github.com/notifications/unsubscribe-auth/AfvWh69SScN_sOLq2qE_WnofxNHtAqY4ks5tSB4ggaJpZM4R3Hdj
maybe skip this line, pip3 install --upgrade setuptools
, maybe it's not required on your setup
ok so i tried
cd /tmp/share/ git clone
https://github.com/jotyGill/openpyn-nordvpn.git cd openpyn-nordvpn/ git pull
and everything seems ok
sudo openpyn --init
then i get..
admin@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# sudo openpyn --init
sudo: unknown user: root sudo: unable to initialize policy plugin admin@RT-N66R-16B0:/tmp/share/openpyn-nordvpn#
after installing sudo is there something else i need to do?
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Tue, 06 Feb 2018 09:24:32 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
maybe skip this line, pip3 install --upgrade setuptools, maybe it's
not required on your setup
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-363498577 [2] https://github.com/notifications/unsubscribe-auth/AfvWh1qvzEnId_02yyHquIM67fv6ij9cks5tSIrQgaJpZM4R3Hdj
Ok, sorry for getting back late, was tired...
I had this same issue when not using entware 3x, basically if you run:
awk -F':' '{ print $1}' /etc/passwd
root won't show up, what you want to is:
vi /etc/passwd
to see contents and edits contents of fileroot:x:0:0:root:/root:/bin/sh
to the beginning of the file as the first line, all other lines should be left as is and should follow this linesudo openpyn --init
Basically when you run a ssh session to the router, you are running as root, actually the sudo commands in the script itself and the sudo before openpyn --init
is not even required since you are root already, the problem lies that root is not in the /etc/passwd file, entware 3x reads another passwd where root is defined for example and that passwd takes precedence, which is a nice added benefit of entware 3x.
And:
Another issue is that when your reboot, which I believe in your case will also be the case, /etc/passwd will reset to its default values. I believe this is probably mounted as a RAM drive on boot, hence why it is editable but doesn't save on reboots,....
So if you reboot, you may need to edit the /etc/passwd file every time.
Other solution would be to not use sudo when invoking openpyn and removing all instances of sudo in the python files before installing/upgrading openpyn
Or:
The python files have to be rewritten in such a way that the user for sudo can be specified by an argument passed to openpyn, to run sudo -u admin
for example, which would in turn run sudo as admin user, which is present in /etc/passwd by default, I don't know however if @jotyGill wants to implement that functionality to be able to specify which user will invoke the sudo commands, as there are sudo commands everywhere....
reply thank you so much for your time
after editing the /etc/passwd
it now returns...
root@RT-N66R-16B0:/tmp/share# cd /tmp/share/ root@RT-N66R-16B0:/tmp/share# git clone https://github.com/jotyGill/openpyn-nord vpn.git Cloning into 'openpyn-nordvpn'... remote: Counting objects: 1249, done. remote: Compressing objects: 100% (94/94), done. remote: Total 1249 (delta 88), reused 87 (delta 45), pack-reused 1109 Receiving objects: 100% (1249/1249), 276.54 KiB | 256.00 KiB/s, done. Resolving deltas: 100% (775/775), done. Checking connectivity... done. root@RT-N66R-16B0:/tmp/share# cd openpyn-nordvpn/ root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# git pull Already up-to-date. root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# sudo openpyn --init sudo: openpyn: command not found root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# ls LICENSE.md MANIFEST.in README.md openpyn setup.cfg setup.py root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn#
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Wed, 07 Feb 2018 13:50:42 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
Ok, sorry for getting back late, was tired...
I had this same issue when not using entware 3x, basically if you run
awk -F':' '{ print $1}' /etc/passwd ROOT won't show up, what you want to is:
* vi /etc/passwd to see contents and edits contents of file
* add root:x:0:0:root:/root:/bin/sh to the beginning of the file as
the first line, all other lines should be left and should follow this line
test again sudo openpyn --init
Basically when you run a ssh session to the router, you are running as root, actually the sudo commands in the script itself and the sudo before openpyn --init is not even required since you are root already, the problem lies that root is not in the /etc/passwd file, entware 3x reads another passwd where root is defined for example and that passwd takes precedence, which is a nice added benefit of entware 3x.
And:
Another issue is that when your reboot, which I believe in your case will also be the case, /etc/passwd will reset to its default values. I believe this is probably mounted as a RAM drive on boot, hence why it is editable but doesn't save on reboots,....
So if you reboot, you may need to edit the /etc/passwd file every time.
Other solution would be to not use sudo when invoking openpyn and removing all instances of sudo in the python files before installing/upgrading openpyn
Or:
The python files have to be rewritten in such a way that the user for sudo can be specified by an argument passed to openpyn, to run sudo -u admin, which would in turn run sudo as admin user, which is present in /etc/passwd by default, I don't know however if @jotyGill [1] wants to implement that functionality to be able to specify which user will invoke the sudo commands, as there are sudo commands everywhere....
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [2], or mute the thread [3].
[1] https://github.com/jotygill [2] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-363922638 [3] https://github.com/notifications/unsubscribe-auth/AfvWh1fFldcMwXfXQ8a1CIg3E7ZyM1hbks5tShqygaJpZM4R3Hdj
While in that directory, you have to install this package first, you've basically skipped the most important step, pip3 install --upgrade .
After you have installed openpyn, only then can you invoke it
ok i think i have done what you said but this is what it returns..
root@RT-N66R-16B0:/tmp/share# git clone https://github.com/jotyGill/openpyn-nord vpn.git Cloning into 'openpyn-nordvpn'... remote: Counting objects: 1249, done. remote: Compressing objects: 100% (94/94), done. remote: Total 1249 (delta 88), reused 87 (delta 45), pack-reused 1109 Receiving objects: 100% (1249/1249), 276.54 KiB | 225.00 KiB/s, done. Resolving deltas: 100% (775/775), done. Checking connectivity... done. root@RT-N66R-16B0:/tmp/share# cd openpyn-nordvpn/ root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# git pull Already up-to-date. root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# pip3 install --upgrade . Traceback (most recent call last): File "/opt/bin/pip3", line 5, in from pkg_resources import load_entry_point File "/opt/local/lib/python3.5/site-packages/pkg_resources/init.py", line 36, in import email.parser File "/opt/lib/python3.5/email/parser.py", line 12, in from email.feedparser import FeedParser, BytesFeedParser File "/opt/lib/python3.5/email/feedparser.py", line 27, in from email import message File "/opt/lib/python3.5/email/message.py", line 16, in from email import utils File "/opt/lib/python3.5/email/utils.py", line 29, in import socket File "/opt/lib/python3.5/socket.py", line 49, in import _socket ImportError: No module named '_socket'
what do you think?
kind regards
Adrian Ellies
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Wed, 07 Feb 2018 23:21:07 +0000 (UTC) Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
After you have installed openpyn, only then can you invoke it
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-363945381 [2] https://github.com/notifications/unsubscribe-auth/AfvWh9mgoXYfjKjoXU_JfNqG4bpH2EuLks5tSi_jgaJpZM4R3Hdj
How about installing it using
python3 setup.py install
this is what i get
root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# python3 setup.py install Traceback (most recent call last): File "setup.py", line 6, in import setuptools File "/opt/local/lib/python3.5/site-packages/setuptools/init.py", line 10, in from setuptools.extern.six.moves import filter, filterfalse, map File "/opt/local/lib/python3.5/site-packages/setuptools/extern/init.py", line 1, in from pkg_resources.extern import VendorImporter File "/opt/local/lib/python3.5/site-packages/pkg_resources/init.py", line 36, in import email.parser File "/opt/lib/python3.5/email/parser.py", line 12, in from email.feedparser import FeedParser, BytesFeedParser File "/opt/lib/python3.5/email/feedparser.py", line 27, in from email import message File "/opt/lib/python3.5/email/message.py", line 16, in from email import utils File "/opt/lib/python3.5/email/utils.py", line 29, in import socket File "/opt/lib/python3.5/socket.py", line 49, in import _socket ImportError: No module named '_socket' root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn#
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Thu, 08 Feb 2018 21:21:16 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
How about installing it using
python3 setup.py install
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-364338208 [2] https://github.com/notifications/unsubscribe-auth/AfvWh13aGg56ZNNRNzGOUmgYaPINT8f7ks5tS9XMgaJpZM4R3Hdj
you want to check your python3 installation, basically you are missing some python 3 modules, maybe run ipkg list to see what python packages are available to install
ok so i have been really busy with school and have given up on the optware install for now however have installed entware-ng and installed not sure if im doing something wrong though.
According to NordVPN, Least Busy 10 Servers, In SG With 'Load' less than 70 Which Support OPENVPN-UDP , p2p = True are : [['sg32', 6], ['sg33', 6], ['sg30', 6], ['sg41', 6], ['sg35', 7], ['sg38', 7], ['sg3', 8], ['sg31', 8], ['sg34', 9], ['sg39', 9]]
ping: invalid option -- i BusyBox v1.25.1 (2018-01-28 01:07:48 EST) multi-call binary.
Usage: ping [OPTIONS] HOST
Send ICMP ECHO_REQUEST packets to network hosts
-4,-6 Force IP or IPv6 name resolution -c CNT Send only CNT pings -s SIZE Send SIZE data bytes in packets (default:56) -t TTL Set TTL -I IFACE/IP Use interface or IP address as source -M hint Path MTU Discovery strategy [do|want|dont] -W SEC Seconds to wait for the first response (default:10) (after all -c CNT packets are sent) -w SEC Seconds until ping exits (default:infinite) (can exit earlier with -c CNT) -q Quiet, only display output at start and when finished -p Pattern to use for payload Ping Failed to: sg32 Skipping it
ping: invalid option -- i BusyBox v1.25.1 (2018-01-28 01:07:48 EST) multi-call binary.
Usage: ping [OPTIONS] HOST
Send ICMP ECHO_REQUEST packets to network hosts
-4,-6 Force IP or IPv6 name resolution -c CNT Send only CNT pings -s SIZE Send SIZE data bytes in packets (default:56) -t TTL Set TTL -I IFACE/IP Use interface or IP address as source -M hint Path MTU Discovery strategy [do|want|dont] -W SEC Seconds to wait for the first response (default:10) (after all -c CNT packets are sent) -w SEC Seconds until ping exits (default:infinite) (can exit earlier with -c CNT) -q Quiet, only display output at start and when finished -p Pattern to use for payload Ping Failed to: sg33 Skipping it
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Fri, 09 Feb 2018 05:26:27 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
you want to check your python3 installation, basically you are
missing some python 3 modules, maybe run ipkg list to see what python packages are available to install
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-364433038 [2] https://github.com/notifications/unsubscribe-auth/AfvWh35FHqgeXKHgKoqpRNnElL9fmPfbks5tTEeDgaJpZM4R3Hdj
Have you installed the dependencies as specified in the README file?
opkg install iputils-ping
and the rest.
i certainly have
opkg install git opkg install git-http opkg install iputils-ping opkg
install procps-ng-pgrep opkg install python3 opkg install python3-pip opkg install sudo opkg install unzip opkg install wget ----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Fri, 16 Feb 2018 15:14:19 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
Have you installed the dependencies as specified in the README file?
opkg install iputils-ping and the rest.
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-366385847 [2] https://github.com/notifications/unsubscribe-auth/AfvWh9nYU2uS5Cpzz8uPYqT33wo_6IkFks5tVgvLgaJpZM4R3Hdj
Looks like your "ping" is bit old and doesn't take option "-i", I could create an exception and fall back to 1 second wait between pings, if you want.
Sure
Sent from my iPhone
On 17 Feb 2018, at 11:34 am, jotyGill notifications@github.com wrote:
Looks like your "ping" is bit old and doesn't take option "-i", I could create an exception and fall back to 1 second wait between pings, if you want.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Its done, test it out by grabbing the 'test' branch.
sudo pip3 uninstall openpyn
git clone --branch test https://github.com/jotyGill/openpyn-nordvpn.git
cd openpyn-nordvpn
sudo python3 setup.py install
Awesome i'll give it a go!!!!!!!!!!!!
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Sun, 18 Feb 2018 08:11:01 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
Its done, test it out by grabbing the 'test' branch.
sudo pip3 uninstall openpyn
git clone --branch test https://github.com/jotyGill/openpyn-nordvpn.git cd openpyn-nordvpn sudo python3 setup.py install
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-366526679 [2] https://github.com/notifications/unsubscribe-auth/AfvWh4qoN1V_kUGlGyoM97Xafan5_F1bks5tWEuVgaJpZM4R3Hdj
root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# openpyn sg -t 10 --p2p
Running openpyn for the first time? running 'openpyn --update' for you :)
--2018-02-19 06:54:10-- https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip Resolving downloads.nordcdn.com.. 104.31.88.109, 104.31.89.109 Connecting to downloads.nordcdn.com|10431.88.109|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 13825195 (13M) [application/zip] Saving to: '/opt/usr/share/openpyn/ovpn.zip.8'
ovpn.zip.8 100%[=======================================================================================================>] 13.18M 835KB/s in 21s
2018-02-19 06:54:32 (645 KB/s) - '/opt/usr/share/openpyn/ovpn.zip.8' saved [13825195/13825195]
unzip: invalid option -- u BusyBox v1.25.1 (2018-01-28 01:07:48 EST) multi-call binary.
Usage: unzip [-lnopq] FILE[.zip] [FILE]... [-x FILE...] [-d DIR]
Extract FILEs from ZIP archive
-l List contents (with -q for short form) -n Never overwrite files (default: ask) -o Overwrite -p Print to stdout -q Quiet -x FILE Exclude FILEs -d DIR Extract into DIR Exception occured while wgetting zip According to NordVPN, Least Busy 10 Servers, In SG With 'Load' less than 70 Which Support OPENVPN-UDP , p2p = True are : [['sg4', 6], ['sg34', 9], ['sg5', 10], ['sg28', 11], ['sg30', 11], ['sg35', 11], ['sg41', 12], ['sg38', 13], ['sg26', 14], ['sg29', 14]]
Your 'ping' command doesn't support '-i', falling back to wait of 1 second between pings, pings will be slow
Ping Failed to: sg4 Skipping it
Ping Failed to: sg34 Skipping it
Ping Failed to: sg5 Skipping it
Ping Failed to: sg28 Skipping it
Ping Failed to: sg30 Skipping it
Ping Failed to: sg35 Skipping it
Ping Failed to: sg41 Skipping it
Ping Failed to: sg38 Skipping it
Ping Failed to: sg26 Skipping it
Ping Failed to: sg29 Skipping it
Top 0 Servers with best Ping are: []
According to NordVPN, Least Busy 10 Servers, In SG With 'Load' less than 70 Which Support OPENVPN-UDP , p2p = True are : [['sg4', 6], ['sg34', 9], ['sg5', 10], ['sg28', 10], ['sg38', 12], ['sg26', 13], ['sg35', 13], ['sg30', 14], ['sg45', 14], ['sg6', 15]]
Your 'ping' command doesn't support '-i', falling back to wait of 1 second between pings, pings will be slow
Ping Failed to: sg4 Skipping it
Its done, test it out by grabbing the 'test' branch.
sudo pip3 uninstall openpyn
git clone --branch test https://github.com/jotyGill/openpyn-nordvpn.git cd openpyn-nordvpn sudo python3 setup.py install
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-366526679 [2] https://github.com/notifications/unsubscribe-auth/AfvWh4qoN1V_kUGlGyoM97Xafan5_F1bks5tWEuVgaJpZM4R3Hdj
Your unzip doesn't support option "-u" darn it busybox! well to be fair, the version 1.25.1 came out in October 2016. Lets see how it goes, it better work this time, I don't get paid enough for this shii lol.
Do you accept donations anywhere on github?
All your help is much appreciated!!
Kind regards
Adrian Ellies
Sent from my iPhone
On 19 Feb 2018, at 8:54 am, jotyGill notifications@github.com wrote:
Your unzip doesn't support option "-u" darn it busybox! well to be fair, the version 1.25.1 came out in October 2016. Lets see how it goes, it better work this time, I don't get paid enough for this shii lol.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Thank you, Nah mate, just happy to contribute to the open source world :) If you want to help, you can help spread the word about Electronic Frontier Foundation (https://www.eff.org) and their efforts to save freedom on internet, you can donate to them. EFF maybe the only organization (nonprofit) with the potential to change the future (I mean prevent the doom) of freedom and privacy in the digital world. Kind Regards JGill
You sure you opkg install unzip
Maybe do a list of installed packages, to double check
And remember that for the router you may be better off using the nvram option and connect using the UI
inflating: ovpn_tcp/za5.nordvpn.com.tcp.ovpn inflating: ovpn_tcp/za6.nordvpn.com.tcp.ovpn inflating: ovpn_tcp/za7.nordvpn.com.tcp.ovpn inflating: ovpn_tcp/za8.nordvpn.com.tcp.ovpn inflating: ovpn_tcp/za9.nordvpn.com.tcp.ovpn Enter Openpyn options to be stored in initd service file (/opt/etc/init.d/S23openpyn, Default(Just Press Enter) is, uk : uk --max-load 70 --top-servers 10 --pings 5 --skip-dns-patch --nvram 5 --silent
The Following config has been saved in S23openpyn. You can Start it or/and Stop it with: '/opt/etc/init.d/S23openpyn start', '/opt/etc/init.d/S23openpyn stop'
To see usage options type: "openpyn -h" or "openpyn --help" root@RT-N66R-16B0:/tmp/share/openpyn-nordvpn# openpyn sg -t 10 --p2p According to NordVPN, Least Busy 10 Servers, In SG With 'Load' less than 70 Which Support OPENVPN-UDP , p2p = True are : [['sg39', 10], ['sg40', 16], ['sg3', 20], ['sg8', 20], ['sg31', 20], ['sg27', 20], ['sg34', 20], ['sg41', 20], ['sg36', 21], ['sg44', 23]]
Your 'ping' command doesn't support '-i', falling back to wait of 1 second between pings, pings will be slow
Ping Failed to: sg39 Skipping it
Ping Failed to: sg40 Skipping it
Ping Failed to: sg3 Skipping it
And remember that for the router you may be better off using the nvram option and connect using the UI?
not really sure what you mean by this..
sorry for my newbiness.
can you please explain?
Ping Failed to: sg8 Skipping it
Ping Failed to: sg31 Skipping it
Ping Failed to: sg27 Skipping it
Ping Failed to: sg34 Skipping it
Ping Failed to: sg41 Skipping it
Ping Failed to: sg36 Skipping it
Ping Failed to: sg44 Skipping it
Top 0 Servers with best Ping are: []
According to NordVPN, Least Busy 10 Servers, In SG With 'Load' less than 70 Which Support OPENVPN-UDP , p2p = True are : [['sg39', 9], ['sg34', 17], ['sg40', 18], ['sg3', 20], ['sg8', 20], ['sg31', 21], ['sg27', 21], ['sg36', 21], ['sg6', 24], ['sg35', 24]]
Your 'ping' command doesn't support '-i', falling back to wait of 1 second between pings, pings will be slow
Ping Failed to: sg39 Skipping it
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Mon, 19 Feb 2018 03:29:06 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
You sure you opkg install unzip
Maybe do a list of installed packages, to double check
And remember that for the router you may be better off using the
nvram option and connect using the UI
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-366662428 [2] https://github.com/notifications/unsubscribe-auth/AfvWh5nfP-7sW9y7zC_ekgPHRAjzAtFkks5tWVsCgaJpZM4R3Hdj
root@RT-N66R-16B0:/tmp/mnt/sdb1/entware-ng# openpyn sg -t 10 --p2p According to NordVPN, Least Busy 10 Servers, In SG With 'Load' less than 70 Which Support OPENVPN-UDP , p2p = True are : [['sg26', 12], ['sg33', 13], ['sg38', 13], ['sg32', 15], ['sg27', 15], ['sg44', 15], ['sg29', 16], ['sg31', 16], ['sg41', 17], ['sg6', 18]]
Pinging Server sg26 min/avg/max/mdev = [256, 256, 256, 0]
Pinging Server sg33 min/avg/max/mdev = [247, 248, 249, 0]
Pinging Server sg38 min/avg/max/mdev = [255, 255, 255, 0]
Pinging Server sg32 min/avg/max/mdev = [245, 246, 246, 0]
Pinging Server sg27 min/avg/max/mdev = [252, 253, 253, 0]
Pinging Server sg44 min/avg/max/mdev = [251, 252, 252, 0]
Pinging Server sg29 min/avg/max/mdev = [248, 248, 249, 0]
Pinging Server sg31 min/avg/max/mdev = [252, 253, 253, 0]
Pinging Server sg41 min/avg/max/mdev = [254, 254, 255, 0]
Pinging Server sg6 min/avg/max/mdev = [53, 53, 54, 0]
Top 10 Servers with best Ping are: ['sg6', 'sg32', 'sg33', 'sg29', 'sg44', 'sg27', 'sg31', 'sg41', 'sg38', 'sg26']
Out of the Best Available Servers, Chose sg6 CONNECTING TO SERVER sg6 ON PORT udp Not Modifying /etc/resolv.conf, DNS traffic likely won't go through the encrypted tunnel
Wed Feb 21 17:15:46 2018 OpenVPN 2.4.3 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jan 28 2018 Wed Feb 21 17:15:46 2018 library versions: OpenSSL 1.0.2n 7 Dec 2017, LZO 2.08 Wed Feb 21 17:15:46 2018 WARNING: --ping should normally be used with --ping-restart or --ping-exit Wed Feb 21 17:15:46 2018 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Wed Feb 21 17:15:46 2018 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Wed Feb 21 17:15:46 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]209.58.163.55:1194 Wed Feb 21 17:15:46 2018 Socket Buffers: R=[118784->118784] S=[118784->118784] Wed Feb 21 17:15:46 2018 UDP link local: (not bound) Wed Feb 21 17:15:46 2018 UDP link remote: [AF_INET]209.58.163.55:1194 Wed Feb 21 17:15:46 2018 TLS: Initial packet from [AF_INET]209.58.163.55:1194, sid=ac1adb0e 74ec899a Wed Feb 21 17:15:46 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Wed Feb 21 17:15:46 2018 VERIFY OK: depth=1, C=PA, ST=PA, L=Panama, O=NordVPN, OU=NordVPN, CN=sg6.nordvpn.com, name=NordVPN, emailAddress=cert@nordvpn.com Wed Feb 21 17:15:46 2018 VERIFY KU OK Wed Feb 21 17:15:46 2018 Validating certificate extended key usage Wed Feb 21 17:15:46 2018 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication Wed Feb 21 17:15:46 2018 VERIFY EKU OK Wed Feb 21 17:15:46 2018 VERIFY OK: depth=0, C=PA, ST=PA, L=Panama, O=NordVPN, OU=NordVPN, CN=sg6.nordvpn.com, name=NordVPN, emailAddress=cert@nordvpncom Wed Feb 21 17:15:47 2018 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA Wed Feb 21 17:15:47 2018 [sg6.nordvpn.com] Peer Connection Initiated with [AF_INET]209.58.163.55:1194 Wed Feb 21 17:15:48 2018 SENT CONTROL [sg6.nordvpn.com]: 'PUSH_REQUEST' (status=1) Wed Feb 21 17:15:48 2018 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,sndbuf 524288,rcvbuf 524288,dhcp-option DNS 78.46.223.24,dhcp-option DNS 162.242.211.137,route-gateway 10.8.8.1,topology subnet,ping 60,ping-restart 180,ifconfig 10.8.8.16 255.255.255.0,peer-id 1,cipher AES-256-GCM' Wed Feb 21 17:15:48 2018 OPTIONS IMPORT: timers and/or timeouts modified Wed Feb 21 17:15:48 2018 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified Wed Feb 21 17:15:48 2018 Socket Buffers: R=[118784->237568] S=[118784->237568] Wed Feb 21 17:15:48 2018 OPTIONS IMPORT: --ifconfig/up options modified Wed Feb 21 17:15:48 2018 OPTIONS IMPORT: route options modified Wed Feb 21 17:15:48 2018 OPTIONS IMPORT: route-related options modified Wed Feb 21 17:15:48 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Wed Feb 21 17:15:48 2018 OPTIONS IMPORT: peer-id set Wed Feb 21 17:15:48 2018 OPTIONS IMPORT: adjusting link_mtu to 1657 Wed Feb 21 17:15:48 2018 OPTIONS IMPORT: data channel crypto options modified Wed Feb 21 17:15:48 2018 Data Channel: using negotiated cipher 'AES-256-GCM' Wed Feb 21 17:15:48 2018 Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key Wed Feb 21 17:15:48 2018 Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key Wed Feb 21 17:15:48 2018 TUN/TAP device tun0 opened Wed Feb 21 17:15:48 2018 TUN/TAP TX queue length set to 100 Wed Feb 21 17:15:48 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0 Wed Feb 21 17:15:48 2018 /usr/sbin/ip link set dev tun0 up mtu 1500 Wed Feb 21 17:15:48 2018 /usr/sbin/ip addr add dev tun0 10.8.8.16/24 broadcast 10.8.8.255 Wed Feb 21 17:15:48 2018 /usr/sbin/ip route add 209.58.163.55/32 via 192.168.1.1 Wed Feb 21 17:15:48 2018 /usr/sbin/ip route add 0.0.0.0/1 via 10.8.8.1 Wed Feb 21 17:15:48 2018 /usr/sbin/ip route add 128.0.0.0/1 via 10.8.8.1 Wed Feb 21 17:15:48 2018 Initialization Sequence Completed
Not Modifying /etc/resolv.conf, DNS traffic likely won't go through the encrypted tunnel ................. does this mean security is compromised and also unable to resolve dns querys 'browse web"
----- Original Message ----- From: "jotyGill/openpyn-nordvpn" To:"jotyGill/openpyn-nordvpn" Cc:"spiltmilk1111" , "Mention" Sent:Mon, 19 Feb 2018 03:29:06 -0800 Subject:Re: [jotyGill/openpyn-nordvpn] optware-ng possible? (#104)
You sure you opkg install unzip
Maybe do a list of installed packages, to double check
And remember that for the router you may be better off using the
nvram option and connect using the UI
—
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/jotyGill/openpyn-nordvpn/issues/104#issuecomment-366662428 [2] https://githubcom/notifications/unsubscribe-auth/AfvWh5nfP-7sW9y7zC_ekgPHRAjzAtFkks5tWVsCgaJpZM4R3Hdj
closing old thread
Curious as if able to use with optware ng as opposed to entware?
is this a thing maybe?