Page 1 of 1

EasyOS 2.6.1 cannot connect via OpenConnect

Posted: Sat Feb 20, 2021 11:52 am
by Whippet

I started working with EasyOS Buster 2.6.1 released for x86_64 PC. I like it very much, but I cannot connect via OpenConnect (Cisco AnyConnect). I have installed vpnc-scripts_0.1, network-manager-openconnect, network-manager-openconnect-gnome, libopenconnect and all dependencies from the repositories. I prescribed all the settings in the graphical network manager. The connection goes up for a second and then it just drops and all the connections I made disappear from the network manager.
Maybe it's something with the daemons?


Re: EasyOS 2.6.1 cannot connect via OpenConnect

Posted: Thu Feb 25, 2021 3:02 pm
by Whippet

It works to connect, but not in the virtual container. When you open the browser in the virtual container, the connection is instantly dropped. :roll: :?


Re: EasyOS 2.6.1 cannot connect via OpenConnect

Posted: Fri Feb 26, 2021 3:38 am
by linuxunix

INTEL centrino ultimate-N 6300 (rev 35)
There is no driver for the wireless network card


Re: EasyOS 2.6.1 cannot connect via OpenConnect

Posted: Fri Feb 26, 2021 11:57 am
by MagicZaurus

I'm not using EasyOS, but use OpenConnect in BionicPup. For better troubleshooting maybe it makes sense to start the VPN connection from the terminal.

For example for a connection to Cisco Anyconnect:

Code: Select all

openconnect --protocol=anyconnect  your-vpn-server.com -u vpn-user

The terminal output sometimes gives some valuable hints about what is wrong.


Re: EasyOS 2.6.1 cannot connect via OpenConnect

Posted: Fri Feb 26, 2021 9:05 pm
by Whippet
linuxunix wrote: Fri Feb 26, 2021 3:38 am

INTEL centrino ultimate-N 6300 (rev 35)
There is no driver for the wireless network card

I don't get it. What makes you think that I use this driver?


Re: EasyOS 2.6.1 cannot connect via OpenConnect

Posted: Fri Feb 26, 2021 9:21 pm
by Whippet
MagicZaurus wrote: Fri Feb 26, 2021 11:57 am

I'm not using EasyOS, but use OpenConnect in BionicPup. For better troubleshooting maybe it makes sense to start the VPN connection from the terminal.

For example for a connection to Cisco Anyconnect:

Code: Select all

openconnect --protocol=anyconnect  your-vpn-server.com -u vpn-user

The terminal output sometimes gives some valuable hints about what is wrong.

Thank you very much, it helped.

I wish they'd come up with a kill switch for openconnect, but otherwise I'm happy. :thumbup:


Re: EasyOS 2.6.1 cannot connect via OpenConnect

Posted: Sun Feb 28, 2021 2:23 am
by MagicZaurus

As far as I know you can gracefully close the vpn connection by pressing <CTRL>+C in the terminal. You can observe the logout messages in the terminal.

Maybe that is what you consider a kill switch.


Re: EasyOS 2.6.1 cannot connect via OpenConnect

Posted: Thu Mar 04, 2021 10:02 am
by Whippet
MagicZaurus wrote: Sun Feb 28, 2021 2:23 am

As far as I know you can gracefully close the vpn connection by pressing <CTRL>+C in the terminal. You can observe the logout messages in the terminal.

Maybe that is what you consider a kill switch.

I would like my connection to be dropped automatically when openconnect breaks. Prevent dnsleaks. As it is, I constantly have to squint at the terminal window. :?