0001.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Running a DD-WRT VM in Virtualbox</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="DD-WRT,Virtualbox,Virtual Machine,Virtual Router,How To,x86,Linux,Tutorial">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Running a DD-WRT VM in Virtualbox">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  12. <script type="text/javascript" src="includes/js/steps.js"></script>
  13. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  14. </head>
  15. <body>
  16. <div id="gridContainer">
  17. <div class="topMargin"></div>
  18. <div id="listName" class="topMargin">
  19. <h1>Running a DD-WRT VM in Virtualbox</h1>
  20. </div>
  21. <div></div>
  22. <div id="content">
  23. <ol>
  24. <li>Download Oracle Virtualbox<a href="https://www.virtualbox.org/" target="_blank"> Download</a></li>
  25. <li>Download DD-WRT x86 Image<a href="ftp://ftp.dd-wrt.com/" target="_blank"> Download</a></li>
  26. <li>Install Oracle Virtualbox</li>
  27. <li>Convert DD-WRT x86 Image to VDI
  28. <div class="codeBlock"># change directory to virtualbox installation<br />
  29. cd %programfiles%/Oracle/Virtualbox<br />
  30. # run vboxmanage to convert the raw image to .vdi<br />
  31. vboxmanage.exe convertdd &quot;c:\users\i12bretro\downloads\dd-wrt_public_vga.image&quot; &quot;c:\users\i12bretro\downloads\dd-wrt.vdi&quot;</div>
  32. </li>
  33. <li>Resize the VDI File
  34. <div class="codeBlock"># resize the vdi to 256MB<br />
  35. vboxmanage.exe modifyhd --resize 256 &quot;c:\users\i12bretro\downloads\dd-wrt.vdi&quot;</div>
  36. </li>
  37. <li>Launch Virtualbox</li>
  38. <li>Create a New VM by selecting Machine &gt; New
  39. <p>Name: DD-WRT<br />
  40. Machine Folder: C:\VMs<br />
  41. Type: Linux<br />
  42. Version: Other Linux (32-bit)<br />
  43. Memory Size: 256 MB<br />
  44. Hard disk: Do not add a virtual hard disk</p>
  45. </li>
  46. <li>Click Create</li>
  47. <li>Copy the dd-wrt.vdi file from downloads into C:\VMs\DD-WRT</li>
  48. <li>Select the VM and Click Settings</li>
  49. <li>Select Storage</li>
  50. <li>Click Add Storage Attachment &gt; Add Hard Disk &gt; Choose existing disk</li>
  51. <li>Click Add and browse to C:\VMs\DD-WRT\dd-wrt.vdi</li>
  52. <li>Click OK</li>
  53. <li>Select Network</li>
  54. <li>Set Attached to: Bridge Adapter</li>
  55. <li>Make sure the DD-WRT VM is selected and click Start &gt; Normal</li>
  56. <li>Wait for the text to stop scrolling and press Enter</li>
  57. <li>Login with root/admin</li>
  58. <li>Set the IP address to something in your current subnet so you can reach it
  59. <div class="codeBlock">ifconfig br0 192.168.0.227</div>
  60. </li>
  61. <li>Launch your web browser of choice and access the DD-WRT web UI with the IP address in the previous step</li>
  62. </ol>
  63. </div>
  64. </div>
  65. </body>
  66. </html>