#OpenWRT菜单功能配置
编译过程使用的交叉编译,交叉编译生成的SDK以及image等文件的类型取决于开发环境、应用硬件、以及源码版本。所以要对自己的环境进行了解,才能进行正确的配置。
注:以下配置使用15.05 branch (Chaos Calmer)版本
恢复编译环境:
make defconfig
进入编译菜单:
make menuconfig
之后会出现一个图形配置界面,熟悉linux内核编译的应该知道,两者一样的。
主要配置的选项有(实际使用时请按需选择,否则会因固件太大(指4M Flash版)而无法生成,带星号为必选):
- Target system(目标系统类型)
-*Target System ————Atheros AR7xxx/AR9xxx
-*Target Profile ————TP-LINK TL-WR703N - 选择 LuCI 配置( web 网页管理程序):
-LuCI —> 1. Collections —> luci 启用 LuCI
-LuCI —> 3. Applications —> luci-app-commands 网页 Shell
-LuCI —> 3. Applications —> luci-app-ddns 动态域名
-LuCI —> 3. Applications —> luci-app-firewall 防 火 墙
-LuCI —> 3. Applications —> luci-app-ntpc 时间同步服务器
-LuCI —> 3. Applications —> luci-app-qos 上网管理
-LuCI —> 3. Applications —> luci-app-samba 网络共享
-LuCI —> 4. Themes —> luci-theme-bootstrap 默认主题 - Kernel modules (内核模块):
-*Kernel modules —> USB Support —> kmod-usb-ohci 支持 USB 1.0
-Kernel modules —> USB Support —> kmod-usb-storage 支持 USB 存储
-Kernel modules —> USB Support —> kmod-usb-uhci 支持 USB 1.1
-Kernel modules —> USB Support —> kmod-usb2 支持 USB 2.0
-*Kernel modules —> Video Support —>kmod-video-core
-Kernel modules —> Video Support —> kmod-video-cpia2
-Kernel modules —> Video Support —> kmod-video-gspca-core
-Kernel modules —> Video Support —> kmod-video-pwc
-*Kernel modules —> Video Support —> kmod-video-uvc
-*Kernel modules —> Video Support —> kmod-video-videobuf2 - Multimedia
-*Multimedia–> mjpg-streamer - Network
-*Network–> File Transfer –>vsftpd FTP服务器
-*Network–> ser2net
配置好以后保存