Z
Z
ZoomEx2015-05-02 21:07:55
linux
ZoomEx, 2015-05-02 21:07:55

How to make native openWRT build for Nexx wt1520 work?

I need to get the netem module working on a Nexx wt1520 router .
Compiling my assembly from under CentOS.
I use this manual . I'm downloading the trunk version.
Everything is as written in the manual and README.
Compilation succeeds. I flash the resulting openwrt-ramips-rt305x-wt1520-4M-squashfs-sysupgrade.bin binary over the already installed and working openWRT firmware downloaded from the link in the manual. In the process of configuring the image (make menuconfig), I change only the first three points - I set the router model.
I also put [*] in the Global build settings ---> Select all packages by default
After rebooting, the wifi dot is missing. The web interface does not work through the LAN.
Through SSH / Telnet it turns out to go in order to roll back to a working version of OpenWRT.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Krasnopivets, 2015-05-03
@NETmare

After reboot, the wifi point is missing.
In OpenWRT, the wlan interface is disabled by default, so this is a normal situation after flashing.
The web interface does not work through the LAN.
Most likely, your binary does not contain the necessary packages (LuCI or Gargoyle)
Through SSH / Telnet it turns out to go in order to roll back to a working version of OpenWRT.
This indicates that the firmware is working. It is enough for you to raise the uplink (WAN interface) and install the required packages for the web interface using opkg (here are the commands for LuCI):
opkg update
opkg install luci

You can view additional packages for LuCI and, accordingly, install them with the commands:
opkg list luci-*
opkg install <package_name>

S
solalex, 2015-05-04
@solalex

Global build settings ---> Select all packages by default

What is the firmware size? Maybe it's stupid not to get into the flush.
And yes, by default there is no web muzzle in the trunk. Add required packages before building.

Z
ZoomEx, 2015-05-04
@ZoomEx

The size of the binary is 3.1MB.
The router is behaving strangely.
I update the firmware, configure the network and wifi. I start wifi.
Everything is working. But after some time or after another reboot (until I understood the patterns) it stops working: the wifi point disappears, it gives out some left IP
(169.254.177.123) on the LAN. And, accordingly, I can not go in any way.
It turns out to be restored only through the UART, which I soldered.
Several such iterations have already been repeated, I don’t even have time to set up the web interface.
At the same time, it works stably with someone else's firmware.
When I run a luci install from the net, it ends up running out of space.
Will this cause everything to break? In any case, once after that, all my settings (network, wifi) flew off and everything looked as if it had just flooded its image.
Now I'm putting together a less voluminous image so that there is enough space for luci.
Another question:
I never managed to build an image with luci preinstalled.
In the menuconfig, I put all the checkboxes on luci, but after flashing the binary, the web interface does not work.
opkg install luci doesn't work in this case either. In any case, should it be
installed / configured after uploading the image or not?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question