Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFS Connection Refused error #6

Closed
kdvlr opened this issue Dec 1, 2019 · 6 comments
Closed

NFS Connection Refused error #6

kdvlr opened this issue Dec 1, 2019 · 6 comments

Comments

@kdvlr
Copy link
Contributor

kdvlr commented Dec 1, 2019

I was getting connection refused error while trying to mount my nfs server when I tried to manually mount my NFS drive. I thought it was an error on my linux server, so I tried my old NAS and that still showed a problem. Other clients were connecting, but WyzeCamPan was not connecting.

I forced it to connect via UDP using -o port=2049,nolock,proto=tcp and this mounted the drive immediately.

@kdvlr kdvlr closed this as completed Dec 1, 2019
@FuzzyMistborn
Copy link

Can you explain a bit more how you accomplished this? I've gotten telnet working but not NFS mount to my Synology.

@kdvlr
Copy link
Contributor Author

kdvlr commented Jan 26, 2020

What’s the error you get when you try to mount manually ?

@FuzzyMistborn
Copy link

          inet addr:192.168.10.49  Bcast:192.168.10.255  Mask:255.255.255.0
 not mounted, try mounting to /mnt...
 on /mnt failed: Permission deniedume1/Wyze
 /mnt] failed, will retry....168.10.20:/volume1/Wyze

The mount line in config.inc is:
export NFS_ROOT='192.168.10.20:/volume1/Wyze'

I've confirmed that I can ping/telnet to the Synology on ports 111 and 2049.

@kdvlr
Copy link
Contributor Author

kdvlr commented Jan 26, 2020

Seems like a permission issue. Were you able to mount the NFS share on any other machine ?

@FuzzyMistborn
Copy link

Yep I can mount it from another device no issues.

@FuzzyMistborn
Copy link

Ok so i managed to get it to mount via telnet with

mount -o port=2049,nolock,proto=tcp 192.168.10.20:/volume1/cameras /tmp/test

Now how do I get it to do that automatically with the script? I'm still getting permission denied when i run ./mount_nfs.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants