LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2017, 08:27 PM   #1
mount.nfs
Member
 
Registered: Feb 2017
Posts: 58

Rep: Reputation: Disabled
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
 
Old 08-10-2017, 08:48 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Did it ever work before. Verbal implies spoken.
 
Old 08-10-2017, 08:51 PM   #3
mount.nfs
Member
 
Registered: Feb 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
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

Last edited by mount.nfs; 08-20-2017 at 01:38 AM.
 
Old 08-10-2017, 09:01 PM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
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
 
Old 08-10-2017, 10:16 PM   #5
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Try/post: showmount -e 192.168.1.1; rpcinfo -p 192.168.1.1
 
Old 08-10-2017, 10:49 PM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,141

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Lightbulb

Quote:
Originally Posted by mount.nfs View Post
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
 
Old 08-12-2017, 02:41 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by mount.nfs View Post
Code:
mount.nfs
do you create a new user for each problem???
 
1 members found this post helpful.
Old 08-12-2017, 03:08 AM   #8
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
http://www.linuxquestions.org/questi...5/#post5674452

Last edited by Jjanel; 08-12-2017 at 06:56 PM.
 
Old 08-14-2017, 02:40 AM   #9
mount.nfs
Member
 
Registered: Feb 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
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

Last edited by mount.nfs; 08-20-2017 at 01:27 AM.
 
Old 08-14-2017, 06:09 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
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).

Last edited by michaelk; 08-14-2017 at 06:17 AM.
 
Old 08-20-2017, 01:29 AM   #11
mount.nfs
Member
 
Registered: Feb 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by !!! View Post
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

Last edited by mount.nfs; 08-20-2017 at 01:39 AM.
 
Old 08-20-2017, 05:59 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
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.
 
Old 08-20-2017, 08:35 AM   #13
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Quote:
Originally Posted by mount.nfs View Post
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?

Last edited by !!!; 08-20-2017 at 08:43 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[Postfix/smtp] 25 connection refused / connection timed out wewanwang Linux - Server 2 12-22-2014 01:14 AM
JAVA: SSL Telnet connection "connection refused: connect" error kshaffer85 Programming 1 12-14-2013 07:06 AM
vsftpd not working: Connection attempt failed with "ECONNREFUSED - Connection refused davidlu766 Linux - Server 7 05-03-2010 08:34 PM
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
eth0 going down (connection reset by peer, then connection refused) Astarath Slackware 1 09-05-2007 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:04 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