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!
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.
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
Change it to
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
Bookmarks