关闭

openwrt配置

标签: openwrt时区配置
609人阅读 评论(0) 收藏 举报
分类:
  • 配置时区
root@OpenWrt:~# cat /etc/config/system
config system
    option hostname 'OpenWrt'
    option conloglevel '8'
    option cronloglevel '8'
    option zonename 'Asia/Shanghai'
    option timezone 'CST-8'

config timeserver 'ntp'
    list server '0.openwrt.pool.ntp.org'
    list server '1.openwrt.pool.ntp.org'
    list server '2.openwrt.pool.ntp.org'
    list server '3.openwrt.pool.ntp.org'
  • 配置ssh

将公钥追加到/etc/dropbear/authorized_keys

  • 配置语言
config core 'main'
        option resourcebase '/luci-static/resources'
        option lang 'zh_cn'
        option mediaurlbase '/luci-static/bootstrap'

config extern 'flash_keep'
        option uci '/etc/config/'
        option dropbear '/etc/dropbear/'
        option openvpn '/etc/openvpn/'
        option passwd '/etc/passwd'
        option opkg '/etc/opkg.conf'
        option firewall '/etc/firewall.user'
        option uploads '/lib/uci/upload/'

config internal 'languages'
        option zh_cn 'chinese'

config internal 'sauth'
        option sessionpath '/tmp/luci-sessions'
        option sessiontime '3600'

config internal 'ccache'
        option enable '1'

config internal 'themes'
        option Bootstrap '/luci-static/bootstrap'
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:70055次
    • 积分:1109
    • 等级:
    • 排名:千里之外
    • 原创:35篇
    • 转载:30篇
    • 译文:1篇
    • 评论:6条
    最新评论