Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenConnect without Network Manager?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kewlness
n00b
n00b


Joined: 25 Apr 2012
Posts: 5

PostPosted: Tue May 15, 2012 1:56 am    Post subject: OpenConnect without Network Manager? Reply with quote

Hi,

I currently configure my network by hand in configuration files and will need to install the OpenConnect client in a couple of weeks. In doing research, everything seems to point to a need for the NetworkManager applet.

Is NetworkManager really necessary? It just seems to have a lot of dependencies for things I really don't want on my system, like GTK... :roll:

If I have to use it, I promise I'll live, but a howto without NetworkManager would be even better. :D

Thanks in advance.
Back to top
View user's profile Send private message
Arkhelion
Apprentice
Apprentice


Joined: 07 Sep 2010
Posts: 151
Location: France

PostPosted: Tue May 15, 2012 8:59 am    Post subject: Reply with quote

Hi,

I don't know about OpenConnect (only using OpenVPN here), but as of networkmanager, I don't think it depends on gtk at all. Maybe you should check your dep tree and USE flags to find how it pulls gtk and see if you really need those flags.
_________________
Arkhelion
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3526

PostPosted: Tue May 15, 2012 12:21 pm    Post subject: Reply with quote

I run OpenConnect as the VPN client for my employer's network, routinely. I don't have NetworkManager installed on any of my home machines.

Code:
$ cat /usr/local/sbin/runOpenConnect
#!/bin/bash

/usr/bin/openconnect               \
--script=/etc/vpnc/vpnc-script     \
--user=<acct@employer>             \
--background --syslog --no-deflate \
<employer.gateway.com>


The script /etc/vnpc/vpnc-script was scabbed from "somewhere" and slightly tweaked in obvious because I use dnsmasq., but it's pretty standard. It has also started giving me a bit of hate-mail recently, and I know that OpenConnect has furnished its own equivalent script. One of these days I need to reconcile them, but haven't done so yet, and I'm still working.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum