I have a query I'm new to openwrt I have a litebeam_5ac_gen2 and I want to install openwrt to be able to deactivate the airmax.
but I don't understand these commands, what are they? linux and what tools should I use?
According to the instructions that appear are these:
scp WA.v * .bin email@example.com: / tmp /
scp openwrt - * - sysupgrade.bin firstname.lastname@example.org: / tmp /
fwupdate.real -m /tmp/WA.v*.bin & sleep 4; kill $ !; threw out
image = $ (ls /tmp/openwrt-*-sysupgrade.bin)
dd if = $ image of = / dev / mtdblock2 bs = 64K count = 16
dd if = $ image of = / dev / mtdblock3 bs = 64K skip = 16
I can do it in windows and what tools?
Can somebody help me?
You would only need the CLI
ssh programs which are included with Windows 10 or any Linux OS.
What those instructions attempt to do (there seem to be a few problems with the details, where did you copy them from?):
- Copy an official firmware and an OpenWrt firmware to the devices /tmp directory, which is a RAM disk.
- Initiate an official update with the official firmware, but kill it 4 seconds later. This leaves the flash chip unlocked after the
fwupdate.real program has checked the signature of the official firmware and started flashing.
- Copy the OpenWrt firmware directly to the flash chip in two pieces.
the instructions to load the firmware was from here:
if there is another way can you tell me?
It looks good on the page but there are some steps that have been left out which would not be apparent to the rank beginner. I'm not going to edit the wiki though since I don't have that hardware so have not done the install myself to confirm it works.
- After downloading the two firmwares (it would be good to use exactly 8.7 as the stock firmware, rather than trying something untested), disconnect the PC from all wired and wifi networks and connect the Ethernet port to the LiteBeam through the PoE injector. Set the PC port static IP ("Use this IP address") to 192.168.1.10 with a netmask of 255.255.255.0. You can leave gateway and DNS unset.
- (Step 2) Log in to the Ubiquiti web interface (http://192.168.1.20) and upgrade the firmware.
- Open a Command Prompt (not Administrator) to run scp and ssh in the next steps. Change to your Downloads directory where the firmware files are.
- In steps 3 and 4 replace the text containing * with the actual name of the file. You should see a status line with the number of MB transferred by scp.
- After finishing step 4, log into the router with SSH (ssh email@example.com) and execute all the remaining steps on the router CLI via the SSH window.
The second install process with bootloader serial + TFTP is impractical because the unit is glued shut. You would have to crack the case open to reach the internal serial port, and then thoroughly re-glue it if you're going to use the unit outdoors.
However like all Ubiquiti products if you end up with a brick it should be possible to use their standard TFTP recovery.
- TFTP recovery only works with stock firmware. It is not possible to install OpenWrt via TFTP recovery.
- Configure PC with static IP as above. Open a Command Prompt and change directory to where the stock firmware file is located.
- Hold down the reset button while connecting the power to the router. Keep holding until the LEDs blink repeatedly back and forth.
- Send file via tftp:
tftp -i 192.168.1.20 PUT WA* again replace * with the rest of the real file name.
- If you get 'tftp is not recognized as an internal command...' go to the Control Panel, Programs, Add / Remove Windows Features, find TFTP Client in the list, and check the box to activate it.
- If transfer fails cut the power off to the router, reset it and try again. Transfer must be started within about 20 seconds after the LEDs start flashing. The LEDs will continue to flash indefinitely but the TFTP server in the router stops.
Thank you very much mike for your great help I performed the procedure but I stay this way and I don't even have web interfaces to access the equipment
What should I do now at this point to access the computer's web interface?
I thank you in advance for your great help.
opkg install luci
Snapshot images ship without web UI.
Thanks for your answer but I cannot install web access (LuCI web), the device is already configured and has internet access but when trying to execute: opkg update I have this error Operation Not Permitted
ping openwrt.org (or any other site by name like
You have to configure a DNS server if you're not using DHCP on your Internet connection.
I use dhcp this is my configuration
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdc8:f08a:7675::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'dhcp'
That should work.
My point was to enter the name of a site instead of a numeric address to confirm that name resolution works.
root@Edgerouter-X:~# ping openwrt.org
PING openwrt.org (126.96.36.199): 56 data bytes
64 bytes from 188.8.131.52: seq=0 ttl=43 time=160.274 ms
64 bytes from 184.108.40.206: seq=1 ttl=43 time=299.124 ms
64 bytes from 220.127.116.11: seq=2 ttl=43 time=210.919 ms
not doing it, how can I solve it?
It should have picked up your main network's DNS server via DHCP, which will be stored in /tmp/resolv.conf.auto:
root@NSACloco:~# cat /tmp/resolv.conf.auto
# Interface lan
Here 192.168.40.1 is the main router on my house network, which like almost any home router offers a DNS service.
You can also force a LAN or third party DNS server into the lan configuration:
option dns 18.104.22.168
though I have not tried that with DHCP also active.
Friend is already solved, I just had to disable all DHCP services and I could install LUCI WEB.!!!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.