EasyOS 2.6.1 cannot connect via OpenConnect

Moderator: BarryK

Post Reply
User avatar
Whippet
Posts: 5
Joined: Fri Feb 19, 2021 2:09 pm
Has thanked: 1 time

EasyOS 2.6.1 cannot connect via OpenConnect

Post 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?

User avatar
Whippet
Posts: 5
Joined: Fri Feb 19, 2021 2:09 pm
Has thanked: 1 time

Re: EasyOS 2.6.1 cannot connect via OpenConnect

Post 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: :?

linuxunix
Posts: 100
Joined: Fri Aug 14, 2020 4:34 am
Has thanked: 3 times
Been thanked: 2 times

Re: EasyOS 2.6.1 cannot connect via OpenConnect

Post by linuxunix »

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

MagicZaurus
Posts: 27
Joined: Sat Sep 05, 2020 3:56 pm
Been thanked: 5 times

Re: EasyOS 2.6.1 cannot connect via OpenConnect

Post 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.

User avatar
Whippet
Posts: 5
Joined: Fri Feb 19, 2021 2:09 pm
Has thanked: 1 time

Re: EasyOS 2.6.1 cannot connect via OpenConnect

Post 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?

User avatar
Whippet
Posts: 5
Joined: Fri Feb 19, 2021 2:09 pm
Has thanked: 1 time

Re: EasyOS 2.6.1 cannot connect via OpenConnect

Post 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:

MagicZaurus
Posts: 27
Joined: Sat Sep 05, 2020 3:56 pm
Been thanked: 5 times

Re: EasyOS 2.6.1 cannot connect via OpenConnect

Post 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.

User avatar
Whippet
Posts: 5
Joined: Fri Feb 19, 2021 2:09 pm
Has thanked: 1 time

Re: EasyOS 2.6.1 cannot connect via OpenConnect

Post 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. :?

Post Reply

Return to “EasyOS”