手机版
你好,游客 登录 注册
背景:
阅读新闻

OpenWrt修改主机名

[日期:2013-04-17] 来源:Linux社区  作者:jk110333 [字体:大 中 小]

默认主机名: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上

linux
相关资讯       openwrt  
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款