Configuring NCPFS
Config files
~/.nwclient
Configuration Information
A config file ~/.nwclient should be placed
in the home directory of each user that intends to use ncpfs. The permissions on this file should be set to 600, for obvious
security reasons. The configuration file should contain a single line
per server that the user will use. Each line should contain
the server name, the user name, and optionally the password. Below is a
sample .nwclient file.
# Begin example ~/.nwclient config file
Server1/User1 Password
Server2/User1
Server2/Guest1 -
# End example .nwclient config file
The syntax for the .nwclient file is simple,
server_name/user_name password. Be extremely
careful when creating or editing this file as the client utilities are
very picky about syntax. There should always be a space immediately
after the username. If this space is substituted by a tab or multiple
spaces, you will not get the expected results when attempting to use
the NCPFS tools. If no password is supplied,
the client utilities will ask for a password when it is needed. If no
password is needed, for instance when using a guest account, a single '-'
should be put in place of a password.
It should be noted that the ncpmount is not intended to mount
individual volumes because each mount point creates a separate client
connection to the Novell server. Mounting each individual volume
separately would be unwise, as mounting all volumes on a server
under one mount point uses only one client connection.
If you need to set up the IPX protocol at boot,
you can install the
/etc/sysconfig/network-devices/services/ipx
network service script included with the
package.
make install-service-ipx
Next install the configurations script,
ifconfig.ipx0. The configuration assumes
IPX will be set up on
eth0
and the network frame type is 802.2. You should confirm that these are
the correct settings and adjust as necessary.
Note: This will overwrite any existing file.
cat > /etc/sysconfig/network-devices/ifconfig.ipx0 << "EOF"
ONBOOT=yes
SERVICE=ipx
IPXDEV=eth0
FRAME=802.2
EOF