Random ramblings about web2py, python,
Zope and (sometimes) bit of Windows.
Home | web2py | Who am I? | Contact Me | Lenguaje: Espanol |   

Last 10
Older Posts
External Links

[Back to the Homepage]

Added Feb 27 2012 , Modified Feb 29 2012 - 12:47 AM

If you happen to have an Apple Airport Extreme which has one of those USB hard drives attached to it, it is extremely convenient if you use this hard drive as a centralized location for your music/documents/scans etc, and accessing it from any mac is a as easy as clicking on the disk available from the finder, typing it the optional password and voila, you have a device connected to your mac. Applications like iTunes or iPhoto can even automatically connect to it when started, effectively creating a centralized location for your entertainment.

Problem arises when you are in Linux, yes, that nerdy-looking interface and that "DOS" command window with allows to type impossible to remember commands such as "grep", "ls", "df", "du", etc, etc.

Fear not, my friends, you can raise the ugly-ducky to the same level of that expensive mac that your wife comfortably uses.

All you need to do is "mount" the disk into one of your local folders, first some assumptions for the sake of the example:

  1. Router IP Address is 10.0.1.1
  2. Hard drive is protected with the password "D33pSp@ce9"
  3. The "name" given to airport express for the hard drive is "Seagate GoFlex 2T"
  4. Your Linux username is "julio" :)
  5. There is an empty folder locally at ~/ExternalHDD

Type this:

sudo mount -t cifs -o users,rw,uid=julio,gid=julio,ip=10.0.1.1,netdev,username=julio,password="D33pSp@ce9" "//10.0.1.1/Seagate GoFlex 2T" /home/julio/ExternalHDD

Just substitute the appropriate values and you should have a local folder in ~/ExternalHDD containing the remote hard disk's contents, and will be able to read and write files on it, you can add this to your /etc/fstab so you don't have to re-run this after a reboot.

c o m m e n t s    f o r
Access Apple Airport Extreme's USB HDD from your Linux box
Added May 31 2012 , Modified May 31 2012 - 12:33 PM By Dustin
Yes! Worked like a charm for my GuruPlug :) Thank you sir!
Added Jun 28 2012 , Modified Jun 28 2012 - 07:23 PM By JulioTechfuel
Glad it worked Dustin, congrats!
Added Aug 15 2012 , Modified Aug 15 2012 - 03:04 AM By sa..@gmail.com
Does this mount as a local drive then? or as a shared network drive of sorts?

My plan is to then have my Raspberry Pi automatically backup to my Google Drive then.

Add a Comment | Back to the Homepage

 

TechFuel.net | Web Standards xhtml 1.1 and css 2.1 | Rel 16