[Solved] How To Mount Seagate FreeAgent GoFlex Home NAS drive to Linux/Ubuntu permanently

I recently got Seagate FreeAgent GoFlex Home 2TB NAS for a steal. Although it is quite straightforward with its setup, getting to hook up to my Ubuntu headless server was a pain. It does come with ssh, ftp, afp and windows sharing in-built but requires particular setup to get it to mount of linux system even though the backbone interface is flavor of linux itself. After searching for a quite a while on the net and even on their forums without much help, i finally decided to go old school and get it to attach.

TESTED ON SEAGATE FREEAGENT GOFLEX HOME 2TB (STAM2000100)

To quickly mount GoFlex Home NAS onto your ubuntu/linux server, follow the steps below:

1. Setup Seagate GoFlex Home NAS using their web interface which is quick and easy. (Note down the product key during setup or from the bottom of the Seagate Hardware)

2. On the web interface, go to Preferences

  • In Network Sharing, change Workgroup Name to your network Workgroup
  • In LAN Connection, change Obtain IP Address automatically to No
  • Setup static IP address

3. Once setup is done, try ftp into the GoFlex Home to see if your username/password works.

4. On your Ubuntu box, in command line, type in following:

<strong>sudo smbclient -L 192.168.xxx.xxx -U username </strong>

where 192.168.xxx.xxx is IP address of your Seagate Drive

Note the output, it should show something like this:

 administrator@NAS:~$ sudo smbclient -L  192.168.xxx.xxx -U Username
Enter username’s password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28-0.el5.8.oe5]

Sharename       Type      Comment
———       —-      ——-
GoFlex Home Personal Disk      GoFlex Home (GoFlex Home Personal)
GoFlex Home Backup Disk      GoFlex Home (GoFlex Home Backup)
GoFlex Home Public Disk      GoFlex Home (GoFlex Home Public)
External Storage Disk      GoFlex Home (External Storage)
IPC$            IPC       IPC Service (GoFlex Home)
GoFlex_Home     Printer   GoFlex Home usb port
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28-0.el5.8.oe5]

Server               Comment
———            ——-
NAS         ROUTER
GOFLEX_HOME          GoFlex Home

Workgroup            Master
———            ——-
WORKGROUP            NETWORK

5. Once you now what shares are available, type in following command in Ubuntu Command Line to mount the Seagate GoFlex Home NAS Drive

sudo mount -t cifs "//192.168.xxx.xxx/GoFlex Home Public" /media/seagateshare -o username=yourusername,password=passwordused

See if it mounts, if it does, you can now move to next step.

6. Mount Seagate Drive permanently on to Ubuntu/Linux box so it mounts at startup.

In Command Line, type in following:

sudo cp /etc/fstab /etc/fstab.old (Just so we have backup incase something goes wrong)
sudo nano /etc/fstab

In Fstab file,

type in following and make changes accordingly to your setup/naming of drive/network

//192.168.xxx.xxx/goflex\040Home\040Public /media/seagateshare cifs username=yourusername,password=passwordused,uid=5000,iocharset=utf8,mode=0777,dir_mode=0777 0 0

Notice the 040 instead of space as fstab cannot parse spaces well.

Save the fstab file and get out.

In Command line, type in

sudo mount -a

And you are done. Now the Seagate drive should show up every time you start up the Linux box.

 

Leave a Reply

Your email address will not be published. Required fields are marked *


4 + nine =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>