reinstalling the oracle jdk by hand<\/li>\n<\/ul>\nDeleting .juniper_networks:<\/p>\n
dmunsing@dmunsingernx2:~$ rm -rf .juniper_networks\/^C\ndmunsing@dmunsingernx2:~$\n<\/pre>\nOnce this is done, download the JDK from the link above, and then in the Downloads folder, run<\/p>\n
dmunsing@dmunsingernx2:~\/Downloads$ tar -zxvf jdk-7u4-linux-i586.tar.gz\njdk1.7.0_04\/\njdk1.7.0_04\/man\/\njdk1.7.0_04\/man\/ja_JP.UTF-8\/\njdk1.7.0_04\/man\/ja_JP.UTF-8\/man1\/\njdk1.7.0_04\/man\/ja_JP.UTF-8\/man1\/rmid.1\njdk1.7.0_04\/man\/ja_JP.UTF-8\/man1\/javadoc.1\njdk1.7.0_04\/man\/ja_JP.UTF-8\/man1\/appletviewer.1\n\njdk1.7.0_04\/include\/jvmti.h\njdk1.7.0_04\/include\/jvmticmlr.h\njdk1.7.0_04\/include\/jni.h\njdk1.7.0_04\/include\/jawt.h\ndmunsing@dmunsingernx2:~\/Downloads$\n<\/etc><\/pre>\nAnd installing Oracle JDK by hand (in debugging I was root for a bit)<\/p>\n
root@dmunsingernx2:\/home\/dmunsing\/Downloads# ls\ngoogle-chrome-stable_current_i386.deb jdk-7u4-linux-i586.tar.gz unetbootin-linux-575\njdk1.7.0_04 jre-7u4-linux-i586.tar.gz\njdk-7u3-linux-i586.tar.gz ubuntu-12.04-desktop-i386.iso\nroot@dmunsingernx2:\/home\/dmunsing\/Downloads# mkdir -p \/usr\/lib\/jvm\/jdk1.7.0\nroot@dmunsingernx2:\/home\/dmunsing\/Downloads# mv jdk1.7.0_04\/* \/usr\/lib\/jvm\/jdk1.7.0\/\nroot@dmunsingernx2:\/home\/dmunsing\/Downloads# ls \/usr\/lib\/jvm\/jdk1.7.0\/\nbin db jre LICENSE README.html src.zip\nCOPYRIGHT include lib man release THIRDPARTYLICENSEREADME.txt\n\nroot@dmunsingernx2:\/home\/dmunsing\/Downloads# sudo update-alternatives --install "\/usr\/bin\/java" "java" "\/usr\/lib\/jvm\/jdk1.7.0\/bin\/java" 1\nroot@dmunsingernx2:\/home\/dmunsing\/Downloads# sudo update-alternatives --install "\/usr\/bin\/javac" "javac" "\/usr\/lib\/jvm\/jdk1.7.0\/bin\/javac" 1\nroot@dmunsingernx2:\/home\/dmunsing\/Downloads# sudo update-alternatives --install "\/usr\/bin\/javaws" "javaws" "\/usr\/lib\/jvm\/jdk1.7.0\/bin\/javaws" 1\n\nroot@dmunsingernx2:\/home\/dmunsing\/Downloads# exit\nexit\ndmunsing@dmunsingernx2:~$ mkdir ~\/.mozilla\/plugins\/\ndmunsing@dmunsingernx2:~$ ln -s \/usr\/lib\/jvm\/jdk1.7.0\/jre\/lib\/i386\/libnpjp2.so ~\/.mozilla\/plugins\/\ndmunsing@dmunsingernx2:~$ ls -la .mozilla\/plugins\/\ntotal 8\ndrwxrwxr-x 2 dmunsing dmunsing 4096 Jun 11 10:09 .\ndrwx------ 5 dmunsing dmunsing 4096 Jun 11 10:09 ..\nlrwxrwxrwx 1 dmunsing dmunsing 46 Jun 11 10:09 libnpjp2.so -> \/usr\/lib\/jvm\/jdk1.7.0\/jre\/lib\/i386\/libnpjp2.so\n<\/pre>\nI retried the connection using firefox as the browser, and connected successfully.<\/p>\n
syslog looks completely different:<\/p>\n
Jun 11 10:12:04 dmunsingernx2 NetworkManager[787]: SCPlugin-Ifupdown: devices added (path: \/sys\/devices\/virtual\/net\/tun0, iface: tun0)\nJun 11 10:12:04 dmunsingernx2 NetworkManager[787]: SCPlugin-Ifupdown: device added (path: \/sys\/devices\/virtual\/net\/tun0, iface: tun0): no ifupdown configuration found.\n<\/pre>\nNo segfault, no withdrawal of workstation service for tun0.<\/p>\n
ifconfig looks like:<\/p>\n
\nroot@dmunsingernx2:\/var\/log# ifconfig\neth0 Link encap:Ethernet HWaddr 00:24:e8:28:56:e9\n inet addr:192.168.241.49 Bcast:192.168.243.255 Mask:255.255.252.0\n inet6 addr: fe80::224:e8ff:fe28:56e9\/64 Scope:Link\n UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1\n RX packets:261725 errors:0 dropped:0 overruns:0 frame:0\n TX packets:56526 errors:0 dropped:0 overruns:0 carrier:0\n collisions:0 txqueuelen:1000\n RX bytes:148910159 (148.9 MB) TX bytes:7425077 (7.4 MB)\n Interrupt:21 Memory:fdfe0000-fe000000\n\nlo Link encap:Local Loopback\n inet addr:127.0.0.1 Mask:255.0.0.0\n inet6 addr: ::1\/128 Scope:Host\n UP LOOPBACK RUNNING MTU:16436 Metric:1\n RX packets:16150 errors:0 dropped:0 overruns:0 frame:0\n TX packets:16150 errors:0 dropped:0 overruns:0 carrier:0\n collisions:0 txqueuelen:0\n RX bytes:2562804 (2.5 MB) TX bytes:2562804 (2.5 MB)\n\ntun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00\n inet addr:192.168.158.145 P-t-P:192.168.158.145 Mask:255.255.255.255\n UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1\n RX packets:1153 errors:0 dropped:0 overruns:0 frame:0\n TX packets:1168 errors:0 dropped:0 overruns:0 carrier:0\n collisions:0 txqueuelen:500\n RX bytes:149917 (149.9 KB) TX bytes:75823 (75.8 KB)\n<\/pre>\n
<\/a><\/p>\n—doug<\/p>\n
<\/p>\n","protected":false},"excerpt":{"rendered":"
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. I have used Crunchbang for the last four months, primarily because it connected to our Juniper VPN right out…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,56,62],"tags":[193,275,283],"class_list":["post-1252","post","type-post","status-publish","format-standard","hentry","category-linux-2","category-security","category-ubuntu","tag-linux","tag-ubuntu","tag-vpn"],"_links":{"self":[{"href":"https:\/\/wp.dougmunsinger.com\/wp-json\/wp\/v2\/posts\/1252"}],"collection":[{"href":"https:\/\/wp.dougmunsinger.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.dougmunsinger.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.dougmunsinger.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.dougmunsinger.com\/wp-json\/wp\/v2\/comments?post=1252"}],"version-history":[{"count":0,"href":"https:\/\/wp.dougmunsinger.com\/wp-json\/wp\/v2\/posts\/1252\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.dougmunsinger.com\/wp-json\/wp\/v2\/media?parent=1252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.dougmunsinger.com\/wp-json\/wp\/v2\/categories?post=1252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.dougmunsinger.com\/wp-json\/wp\/v2\/tags?post=1252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}