Telnet to your DNS-323. You will be presented with a # prompt (meaning you are logged in as root).
Telnet 192.168.0.32
cd /mnt/HD_a2/fun_plug.d/start
sh dropbear.sh start
chmod a+x dropbear.sh
What we did here is to change directory to the fun_plug startup directory, ran the dropbear ssh script and set ssh to auto-start on reboot.
Next set your root password by executing these commands:
echo "root::0:0:99999:7:::" >>/etc/shadow
passwd root
Finally, write the configuration to flash memory so it will be remembered on reboot. Be careful with this command. You can't fix a passwd mistake with a reboot after you run this command. If you are not 100% sure that your config is perfect, log in as root with your new password using ssh to test the config.
/mnt/HD_a2/fun_plug.d/bin/store-passwd.sh
Last but not least, lets turn off that unsecure telnet interface.
cd /mnt/HD_a2/fun_plug.d/start
chmod a-x telnetd.sh
and
reboot
---------------------------------
www.CrazyOutdoorSports.com
No comments:
Post a Comment