Comments (15)
Do you have docker installed on your system? That seems to be a problem when executing /usr/bin/docker
(https://github.com/MatthiasLohr/docker-f5fpc/blob/master/f5fpc-client.py#L128).
If that's true, I should consider a test for checking the docker setup.
from docker-f5fpc.
Those lines above were from my macbook.
I have docker installed, but I don't see a /usr/bin/docker
.
Seems like it's in /usr/local/bin/docker
➜ docker-f5fpc git:(master) which docker
/usr/local/bin/docker
Btw, I also tried it in a linux box.
Docker is installed in /usr/bin/docker
there.
antouank@antergos-vm [09:07:33] [~]
-> % docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
antouank@antergos-vm [09:07:36] [~]
-> % file /usr/bin/docker
/usr/bin/docker: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=651a1e6e03c7d193f8781800ec8a53b88199693a, not stripped, with debug_info
But I get this error there.
antouank@antergos-vm [09:10:57] [~/_REPOS_/docker-f5fpc] [master]
-> % sudo ./f5fpc-client.py connect.something.com someuser
File "./f5fpc-client.py", line 37
if os.getuid() <> 0 and args.networks and len(args.networks) > 0:
^
SyntaxError: invalid syntax
I actually care more about the linux version, because I want to switch from a macbook to a linux laptop.
Would that script for f5 vpn work there?
from docker-f5fpc.
I'm using that script with Ubuntu 17.10 (and was also developed with this OS). It would be nice to get it also running with Mac, so if you are willing to test it there, i would appreciate that.
SyntaxError is fixed in 5332123 (python 3 related).
from docker-f5fpc.
Of course, I'm happy to help you test it on a mac.
Can we also try to make it with my arch distro? ( I use antergos )
from docker-f5fpc.
deleted
from docker-f5fpc.
Can you please open a ticket for each problem? Handling multiple problems in a single ticket is quite difficult. Could you also pleas provide your python version? Thx!
from docker-f5fpc.
sure.
-> #13
from docker-f5fpc.
@AntouanK could you please test if this is working now? Thx!
from docker-f5fpc.
@MatthiasLohr ok, so in the MacBook Pro, with docker running, this is what I get on this bugfix branch
➜ docker-f5fpc git:(bugfix/dockerpath) ./f5fpc-client.py connect.something.com Antonisk
Enter your VPN password:
2018-07-10 17:23:03,458 INFO (root) Connecting to connect.something.com...
2018-07-10 17:23:06,693 INFO (root) Logging in...
2018-07-10 17:23:07,814 ERROR (root) Login was denied.
from docker-f5fpc.
To the error from your first post is gone?
from docker-f5fpc.
Yes. On master
I get it again.
from docker-f5fpc.
Merged.
from docker-f5fpc.
Thank you @MatthiasLohr 👍
Let's hope we'll get the RSA part also done :D
from docker-f5fpc.
I got a similar "No such file or directory" error on Mac, but only when using the "network" flag. Not related to the docker installation issue.
Turned out I had to install iproute2mac (using homebrew) to fix it. FYI
from docker-f5fpc.
Added this info to README (b052030). Thx!
from docker-f5fpc.
Related Issues (20)
- module dependency check HOT 1
- detect and reconnect on VPN forced logout HOT 1
- LookupError: 'hex' is not a text encoding; use codecs.encode() HOT 10
- 2FA RSA code support HOT 36
- Problem connecting HOT 10
- Connection Status: logon failed HOT 8
- Status code check: 9 HOT 1
- Support for custom CA certificate
- Unknown result code: 4 HOT 5
- Force split tunnel HOT 2
- no-check-certificate option ( -x) HOT 1
- Error loading shared library ld-linux-x86-64.so.2 HOT 3
- Error relocating /usr/local/bin/f5fpc: __strftime_l: symbol not found HOT 2
- (requests.packages.urllib3.connectionpool) Connection pool is full, discarding connection: localhost
- set network routes
- set DNS environment
- Inform about image downloading HOT 1
- Upgrade to newest alpine linux
- Detect network error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-f5fpc.