LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2016, 09:58 AM   #1
clunga
LQ Newbie
 
Registered: Jan 2016
Location: Rome
Distribution: Ubuntu 14.04 & 15.10
Posts: 14

Rep: Reputation: Disabled
[SOLVED] NAS password and ID comand line


Hi to everybody, especially the good will people
I managed to set up an Ubuntu 14.04 connection extremely fast to my WDMyCloud ( as in Windows assigning a drive letter to the NAS ) following this post

http://www.huffingtonpost.com/dulio-...b_5121961.html

with these three comands
$ sudo apt-get install nfs-common
$ showmount -e
$ sudo mount -o soft,intr,rsize=8192,wsize=8192 192.168.1.xxx:/nfs /home//nfs/

Problem is that the public part works great, but the one protected by password, does not open up and a warning states I have not the proper permission.Therefore I am stuck there.
I believe the third command is to be changed
$ sudo mount -o soft,intr,rsize=8192,wsize=8192 192.168.1.xxx:/nfs /home//nfs/
inserting somewhere the id ( John ) and the password ( 12345)
Normally, going through thr network there is a pop up window asking for id and password to proceeed.
Can anybody help me?
Thanks in advance

Last edited by clunga; 01-28-2016 at 09:31 AM.
 
Old 01-26-2016, 12:13 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by clunga View Post
Hi to everybody, especially the good will people
I managed to set up an Ubuntu 14.04 connection extremely fast to my WDMyCloud ( as in Windows assigning a drive letter to the NAS ) following this post

http://www.huffingtonpost.com/dulio-...b_5121961.html

with these three comands
$ sudo apt-get install nfs-common
$ showmount -e
$ sudo mount -o soft,intr,rsize=8192,wsize=8192 192.168.1.xxx:/nfs /home//nfs/

Problem is that the public part works great, but the one protected by password, does not open up and a warning states I have not the proper permission.Therefore I am stuck there.
I believe the third command is to be changed
$ sudo mount -o soft,intr,rsize=8192,wsize=8192 192.168.1.xxx:/nfs /home//nfs/
inserting somewhere the id ( John ) and the password ( 12345)
Normally, going through thr network there is a pop up window asking for id and password to proceeed.
Can anybody help me?
Thanks in advance
I use mine frequently, and wrote up a guide:
http://www.linuxquestions.org/questi...et-4175552545/

Looks like you're trying to mount it via NFS, which is great if you're on the same network, but isn't so good over the Internet. SSHFS is far better, in my opinion..encrypted, and lets you mount it the same over Internet as you would on the local LAN. Since I've been using things, I have NOT been able to get the device to allow mounting for any user other than root, and see anything but the public shares.
 
1 members found this post helpful.
Old 01-28-2016, 09:30 AM   #3
clunga
LQ Newbie
 
Registered: Jan 2016
Location: Rome
Distribution: Ubuntu 14.04 & 15.10
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Since I've been using things, I have NOT been able to get the device to allow mounting for any user other than root, and see anything but the public shares.
I am afraid you are right and mine is only a local network. Thanks

PS I have been 30 minutes hanging around to find the Add to reputation, but unfortunjately I did not succeed.

Last edited by clunga; 01-28-2016 at 09:39 AM.
 
Old 01-28-2016, 12:42 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by clunga View Post
I am afraid you are right and mine is only a local network. Thanks
Very welcome...glad it worked for you.
Quote:
PS I have been 30 minutes hanging around to find the Add to reputation, but unfortunjately I did not succeed.
The "Scales" icon to the left of the post.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gtkpod comand line hDUQUE Fedora 2 04-15-2010 12:36 PM
ubuntu come up comand line mode Joseph_Man Linux - General 1 02-09-2007 02:49 PM
linux comand line in windows? colinstu General 3 08-12-2005 10:51 PM
How do I detach a process from the comand line? Joey.Dale Linux - General 3 02-29-2004 09:46 AM
Help w/comand line dolvmin Linux - Software 2 09-23-2003 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration