123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Install OpenWRT on Raspberry Pi</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <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">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Install OpenWRT on Raspberry Pi">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="05/17/2022 08:12:57 PM" />
- <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>Install OpenWRT on Raspberry Pi</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>Things You Will Need</h2>
- <ul>
- <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>
- </ul>
- <h2>Downloads and Flashing to MicroSD</h2>
- <ol>
- <li>Download OpenWRT for Raspberry Pi <a href="https://firmware-selector.openwrt.org/?version=SNAPSHOT" target="_blank">Download</a>
- <ol start="1" style="list-style-type: lower-alpha;">
- <li>Search for the Raspberry Pi device</li>
- <li>Select the Factory (ext4) download</li>
- </ol>
- </li>
- <li>Download Balena Etcher <a href="https://www.balena.io/etcher/" target="_blank">Download</a></li>
- <li>Run Balena Etcher</li>
- <li>Burn the OpenWRT image to the microSD card</li>
- <li>Safely remove the microSD</li>
- </ol>
- <h2>Booting OpenWRT</h2>
- <ol>
- <li>Insert the microSD card into the Raspberry Pi and power it on</li>
- <li>OpenWRT should begin booting</li>
- <li>After the terminal has stopped scrolling press Enter to be logged in as root</li>
- <li>Enter the following commands at the terminal prompt
- <div class="codeBlock CMD"># set a root password<br />
- passwd<br />
- # enter and confirm a password<br />
- # set the ip address<br />
- uci set network.lan.ipaddr='192.168.0.137'<br />
- # set the gateway<br />
- uci set network.lan.gateway='192.168.0.27'<br />
- # set dns server, usually the gateway or pi-hole<br />
- uci set network.lan.dns='192.168.0.2'<br />
- # restart network service for changes to take effect<br />
- service network restart<br />
- # update openwrt packages<br />
- opkg update<br />
- # install the luci web ui<br />
- opkg install luci</div>
- </li>
- <li>Open a web browser and navigate to http://IP, http://192.168.0.137 in the example</li>
- <li>At the login screen, enter the username root and the password set above > Click the Login button</li>
- <li>Welcome to OpenWRT running on Raspberry Pi</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|