Home Media Enable Telnet And Root Access
This article explains how to enable telnet and obtain root access to your IOMega Home Media Network Hard Drive. This was once a manual chore involving disassembly and modifying files on the hard disk in another computer (that guide still exists here). Now its a few clicks away in the device web interface!
|Warning: This modification probably voids your warranty. You do this all at your own risk!|
Please remember to change your password once you have done this!
- Download the latest version of the firmware mod home-media-telnet-2.063 - its available here in the downloads area
- Unzip it. Yes its supposed to be very tiny - it only contains changes to a couple of config files
- Login to the web interface on your device and use the extracted file in the firmware updater
- The device will update a few files then reboot. After your device has fully started up you should be able to telnet it!
The password for root and a new user that has been added for telnet access called nascentral is ioadmin123
You need to login as nascentral user then su to root - you can not telnet in as root
When I telnet it is just asks me for a password first. If I hit enter it then asks me for a username and password and works great!
tim@raptor~# telnet 192.168.2.2 Trying 192.168.2.2... Connected to 192.168.2.2. Escape character is '^]'. Password: < I was prompted for a password not a user name first so just hit enter Login incorrect Iomega-09681e login: nascentral Password: Last login: Sat Dec 26 20:31:59 EST 2009 from tim-elliss-macbook-pro-15.local on pts/0 Linux 220.127.116.11 #1 Mon Jun 1 11:21:53 MDT 2009 armv5tejl The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. nascentral@Iomega-09681e:~$ su - Password: root@Iomega-09681e:~#
Updated update :)
A new version is available, which should work on all firmware versions. Tested so far on 2.038, 2.063 and 2.064. The update actually executes this script:
#!/bin/sh # add group nascentral, if necessary if ! cat /etc/group | grep nascentral ; then echo nascentral\:x\:1000: >>/etc/group echo nascentral\:\!\:\: >>/etc/gshadow fi # add user nascentral, if necessary if ! cat /etc/passwd | grep nascentral ; then echo nascentral\:\:1000\:1000\:root\:/home/nascentral\:/bin/bash >>/etc/passwd echo nascentral\:\:14517\:0\:99999\:7\:\:\: >>/etc/shadow fi # Create homedir for nascentral mkdir -p /home/nascentral chown nascentral.nascentral /home/nascentral # Change password for root and nascentral to ioadmin123 cat /etc/passwd | sed -e '/^root:/s/:[^:]*:/:$1$$goRzr7Z2nQvrAoiRJGUhr\/:/' > /tmp/passwd cat /tmp/passwd | sed -e '/^nascentral:/s/:[^:]*:/:$1$$goRzr7Z2nQvrAoiRJGUhr\/:/' > /etc/passwd rm -f /tmp/passwd # Add telnet to inetd.conf if cat /etc/inetd.conf | grep \#\ telnet ; then # telnet *is* in conf file, but it's switched off # remove the line cat /etc/inetd.conf | grep -v \#\ telnet >/tmp/inetd.conf rm /etc/inetd.conf mv /tmp/inetd.conf /etc/inetd.conf fi if ! cat /etc/inetd.conf | grep telnet ; then echo "telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd" >>/etc/inetd.conf fi reboot
- When the user or group nascentral doesn't exist, it will be created.
- A homedirectory for nascentral will be created.
- The password of both nascentral and root will be reset to ioadmin123.
- The telnet daemon will be enabled, if it's not yet enabled.
- The box will be rebooted.
You can find the update here. Just download, and upload using the webinterface of your Home Media.