LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-01-2011, 03:00 PM   #1
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,411
Blog Entries: 1

Rep: Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115
Juniper Networks - Network Connect Function


I have recently started using Network Connect by Juniper on my Fedora 14 laptop. It took a while to get it to work correctly. So, here is the function I made to allow me to use Network Connect quickly.
Code:
NCremote() {
        cd /home/bs/.juniper_networks/network_connect;
        echo "Signing into somewhere.com"
        echo "Rememeber to escape your password!"
        read -p "Username: " user
        read -p "Password: " pass
        java -jar NC.jar -h 123.43.22.11 -u $user -p $pass -f ../somewhere.com.cert -r "Realm Name" &
        cd ;}
Important things to note. You will have to export the certificate from the site, you can use firefox to do that. The '-r' parameter requires the *actual* name of the realm you want to authenticate against.

You will also have to run firefox, go to the network connect site, click the button and let it install first. If it doesn't *make sure* that you have ALL adblock addons disabled.
 
Old 02-02-2011, 09:26 PM   #2
-Nw- neX
Member
 
Registered: Apr 2004
Distribution: Gentoo, RHL, CentOS, Ubuntu, FreeBSD,
Posts: 88

Rep: Reputation: 15
I've been trying to get this to work on my Ubuntu 10.10 install for a little while now using the script that Madscientist provides. No luck yet. I'll have to give yours a try. Thanks for posting!

I'm going to give your method a try.

Is this a function that you are putting in your .bashrc/.bash_profile?

Last edited by -Nw- neX; 02-02-2011 at 09:29 PM.
 
Old 02-07-2011, 10:25 AM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,411
Blog Entries: 1

Original Poster
Rep: Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115
Quote:
Originally Posted by -Nw- neX View Post
I've been trying to get this to work on my Ubuntu 10.10 install for a little while now using the script that Madscientist provides. No luck yet. I'll have to give yours a try. Thanks for posting!

I'm going to give your method a try.

Is this a function that you are putting in your .bashrc/.bash_profile?
Yes. You can add it to either of those. Good luck.

A colleague was using Ubuntu, and needed the NCremote as well, we eventually gave up. I didn't have the time to help...
 
Old 04-13-2011, 04:34 PM   #4
Eccentric.Ash
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Success - Network Connect on Ubuntu

Quote:
Originally Posted by szboardstretcher View Post
Yes. You can add it to either of those. Good luck.

A colleague was using Ubuntu, and needed the NCremote as well, we eventually gave up. I didn't have the time to help...
A relative noob to Linux, I have been trying to get Network Connect working on 32 bit Ubuntu 10.04 using Firefox 4.0 for the past week with no success. In the process I have read a lot of forums and tried a lot of things.

Here is what my problem was :
1) Login to my company VPN site successfully using username, password1(active directory) password2(RSA pin)
2) Click on the Network Connect "Start" button, the applet loading page comes up for a short time and then takes me back to the previous page without the NC popup.

I tried Mad Scientist's script, which almost got me connected, but authentication failed since our company uses two passwords (active directory and RSA pin). The script was only asking for RSA pin, and I got failure stating "Invalid Credentials". But this did get the NC popup going.

I read elsewhere that this issue may be caused by Firefox, so I installed Google Chrome and Voila! it worked perfectly. I see the NC connect popup and am able to access the company intranet.
I am running 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux.

Also during my reading, I came across this post which details how to connect using 64 bit Linux and two passwords.

I hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network manager unable to connect to unsecured wireless - WPA networks fine :S phyre-x Ubuntu 8 05-16-2011 11:11 AM
connect to juniper vpn failed@fedora10:Firefox3.05 xbuffalo Linux - Networking 0 01-16-2009 12:49 PM
Juniper Network Connect on Slack rhb327 Slackware 0 08-04-2007 12:39 PM
LXer: Symantec and Juniper to snoop networks together LXer Syndicated Linux News 0 09-12-2006 09:54 PM
Looking for network "connect" function in MDK10 Comm. GUI. soloist Mandriva 2 03-16-2004 11:04 AM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration