Znyx Networks bh5700 Manuale Utente

Pagina di 359
Now start nfsd to export the mount points and begin answering requests from remote clients.
/sbin/rpc.nfsd –r
To export file systems automatically on boot, edit /etc/init.d/rcS, uncomment the 
/sbin/rpc.nfsd command line by removing the #. 
/sbin/rpc.nfsd -r
Connecting to the Switch Using FTP
Use ftp to transfer files to or from the switch. See the Linux Reference Guide for details of the 
ftp command. In general, you can use ftp to connect to any system running an ftp server, 
including other OpenArchitect switches, to either get (transfer files from the remote host to the 
switch) or put (transfer files from the switch to the remote host) files.
ftp <remote_host>
ftpd Server Configuration
The switch itself can also be configured to run an FTP server (ftpd). See the Linux Reference 
Guide for details of the ftpd command. You will need to add a user to the switch in order to 
connect via ftp from a remote host, since root is not allowed ftp access. See the earlier section 
in this chapter regarding how to add a user. The ftp daemon is started by default. If you wish to 
shutdown the ftp daemon, comment out the betaftpd line in /etc/init.d/rcS. 
Connecting to the Switch Using TFTP
Trivial File Transfer Protocol or tftp, is a very simple protocol used to transfer files. It is 
designed to be small and easy to implement.  Therefore, it lacks most of the features of a regular 
FTP, like user authentication. You can use ftpd to connect to any system running a tftp server 
(tftpd) including other OpenArchitect switches.
tftp <remote_host>
TFTPD Server Configuration
The tftp server is started by inetd(8) using the configuration set up in /etc/inetd.conf. 
The use of tftp(1) does not require an account or password on the remote system.  Due to the 
lack of authentication information, tftpd will allow only publicly readable files to be accessed. 
The default location of these files is /tftpboot. 
Ethernet Switch Blade User's Guide
release  3.2.2j
page 77