User Tools

Site Tools


customize

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
customize [2018/02/26 00:21] – [修改banner] admincustomize [2025/10/14 06:22] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====修改说明====
 +  * 临时修改:表示在板子上直接修改,一般重启后生效,但板子恢复出厂设置后会失效。
 +  * 永久修改:表示用于定制固件,修改源代码完编译后生效,恢复出厂设置后也不会失效。
 ====修改banner==== ====修改banner====
 <code bash> <code bash>
Line 16: Line 19:
  -----------------------------------------------------  -----------------------------------------------------
 </code> </code>
-===文件系统中的位置===+==临时修改==
 /etc/banner /etc/banner
-===源码位置===+==永久修改==
 openwrt_widora/package/base-files/files/etc/banner openwrt_widora/package/base-files/files/etc/banner
- 
  
  
 ====修改机器名字==== ====修改机器名字====
 +默认是Widora,提现在交互终端上:
 +<code bash>
 +root@Widora:/etc/config#
 +</code>
  
 +==临时修改==
 +/etc/config/system 文件中的hostname
 +<code bash>
 +config system
 +        option hostname Widora
 +        option timezone CST-8
 +</code>
 +==永久修改==
 +openwrt_widora/package/base-files/files/etc/config/system 文件中的hostname
  
 +====修改WI-FI名字====
 +{{::wifiname.png|}}
  
 +==临时修改==
 +/etc/config/wireless
 +<code bash>
 +config wifi-iface ap
 +        option device   radio0
 +        option mode     ap
 +        option network  lan
 +        option ifname   ra0
 +        option ssid     Widora-0648
 +        option encryption none
 +        option hidden    0
 +</code>
 +修改ssid后的字符串即可。
  
-====用户自己编译好的程序预装入文件系统==== +==永久修改== 
- +openwrt_widora/package/mtk-wifi/files/lib/wifi/ralink.sh 
- +<code bash> 
 +config wifi-iface ap 
 +        option device   radio0 
 +        option mode     ap 
 +        option network  lan 
 +        option ifname   $dev 
 +        option ssid     Widora-$(cat /sys/class/net/eth0/address|awk -F ":" '{print $5""$6}'| tr a-z A-Z) 
 +        option encryption none  
 +        option hidden    0 
 +</code> 
 +修改ssid后的字符串,这里用到了mac地址,建议仅修改Widora字眼即可。
  
customize.1519604501.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki