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