OpenWrt修改

openwrt如何编译修改界面的顶部、底部信息、LOGO图片

2011-06-02 16:20:03  浏览2268次 
以Atheros71xx为例,修改路径为:trunk/build_dir/target-mips_r2_uClibc-0.9.33.2 /luci-trunk+svn8959/themes/openwrt/luasrc/view/themes/openwrt.org
此目录下的footer.htm和header.htm两个文件
稍懂html都很容易修改,然后重新编译即可

http://wifiap.cn/news.php?nid=32

源码中的修改:

[plain] view plain copy
  1. package/base-files/files/etc/config/system  
  2. [openwrt@root config]$ vim system   
  3.   1 config system  
  4.   2     option hostname Jack  
  5.   3     option timezone UTC  
  6.   4   
  7.   5 config timeserver ntp  
  8.   6     list server 0.openwrt.pool.ntp.org  
  9.   7     list server 1.openwrt.pool.ntp.org  
  10.   8     list server 2.openwrt.pool.ntp.org  
  11.   9     list server 3.openwrt.pool.ntp.org  
  12.  10     option enable_server 0  

 

然后删除原来生成的文件系统(staging_dir/target-i386_uClibc-0.9.33.2/root-x86/),

编译,刷机。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值