ipx_configure--auto_primary= on --auto_inter>
Wait for a minute and type cat /proc/net/ipx_interface. You should see something like:
Network Node_Address Primary Device Frame_Type
000000E1 00A0C925164A Yes eth0 802.2
4.Type slist. You should see a list of the NetWare servers on your LAN.
Known NetWare File Servers Network Node Address
D74_SERVER 00000D74 00000000001
If you don't, wait for a few minutes and retry. If the slist command displays a message
like: ncp_connect: Invalid argument, then your kernel probably does not support IPX.
Check that you have actually booted off the appropriate kernel. When you boot you should
see messages about IPX and ncpfs in system startup messages. If the slist command does
not list all of your fileservers, then you may need to use the manual network configuration
method. Type cat /proc/net/ipx_interface. You should see something like:
At this point, your Linux box is setup for IPX networking. Check if your kernel has
support for NetWare NCP file system. The default Red Hat kernel has NCP file system
support. You simply have to load the ncpfs module /usr/sbin /lib/modules/2.0.32/fs/ncpfs.0.
You can also add the line to your local file to load it automatically at the boot time.
Once that is done,
Login as root (only root can mount NetWare volumes).
Type mkdir/netware to create a directory for mounting the NetWare volumes.
Type ncpmount -S D74_SERVER -U user10 /netware. You will be prompted for a password for user10.
At this point your server is mounted on /netware. The volumes are sub-directories under
/netware. So the SYS volume would be /netware/sys and the DATA volume would be /netware/data.
If you only want to mount a single volume, you can use ncpmount -S D74_SERVER -V sys -U user10
/netware. This will mount only the SYS volume to /netware.
When you finish using the Net-Ware volume, you can unmount usingncpumount/netware.
Tip: You don't need to manually unmount NetWare volumes when you shutdown.
When you want to share the mounted NetWare volume among other Linux users, you need to
understand file permissions. The NetWare file system doesn't support user IDs and group
IDs for directories. So all files and directories on the mounted directory have the
permissions as the directory where it was mounted. For example, if you type ls -ld/netware,
drwxrwxr-x 1 root root 512 Nov 24 1960 /netware is what you get.
So, all the NetWare files will have the above file permissions.
If you want non-root users to mount NetWare volumes, ncpmount command must be Set Userid Root,
so you would need to type chmod 4755 ncpmount
Simplifying mounting of volumes
There is another way of configuring NetWare mounts-by creating a .nwclient file in your home
directory. This file contains details of temporary or user specific NetWare mounts that would
be performed regularly. It allows you to store the details of mounts so that you can recreate
them without specifying all details each time. Its format is quite straightforward: