Clemson:Netware
From Linux 101, The beginner's guide to all things Linux.
Contents |
[edit] Introduction
There are two ways to use the Novell shares (often referred to as "The U: Drive") at Clemson University: FTP and Mounting. FTP uses a separate login system to do file management, but is slow, limited in capabilities, and insecure (no encrytion for passwords or data). Mounting is a little more difficult, but gives you more flexibility and is the same thing used on Windows.
[edit] Accessing Your U: Drive Via FTP
If you wish to just transfer a few files quickly, using FTP might be the quickest route. First, find a good FTP client. Use the login information that follows. Substitute <username> for your Novell User ID, <password> for your Novell password, and <firstletter> for the first letter of your username.
- Username:
.<username>.<firstletter>.<students|employee|misc>.clemsonu - Server:
ftp.netware.clemson.edu - Port:
21 - Password:
<password>
Now you can upload/download files. You can't alter any of the complicated Novell permissions settings, however. You can't even do a simple chmod.
If you're using a graphical FTP client in Linux you may notice that you can get into other people's files. This is a bug on the server side so it's up to you to behave.
One thing that many people don't know they can access via FTP is the S: drive. Once you've logged in to the Netware FTP server simply type "cd //SHARE" and you will be at the root of the S: drive.
[edit] Accessing Your U: Drive Via Mounting
Here we will show how to access Novell resources such as students and employees' U: drives as well as Clemson Univeristy licensed software.
- Requirements
- ncpfs utilities (usually provided by your distribution)
- ncpfs kernel module built
- VPN Connection (recommended) or add clemson.edu to your DNS search path:
-
echo search clemson.edu >> /etc/resolv.conf
[edit] Logging In
By logging in once, you can access multiple shares without having to put in your username and password every time. Log in by using ncplogin.
-
ncplogin -S clemsonu -A clemsonu -U <user name>.<firstletter>.<students|employees|misc>.clemsonu
|
Note: Both -S and -A are required to use Novell in IP mode. IPX is no longer supported. |
- Explanation
| -S clemsonu -A clemsonu | the server you are authenticating against | |||
| -U |
|
- Example
-
ncplogin -S clemsonu -A clemsonu -U jayc.j.students.clemsonu
[edit] Mounting Your U: Drive
If this is not a machine that will be set up to authenticate at login against Novell (as discussed in the section Netware Authentication) then you will need to find out the server your home directory is stored on. It is one of student-a through student-g. To find out:
- Create the file
myserver.phpwith the following contents:
<?php echo $_SERVER["SCRIPT_FILENAME"]; ?>
- Connect to your Novell share through FTP or by using the U: drive in Windows.
- Upload
myserver.phpto your PUBLIC.WWW folder and view it in your web browser. - In your browser, it will show the location that file is stored, and tell you if you are on student-a, student-b, etc.
- Make the directory where you want to mount this folder.
- Login using the directions above, if you haven't already.
- Mount your Novell share:
-
ncpmap -S <student-X> -A <student-X> -o tcp <folder>
That's all there is to it! Now you can browse that folder like any other. The only drawback is that it mounts all the volumes on that server. If you wish to mount your U: drive directly to a single folder, see the Advanced section below. It requires two more options when accessing the share, but worth it!
[edit] Mounting Other Shares
If you wished to access the licensed applications for Clemson, you would do the same as mounting your home share as above except:
-
ncpmap -S share -A share -o tcp <folder>
Remember to make a folder named shared first, before you try to mount!
[edit] Disconnecting
Ready to totally disconnect? Simply execute:
-
ncplogout -a
Or if you just wish to disconnect from one server, you may do:
-
ncplogout -S <server>
[edit] Advanced
[edit] Mounting What You Need
Mounting just the volume you need in a share can speed things up, especially for your home directory.
First you need to find out the volume your home directory is on. Do this by using the instructions above. Next, look in the folder you mounted and you will probably see USR04, or USR with some other numbers. Find out which one of these your folder is in. You may now disconnect.
For me, using the directions above, my command was:
-
ncpmap -S student-b -A student-b -o tcp <folder>
After doing that I saw that my home directory is on volume USR04. So, it becomes:
-
ncpmap -S student-b -A student-b -V USR04 -o tcp <folder>
Now, you still have to go through a couple directories to get to your home folder (no point in that!). So, let's change where it maps your root to:
-
ncpmap -S student-b -A student-b -V USR04:users/<user> -o tcp <folder>
So now instead of doing cd <folder>/users/<user> you just do cd <folder> and you're in your home! You can apply this same technique to any Novell resource.

