VMware installing openwrt

Time:2021-2-8

Environmental preparation

First of all, download the firmware from the websitehttps://downloads.openwrt.org/

VMware installing openwrt

Because this is a VMware installation, Download x86-64,Download link

Some notes on openwrt / Lede firmware:

combined-ext4. img.gz (the storage format of rootfs workspace is ext4.)
combined- squashfs.img.gz (squashfs is equivalent to the firmware that can restore the factory settings. If the configuration is wrong in use, the default settings can be restored directly.)
generic- rootfs.tar.gz (the image of rootfs, without booting, can be booted by grub or syslinux.)
rootfs-ext4. img.gz (the image of rootfs, without booting, can be booted by grub or syslinux, and the required storage area is ext4.)
rootfs- squashfs.img.gz (the image of rootfs, without booting, can be booted by grub or syslinux. If the configuration is wrong, the default settings can be restored directly.)

Use starwindv2vconverter to convert img to vmdk and copy it to the virtual machine directory

VMware installing openwrt

Create a new virtual machine

To create a virtual machine of openwrt / Lede, Linux is selected as the client operating system, and other Linux (64 bit) is selected as the system version.

VMware installing openwrt

Configure the virtual machine, customize the CPU memory, delete the default hard disk, add an existing hard disk, select the previously uploaded openwrt / Lede firmware, add the network card according to the actual number of network cards in the soft route, save and start the virtual machine.

VMware installing openwrt

Power on

VMware installing openwrt

See the following to make sure that the boot is OK

VMware installing openwrt

After boot into the system, enter the following command to configure the network

vi /etc/config/network

VMware installing openwrt

PressiKey to enter the editing state, modify the IP address in option IPADDR (it should be set to the current same LAN segment, for example, the IP address of the router is 192.168.1.1, and the IP address of openwrt / Lede can be set to 192.168.1.200), press ESC to exit, and enter:wqSave exit

After saving, restart the network card or restart the virtual machine

Restart network command:service network restart

Restart virtual machine command:reboot

VMware installing openwrt

The above network has been connected

Enter the IP address through the browser to enter the background of openwrt / Lede for setting management.

VMware installing openwrt

Basic setting of soft routing system

VMware installing openwrt

Select network = > interfaces, and then select the “Edit” button of LAN port

General configuration inside the basic configuration, modify the IPv4 gateway and use custom DNS server for your main route IP address

VMware installing openwrt

Here openwrt can communicate with the Internet

To install the Chinese language pack, select system = > softwareopkg update, click the page update lists, the effect is the same

VMware installing openwrt

Enter luci-i18n-base-zh-cn in download and install package

VMware installing openwrt

Refresh the page is Chinese

other

There are also some firmware with integrated plug-ins. You can download them by yourself. The installation process is the same

https://netflixcn.com/miji/46…

In this paper, the blog group issued a multi article and other operational tools platformOpenWriterelease