Assigning an IP address to a Network Drive

CLIFFORD ILKAY clifford_ilkay at dinamis.com
Wed Jan 6 05:10:49 UTC 2010


On 01/05/2010 09:48 PM, Jay Ridgley wrote:
> Folks,
>
> I have a newly acquired Western Digital 1TB My Book World Edition. What
> I want to do is add it to my local network and use it for storage under
> NFS. I use a small hub(6 port) in a wired network. I do not have a
> router nor do I have any MS software installed and do not use Samba,
> just Ubuntu.
>
> My question is how do I assign an IP address to the device without some
> sort of identifier for the physical device?
>
> Assume the address would be 192.168.139.5, hostname koala (if needed).
>
> I have done some reading and understand the need for an /etc/fstab entry
> and an /etc/exports entry but I still do not see what would set the IP
> address to the device.

<http://www.wdc.com/wdproducts/library/UM/ENG/4779-705013.pdf> This is a 
NAS (Network Attached Storage) unit. It doesn't seem to support NFS, 
which is odd given that it will mount ext3 filesystems on devices 
plugged into its USB port. That suggests it's running *nix. It only 
supports CIFS, for which you'd have to install the Samba client, or FTP.

The device is configured to get its IP via DHCP by default. In its web 
admin interface, you have the option of setting a static IP if you don't 
have a DHCP server on your network. Even if you only have a few devices 
on your network, DHCP makes things easier. For something like this 
device, you'd want to assign a static IP and host name via DHCP to it.
-- 
Regards,

Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada  M4N 3P6

<http://dinamis.com>
+1 416-410-3326




More information about the ubuntu-users mailing list