本帖最后由 wulai59421 于 2015-5-19 14:56 编辑
小白一个学了编译openwrt,整了下不十数次。
只安装了MWAN3\ARIA2\USB自动挂载
http://pan.baidu.com/s/1nt1fShj
1、Base system --->
<*> block-mount........................... Block device mounting and checking
2、Kernel modules --->
Filesystems --->
<*> kmod-fs-exfat................................... EXFAT filesystem support
<*> kmod-fs-ext4..................................... EXT4 filesystem support
Native Language Support --->
<*> kmod-nls-cp437...................... Codepage 437 (United States, Canada)
<*> kmod-nls-utf8...................................................... UTF-8
<*> kmod-nls-cp936
USB Support --->
<*> kmod-usb-storage-extras.................... Extra drivers for usb-storage
<*> kmod-usb2................................... Support for USB2 controllers
3、Utilities --->
Filesystem --->
<*> badblocks.............................. Ext2 Filesystem badblocks utility
<*> ntfs-3g.................................... Stable Read/Write NTFS Driver
use external FUSE library, selects package libfuse
disc --->
<*> fdisk.................................... manipulate disk partition table
<*> mount-utils................................... related (u)mount utilities
<*> mountd.......................................... OpenWrt automount daemon
4、LuCI --->
1. Collections --->
<*> luci
2. Modules --->
Translations --->
<*> Chinese (zh-cn)
3. Applications --->
5、RA-MOD --->
<*> luci-app-aria2.................................... LuCI Support for aria2
< > luci-app-chinadns.............................. LuCI Support for ChinaDNS
< > luci-app-shadowsocks........................ LuCI Support for shadowsocks
< > luci-app-vsftpd.................................. LuCI Support for vsftpd
< > luci-proto-shadowvirtual**............................... Support for Shadowvirtual**
6、Network --->
File Transfer --->
Aria2 configuration --->
SSL library (OpenSSL) --->
Enable bittorrent support
Enable metalink support
二、
make kernel_menuconfig加入了cp936
三、
1、修改LUCI界面配置
feeds/luci/modules/luci-base/root/etc/config/luci
config core main
option lang zh_cn
option mediaurlbase /luci-static/openwrt.org
option resourcebase /luci-static/resources
config internal languages
option zh_cn chinese
option en English
config extern flash_keep
2、修改路由连接数
package/base-files/files/etc/sysctl.conf
net.netfilter.nf_conntrack_max=300000
3、修改主机名,设定时区
package/base-files/files/etc/config/system
config system
option hostname OpenWrt
option zonename Asia/Shanghai
option timezone CST-8
config timeserver ntp
list server 0.openwrt.pool.ntp.org
option enabled 0
option enable_server 0
4、改ARIA2位置
查找aria2.lua
page = entry({"admin", "network", "aria2"}, cbi("aria2"), _("Aria2"), 10)
page.i18n = "ARIA2"
page.dependent = true
5、改WAN3显示名称
entry({"admin", "network", "mwan"},
alias("admin", "network", "mwan", "overview"),
_("MWAN3"), 600)
自动挂载是用系统自带的MOUNTD实现的,还不错,在网上找了好久也没找到好用的自动挂载补丁或脚本啥的。只测试了NTFS文件系统,其他的没测试。
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|