Openconnect - name or service not known when using sudo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I've been using openconnect with no problems at all, but since
yesterday when I try to connect to the VPN using sudo it fails:

lmoreyra at arbanlmoreyra1:~$ sudo openconnect vpn-am2.infor.com
[sudo] password for lmoreyra:
POST https://vpn-am2.infor.com/
getaddrinfo failed for host '': Name or service not known
Failed to open HTTPS connection to vpn-am2.infor.com
Failed to obtain WebVPN cookie


I know that there is a way to avoid using sudo (in which case it the
VPN partially works) but I rather avoid it.

I have already tried putting the ip on the hosts file and using another dns.

Any ideas what is the problem?

Thanks!



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux