Soft routing openwrt Lede (x86_x64) compilation

reason:

        Xianyu started with a Seavo Technology SV3-26026 motherboard and wanted to use it for soft routing. I found that only Koolshare lede V2.9 version can be used. Later, I found Lean's post on the Enshan forum and saw that his source code has been released. Go to Github, which contains drivers for many mainstream hard routers, arm, Broadcom, MediaTek, etc. You can compile it yourself if you need it.

​Compilation process record:

Lean source code address: https://www.cnvito.top/go?url=https://github.com/coolsnowwolf/lede

Lean's compilation tutorial:

Compilation environment: Ubuntu16.04 tls X64 (installed in the virtual machine)

1. Execute sudo apt-get update first   

          sudo apt-get upgrade

2.安装基础环境:sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev

3. Create openwrt folder mkdir openwrt

Clone the source code to the local git clone https://github.com/coolsnowwolf/lede 

Then enter cd lede to enter the working directory lede

4. Update the software package 

./scripts/feeds update -a

./scripts/feeds install -a

5. Configure the firmware menu:

The following menu will appear in make menuconfig, select the corresponding platform (here I choose X86) and plug-in (LuCI–>Applications)

Note: Y is checked, N is unchecked, M is compiled without installation

The basic default here is only the SSR is added. Others can be added according to your needs.

Start compiling

After saving, execute the following command make -j1 V=s   

When compiling, it was necessary to go over the wall globally. The first time it took about 2 hours to complete. The generated file is in /lede/bin/targets/x86/64 

Installation process

Will compile the .img file, and use Win32DiskImager to write the .img to the target hard disk.

192.168.1.1   

Default username: root password: password

PS:

The latest display of yogurt "echo 0xDEADBEEF> /etc/config/google_fu_mode" ssh or enter it in the terminal, and then the webpage that is forced to refresh is there

If you recompile, you need to delete the setting file in the build_dir directory first. Or execute the command make clean

 

Guess you like

Origin blog.csdn.net/u013830926/article/details/87873019