I am just trying to setup my OSMC to connect to my new NAS box and want to use autofs. Following the instructions to access the command line, I have just tried to connect using Putty and am receiving a fatal error message “Network error. Connection refused.”
I can’t find anything on the forums or on Google to help me. I do have pihole installed on my network and both my PC and OSMC are using pihole as the DNS server. I have disabled blocking on pihole to see if this would prevent but I am still getting the error.
Because you didn’t mention, I’ll ask. Have you actually installed SSH server on your OSMC box? I don’t believe it’s there by default. You need to go to MyOSMC and then look in the store area. I’m pretty sure there is an option there to install the SSH server.
There could be an issue with the SSH server, could you please provide logs. You’ll need to upload them via MyOSMC, more details below:
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.
Depending on the used skin you have to set the settings-level to standard or higher, in summary:
enable debug logging at settings->system->logging
reboot the OSMC device twice(!)
reproduce the issue
upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
publish the provided URL from the log set upload, here
Thanks for your understanding. We hope that we can help you get up and running again shortly.
Followed your instructions and I have been trying for a while now to upload the log files but I keep getting a message “could not retrieve URL. Copy Logs to SD card instead?”
When I select Yes, nothing seems to happen. So I have copied the logs manually to the SD card and I get message to say “Copy successful” but when I look at the SD card, there are no logs. The SD Card is formatted as exFAT, would that be an issue?
I have changed the network settings to bypass pihole completely, rebooted a number of times now.
I have changed the network configuration to bypass my pihole, which also acts as DHCP and DNS.
It is manually configured with the DNS servers given to me by my ISP. Netmask and gateway are correct. I will try to use some other DNS servers to see if that helps.
Thank you all for your suggestions and help. I changed the DNS servers to the Google ones (8.8.8.8 and 8.8.4.4) and the log files uploaded but not only that, I can now access Vero using Putty!!
Who knew the DNS servers would cause these issues? Thanks again for your help.
I may need to ask for help with autofs and NFS shares as I have never used them before and they are not working but I will start another thread if needed.
Yes, pihole was providing DHCP but I think I stopped using DHCP and just used manual IP address with DNS servers set to 194.168.8.100 and 194.168.4.100 before changing it to the Google ones.
I can’t see any reason why 194.168.8.100 & 194.168.4.100 would cause ssh and logs not uploading. They are valid DNS servers. I can only guess subnet or gw were also incorrect as well.