{"id":1252,"date":"2012-06-20T06:23:32","date_gmt":"2012-06-20T10:23:32","guid":{"rendered":"http:\/\/dougmunsinger.com\/?p=1252"},"modified":"2012-06-20T06:23:32","modified_gmt":"2012-06-20T10:23:32","slug":"juniper-vpn-on-linux","status":"publish","type":"post","link":"https:\/\/wp.dougmunsinger.com\/2012\/06\/20\/juniper-vpn-on-linux\/","title":{"rendered":"Juniper VPN on linux"},"content":{"rendered":"

\"\"<\/a><\/p>\n

 <\/p>\n

I am required to connect to a VPN, even internally. This means that using linux at work requires getting that VPN session to complete, on any version of linux I am going to productively use.<\/p>\n

I have used Crunchbang for the last four months, primarily because it connected to our Juniper VPN right out of the box with no need to hack around or resolve anything at all. But – I like Unbuntu. I replaced Crunchbang four days ago with Ubuntu 12.04. The VPN did not work at first. I installed the Oracle\/SUN java, and then connected successfully to the VPN. Everything worked. Yeah… Well, today, not so much.<\/p>\n

Today I set up dual monitors, and once that was complete, tried to connect to the VPN. No luck. The "Network Connect" java app would crash and disappear. I found the following error in the \/var\/log\/syslog file:<\/p>\n

Jun 11 09:35:09 dmunsingernx2 NetworkManager[832]:    SCPlugin-Ifupdown: devices added (path: \/sys\/devices\/virtual\/net\/tun0, iface: tun0)\nJun 11 09:35:09 dmunsingernx2 NetworkManager[832]:    SCPlugin-Ifupdown: device added (path: \/sys\/devices\/virtual\/net\/tun0, iface: tun0): no ifupdown configuration found.\nJun 11 09:35:09 dmunsingernx2 kernel: [ 1947.323896] show_signal_msg: 27 callbacks suppressed\nJun 11 09:35:09 dmunsingernx2 kernel: [ 1947.323900] ncsvc[2468]: segfault at 2 ip b75a3b8e sp bfa05320 error 4 in libc-2.15.so[b755e000+19f000]\nJun 11 09:35:09 dmunsingernx2 avahi-daemon[804]: Withdrawing workstation service for tun0.\nJun 11 09:35:09 dmunsingernx2 NetworkManager[832]:    SCPlugin-Ifupdown: devices removed (path: \/sys\/devices\/virtual\/net\/tun0, iface: tun0)\nJun 11 09:36:16 dmunsingernx2 NetworkManager[832]:    SCPlugin-Ifupdown: devices added (path: \/sys\/devices\/virtual\/net\/tun0, iface: tun0)\nJun 11 09:36:16 dmunsingernx2 NetworkManager[832]:    SCPlugin-Ifupdown: device added (path: \/sys\/devices\/virtual\/net\/tun0, iface: tun0): no ifupdown configuration found.\nJun 11 09:36:16 dmunsingernx2 avahi-daemon[804]: Withdrawing workstation service for tun0.\nJun 11 09:36:16 dmunsingernx2 kernel: [ 2014.446682] ncsvc[2595]: segfault at 2 ip b7563b8e sp bfe279e0 error 4 in libc-2.15.so[b751e000+19f000]\n<\/pre>\n

I don't know that the dual display had anything to do with it – initial google searches showed that this kind of error<\/p>\n

kernel: [ 1947.323900] ncsvc[2468]: segfault at 2 ip b75a3b8e sp bfa05320 error 4 in libc-2.15.so[b755e000+19f000]\n<\/pre>\n

can be video related.<\/p>\n

I dropped back to the nvidia stable driver. That did not seem to make a difference.<\/p>\n

I resolved it by<\/p>\n