openwrt修改LAN口IP及时区及默认SSID
in Openwrt with 0 comment
openwrt修改LAN口IP及时区及默认SSID
in Openwrt with 0 comment

修改LAN口IP

vim package/base-files/files/lib/functions/uci-defaults.sh

修改时区

vim package/base-files/files/etc/config/network

修改SSID及加密以及加密方式

vim package/base-files/files/etc/config/system
vim package/kernel/mac80211/files/lib/wifi/mac80211.sh

配置参数如下:

config wifi-iface
option device radio$devidx
option network lan
option mode ap
option ssid Gargoyle
option encryption 'psk2+tkip+ccmp'
option key 'password'

修改banner

vi trunk/package/base-files/files/etc/banner

附带一个banner制作网站:http://patorjk.com/software/taag/#p=display&;f=Graffiti&t=Type%20Something%20

修改默认登陆密码:

vi /package/base-files/files/etc/shadow root:$1$VsqAMsSP$AxXIxntH059K/ovqtAnIN/:16344:0:99999:7:::

修改uhttpd侦听端口

vi /package/network/services/uhttpd/files/uhttpd.conf
The article has been posted for too long and comments have been automatically closed.