Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun May 20, 2018 8:35 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 18 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Sun Oct 18, 2009 7:14 pm 
Offline
Total Newbie

Joined: Sun Oct 18, 2009 6:49 pm
Posts: 2
Additional details for others. After running the above command to re-enable telnet access, you will need to go into the Linkstation's web page, onto the network page, and re-enable DHCP to be able access the net from your linkstation.


Top
   
PostPosted: Sat Nov 21, 2009 6:40 am 
Offline
Total Newbie

Joined: Sat Nov 21, 2009 6:37 am
Posts: 1
That does the trick. Thank you!
:up:
shorty wrote:
I've been listeninig to Georg over in the Pro/Live forum and finally managed to get sshd running on my Quad. Here's what I did:

Ran acp_commander like so
Code:
java -jar acp_commander.jar -pw <admin password> -t <quad's IP address> -ip <quad's IP address> -o

(yes, <admin password> is the password you defined for the admin user in the web interface.)

This started up telnet and cleared root's password so I could login via telnet. Don't ask me why but the only way I could get telnet started was by doing it this way and specifying the -ip parameter. Note that I didn't set my Quad's IP address to a NEW IP, I just set it to what it already was but that was the magic. Next, I had to take root out of /etc/ftpusers because that file is referenced in /etc/pam.d/sshd and controls who can login via ssh. I also had to edit /etc/sshd_config because the original specified that the hostkey comes from /etc/apache/server.key which hasn't been created. Oddly, /etc/init.d/sshd.sh creates /etc/{ssh_host_key,ssh_host_rsa_key,ssh_host_dsa_key} if they don't exist. I added sshd.sh to the step3 startup in rcS, restarted the Linkstation and sshd came up fine. I just verified everything's working by logging in via ssh.

Oh, and since acp_commander cleared root's password, I defined a new one. :D

Again, note that this is for Quad firmware 1.10.


Top
   
PostPosted: Sun Apr 27, 2014 11:24 am 
Offline
Total Newbie

Joined: Sun Apr 27, 2014 10:59 am
Posts: 1
Very old post I know (nearly 5 years), but I was referred here by http://buffalo.nas-central.org/wiki/Ope ... 3E.3D_1.10 and I had similar problems so thought it was worth noting this for others.

My firmware is v1.65 and it is a Buffalo LinkStation Pro Quad LSVW-230 and I had similar problems with getting "connection refused" when trying to ssh to the NAS after changing the password. Version of the apc_commander.jar is v0.4.1 (beta).

I eventually found that root access was disabled in the sshd config on the box and I had to apply some workarounds to change it.

Here is what I did:

# Changing the password of the root account (using the "set IP" workaround)
java -jar acp_commander.jar -pw AdminPassword -t 192.168.178.21 -ip 192.168.178.21 -c "(echo RootPassword;echo RootPassword)|/bin/passwd"

# Change PermitRootLogin setting from no to yes in /etc/sshd_config
java -jar acp_commander.jar -pw AdminPassword -t 192.168.178.21 -ip 192.168.178.21 -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/' /etc/sshd_config"

# SSHing to the NAS (not entirely sure what the first three password requests are for, the root@<IP> is the one we are after)
$ ssh root@192.168.178.21
Password:
Password:
Password:
root@192.168.178.21's password:
root@buffalo:~#


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 18 posts ]  Go to page Previous 1 2

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited