Advertisement
Guest User

Untitled

a guest
Jun 4th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. # Apple Airport Disks & Ubuntu
  2.  
  3. You have an Apple Airport with an attached hard drive. You want to access it from Ubuntu.
  4.  
  5. ## Mount
  6.  
  7. The command is (either setting or replacing the $variables):
  8.  
  9. mount -t cifs //$airport_ip/$airport_hd -o username=$airport_username,password=$airport_password,sec=ntlm,uid=$local_uid,gid=$local_gid,iocharset=utf8,_netdev,noexec $local_mount_folder
  10.  
  11. Notes:
  12.  
  13. - This is elsewhere on the internet, but the trick for me was the "sec=ntlm" option. Otherwise the mount would fail to login.
  14. - This assumes the disk is secured with user accounts. If setup with just a password, I think the username parameter can be anything.
  15. - Examine and customize the options past "sec=ntlm" as needed.
  16.  
  17. ## Unmount
  18.  
  19. sudo umount $local_mount_folder
  20.  
  21. ## Tested
  22.  
  23. Tested on Ubuntu 15.10.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement