• 6 Posts
  • 70 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle










  • I usually try to avoid bad habits like this but this time it was justified.

    The Ubuntu laptop had to connect to company vpn. It were using openconnect-network-manager-gnome thingy to do that. Recently the company upgraded their vpn software which is sorta incompatible with openconnect and requires a modified user agent string for it to prompt for 2FA keys. package in ubuntu 22.04 is too old to modify that in the gui. I tried in the terminal manually, editing the config manually with vim and even dumping the config from my personal Arch laptop. We also tried proprietary Cisco AnyConnect but there is probably a server misconfiguration which causes the connection to drop and reconnect once a minute. In Ubuntu 24.04 it works given the user agent modification, and even though it was released a couple of weeks ago, LTS users don’t get the update before mid August. So the easiest solution was to take the software compile it in the VM and use it there. It’s a temporary solution but we had to have something working by the next morning. With such setup it’s an annoyance to have password prompts show up. On top of that the keyboard is kinda fucked and some characters register multiple times making the situation with passwords even worse.

    If you have a good idea what I could have tried let me know, love to hear new ideas.