wigwam Posted January 24, 2016 #1 Posted January 24, 2016 I can access the server fine via IE web and noticed Sickrage has stopped So I tried to SSH in via Putty and here's what happens: It prompts me for a user name and accepts it. It then prompts me for a password, and it then immediately aborts with the message:"Server unexpectedly closed network connection". Tried on 2 different machines Then I tried to FTP in via WinSFC (or whatever it is called!) and that fails for both SFTP and FTP. I checked that there is no conflict with the IP address So I am rather stuck! Any ideas please? Checked on XPen and SSH is still ticked etc as normal All other packages working as normal
sbv3000 Posted January 24, 2016 #2 Posted January 24, 2016 have you connected a monitor and keyboard to the NAS and tried to login to the console with root/your admin pw?
brantje Posted January 24, 2016 #3 Posted January 24, 2016 Do you have auto-block enabled? My guess is that your ip is blocked.
wigwam Posted January 24, 2016 Author #4 Posted January 24, 2016 have you connected a monitor and keyboard to the NAS and tried to login to the console with root/your admin pw? I can log into the OS from my PC just fine with my normal user name and password (sorry I'm guessing that is not what you meant?)
wigwam Posted January 24, 2016 Author #5 Posted January 24, 2016 Do you have auto-block enabled? My guess is that your ip is blocked. It did so I disenabled it, checked the block list was blank and then tried SSH but with the same result I have now re-enabled it but with the reset option
wigwam Posted January 25, 2016 Author #7 Posted January 25, 2016 Yes. And no ping from the ip address when I shut it down which is why I concluded it wasn't an ip conflict. I can download stuff to it from the os (tried a random show via couchpotato)
brantje Posted January 25, 2016 #8 Posted January 25, 2016 Can you use a physical keyboard to login? If so what is the output of: ps | grep ssh
wigwam Posted January 25, 2016 Author #9 Posted January 25, 2016 I'm away from it for the next couple days but yes I'll be able to connect to my PC monitor and Kb/mouse Where do I run that command line though? Will accessing it directly not take me to the same log in page for the os as I see over the intranet? Apologies for being dim but other than the initial install I've never logged into directly so I've forgotten what I see etc
sbv3000 Posted January 25, 2016 #10 Posted January 25, 2016 brantje and I both mean that you should connect a monitor and keyboard directly to the VGA/KB (or USB) ports on the motherboard of the NAS. Once there you should see the login prompt for 'your NAS name'. You should be able to login as 'root' and use your admin account password. That will confirm that your admin password is ok. Once you are logged in you can run a few busybox commands, and also the grep command
wigwam Posted January 25, 2016 Author #11 Posted January 25, 2016 Thanks both. In anticipation of this where do I click in the nas to run these commands from? Thank you both again for continued input I will connect it direct to a monitor etc
brantje Posted January 25, 2016 #12 Posted January 25, 2016 When you connect the screen you will see the login prompt.
wigwam Posted January 27, 2016 Author #13 Posted January 27, 2016 okay I have a really odd issue. I tried to log into the actual server at the "synology login: " I tried "admin", "root" and "wigwam" all with the correct password and I get Login incorrect I have tried the putty again with wigwam and admin and fails but I tried putty with "root" and the same password as above and I am in! ps | grep SSH shows: 18875 root 17604 s /usr/bin/ssh 22993 root 55056 s sshd: root@pts/1 23127 root 3772 s grep ssh What does all that mean please At the "synology login:" what do I type to access my machine directly??
wigwam Posted January 27, 2016 Author #14 Posted January 27, 2016 so since my last post was a bit gobbleygook. Now: 1) I can SSH with putty using "root" as user and the password 2) I Can WInSCP i using "root" as user and password At the actual machine terminal at the Synology login: prompt I have tried user names "admin", "root", "wigwam" all with the same password that works to access via IP address and to putty in using root user but all give me "Login incorrect"
sbv3000 Posted January 27, 2016 #15 Posted January 27, 2016 the only account that works at the server is root and by default it has the same password as your 'administrator' account (wigwam?). If its working with SSH and WinSCP then perhaps check the keyboard to see if its got caps or number lock on/off as part of your password. However, there isn't much you can do at the console, a few commands (type 'help' to see them) The fact you have logged in on with putty means the SSH service is ok so maybe the other thing to check is the 'application settings' in control panel and make sure the account(s) you want to FTP with have the correct permissions
brantje Posted January 27, 2016 #16 Posted January 27, 2016 Are you sure your keyboard locale settings are correct? Pressing ctrl shift switches. Check with notepad if the password is correct. Posted via MyXpenology
wigwam Posted January 27, 2016 Author #17 Posted January 27, 2016 I did the following: Logged in via IP using the same kb and my normal user and pw On the laptop logged in via putty using root and same pw Checking typing very very carefully repeatedly failed it logging into thr console
sbv3000 Posted January 27, 2016 #18 Posted January 27, 2016 I'd forget trying to login to the console, its probably a weird keyboard issue and you can fix the problem from there anyway. Getting back to the SSH/FTP thing, check DSM control panel to make sure ftp/sftp are enabled and the user account setup properly, then try WinSCP, FTP and SFTP modes to make a connection.
brantje Posted January 27, 2016 #19 Posted January 27, 2016 Also, keep an eye on /var/log it might give some usefull info. Posted via MyXpenology
Recommended Posts