Difference between revisions of "TS-WXL1.0TL/R1"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
Line 49: Line 49:
     sh ./lspro-bootstrap_1.2-7_arm.xsh
     sh ./lspro-bootstrap_1.2-7_arm.xsh
     ipkg update
     ipkg update

Latest revision as of 17:45, 31 October 2011





  Processor       : Feroceon rev 0 (v5l)
  BogoMIPS        : 799.53
  Features        : swp half thumb fastmult vfp edsp
  CPU implementer : 0x41
  CPU architecture: 5TE
  CPU variant     : 0x1
  CPU part        : 0x926
  CPU revision    : 0
  Hardware        : Feroceon-MV78XX0
  Revision        : 0000
  Serial          : 0000000000000000

Gaining access [1]

To gain root access you need to use ACP_COMMANDER then run the following commands:-

Firstly test access using acp_commander (change the IP and password).

  java -jar acp_commander.jar -t -ip -pw password -c "ls /"

You should get a directory listing & an error informing you that it cannot change the IP address (ignore this warning), if you don't get a directory listing check your password, now change the root password.

   java -jar acp_commander.jar -t -ip -pw password -c "(echo myrootpass;echo myrootpass)|passwd"

It should output OK (ACP_STATE_OK), now we need to fix permissions to allow root access.

   java -jar acp_commander.jar -t -ip -pw password -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config"
   java -jar acp_commander.jar -t -ip -pw password -c "sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config"

Once again it'll just output OK and throw that IP error, now restart sshd.

   java -jar acp_commander.jar -t -ip -pw password -c "/etc/init.d/sshd.sh restart"

You should now have access to your terastation, use putty to log in!

Optware [2]

Once you've logged into your Terrastation through SSH, perform the following commands:

   mkdir -p /mnt/array1/tmp
   cd /mnt/array1/tmp
   wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-7_arm.xsh
   sh ./lspro-bootstrap_1.2-7_arm.xsh
   ipkg update