LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   connection refused (https://www.linuxquestions.org/questions/linux-newbie-8/connection-refused-4175611716/)

mount.nfs 08-10-2017 08:27 PM

connection refused
 
hello world

I got output verbal connection refused , again the error = connection refused

Please try the following command mount.nfs or mount.nfs4 append verbal -v
then you got the connection refused


Code:

mount -t nfs 192.168.1.1:/where /mountPoint -v
mount.nfs 192.168.1.1:/where /mountPoint -v

thank you

AwesomeMachine 08-10-2017 08:48 PM

Did it ever work before. Verbal implies spoken.

mount.nfs 08-10-2017 08:51 PM

want it works . "It" means "router" dlink, netgear, cisco ...
it spoken = connection refused , error

Quote:

It would also help if we knew the router was running the original or third party firmware like DD-WRT.
No, not using third party dd-wrt

TheEzekielProject 08-10-2017 09:01 PM

You are giving very little information. If you have an issue that you need help with, you need to be more verbose. See my signature for a link on how to ask a question

!!! 08-10-2017 10:16 PM

Try/post: showmount -e 192.168.1.1; rpcinfo -p 192.168.1.1

JJJCR 08-10-2017 10:49 PM

Quote:

Originally Posted by mount.nfs (Post 5746926)
hello world

I got output verbal connection refused , again the error = connection refused

Please try the following command mount.nfs or mount.nfs4 append verbal -v
then you got the connection refused


Code:

mount -t nfs 192.168.1.1:/where /mountPoint -v
mount.nfs 192.168.1.1:/where /mountPoint -v

thank you

I suppose you want to mount an NFS folder.

The -v parameter implies verbose.

You can type: man mount
It's a good documentation for the parameters.

Try this command below:

mount -t nfs //192.168.1.1/where_d_folder_is -o username=root,password=MyNikePassword /mnt/mount_nfs_folder_here

Then try to check by the command below:

mount -v

check out links below:
https://access.redhat.com/documentat...-Mounting.html

https://unix.stackexchange.com/quest...ed-as-v3-or-v4

ondoho 08-12-2017 02:41 AM

Quote:

Originally Posted by mount.nfs (Post 5746926)
Code:

mount.nfs

do you create a new user for each problem???

Jjanel 08-12-2017 03:08 AM

http://www.linuxquestions.org/questi...5/#post5674452

mount.nfs 08-14-2017 02:40 AM

Quote:

Try this command below:

mount -t nfs //192.168.1.1/where_d_folder_is -o username=root,password=MyNikePassword /mnt/mount_nfs_folder_here
yes, want to mount an NFS folder inside a router but I have no password.
Do the router have a root password?? sorry I don't know the root password.
the default password and login username = admin ... it is web login , enter the web setup config menu



Code:

do you create a new user for each problem???
None =)

Quote:

showmount -e 192.168.1.1; rpcinfo -p 192.168.1.1
please wait, I try command showmount and rpcinfo

showmount give me
Code:

unable to receive: errno111 connection refused

Code:

mount -t nfs 192.168.1.1:/where /mountPoint -v
mount.nfs 192.168.1.1:/where /mountPoint -v

output error = connection refused

Quote:

See my signature for a link on how to ask a question
signature ?

Quote:

Did it ever work before. Verbal implies spoken.
if no -v option, nothing output. So I append the -v at the end

michaelk 08-14-2017 06:09 AM

Does the router have NFS capability? Posting a make/model might help us. I would guess probably not and that you would use samba i.e. cifs.

It would also help if we knew the router was running the original or third party firmware like DD-WRT.

If the router has NFS capability then I would expect a web page to enable NFS and configure specific shares (export directories).

mount.nfs 08-20-2017 01:29 AM

Quote:

Originally Posted by !!! (Post 5746963)
Try/post: showmount -e 192.168.1.1; rpcinfo -p 192.168.1.1

showmount -e 192.168.1.1
Quote:

unable to receive: errno111 connection refused
unable to receive: errno111 connection refused

michaelk 08-20-2017 05:59 AM

It makes it difficult to follow if you answer questions by editing previous posts.

It makes it very difficult to help you if you do not provide answers to all the questions asked.

For error 111 make sure that rpcbind is running.

Again without knowing the manufacture / model number of the router we can not confirm that it has nfs capability.

If it does have any file sharing capability it is probably windows compatible which means you need to use cifs(samba) instead of nfs.

!!! 08-20-2017 08:35 AM

Quote:

Originally Posted by mount.nfs (Post 5750111)
showmount -e 192.168.1.1
unable to receive: errno 111 connection refused

Means it doesn't have nfs service (port 2049) running.
https://serverfault.com/questions/53...v4-and-rpcbind

Can you do a nmap scan on it?


All times are GMT -5. The time now is 06:05 PM.