Permanently mount NAS on Buffalo Airstation

Asked by Aaron Herzon

Hello!

I have a Buffalo AirStation router with a hard drive connected via USB for use as a NAS. The hard drive has a single 1TB XFS partition. I am able to navigate to the drive via Nautilus and read and write with no issues. I have Windows machines permanently connected to the NAS including the Windows side of this machine.

I created a directory /media/NAS that I would like to use as a mount point to permanently mount the NAS and then locate a Thunderbird profile and other things to be used by multiple systems.

I created a file /aaron/.smbcredentials with the username and password I assigned in the NAS setup in the router. I named the NAS server "AIRSTATION" in the NAS setup in the router. The share on AIRSTATION is disk1_pt1

I have reviewed several guides I found on the internet but cannot figure out the right line of code to add to /etc/fstab to get this drive (share) to mount to /media/NAS at boot. Would someone please help me determine the right code to add along with a little explanation of components? I would like the solution but I would also like to understand it to the extent that I can.

Thanks,

Aaron

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
Nihad Keserovic
Solved:
Last query:
Last reply:
Revision history for this message
Best Nihad Keserovic (nihad-keserovic) said :
#1

I can recommend this reading:
http://opensuse.swerdna.org/susesambacifs.html

i think it's one of the best walk-though documentations

Revision history for this message
Aaron Herzon (herzona) said :
#2

Thanks. I will give it a go tonight and provide feedback. Aaron

Revision history for this message
Aaron Herzon (herzona) said :
#3

Thanks Nihad! This was very helpful. The guide was clearer than others I tried. And, I got it working! Had to use the IP address of the router in stead of the server name I assigned (I suspect it might be a capitalization issue) but that's no problem. I now have the NAS mounted as a permanent share. I also have, at least, a basic understand of what I did. Perfect! Thanks for your help. Aaron

Revision history for this message
Aaron Herzon (herzona) said :
#4

Thanks Nihad Keserovic, that solved my question.