thecasualcoder / lazy-connect Goto Github PK
View Code? Open in Web Editor NEWShell function to fuzzy search an IPSec VPN by name and connect to it automatically.
Shell function to fuzzy search an IPSec VPN by name and connect to it automatically.
the following error is been thrown
600:666: execution error: System Events got an error: Can’t get button "Authentication Settings…" of group 1 of window 1 of process "System Preferences". (-1728)
May be should add a delay?
Current version is not working with Catalina.
Catalina is working with the earlier 1.5 version.
Perhaps this can be detected and that flow invoked.
i installed older version. and run with lazy-connect -n
then wait for prompt and paste and enter.
Hello team - I have been using lazy-connect on Mojave. After upgrading to Big Sur it stopped working. Now it throws the following error -
Storing secret in keychain... 97:153: execution error: System Events got an error: Can’t get menu bar 1 of process “SystemUIServer”. Invalid index. (-1719) Storing the VPN list...
It would be great if the team could add support for Big Sur
These resources might help
It would be a great feature to show suggestions and do auto completion for tab space
Example: For my-vpn
VPN name
$ lazy-connect my-
after tab space
$ lazy-connect my-vpn
All the features of tab completion applies, like ambiguous matches should show up instead of completing etc
Hello team - I have set up lazy-connect on my system. I copy the TOTP/key from Google Auth Chrome Extension and the VPN list is imported successfully. However, when I try to connect to a VPN from the list it throws error -
oathtool: base32 decoding failed: Base32 string is invalid
Error: Unable to generate otp using oathtool.
What can I do here?
P.S- This used to work on MacOS Catalina. But once updated to BigSur this is not working.
Hi,
look like the last changes was breaking on sonoma os with no errors returned.
Another error occurs when trying to connect already connected VPN because the connect
button changed into disconnect
1016:1065: execution error: System Events got an error: Can’t get button "Connect" of group 1 of window 1 of process "System Preferences". (-1728)
The documentation says
echo "[ -f ~/.lazy-connect/lazy-connect.sh ] && source ~/.lazy-connect/lazy-connect.sh"
but lazy-connect.sh
has been modified to lazy-connect
in latest release.
Following error occurs when the terminal opened in full-screen mode and trying to connect lazy-connect
276:549: execution error: System Events got an error: Can’t get window 1 of process "System Preferences". Invalid index. (-1719)
when exiting from fullscreen mode then it works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.