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.2010-02-10)

430.   How can I migrate my encrypted gpassman files to ascii?   [jake/2006-05-20]
404.   How can I limit the ammount of bandwidth rsync over ssh (or anything else) uses, without a complicated firewall solution?   [leif/2004-02-06]
343.   How can I patch my in kernel PCMCIA orinoco drivers so that I may change my MAC address/enter MonMode? (and use kismet, airsnort and the like...)   [jake/2002-12-19]
333.   what is the orgin of the word family?   [jesse/2002-10-25]
310.   whats the easiest way to build apache 1.x with lots of modules?   [jesse/2002-04-28]
299.   What does a SPACEWHALE look like?   [strick/2002-01-12]
262.   Ricochet is dead for now. What are some alternatives?   [rupe/2001-08-07]
250.   What's in a Ross Omelette?   [strick/2001-08-07] ( ross/2003-09-16 treesn/2001-12-30 )
244.   Does Jeffrey read too many web comics each day?   [strick/2001-06-06]
224.   Which Yak people have been in the news recently?   [rupe/2001-05-24] ( macki/2001-05-29 )
174.   why doesnt an image change in a java applet when it changes on the server?   [jesse/2001-02-10]
156.   Where did Sprint come from?   [rupe/2000-12-30]
84.   How do I send mail from a Python script?   [rupe/2000-05-10]
54.   What is the preferred word to use to refer to Windoze boxes?   [jamison/2000-02-11]
37.   What is this "goo" that holds the yak together?   [robey/2000-02-01]
15.   Where can i find the standard for a useful method of transmitting IP datagrams in Metropolitan Area Networks?   [jamison/2000-01-18]