Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to compile and install OpenWrt in Ubuntu

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Ubuntu how to compile and install OpenWrt, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

1. Download the OpenWrt source code

Git clone https://github.com/openwrt/openwrt.git

Details of the catalogue are as follows:

two。 Update the system

Sudo apt-get updatesudo apt-get dist-upgrade sudo apt-get upgrade

3. Install the required software

Sudo apt-get install gathers + patch bison autoconf gettext texinfo unzip sharutils sudo apt-get install subversion libncurses5-dev ncurses-term zlib1g-dev sudo apt-get install gawk asciidoc libz-dev sphinxsearch libtool sudo apt-get install sphinx-common libssl-dev libsqlite3* intltool libiconv* sudo apt-get install gstreamer-0.10* glib2.0 libxml2-dev qemu ia32-libs git-core build-essential sudo apt-get install gcc binutils bzip2 flex python perl makesudo apt-get install find grep diff unzip gawk getopt subversion libz-dev

4. Compiling directory assigns permissions

Sudo chmod-R 777 openwrt

5. Clear

Make clean

6. Update source code

. / scripts/feeds update-a./scripts/feeds install-a

7. Pre-compilation check

Make defconfigmake prereq

8. Configure the compiled image (take ZBT-WE1226 as an example)

Make menuconfig

Configure the first two items

Configuration completed

9. Start compilation

If you encounter a problem with make-j4 V=s# and use search, be sure to scroll up a few screens to view the log. The error details are all above make-j1 Vackers.

10. Get a mirror image

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report