月归档:2013年08月

openwrt修改出厂默认语言(默认中文)

以Atheros71xx为例,修改出厂语言:build_dir/target-mips_r2_uClibc-0.9.33.2/luci-trunk+svn8959/libs/web/root/etc/config/luci

修改如下:

config core main

option lang zh_cn

option mediaurlbase /luci-static/openwrt.org

option resourcebase /luci-static/resources


config extern flash_keep

option uci "/etc/config/"

option dropbear "/etc/dropbear/"

option openvpn "/etc/openvpn/"

option passwd "/etc/passwd"

option opkg "/etc/opkg.conf"

option firewall "/etc/firewall.user"

option uploads "/lib/uci/upload/"


config internal languages

option zh_cn 'chinese'

option en 'English'

 

config internal sauth

option sessionpath "/tmp/luci-sessions"

option sessiontime 3600


config internal ccache

option enable 1


config internal themes

默认开启无线的方法是编辑trunk/package/mac80211/files/lib/wifi/mac80211.sh,在最后几行的找个位置添加option disabled 0

有朋友反馈说

make clean之后就又变回来了  不清楚是不是这样

继续阅读

发表在 编译固件 | 留下评论