修改说明

修改banner

 _       ___     __
| |     / (_)___/ /___  _________ _
| | /| / / / __  / __ \/ ___/ __ `/
| |/ |/ / / /_/ / /_/ / /  / /_/ /
|__/|__/_/\__,_/\____/_/   \__,_/
 -----------------------------------------------------
 CHAOS CALMER (Chaos Calmer, r49378) Version:0.1.7 by mango
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
临时修改

/etc/banner

永久修改

openwrt_widora/package/base-files/files/etc/banner

修改机器名字

默认是Widora,提现在交互终端上:

root@Widora:/etc/config#
临时修改

/etc/config/system 文件中的hostname

config system
        option hostname Widora
        option timezone CST-8
永久修改

openwrt_widora/package/base-files/files/etc/config/system 文件中的hostname

修改WI-FI名字

临时修改

/etc/config/wireless

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

修改ssid后的字符串即可。

永久修改

openwrt_widora/package/mtk-wifi/files/lib/wifi/ralink.sh

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

修改ssid后的字符串,这里用到了mac地址,建议仅修改Widora字眼即可。