1 | <sect2>
|
---|
2 | <title>Configuring <application>NCPFS</application></title>
|
---|
3 |
|
---|
4 | <sect3><title>Config files</title>
|
---|
5 | <para><filename>~/.nwclient</filename></para>
|
---|
6 | </sect3>
|
---|
7 |
|
---|
8 | <sect3><title>Configuration Information</title>
|
---|
9 |
|
---|
10 | <para>A config file <filename>~/.nwclient</filename> should be placed
|
---|
11 | in the home directory of each user that intends to use <application>ncpfs
|
---|
12 | </application>. The permissions on this file should be set to 600, for obvious
|
---|
13 | security reasons. The configuration file should contain a single line
|
---|
14 | per server that the user will use. Each line should contain
|
---|
15 | the server name, the user name, and optionally the password. Below is a
|
---|
16 | sample <filename>.nwclient</filename> file.</para>
|
---|
17 |
|
---|
18 | <screen><userinput># Begin example <filename>~/.nwclient</filename> config file
|
---|
19 |
|
---|
20 | Server1/User1 Password
|
---|
21 | Server2/User1
|
---|
22 | Server2/Guest1 -
|
---|
23 |
|
---|
24 | # End example .nwclient config file</userinput></screen>
|
---|
25 |
|
---|
26 | <para>The syntax for the <filename>.nwclient</filename> file is simple,
|
---|
27 | <userinput>server_name/user_name password</userinput>. Be extremely
|
---|
28 | careful when creating or editing this file as the client utilities are
|
---|
29 | very picky about syntax. There should always be a space immediately
|
---|
30 | after the username. If this space is substituted by a tab or multiple
|
---|
31 | spaces, you will not get the expected results when attempting to use
|
---|
32 | the <application>NCPFS</application> tools. If no password is supplied,
|
---|
33 | the client utilities will ask for a password when it is needed. If no
|
---|
34 | password is needed, for instance when using a guest account, a single '-'
|
---|
35 | should be put in place of a password.</para>
|
---|
36 |
|
---|
37 | <para>It should be noted that the ncpmount is not intended to mount
|
---|
38 | individual volumes because each mount point creates a separate client
|
---|
39 | connection to the Novell server. Mounting each individual volume
|
---|
40 | separately would be unwise, as mounting all volumes on a server
|
---|
41 | under one mount point uses only one client connection.</para>
|
---|
42 |
|
---|
43 | <para>If you need to set up the <acronym>IPX</acronym> protocol at boot,
|
---|
44 | you can create the following scripts. These scripts assume <acronym>IPX
|
---|
45 | </acronym> will be set up on <emphasis role="strong">eth0</emphasis>
|
---|
46 | and the network frame type is 802.2. You should confirm that these
|
---|
47 | are the correct settings and adjust as necessary.</para>
|
---|
48 |
|
---|
49 | <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifup-ipx0 << "EOF"</command>
|
---|
50 | #!/bin/sh
|
---|
51 | # Begin /etc/sysconfig/network-devices/ifup-ipx0
|
---|
52 |
|
---|
53 | source /etc/sysconfig/rc || exit
|
---|
54 | source $rc_functions || exit
|
---|
55 |
|
---|
56 | echo "Setting up the IPX protocol on eth0..."
|
---|
57 | /bin/ipx_interface add eth0 802.2 &&
|
---|
58 | /bin/ipx_configure --auto_interface=on --auto_primary=on
|
---|
59 | evaluate_retval
|
---|
60 |
|
---|
61 | # End /etc/sysconfig/network-devices/ifup-ipx0
|
---|
62 | <command>EOF
|
---|
63 | cat > /etc/sysconfig/network-devices/ifdown-ipx0 << "EOF"</command>
|
---|
64 | #!/bin/sh
|
---|
65 | # Begin /etc/sysconfig/network-devices/ifdown-ipx0
|
---|
66 |
|
---|
67 | source /etc/sysconfig/rc || exit
|
---|
68 | source $rc_functions || exit
|
---|
69 |
|
---|
70 | echo "Stopping IPX on the eth0 interface..."
|
---|
71 | /bin/ipx_configure --auto_interface=off --auto_primary=off &&
|
---|
72 | /bin/ipx_interface del eth0 802.2
|
---|
73 | evaluate_retval
|
---|
74 |
|
---|
75 | # End /etc/sysconfig/network-devices/ifdown-ipx0
|
---|
76 | <command>EOF
|
---|
77 | echo "ONBOOT=yes" > /etc/sysconfig/network-devices/ifconfig.ipx0
|
---|
78 | chmod 755 /etc/sysconfig/network-devices/ifup-ipx0
|
---|
79 | chmod 755 /etc/sysconfig/network-devices/ifdown-ipx0</command></userinput></screen>
|
---|
80 |
|
---|
81 | </sect3>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|