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:30] – [修改banner] admincustomize [2025/10/14 06:22] (current) – external edit 127.0.0.1
Line 31: Line 31:
 </code> </code>
  
-==文件系统中位置==+==临时修改==
 /etc/config/system 文件中的hostname /etc/config/system 文件中的hostname
 <code bash> <code bash>
Line 38: Line 38:
         option timezone CST-8         option timezone CST-8
 </code> </code>
-==源码位置==+==永久修改==
 openwrt_widora/package/base-files/files/etc/config/system 文件中的hostname 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.1519605031.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki