0673.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install OpenWRT on Raspberry Pi</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="OpenWRT,Raspberry Pi,Raspberry Pi Router,Single Board Computer,Linux,RPi,Pi,SBC,Router,Networking,OpenWRT Tutorial,Install Guide,How To Run OpenWRT On Raspberry Pi,Install OpenWRT On Raspberry Pi,Raspberry Pi Wireless Router,Raspberry Pi Wifi Router,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install OpenWRT on Raspberry Pi">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/17/2022 08:12:57 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install OpenWRT on Raspberry Pi</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Things You Will Need</h2>
  26. <ul>
  27. <li>A microSD card at least 512 MB <a href="https://amzn.to/36CpShC" target="_blank">https://amzn.to/36CpShC</a> | <a href="https://amzn.to/3CXJngt" target="_blank">https://amzn.to/3CXJngt</a> | <a href="https://amzn.to/3JqyxSP" target="_blank">https://amzn.to/3JqyxSP</a></li>
  28. </ul>
  29. <h2>Downloads and Flashing to MicroSD</h2>
  30. <ol>
  31. <li>Download OpenWRT for Raspberry Pi <a href="https://firmware-selector.openwrt.org/?version=SNAPSHOT" target="_blank">Download</a>
  32. <ol start="1" style="list-style-type: lower-alpha;">
  33. <li>Search for the Raspberry Pi device</li>
  34. <li>Select the Factory (ext4) download</li>
  35. </ol>
  36. </li>
  37. <li>Download Balena Etcher <a href="https://www.balena.io/etcher/" target="_blank">Download</a></li>
  38. <li>Run Balena Etcher</li>
  39. <li>Burn the OpenWRT image to the microSD card</li>
  40. <li>Safely remove the microSD</li>
  41. </ol>
  42. <h2>Booting OpenWRT</h2>
  43. <ol>
  44. <li>Insert the microSD card into the Raspberry Pi and power it on</li>
  45. <li>OpenWRT should begin booting</li>
  46. <li>After the terminal has stopped scrolling press Enter to be logged in as root</li>
  47. <li>Enter the following commands at the terminal prompt
  48. <div class="codeBlock CMD"># set a root password<br />
  49. passwd<br />
  50. # enter and confirm a password<br />
  51. # set the ip address<br />
  52. uci set network.lan.ipaddr=&#39;192.168.0.137&#39;<br />
  53. # set the gateway<br />
  54. uci set network.lan.gateway=&#39;192.168.0.27&#39;<br />
  55. # set dns server, usually the gateway or pi-hole<br />
  56. uci set network.lan.dns=&#39;192.168.0.2&#39;<br />
  57. # restart network service for changes to take effect<br />
  58. service network restart<br />
  59. # update openwrt packages<br />
  60. opkg update<br />
  61. # install the luci web ui<br />
  62. opkg install luci</div>
  63. </li>
  64. <li>Open a web browser and navigate to http://IP, http://192.168.0.137 in the example</li>
  65. <li>At the login screen, enter the username root and the password set above &gt; Click the Login button</li>
  66. <li>Welcome to OpenWRT running on Raspberry Pi</li>
  67. </ol>
  68. </div>
  69. </div>
  70. </body>
  71. </html>