8. Mounting SMB Server in Linux
The following operation is performed in Fedora command line environment. The IP address of this device is set to
192.168.0.100 (its default value). Actual scenario of application may vary from case to case.
1. Using
the
smbclient
command to check the content of the NAS-7101.
2. Input
smbclient -L 192.168.0.100 -U admin
after the prompt. The system will prompt you with “
Password:
”. Input
admin
(the default password for user
admin
) to get a list of directories within the NAS-7101.
3.
Create a folder as the mount point for the NAS-7101.
Input
mkdir /mnt/admin
after the prompt for mounting of the shared directory “admin”.
Input
mkdir /mnt/usb1
after the prompt for mounting of the USB external drive.
4.
Mount the NAS-7101 with
mount
command.
Fedora 5 and later: Input
mount -t cifs -o username=admin //192.168.0.100/ /mnt/admin/
after the prompt to mount
the shared directory.
40