DIY 自己的路由器系统

sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc zip python3-distutils -y

git clone https://git.openwrt.org/openwrt/openwrt.git

./scripts/feeds update -a

./scripts/feeds install -a

./scripts/feeds update luci

./scripts/feeds install -a -p luci

设置分区大小

Target Images --> Root filesystem partition size (in MiB)

开启LUCI

LuCI ---> Collections --->luci

设置中文

LuCI ---> Modules ---> Translations --->

Chinese (zh-cn)

LuCI ---> Applications ---> luci-app-samba4

LuCi ---> Protocols ---> luci-proto-c

开启OpenSSH

Network ---> SSH ---> openssh-server

开启Docker

Utilities ---> docker

Utilities ---> docker-compose

Utilities ---> dockerd

LuCi ---> Applications ---> luci-app-dockerman

非root用户编译

make FORCE_UNSAFE_CONFIGURE=1 -j1 V=s

无线网

Network->WirelesssAPD->hostapd

Network->WirelesssAPD->hostapd-common

Network->WirelesssAPD->hostapd-utils

Network->WirelesssAPD->wpa-supplicant

Kernel modules--->Wireless Drivers --->kmod-iwlwifi

Kernel modules--->Wireless Drivers --->kmod-mac80211

其他模块

Kernel modules->USB Support >kmod-usb-core

Kernel modules->USB Support >kmod-usb-chid

Kernel modules->USB Support >kmod-usb-ledtrig-usbport

Kernel modules->USB Support >kmod-usb2

Kernel modules->USB Support >kmod-usb3

Kernel modules->Filesystems->kmod-fs-ext4

Kernel modules->Filesystems->kmod-fs-vfat

Kernel modules->Filesystems->kmod-fs-ntfs

Firemware->iwlwifi-firmware-ax200

你可能感兴趣的:(shell,openwrt)