How to mount a NAS drive in Linux?
I have bought a NAS and configured this to work under Windows within Microsoft network name HOUKES and device name //CH3MNAS/Volume_1.
Now I want to see this NAS also under Linux. What is the easiest way to do this? What I want to do: Inside Thunderbird/Windows e-mails+pictures are now this drive... I want to see my them also in Linux. |
Install/use samba-client to access your drive.
|
Not working yet...
I'm really a beginner, experiencing following problems:
Following is working finally: Add one line to //etc/hosts 192.168.1.35 CH3MNAS nas >smbclient //nas/Volume_1 -N Issues: Was not able to change the hosts file, only after "sudo -s" this was possible, because else you have no rights to change this directory. For this I installed vim, which looks like vi... some people like it, not me! However, I want to use this NAS with GIT or just read it. So I need to mount it. Then I tried "mount //nas/Volume_1 /work", but I am not the root user grrrrrrrrrrrrr.... Next tried: "sudo mount //nas/Volume_1 /work" and filled in an empty password. But Linux does not like empty passwords.. so I used HTTP to change the password of my NAS... now it is not working anymore... also smbclient is not working anoymore since I added a password. When I use "smbclient //nas/Volume_1 /work -o password=12345678" I get following errors: Domain=[HOUKES] OS=[Unix] Server=[Samba 3.0.28] Server not using user level security and no password supplied. Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled tree connect failed: NT_STATUS_ACCESS_DENIED Still trying... |
Finally after 3 days.
Now I found a website on internet, helping me a lot in linux. I made a directory /san
then I did: "sudo smbmount //CH3MNAS/Volume_1 /nas -o username=mensfort,password=12345678" then I can do: "cd /nas", "ls" and get data from the right position... Now to see if there is sth like autoexec.bat... or where to put this so I get this done automatic. |
All times are GMT -5. The time now is 04:57 AM. |