-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wifi not working after ubuntu sleep #166
Comments
I'm trying to reproduce it locally. I'm using Manjaro and it will display as Anyway, I'm going to reproduce it in a real Ubuntu environment. And will try to fix it if I could reproduce it. |
I'm having the same problem (not always though). Is there any way to disconnect via commandline? It would then be possible to disconnect before suspending. |
Can we have the It seems to always happen in my system. I'd like to create a small bash wrapper in the I cannot find a man page, or having the
spit something productive for me 😕 |
+1 |
I'm working on this. It seems like we can leverage the systemd service hooks. https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate |
Any updates on this one? I have similar issues on app version: 2.4.1-ppa1~ubuntu22.04. I use the GUI and if i do not disconnect the app before sleep, I lose internet access. When I click "disconnect", it hangs for a couple of minutes. I usually try to kill gpclient from htop, but I am not sure if that helps or not. Any tips on what services that should be restartet to speed up this process? |
Hi @mathsten, I'm trying to fix this. Can you help me try the snapshot version to see if it works for you? You can follow the instructions on that page to install it. |
Same problem without GUI, version 2.3.9 Once awakened from sleep the gpclient hang at disconnecting (since there is no connection, my company redirect all the traffic to their GW) after forcefully closing it, the background openconnect instance get stuck with the original virtual tunnel interface, the only option to restore connection is to do an "ifconfig down" on the tun interface |
@luponata, I'm trying to fix this. Can you help me try the snapshot version to see if it fixed this issue? Thanks. |
Yes, ill'update you by tomorrow |
Unfortunately i got some errors while compiling I'm running a 20.04 LTS upgraded from an older version, i'll wait for the next production release for the test
Of course the package (libglib2.0-dev) and its related ones was installed |
I tried installing the latest snap, but I still have the issue where the gpclient gui tries to reconnect for 1-2 min after sleep before succeeding. |
@mathsten I found another solution by leveraging the NetworkManager-dispatcher. I tested it with my machine and found that it can disconnect the VPN when it sleeps and optionally reconnect the VPN when it wakes up. Can you help re-install the latest snapshot version and see if it works for you? Thanks. |
Without asking again for MFA? |
I have downloaded and tested the latest snapshot and it works for me! Thank you! |
If I leave GlobalProtect running while my computer goes into sleep mode and come back later my wifi doesn't work until I disconnect GlobalProtect. This wouldn't be too much of an issue, but disconnecting is also very slow (takes several minutes) in this case.
I'm running version 1.4.8-ppa1~ubuntu21.10
The text was updated successfully, but these errors were encountered: