Build OpenWrt / LEDE from source codes | [firmware] OpenWrt / LEDE compilation from source codes



Rep: (516)
OpenWrt / LEDE (General theme) | DD-WRT FIRMWARE | Collect bin (dump) for the programmer | Upgraded UBOOT loaders


Build OpenWrt / LEDE from source


Attached Image
The forum decided to post images under the spoilerPicture


Description / What is discussed in the topic, and what is not
OpenWrt is an embedded Linux kernel-based operating system designed primarily for home routers. Core components include the Linux kernel, util-linux, uClibc or musl, and BusyBox. The source code is open. Distributed under licenseGNU GPL

The LEDE project is developed on the basis of Linux, an embedded meta-distribution based on OpenWRT, focused on a wide range of SOHO wireless routers and non-network devices. “Linux Embedded Development Environment”.
LEDE turned away from the parent project in May 2016, with the goal of continuing to develop better software in an open management model and encouraging new developers to contribute and development efforts.


  • This topic is intended to discuss the build process, discuss the components of the firmware for inclusion in the finished file for the firmware of your router and everything that is not related to the compilation of the firmware.
  • In this topicdon't discuss OpenWrt / LEDE settings, installation process of ready-made assemblies on your router. Questions like: "I installed OpenWrt and now I don’t know what to do, how to set up the Internet" is offtopic and will be deleted without any warnings. There is a general theme for such questions. OpenWrt / LEDE - alternative firmware

Initial instruction with pictures. Buildroot Build Method
All manipulations are done on a computer with linux (in our example it will be for Debian / Ubuntu)
First, install everything you need.

Open the console and copy the commands there.
sudo apt-get install subversion git

Further
sudo apt-get install g ++ libncurses5-dev zlib1g-dev gawk libssl-dev unzip make

Is done.
For convenience, create a directory, for example, with the name 1 and go into it
mkdir 1 && cd ~ / 1

Next you need to download the source of the firmware (see spoilerGit-repositories of OpenWrt and LEDE projects )

Download the branch we need (in this example, it is OpenWrt v17.01.4)

git clone git: //github.com/openwrt/openwrt.git -b v17.01.4


Next, go to the directory so that we have downloaded. Our initial path was ~ / 1 and we ran the command above along this path, we created the openwrt directory, we need to go to it to continue
cd ~ / 1 / openwrt /

In Ubuntu, you can:
Attached Image

Now you need to run
./scripts/feeds update -a




After the update process is completed, we perform
./scripts/feeds install -a

Almost everything is ready, then we perform
make prereq

If everything is ok, then there will be this message: Collecting package info: done
Starting the interface for selecting the firmware components (in the latest versions it appears automatically after the previous step)
make menuconfig

Moving through the points is done with the keyboard keys: up-down, space and esc.
Target system
Attached Image

Target Profile can be selected for the desired model, if you leave the default profile then a lot of compiled firmware will be created for all devices at once from the Target System profile
Attached Image

Now a few simple explanations:
We put the web-interface
Attached Image

Attached Image

Attached Image

and Russian language to him
Attached Image

Attached Image

Attached Image

To support L2TP, you need to select the xl2tpd package.
Attached Image

Attached Image

Attached Image

Also the necessary protocols pptp and so on are selected here:
Network --->
<*>ppp
<*>ppp-mod-pppoe
<*>ppp-mod-pppol2tp
<*>ppp-mod-pptp
Attached Image

Add busybox components:
Attached Image

Attached Image

Attached Image

Well, then be guided by your needs, remember that the place in the router is not rubber and you often need to keep within 4 mb., So do not overdo it.
When everything is finished, save our configuration with the button<Save>
We proceed to the assembly:
make

And for a 4-core processor, to include all cores, the command will be as follows:
make -j5 V = -1

Attached Image

We are waiting, in half an hour or an hour we find our firmware in the directory ~ / 1 / openwrt /bin

If the correct target is selected before the build, but the firmware is obtained in a size larger than the size allowed for the flash of your router - the files * sysupgrade.bin and * factory.bin will not be created.

Cleaning
make clean

Removes the contents of the bin and build_dir directories.

make dirclean

Removes the contents of the / bin and / build_dir directories, as well as the addition of / staging_dir and / toolchain (cross-compilation tools). 'Dirclean' is the main command for a thorough cleanup.

make distclean

Removes everything that you have collected or configured, and also removes everything downloaded from the repository and the source codes of the packages.
ATTENTION: Among other things, your build configuration (.config), your toolchain, and all other source codes will be erased. Use with caution!

Addresses of the repositories used are in the file feeds.conf.default

Git-repositories of OpenWrt and LEDE projects

18.06.4
git clone git: //github.com/openwrt/openwrt.git -b v18.06.3

18.06.3
git clone git: //github.com/openwrt/openwrt.git -b v18.06.3

18.06.2
git clone git: //github.com/openwrt/openwrt.git -b v18.06.2

18.06.1
git clone git: //github.com/openwrt/openwrt.git -b v18.06.1

18.06.0
git clone git: //github.com/openwrt/openwrt.git -b v18.06.0

17.01.6
git clone git: //github.com/openwrt/openwrt.git -b v17.01.6

17.01.5
git clone git: //github.com/openwrt/openwrt.git -b v17.01.5

17.01.4
git clone git: //github.com/openwrt/openwrt.git -b v17.01.4

17.01.3
git clone git: //github.com/openwrt/openwrt.git -b v17.01.3

17.01.2
git clone git: //github.com/openwrt/openwrt.git -b v17.01.2

17.01.1
git clone git: //github.com/openwrt/openwrt.git -b v17.01.1

17.01
git clone git: //github.com/openwrt/openwrt.git -b v17.01.0

15.05.1
git clone git: //github.com/openwrt/archive.git -b v15.05.1

15.05
git clone git: //github.com/openwrt/archive.git -b v15.05

14.07
git clone git: //github.com/openwrt/archive.git -b v14.07

12.09
git clone git: //github.com/openwrt/archive.git -b v12.09





Useful programs
WinSCPgraphical client SFTP and SCP
Settings for connecting to a router with LEDE (dropbear must be enabled)
Attached Image

Tftpd32
TFTP for Linux using Ubuntu as an example
Configure tftpd-hpa TFTP server

Install the tftpd-hpa package:
sudo apt-get install tftpd-hpa

After installation, edit the file
sudo nano / etc / default / tftpd-hpa
containing server settings. Let's bring it to the following form:

TFTP_USERNAME = "tftp"
TFTP_DIRECTORY = "/ var / tftp"
TFTP_ADDRESS = "0.0.0.0:69"
TFTP_OPTIONS = "- ipv4 --secure --create --umask 027 --permissive"


In the settings are additional options:
create allows the server to create new files,
ipv4 instructs it to wait for connections only on IPv4 addresses,
umask instructs to reset the write bit for the group and all access bits for other users,
permissive instructs not to carry out any file permissions checks in excess of the operating system.
Create a directory for the tftp server, give the server access to the directory:


sudo mkdir / var / tftp

sudo chown tftp: tftp / var / tftp


You can also change the home directory of the tftp user in the / etc / passwd file to / var / tftp.

Now we just write the ip addresses we need through the gnome network manager and that's it.

It remains to restart the daemon to start working with the new directory:
sudo /etc/init.d/tftpd-hpa restart

Instructions
Useful topics
OpenWrt project news


Post has been editedstp101 - 05.07.19, 00:16
Reason for editing: OpenWrt release 06/18/04



Rep: (93)
* ilya-fedin works ! Only the instruction you "wrote" for linuksoidov and not for "ordinary" users (copy / paste LiveCD: happy :)
Took sewing at random (status file) for those who are interested in what happens.
Package: luci-lib-sys
Version: 0.11 + svn-1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106512

Package: libuci-lua
Version: 2013-06-11.1-1
Depends: libc, libuci, liblua
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106521

Package: libc
Version: 0.9.33.2-1
Depends: libgcc
Provides:
Status: install hold installed
Essential: yes
Architecture: ar71xx
Installed-Time: 1504106520

Package: opkg
Version: 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-3
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/etc/opkg.conf 917a3ad260e28b570a255b41cd532c67
Installed-Time: 1504106520

Package: kmod-usb-core
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-nls-base
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: libpthread
Version: 0.9.33.2-1
Depends: libgcc
Provides:
Status: install hold installed
Essential: yes
Architecture: ar71xx
Installed-Time: 1504106520

Package: ubus
Version: 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
Depends: libc, libubus, libblobmsg-json, ubusd
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106520

Package: iw
Version: 3.14-1
Depends: libc, libnl-tiny
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106514

Package: luci-mod-admin-core
Version: 0.11 + svn-1
Depends: libc, luci-lib-web, luci-proto-core, luci-i18n-english
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: busybox
Version: 1.19.4-6
Depends: libc
Provides:
Status: install ok installed
Essential: yes
Architecture: ar71xx
Installed-Time: 1504106512

Package: luci-i18n-russian
Version: 0.11 + svn-1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: chat
Version: 2.4.5-10
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106520

Package: libubus-lua
Version: 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
Depends: libc, libubus, liblua
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106520

Package: libiwinfo-lua
Version: 44
Depends: libc, libiwinfo, liblua
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106515

Package: swconfig
Version: 10
Depends: libc, libuci, libnl-tiny
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106520

Package: libiwinfo
Version: 44
Depends: libc, libnl-tiny
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106514

Package: kmod-lib-crc-ccitt
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: kmod-ledtrig-usbdev
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-core
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: luci-theme-openwrt
Version: 0.11 + svn-1
Depends: libc, luci-theme-base
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: kmod-pppoe
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-ppp, kmod-pppox
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: kmod-pppox
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-ppp
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: kmod-ipt-conntrack
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-ipt-core
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: base-files
Version: 118.2-r42647
Depends: libc, netifd
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/ etc / hosts 0eea71665fb6890c06421fd13aa3f849
/ etc / inittab 517ddcd3176f3fb036d66b9ebea5ed38
/ etc / group 4a116d818b2f49e14939d581ec786de1
/ etc / passwd 8a31e6d3e2d67fc7b99f56055e9d802b
/ etc / shadow 497b070fd6e487f137756e9bce95b636
/ etc / profile 2729e95cc09e5f2a7ab9daae3d7ba857
/ etc / shells 725ba6f40dff0612f61ecd3f171bb3e1
/etc/sysctl.conf 5ef24a4c121d25a1a8a277ec9715a8ca
/etc/rc.local 6f8bfdaf36d3ec4aa9be6e96fa61d32b
/etc/sysupgrade.conf f91aef484370cefee501d64b5725c1d2
/ etc / config / system 8195f0ae675038c41766a9ff46e6e22b
Installed-Time: 1504106521

Package: netifd
Version: 2013-07-16-2674941b06c1ec67f1aff1bff9212e1372106641
Depends: libc, libuci, libnl-tiny, libubus, ubus, ubusd, jshn
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106519

Package: uboot-envtools
Version: 2012.04.01-1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106520

Package: kmod-usb-ohci
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-core
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: dnsmasq
Version: 2.66-2
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/ etc / config / dhcp 326e2116bd9bc3ecc5be4f75cd1e7647
/etc/dnsmasq.conf 7cf378e58d3fe5db31f4116a16c15c61
Installed-Time: 1504106512

Package: luci-sgi-cgi
Version: 0.11 + svn-1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: ubusd
Version: 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
Depends: libc, libubox
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106520

Package: kmod-usb-net-rndis
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-net, kmod-usb-net-cdc-ether
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: kmod-usb2
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-core
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: kmod-usb-serial-option
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-serial-wwan, kmod-usb-serial
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: firewall
Version: 2013-06-29
Depends: libc, libubox, libubus, libuci, libip4tc, libip6tc, libxtables
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/ etc / config / firewall dcf855f79d2c7cec06b621ee167b5f60
/etc/firewall.user f482960e5c24821f077e601d9a7f3068
Installed-Time: 1504106513

Package: comgt
Version: 0.32-21
Depends: libc, chat
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106512

Package: luci-app-firewall
Version: 0.11 + svn-1
Depends: libc, firewall
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: luci-lib-ipkg
Version: 0.11 + svn-1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106512

Package: libuci
Version: 2013-06-11.1-1
Depends: libc, libubox
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106521

Package: liblua
Version: 5.1.4-8
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106519

Package: libip4tc
Version: 1.4.10-5
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106514

Package: kmod-ath9k
Version: 3.3.8 + 2014-05-22-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-ath9k-common
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106519

Package: uci
Version: 2013-06-11.1-1
Depends: libc, libuci
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106521

Package: lua
Version: 5.1.4-8
Depends: libc, liblua
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106519

Package: wpad-mini
Version: 20131120-1
Depends: libc, libnl-tiny, libubus
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106514

Package: dropbear
Version: 2011.54-2
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/ etc / dropbear / dropbear_rsa_host_key d41d8cd98f00b204e9800998ecf8427e
/ etc / dropbear / dropbear_dss_host_key d41d8cd98f00b204e9800998ecf8427e
/ etc / config / dropbear 4ff9c827d4f95ca5082a5520c03e1419
Installed-Time: 1504106512

Package: kmod-ledtrig-timer
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: luci-proto-3g
Version: 0.11 + svn-1
Depends: libc, comgt
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: kmod-usb-net-asix
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-net
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: kmod-usb-serial-wwan
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-serial
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: kmod-crypto-aes
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-crypto-core
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: mtd
Version: 18.1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106519

Package: kmod-crypto-core
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: luci-theme-base
Version: 0.11 + svn-1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: libjson-c
Version: 0.11-2
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: libgcc
Version: 4.6-linaro-1
Provides:
Status: install hold installed
Essential: yes
Architecture: ar71xx
Installed-Time: 1504106520

Package: usb-modeswitch
Version: 1.2.3-2
Depends: libc, libusb
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: libip6tc
Version: 1.4.10-5
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106514

Package: luci-proto-ppp
Version: 0.11 + svn-1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: luci-mod-admin-full
Version: 0.11 + svn-1
Depends: libc, luci-mod-admin-core, luci-lib-ipkg
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: ppp
Version: 2.4.5-10
Depends: libc, kmod-ppp
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/ etc / ppp / chap-secrets e29cbe6021f13bd9b14d780a80f188ab
/ etc / ppp / filter 16b01d9201be60c9d1f16dd98f449484
/ etc / ppp / options 77741c792e70b6c733e6b09be0abfecc
Installed-Time: 1504106520

Package: libubox
Version: 2013-10-19-734d28eb1a46358743cf8837c91e5d46695c3b91
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: kmod-leds-gpio
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: libusb-1.0
Version: 1.0.9-1
Depends: libc, libpthread, librt
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: kmod-gpio-button-hotplug
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106514

Package: kmod-usb-net
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-core
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: luci-lib-web
Version: 0.11 + svn-1
Depends: libc, luci-lib-core, luci-lib-sys, luci-lib-nixio, luci-lib-core, luci-sgi-cgi
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/ etc / config / luci f5cecb0ba00886173676c81239b1bdc2
Installed-Time: 1504106513

Package: librt
Version: 0.9.33.2-1
Depends: libpthread
Provides:
Status: install hold installed
Essential: yes
Architecture: ar71xx
Installed-Time: 1504106520

Package: kmod-mac80211
Version: 3.3.8 + 2014-05-22-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-crypto-core, kmod-crypto-arc4, kmod-crypto-aes, kmod-cfg80211
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106519

Package: kmod-usb-serial
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-core
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: usb modeswitch-data
Version: 20120120-1
Depends: libc, usb-modeswitch
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: libblobmsg-json
Version: 2013-10-19-734d28eb1a46358743cf8837c91e5d46695c3b91
Depends: libc, libjson-c, libubox
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: iptables
Version: 1.4.10-5
Depends: libc, kmod-ipt-core, libip4tc, libxtables
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106514

Package: hotplug2
Version: 1.0-beta-4
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/etc/hotplug2.rules d4975ba71cf50d3d3c286b0de0f0929a
Installed-Time: 1504106514

Package: kmod-ipt-nathelper
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-ipt-core, kmod-ipt-nat
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: jshn
Version: 2013-10-19-734d28eb1a46358743cf8837c91e5d46695c3b91
Depends: libc, libjson-c
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: udev
Version: 173-1
Depends: libc, librt
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/etc/udev/udev.conf 8b024b79a468658332fbf2586737907e
Installed-Time: 1504106521

Package: kmod-ipt-core
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: kmod-ledtrig-default-on
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: kmod-ppp
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-lib-crc-ccitt
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: kmod-wdt-ath79
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: libubus
Version: 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
Depends: libc, libubox
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106520

Package: uhttpd
Version: 2012-10-30-e57bf6d8bfa465a50eea2c30269acdfe751a46fd
Depends: libc, libubox
Provides:
Status: install ok installed
Architecture: ar71xx
Conffiles:
/ etc / config / uhttpd 17e6f94bf1e87b33b1b4558cbf96e723
Installed-Time: 1504106521

Package: libxtables
Version: 1.4.10-5
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106514

Package: kmod-usb-serial-ipw
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-serial
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: luci-lib-nixio
Version: 0.11 + svn-1
Depends: libc, luci-lib-core
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106512

Package: luci
Version: 0.11 + svn-1
Depends: libc, uhttpd, luci-mod-admin-full, luci-theme-openwrt, luci-app-firewall, luci-proto-core, luci-proto-ppp, libiwinfo-lua
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: kmod-ath
Version: 3.3.8 + 2014-05-22-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-mac80211
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106519

Package: kernel
Version: 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61
Depends: libc
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: libnl-tiny
Version: 0.1-3
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: libusb
Version: 0.1.12-3
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: luci-proto-core
Version: 0.11 + svn-1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: kmod-nls-base
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: luci-i18n-english
Version: 0.11 + svn-1
Depends: libc
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106513

Package: kmod-ath9k-common
Version: 3.3.8 + 2014-05-22-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-ath
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106519

Package: kmod-crypto-arc4
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-crypto-core
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516

Package: kmod-usb-net-cdc-ether
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-usb-net
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106518

Package: kmod-cfg80211
Version: 3.3.8 + 2014-05-22-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), iw
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106519

Package: luci-lib-core
Version: 0.11 + svn-1
Depends: libc, lua, libuci-lua, libubus-lua
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106512

Package: ppp-mod-pppoe
Version: 2.4.5-10
Depends: libc, kmod-pppoe
Provides:
Status: install ok installed
Architecture: ar71xx
Installed-Time: 1504106520

Package: kmod-ipt-nat
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61), kmod-ipt-core, kmod-ipt-conntrack
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106517

Package: kmod-ledtrig-netdev
Version: 3.3.8-1
Depends: kernel (= 3.3.8-1-bdec25e6d5620a2ea3b7901fd1ea7c61)
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1504106516


Post has been editedA123l - 18.10.17, 17:32



Rep: (0)
A123l @ 10/18/17, 5:05*
works !

Dear A123l Well, why did you get the first assembly that you got, and not mine. They would help with the question what the build for my router includes and whether luci is included there.



Rep: (93)
Chikengod @ 10/18/17, 17:34*
why did you take the first available assembly, not mine

Because the method is not suitable for your firmware. So you toilya-fedin
Chikengod @ 10/18/17, 16:17*
How to remake an assembly with the .bin extension in .img

It will not tell (not aware) that would really
Chikengod @ 10/18/17, 16:17*
nothing broke


Post has been editedA123l - 18.10.17, 19:51



Rep: (2089)
A123l @ 10/18/17, 18:55*
Because the method is not suitable for your firmware.

Because he threw the link not on the request, but on the initramfs. His request is athttps: //downloads.open...quashfs-sysupgrade.bin
But the initramfs can be unpacked. It is enough to set binwalk again in the repacked image, by 40, in the unpacked 40 initramfs will be in the archive 30РЎ278, which is just a 7-zip archive :)
In general, everything is described very well here:https://habrahabr.ru/post/264843/

Post has been editedilya-fedin - 18.10.17, 21:42



Rep: (93)
* ilya-fedin all OK.
* chikengod Your
Attached filestatus.txt(20.26 KB)


Post has been editedA123l - 19.10.17, 12:03



Rep: (0)
Thank you A123l and ilya-fedin. After installation, I already know that there is luci inside, but another question arose: what are the kmod-usb-core, kmod-usb-dwc2, kmod-ledtrig-usbdev packages responsible for? My router with two radio modules, one of which is connected to the motherboard via usb. But I had a doubt that this module works in the firmware, by the way I asked for lede 1/17.4. And for some reason, the mac addresses of all interfaces were the same, I changed the lan, I don’t need to change it on one of wlan, I’ve entered it, but on the second wlan ipv6 there is no field to change the mac address. In general, radio-0 (2.4GHz) and radio-1 (5GHz) are displayed, but in the radio-1 setting, the maximum power is less than it should be in the factory firmware and in the manual.

Post has been editedchikengod - 19.10.17, 15:19



Rep: (0)
In general, the second radio module does not work, which is for usb, it is generally not in the settings. Can someone tell me, maybe it can be connected by creating a new interface?
Strange as that, assembly that for such router, and with adjustments a trouble both in lede and in openwrt (stitched by both).

P.S. I made a backup_art.bin made from the factory firmware and now I can not go to the router :))

Post has been editedchikengod - 19.10.17, 17:55



Rep: (23)
* chikengod where did you flash it?



Rep: (0)
Over openwrt from luci



Rep: (2089)
Chikengod @ 10/19/17, 15:49*
what are the kmod-usb-core, kmod-usb-dwc2, kmod-ledtrig-usbdev packages responsible for?

The first is, of course, USB support. The second is support for your USB2 controller. And the third is for the light bulb to respond to USB connections.



Rep: (23)
* chikengod .. He would not ask



Rep: (0)
Well, I poked on backup_fullflash, the firmware they did not go, and art asked: flash? - so I decided to see what will happen. Start something to flash, but neither 192.168.1.1 nor 192.168.10.1 (this is the factory one) is connected. Although in the upper left corner the inscription luci appears for a while, but this is all garbage, the programmer is flashed, how to start the radio module that is connected via usb? Who is constantly updating these assemblies on the openwrt and lede servers a couple of days ago was 01/17/3, and today it is already patched to 01/17/4 or is it automatically patched? Who can ask a question there?

Post has been editedchikengod - 19.10.17, 19:57



Rep: (23)
* chikengod , try to flash through tftp, well, after some kind of recovery



Rep: (516)
LEDE corrective update released 17.01.4https://lede-project.org/
git clone https://github.com/lede-project/source.git -b v17.01.4 Lede

Details can be read here.https: //www.opennet.ru…ws/art.shtml? num = 47415



Rep: (0)
Advise maybe you need to install some packages with usb, so that the usb radio module in the settings appears? For example, these packages are kmod-usb-rt305x-dwc_otg kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb



Rep: (2089)
* chikengod
What chip does this radio module have?



Rep: (0)
ilya-fedin RT3572L 2x2 MIMO

After initramfs firmware in radio, radio 0 appears, and after sysupgrade firmware - radio 1, radio 0 is 3050f and in the settings only 2.4GHz, press enable and you can see by the status that the radio is working, the signal is trying to show. In radio 1, you can choose 2.4 / 5GHz and if I choose 2.4GHz, the result is the same as with radio 0, but if I choose 5GHz, then the status is inactive. I have to have 5 GHz and 24dbi power on the usb radio module, and here it is only 20, as it should be on 3050f, which is radio 0. And on the factory firmware the LEDs on the WLAN motherboard on openwrt are lit this radio is off The usb LED into which the external radio module is connected is lit. The result is the same as on lede, what is on openwrt. I will restore the firmware, bring this antenna to the roof, scan the air, scan - it means the usb radio module is working, but then the question will still remain as to why the 5GHz does not work and what about the power.

Post has been editedchikengod - 20.10.17, 01:38



Rep: (0)
On the factory firmware, a bug or feature was found - with the chopped off wan on 3050f there is no connection to the usb radio module. Perhaps genes passed on to open source. But I connected both radio modules there and 5 GHz did not work.



Rep: (1)
Will I be able to roll up the settings on LEDE from the stock OpenWrt, if the LEDE is assembled with the same components as the stock OpenWrt?

Post has been editedmaliarr - 21.10.17, 11:19



Rep: (93)
View installed packages in the finished OpenWrt firmwarebefore firmwareher to the router .
Used method from userilya-fedin . MeAll actions were performed in Linux Mint 18.1 Serena x64
Instruction:
1. With the help of the program manager installSquashfs-tools and Binwalk
2. In the home folder, create a folder with an arbitrary name (I created with the name 11)
3. Download the required firmware xxxxxx-squashfs-factory.bin, for example, from herehttps: //downloads.open…/15.05/ar71xx/generic/and put it in folder 11
4. In the terminal we perform sequentially
cd 11
binwalk -e xxxxxx-squashfs-factory.bin

5. In folder 11, the folder _xxxxxxx-squashfs-factory.bin.extracted will be created, and in it along the path / squashfs-root / usr / lib / opkg / the file of intereststatus
6. Open it with a text editor and view the installed packages in the firmware.

Original method


Post has been editedA123l - 21.10.17, 15:57


Full version    

Help     rules

Now: 07/15/19, 23:31