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/),

编译,刷机。

你可能感兴趣的:(open)