Page 1 of 8 123 ... LastLast
Results 1 to 10 of 72

Thread: HOWTO: Install Novel Client on Ubuntu

  1. #1
    Join Date
    Feb 2006
    Location
    San Antonio
    Beans
    347
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Lightbulb HOWTO: Install Novel Client on Ubuntu

    Hello all,

    I am a technology teacher in San Antonio, Texas. I work with a program called iMAK, which stands for interactactive Media Applications at Krueger. (Northeast Independent School District.) We are a technology based magnet program, and all of our computers, over 150, run a dual-boot Ubuntu/Windows XP operating system image.

    I'm in charge of maintaining the network on campus, and one of the challenges I've resolved that others may be interested in involves interfacing Ubuntu with Novel servers that distribute shared resources.

    If your workplace utilizes Novel, and you want to use linux to access your resources, hopefully this step-by-step setup will get you up and running. This configuration has been tested with ubuntu Edgy/Feisty. I'm assuming you are working within a root context. If not, you may have to preface many of these commands with 'sudo'

    Step 1:
    Download the stuff you need.

    Download the linux novel client. I use novelclient-0.91-1.i386.tar.gz.
    I've provided a copy HERE

    Download this library file libstdc++-libc6.1-1.so.2.
    Once again, I have provided a copy HERE.

    You're going to need a C compiler to tweak the novel source code a bit. So, be sure you have the build-essential package installed. --We'll be using gcc. We'll also need a couple of extra packages.
    Code:
    apt-get install build-essential
    apt-get install dialogue
    apt-get install ncpfs
    Step 2:
    Unzip the novel and change the file permissions on everything in there.
    Code:
    tar -xzvf novelclient-0.91-1.i386.tar.gz   
    chmod -R 777 novelclient/
    Copy the libstdc++-libc6.1-1.so.2 to /usr/lib/
    Code:
    cp  libstdc++-libc6.1-1.so.2 /usr/lib/
    Step 3: Set it up.

    cd to the scripts directory under novelclient.
    Code:
    cd novelclient/scripts/
    Open up the file setup-United.sh in your favorite text editor.
    (emacs of course!)
    Lines 53-54 should look like this:
    Code:
    if [ "$1" = "9.0" ]; then
        RCFILE='/etc/rc.d/rc.local' # The local system configuration file
    Change it read as follows
    Code:
    if [ "$1" = "9.0" ]; then
        RCFILE='/etc/rc.local' # The local system configuration file
    (Point RCFILE to the correct rc.local.)

    Now we're going to run setup-United.sh, but we have to do it from the novelclient directory
    Code:
    cd ..
    scripts/setup-United.sh 9.0
    You'll be presented with a series of dialogues.
    First window select tcp
    Second window choose yes
    Third window choose yes.

    It should go through and install everything. (Most of the files have been dropped into /usr/local/bin. We'll be overwriting them soon if we need to.
    Fire it up!
    Code:
    novelclient
    This should bring up a window that prompts you for a novel username and password.

    Click on the 'advanced' button and find the 'Location Profiles' tab.

    Select Default and choose properties.

    Select the 'DHCP Settings' tab.
    This tab has 4 boxes.
    We only need fill in an ip address for the first one and check 'Get from DHCP ' for the bottom three.

    The first box takes an ip address. This is where you need to log into a windows machine that has everything configured. Locate the ip address of the novel server. If you've gotten this far in the tutorial, a little poking around should turn up the correct address.

    Select ok when finished and now choose the 'NDS' tab, which is next to the 'Location Profiles' tab
    we selected earlier.

    The first window has a little picture of a tree to the right. Click on the tree and wait a minute. If it turns up your novel server tree, you will be able to easily select a context in the box underneath.

    The 'server' box under 'NDS', the third box under 'NDS' to be more specific, takes the ip address of the NDS Server you located on the windows machine. --If you are able to authenticate with a username and password, your novel shares will be
    located under /home/user/ip_address_of_novel_server

    If not, keep reading.

    If you clicked on the tree and it flipped a blank window, the first thing you want to do is check your device configuration.

    Code:
    ifconfig
    If your active network device is eth0, you need to go back and look at your Novel configurations. The novel source code is configured
    to work with eth0.

    If your active network device is something other than eth0, do one of the following

    ==Wired Ethernet==
    My network device is eth1, eth2, eth3:

    cd to the novelclient directory and open the
    file called portping.c in a text editor
    Line 73 looks like this:
    Code:
    strcpy(ifn,"eth0"); // interface name
    Change eth0 to reflect your device.

    Recompile portping.c
    Code:
    gcc portping.c
    cp a.out /usr/local/bin/portping
    Open rc.local and see that the last line, which starts with the word multicast,
    also reflects your active internet device.

    Now try the tree button. If it doesn't display a novel server tree,
    check your configurations in the panel. Restart the machine.


    ==Wireless Ethernet==

    If your active network device is wlan0, wlan1, or any wlanX for that matter:
    cd to the novelclient directory and open the
    file called portping.c in a text editor
    Line 73 looks like this:
    Code:
    strcpy(ifn,"eth0"); // interface name
    Change eth0 to reflect your device.
    Line 46 looks like this
    Code:
    char ifn[16];
    Change it to
    Code:
    char ifn[100];
    Recompile portping.c
    Code:
    gcc portping.c
    cp a.out /usr/local/bin/portping
    Open rc.local and see that the last line, which starts with the word multicast,
    also reflects your active internet device.

    Now try the tree button. If it doesn't display a novel server tree,
    check your configurations in the panel. Restart the machine.

    I presently have 400+ kids happily using novel on Linux using this configuration.
    I hope it helps.

    Josh Beck
    IT Coordinator.
    iMAK Magnet School
    Northeast ISD.
    San Antonio, TX.
    http://www.neisd.net/imak
    Last edited by Prospero2006; June 5th, 2008 at 03:32 AM. Reason: Added School Website.

  2. #2
    Join Date
    Feb 2006
    Beans
    19

    Re: HOWTO: Install Novel Client on Ubuntu

    Isn't it "Novell?"

  3. #3
    Join Date
    Jul 2007
    Beans
    2

    Re: HOWTO: Install Novel Client on Ubuntu

    Spelling is not important, when your solutions works so nice. If I'm in your area, I'm buying you a drink.

    P.S. Registered just to say THANK YOU! That is not enough, I LOVE YOU!
    LOVE YOU, LOVE YOU, LOVE YOU...

  4. #4
    Join Date
    May 2007
    Beans
    810

    Re: HOWTO: Install Novel Client on Ubuntu

    This is great. I can now try and reinstall ubuntu over my SLED computer and see if it works. Now all i need is to get console one working and that is that.

  5. #5
    Join Date
    May 2007
    Beans
    810

    Re: HOWTO: Install Novel Client on Ubuntu

    Great work with this novell client solution. I had to make one change.

    sudo cp libstdc++-libc6.1-1.so.2 /usr/local/bin/

    I had to copy this library to the directory /usr/local/bin as well. I am sorry i don't know how to make that line show up as code in the forum. But i am able to log in. Nothing shows in the results window but i am able to browse to the network shares. What happened to the desktop icon? I am rather new with linux so be a little patient with me.

    Thanks again for getting this done, now you should work on the interface. The text is too large so it can be difficult to read some of the options since the top or bottom of the letters may be cut off. Can i download the latest Linux Novell client from their website? I will try anyways and see hoe far i get.
    Last edited by BDNiner; July 23rd, 2007 at 10:57 PM. Reason: add another question

  6. #6
    Join Date
    Jul 2007
    Beans
    9

    Re: HOWTO: Install Novel Client on Ubuntu (Dialog not found error)

    When I do this command (with root access):

    scripts/setup-United.sh 9.0

    I get an endless loop with this error:


    ...
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    ...

    I have followed the steps a few times and not sure what to do
    Any ideas?

    Thanks
    James

  7. #7
    Join Date
    Aug 2007
    Beans
    1

    Exclamation Re: HOWTO: Install Novel Client on Ubuntu (Dialog not found error)

    Quote Originally Posted by wtzup View Post
    When I do this command (with root access):

    scripts/setup-United.sh 9.0

    I get an endless loop with this error:


    ...
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    scripts/setup-United.sh: 121: dialog: not found
    ...

    I have followed the steps a few times and not sure what to do
    Any ideas?

    Thanks
    James
    James,
    you need dialog to be installed
    use
    apt-get install dialog
    instead of the above
    apt-get install dialogue

    Santiago

  8. #8
    Join Date
    May 2005
    Location
    Dallas, TX
    Beans
    Hidden!
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Install Novel Client on Ubuntu

    Quote Originally Posted by BenWilson View Post
    Isn't it "Novell?"
    Actually, no. This software is not made by Novell. See Novel Client. Novell does have an official "Novell Client" for Linux, but as you can imagine it's only available as a SuSe package.

  9. #9
    Join Date
    May 2007
    Beans
    810

    Re: HOWTO: Install Novel Client on Ubuntu

    I can only run the novel client with root privileges. Is there anyway to run it as a regular user?

    /usr/local/bin/Novel: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

    This is the error i receive when i run novelclient. when i run sudo novelclient it works fine. I have changed the permissions of the file it is trying to access in /usr/local/bin but this doesn't help.

    Also i did not get any desktop or applications menu icons. I ran all the instruction using sudo.

    Any help will be appreciated.

  10. #10
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: HOWTO: Install Novel Client on Ubuntu

    I get an error when I try to login. I can view the Tree and Context.

    Code:
    failed;server BLAH belongs to tree BLAH2 and you are not authorized to it
    or at times I get
    Code:
    Could not mount server. failed:ncplogin: Server not found (0x8847) when trying to find BLAH
    Of course BLAH and BLAH2 are not the real server/tree.

Page 1 of 8 123 ... LastLast

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
  •