HP Media Vault User Manual

Page 21

Advertising
background image

Using the NetBIOS name instead of the IP address

Some Linux installations, such as Ubuntu®, may not be able to find the media vault by name without additional

configuration. The default NetBIOS name for the HP Media Vault is HPMediaVault. To use the NetBIOS name,

take the following steps:

1. First, check if the Linux system can already resolve the NetBIOS name of the media vault.

a. Open a terminal session.
b. Enter ping hpmediavault

2. If pinging fails, edit the nsswitch.conf file, as follows:

a. Become root.
b. In a terminal session, edit the /etc/nsswitch.conf file.

c. In the nsswitch.conf file, add wins to the following line:

hosts: files dns

so it reads

hosts: wins files dns

3. Install winbind, which provides Name Service Switch capability.
4. To ensure that the installation works, ping the media vault:

ping hpmediavault

It is now much easier to mount volumes or access configuration screens because the IP address does not have to

be known.

Connecting to HP Media Vault using Samba command lines

The method described here is not persistent. To have the Linux system automatically connect to the media vault

every time it is rebooted, see the documentation or man pages for the Linux distribution.

Take the following steps to connect a Linux system to the media vault:

1. Open a Terminal session.
2. Become root.
3. If necessary install the Samba plugin.
4. Create a directory for the shared files.

Example: mkdir /mnt/sharefiles

5. Mount the media vault Shared Folder to the Linux computer, using the following syntax:

mount -t smbfs //hpmediavault/sharename /mountpoint/sharedirectory

NetBIOS name example: mount -t smbfs //hpmediavault/FileShare /mnt/sharefiles

IP address example: mount -t smbfs //192.168.1.102/FileShare /mnt/sharefiles

Note: FileShare is one of the default Shared Folders on the Media Vault.

Advertising