一、问题描述
- 时区同步问题
- opkg软件安装
- firmware备份
二、问题解决
- 时区同步问题,修改系统配置文件,timezon和timeserver是关键,其他可以不要。
vi /etc/config/system config system option hostname 'OpenWrt' option zonename 'Asia/Hong Kong' option timezone 'HKT-8' option conloglevel '8' option cronloglevel '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'
- opkg相关软件安装
- 源修改
vi /etc/opkg.conf 更改源URL为:http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar71xx/generic/packages
- 源更新
opkg update
- 软件安装
opkg install uhttp(软件名称)
- 源修改
- firmware备份
- 查看firmware所在mtd
cat /proc/mtd mtd1: 00040000 00020000 "u-boot-env" mtd2: 00040000 00020000 "caldata" mtd3: 00080000 00020000 "pot" mtd4: 00200000 00020000 "language" mtd5: 00080000 00020000 "config" mtd6: 00300000 00020000 "traffic_meter" mtd7: 00200000 00020000 "kernel" mtd8: 07700000 00020000 "ubi" mtd9: 07900000 00020000 "firmware" mtd10: 00040000 00020000 "caldata_backup"
- dd备份
dd if=/etc/mtd9 of=/tmp/firmware_backup.bin
- 保存到服务器端或本机
- 查看firmware所在mtd