Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My university (TU Wien) offers a VPN in order to get an IP of the university network. The instruction on the university webpage says to install the packages network-manager-gnome, network-manager-vpnc and vpnc and also a screenshot with the correct settings is provided:

enter image description here

But when I try to connect, simple nothing happens. There is no error nor does anything else change. There is also no message on the command line (when starting the nm-applet there).

Any idea what I'm doing wrong?

share|improve this question
    
I'm at the same University. Setting up vpn was a pain, but finally I did just the same as you (on Debian Testing x64). For me that worked. –  Marcel Aug 3 '11 at 17:04
add comment

2 Answers

(I cannot give comments, probably due to insufficient reputation, this is not a proper answer)

nm-applet only talks to network-manager (over d-bus); messages of network-manager itself are sent to syslog, tail -f /var/log/syslog will show you what is going on while it is trying to connect:

Aug  4 12:01:59 flux NetworkManager[1085]: <info> Starting VPN service 'vpnc'...
Aug  4 12:01:59 flux NetworkManager[1085]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 10062
Aug  4 12:02:00 flux NetworkManager[1085]: <info> VPN service 'vpnc' appeared; activating connections
Aug  4 12:02:00 flux NetworkManager[1085]: <info> VPN plugin state changed: 3
Aug  4 12:02:00 flux NetworkManager[1085]: <info> VPN connection 'Something' (Connect) reply received.
Aug  4 12:02:00 flux NetworkManager[1085]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Aug  4 12:02:00 flux NetworkManager[1085]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Aug  4 12:02:00 flux NetworkManager[1085]: <info> VPN connection 'Something' (IP Config Get) reply received.
Aug  4 12:02:00 flux NetworkManager[1085]: <info> VPN Gateway: *******
Aug  4 12:02:00 flux NetworkManager[1085]: <info> Tunnel Device: tun0
Aug  4 12:02:00 flux NetworkManager[1085]: <info> Internal IP4 Address: 10.16.7.37
Aug  4 12:02:00 flux NetworkManager[1085]: <info> Internal IP4 Prefix: 20
...
Aug  4 12:02:01 flux NetworkManager[1085]: <info> Clearing nscd hosts cache.
Aug  4 12:02:01 flux NetworkManager[1085]: <info> VPN connection 'Something' (IP Config Get) complete.
Aug  4 12:02:01 flux NetworkManager[1085]: <info> Policy set 'Auto eth0' (eth0) as default for IPv4 routing and DNS.
Aug  4 12:02:01 flux NetworkManager[1085]: <info> VPN plugin state changed: 4

and so on. It is not always terribly informative (especially if VPNC authentication fails), but nevertheless useful.

share|improve this answer
add comment
up vote 1 down vote accepted

I don't know why, but it's working now. I didn't change anything, but I rebooted my system several times. Maybe I forgot to do this the first time and restarting the network manager didn't suffice.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.