Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Rooting Shuttle Omninas KD20

By: a guest on Feb 5th, 2014  |  syntax: None  |  size: 0.95 KB  |  views: 240  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Rooting Shuttle Omninas KD20
  2. Thanks to asham.ca (source: http://asham.ca/hardware/2013/12/getting-root-and-sshd-on-boot-with-the-shuttle-omninas-kd20/)
  3.  
  4. - Go to Storage => Disk Manager (Web interface of your NAS)
  5. - Open your web console in firefox (https://developer.mozilla.org/en-US/docs/Tools/Web_Console) and execute the following commands
  6.  
  7. !!! Replace YOUR-NAS-IP with the IP of your NAS !!!
  8.  
  9. // Command for resetting the root-passwort to foobar
  10. $.ajax({
  11. type:"POST",
  12. url: 'http://YOUR-NAS-IP/action/healthy_action.php',
  13. cache: false,
  14. //data: "devName=sda"+$devName,
  15. data: "devName=/dev/sd; (echo \"foobar\nfoobar\n\" | sudo passwd root) ",
  16. success:function(data){
  17. console.log(data)
  18. }
  19. });
  20.  
  21. // Command for starting sshd
  22. $.ajax({
  23. type:"POST",
  24. url: 'http://YOUR-NAS-IP/action/healthy_action.php',
  25. cache: false,
  26. //data: "devName=sda"+$devName,
  27. data: "devName=/dev/sd; sudo /etc/rc.d/sshd.sh start",
  28. success:function(data){
  29. console.log(data)
  30. }
  31. });