Connecting to a NAS

In this user case we are attempting to connect to an Iomega NAS box sat on a home network. The following information is probably useful:

  • Linux distro to connect from – Mint 14
  • You need to know the IP address of the NAS box before you start
  • smbmount is no longer used

OK, so to do this we first install cifs-utils

sudo apt-get install cifs-utils

Then we mount the file system, having created a mount point

mkdir my_mount_point

sudo mount -t //ip_address_of_nas/directory_to_mount directory_used_as_mountpoint -o user=any_registered_nas_user

Then test it by creating and copying across a file

touch testfile

cp testfile mountpoint/directory_required

Things I’d like to know:

  • How do you find the NAS IP address from within Linux?

UPDATE: the best way I have found to do this is to install nmap

apt-get install nmap

and then run a scan for IP followed by a scan for  the operating system on the IP address of interest

nmap -sP 192.168.1.0/24

nmap -O 192.168.1.119

Advertisements
Tagged , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: