默认主机名:OpenWrt
源码中的修改:
package/base-files/files/etc/config/system
[openwrt@root config]$ vim system
1 config system
2 option hostname Jack
3 option timezone UTC
4
5 config timeserver ntp
6 list server 0.openwrt.pool.ntp.org
7 list server 1.openwrt.pool.ntp.org
8 list server 2.openwrt.pool.ntp.org
9 list server 3.openwrt.pool.ntp.org
10 option enable_server 0
然后删除原来生成的文件系统(staging_dir/target-i386_uClibc-0.9.33.2/root-x86/),
编译,刷机。
效果图
页面的
ssh上