Page 7 of 9 FirstFirst ... 56789 LastLast
Results 61 to 70 of 87

Thread: No tun module in 10.04 breaks my vpn client

  1. #61
    Join Date
    May 2010
    Beans
    4

    Re: No tun module in 10.04 breaks my vpn client (HOW I FINALLY FIXED IT)

    Quote Originally Posted by cdenley View Post
    Wrong code. That builds the fake module, but doesn't install it where modprobe can find it.
    Fixed, thanks

  2. #62
    Join Date
    Sep 2007
    Beans
    3

    Smile Fix also works with AventailConnect VPN

    Thanks!

  3. #63
    Join Date
    Nov 2007
    Beans
    105

    Re: No tun module in 10.04 breaks my vpn client

    lucid lynx, 32-bit I get...

    Code:
    Couldn't find any package whose name or description matched "sun-java6-plugin"
    No candidate version found for sun-java6-jdk
    No candidate version found for sun-java6-jre
    Couldn't find any package whose name or description matched "sun-java6-plugin"
    No candidate version found for sun-java6-jdk
    No candidate version found for sun-java6-jre
    The following packages will be REMOVED:
      ca-certificates-java{u} icedtea-6-jre-cacao{u} java-common{u} linux-headers-2.6.32-21{u} 
      linux-headers-2.6.32-21-generic{u} openjdk-6-jre-headless{u} openjdk-6-jre-lib{u} 
      tzdata-java{u} 
    0 packages upgraded, 0 newly installed, 8 to remove and 9 not upgraded.
    Need to get 0B of archives. After unpacking 176MB will be freed.
    Do you want to continue? [Y/n/?] n
    Abort.
    Backed out the changes and replaced Openjdk but now Juniper now telling me "JRE not installed/Java is disabled." i.e. worse than when I started (modprobe error)
    Last edited by RgnKjnVA; May 10th, 2010 at 09:50 PM.
    So tired of repeatedly fixing sound issues in Ubuntu/Mint/Pulseaudio. *sigh*

  4. #64
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: No tun module in 10.04 breaks my vpn client

    sun-java6 is in the partner repo. You need to enable it.
    Code:
    sed -e 's/# *deb \(.*\) lucid partner/deb \1 lucid partner/g' /etc/apt/sources.list|sudo tee /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get install sun-java6-plugin

  5. #65
    Join Date
    Nov 2007
    Beans
    105

    Re: No tun module in 10.04 breaks my vpn client

    Have it sorted out and now connecting via Juniper. Thanks all
    So tired of repeatedly fixing sound issues in Ubuntu/Mint/Pulseaudio. *sigh*

  6. #66
    Join Date
    Apr 2010
    Location
    NoDak
    Beans
    17
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: No tun module in 10.04 breaks my vpn client

    Thanks to cdenley for the help here. I am now able to use Juniper's Network Connect over SSL.

    It took the combination of cdenley's work creating the tun mod, the removal of Open Java, and the installation of Sun Java to get me up and running.

    SSL
    Juniper
    Network Connect
    10.04

    Michael Barbere

  7. #67
    Join Date
    Feb 2005
    Beans
    202

    Re: No tun module in 10.04 breaks my vpn client

    Quote Originally Posted by cdenley View Post
    I have no idea. The only VPN client I ever used in ubuntu was openvpn from the repos. I haven't used in lucid yet, but I doubt it requires my sloppy workaround. I don't know what any hamachi commands do.
    FYI openvpn requires the sloppy workaround, fixed it, thanks

  8. #68
    Join Date
    Oct 2006
    Beans
    14

    Re: No tun module in 10.04 breaks my vpn client

    Alternative solution is out there aswell, Using Juniper Network Connect on Ubuntu.

    This method has worked very well for me on both 32 and 64 bit installs of 10.04.

    -M-

  9. #69
    Join Date
    May 2008
    Beans
    9

    Re: No tun module in 10.04 breaks my vpn client

    I think I have better solution that will work even for future kernels without recompilation.

    Code:
    echo -e "install tun /bin/true\n" > built-in.conf
    sudo cp built-in.conf /etc/modprobe.d/

  10. #70
    Join Date
    May 2010
    Beans
    13
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: No tun module in 10.04 breaks my vpn client

    Hi all,

    You guys are finding a solution for a nonexisting issue. Juniper's SSL VPN Network Connect works well with tun built into the kernel. It just shows up a warning ‘modprobe for tun failed’ and that's all. Believe me, I've been using (well, and selling) it since 2006, time when I was young enough to compile linux kernels for myself.

    Cdenley's code is, though useful (thanks, cdenley!), just a way to shut up the warning. Nothing else. You'll most probably see ‘session timeout’ warning the next and NC session will terminate.

    The real issue is that Sun Java was moved from official Ubuntu distribution. Juniper NC doesn't want to work with OpenJDK. The solution is here (and it is quite simple).
    Just add/uncomment the following in your /etc/apt/sources.list:

    Code:
    deb http://archive.canonical.com/ubuntu lucid partner
    and say
    Code:
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-plugin
    Than restart Firefox and try to run NC.

    Doesn't matter if you used cdenley's code or not.

    BTW, you guys have became too choosy (sorry). Sun Java had not been a part of loads of distros for ages and it had never been a problem to get it even under Slackware.

    PutTheBlack's link (http://mad-scientist.net/juniper.html) is also worth to check. Specially if you run _64 (not really a Juniper's fault. 64-bit Java does not support Applets even for Windows).

    --
    Regards,
    Pavel
    Last edited by onemorepash; May 21st, 2010 at 12:18 AM.

Page 7 of 9 FirstFirst ... 56789 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •