by jake

How can I setup netware services / mount netware servers in linux?

This very basic (written in less than two minutes) how-to applys to RedHat Linux. (it's not hard to get debian working in a similar way with .debs)

The purpose of it is to show how to mount a netware client (with optional server) in a very simple manner.

You must have these two kernel modules installed as well (but don't forget your network card):
	ipx
	ncpfs

I was running the 2.4.X kernel tree.

You can check by running lsmod:

[root@localhost]# lsmod
Module                  Size  Used by
nls_iso8859-1           2880   2  (autoclean)
ncpfs                  40336   1  (autoclean)
ipx                    15904   6  (autoclean)
ide-cd                 27104   0  (autoclean)
cdrom                  27392   0  (autoclean) [ide-cd]
appletalk              20048  13  (autoclean)
autofs                 11136   1  (autoclean)
3c59x                  25312   1  (autoclean)
ipchains               38944   0  (unused)

Assuming that you have the kernel modules installed go on.

Get the packages:
	ncftp ftp.redhat.com
	cd /pub/redhat/linux/7.1/en/os/i386/RedHat/RPMS/ 
	get ipx*
	get ncpfs*
	get mars*

Install the packages:

For redhat users:
[root@localhost /root]# rpm -ivhU ipxutils-2.2.0.18-3.i386.rpm 
Preparing...                ########################################### [100%]
   1:ipxutils               ########################################### [100%]

[root@localhost /root]# rpm -ivhU ncpfs-2.2.0.18-3.i386.rpm 
Preparing...                ########################################### [100%]
   1:ncpfs                  ########################################### [100%]

[root@localhost /root]# rpm -ivhU mars-nwe-0.99pl20-4.i386.rpm 
Preparing...                ########################################### [100%]
   1:mars-nwe               ########################################### [100%]

For debian users:
[root@debian /root]# apt-get install ncpfs ipx 

Then for debian users you need to get this source rpm http://www.redhat.com/swr/i386/mars-nwe-0.99pl20-10.i386.html and convert it using alien if you want a simple package for mars.

(for info setting up mars see this article: http://www.pcquest.com/content/networking/100080111.asp)

Configure the interface:

 * This is the simple way to configure the interface and more complicated ways are availiable  *

[root@localhost /root]# ipx_configure --auto_interface=on --auto_primary=on

Check to see if its working:

[root@localhost /root]# cat /proc/net/ipx_interface 
Network    Node_Address   Primary  Device     Frame_Type
00000006   006008AC3C7A   Yes      eth0       802.2    
0002FADE   006008AC3C7A   No       eth0       802.3    

Show the other servers on the network:

[root@localhost /root]# slist

Known NetWare File Servers                          Network   Node Address
--------------------------------------------------------------------------
NWSRV                                               00280601  000000000001

Mount a server:

Make the directory to mount to:

[root@localhost /root]# mkdir /mnt/netware

Mount the actual file server to the mount point just created:

* Note that this can be done semi-interactivly by dropping the -P option *

[root@localhost /mnt]# ncpmount -S nwsrv /mnt/netware -U admin -P nwclass

Now unmount the server (cleanly):

[root@localhost /mnt]# ncpumount /mnt/netware/


 


 
Read more of   The Yak's Frequently Questioned Answers   (mod.2008-06-12)

422.   What is a tofinfant?   [jake/2005-02-18]
406.   What are the different types of Rape Juice(tm) to quench a healthy thirst?   [n0b0dy/2004-03-08] ( leif/2004-03-09 )
366.   What is a really good german street map website?   [jake/2003-07-10]
331.   how do i convert my gaim buddy list to a centericq buddy list?   [jesse/2002-10-16]
239.   What's the Grubstake?   [rupe/2001-06-05]
193.   What are some interesting tech related State Historic Landmarks in California?   [rupe/2001-03-10]
168.   What's the Official Fag Razor of the YAK?   [strick/2001-01-29]
122.   What is the VAXorcist.?   [rupe/2000-09-25]
116.   where does r0ss come from?   [xenocide/2000-09-10]
54.   What is the preferred word to use to refer to Windoze boxes?   [jamison/2000-02-11]
44.   What web pages are by VONGUARD?   [strick/2000-02-02]
39.   Can we get a peek at CRPL?   [strick/2000-02-01]
38.   What did <Andrigaar> and <|PenZerg|> say to the HUMANS in #yak ?   [strick/2000-02-01]
8.   Does strick have a home page?   [strick/2000-01-19]