Skip to content

Commit

Permalink
build image 20170112
Browse files Browse the repository at this point in the history
fix: Unable to read UCI data: dhcp
  • Loading branch information
shmilee committed Jan 12, 2017
1 parent 2735120 commit 94ace9e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion WNDR3700v4-15.05.1/myfiles_templates/etc/config/dhcp
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ config dhcp wan
option dhcpv6 'hybrid'
option ra 'hybrid'
option ndp 'hybrid'
option master '1
option master '1'

10 changes: 5 additions & 5 deletions WNDR3700v4-15.05.1/myfiles_templates/myfiles_secret-example.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@
],

'etc/dnsmasq.conf': [
('ADD', "address=/shmilee.io/xx.yy.zz.aa\n"),
('ADD', "address=/pcbeta.com/218.93.127.136\n"),
],

'etc/opkg/distfeeds.conf': [
('REPLACE', ('http://downloads.openwrt.org/chaos_calmer/15.05.1',
'http://shmilee.io/repo-shmilee/openwrt-ipks-15.05.1')),
('REPLACE', ('http://downloads.openwrt.org/',
'http://openwrt.proxy.ustclug.org/')),
],

'etc/shadow': [
Expand Down Expand Up @@ -116,12 +116,12 @@

all_myfiles['etc/config/network'].extend([
('ADDFILE', templatedir + '/wifi-guest/etc_config_network',
('{IPADDR}', '192.168.xx.1')),
('{IPADDR}', '192.168.6.1')),
])

all_myfiles['etc/config/dhcp'].extend([
('ADDFILE', templatedir + '/wifi-guest/etc_config_dhcp',
('{DHCPOption}', '6,192.168.xx.1'),
('{DHCPOption}', '6,192.168.6.1'),
('{LeaseTime}', '6h'),),
])

Expand Down
7 changes: 4 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ WNDR3700v4-15.05.1
==================

固件: 按 [WNDR3700v4-15.05.1/readme.md](WNDR3700v4-15.05.1/readme.md) 编译,
当前版本 `openwrt-15.05.1-ar71xx-nand-wndr3700v4-ubi-factory-20161214-with-myfiles.img`.
MD5(b9c98a2cf85ec6fc3b4dfe3a8101d842)
当前版本 `openwrt-15.05.1-ar71xx-nand-wndr3700v4-ubi-factory-20170112-with-myfiles.img`.
MD5(16c9d9c9d6502c6701504474e68f98ca)

Installation via serial console and TFTP
========================================
Expand All @@ -35,7 +35,7 @@ Reset, 直到电源灯由 **橙色闪烁** 变到 **绿色闪烁**.
```shell
[$] tftp 192.168.1.1
tftp> mode binary
tftp> put openwrt-15.05.1-ar71xx-nand-wndr3700v4-ubi-factory-20161214-with-myfiles.img
tftp> put openwrt-15.05.1-ar71xx-nand-wndr3700v4-ubi-factory-20170112-with-myfiles.img
tftp> quit
```

Expand Down Expand Up @@ -67,5 +67,6 @@ mkdir -p /etc/shmilee/.aria2
mkdir -p /mnt/sda1
chown shmilee:users -R /etc/shmilee/
chown shmilee:users -R /mnt/sda1
smbpasswd -a shmilee
```

0 comments on commit 94ace9e

Please sign in to comment.