[OpenWrt-Devel] [PATCH 2/2] dnsmasq: Make the --dhcp-host logic easier to understand

2014-08-26 Thread Kevin Cernekee
Use an if/else statement to cover the two different syntaxes. Add comments explaining what the end results should look like. This patch should not change the script's output. Signed-off-by: Kevin Cernekee --- .../network/services/dnsmasq/files/dnsmasq.init| 14 -- 1

[OpenWrt-Devel] [PATCH 1/2] dnsmasq: Fix hosts file format when MAC address is not specified

2014-08-26 Thread Kevin Cernekee
lan Obviously it should say "pc2.lan". This happens because $name is set to "" in order to support the MAC-less syntax: "--dhcp-host=lap,192.168.0.199". Fix this by reordering the operations. Also, refuse to add a DNS entry if the hostname or IP is missing. Fixe

Re: [OpenWrt-Devel] MOCA Driver For mi424wr

2014-05-13 Thread Kevin Cernekee
On Tue, May 13, 2014 at 12:10 PM, James Hilliard wrote: > 178 0778240516S /bin/EN2510_clinkd -Dt --microcode > /etc/EN2 > 181 0778240516S /bin/EN2510_clinkd -Dt --microcode > /etc/EN2 It looks like these lines got cut off. You can try "ps w" or procps "ps

[OpenWrt-Devel] [PATCH/RFC] ar71xx: NetgearNAND: Copy a flashable kernel image to bin/ar71xx/

2014-05-03 Thread Kevin Cernekee
:/tmp/ ssh router mtd -r write /tmp/openwrt-ar71xx-nand-uImage-flashable.bin /dev/mtd7 Signed-off-by: Kevin Cernekee --- target/linux/ar71xx/image/Makefile |1 + 1 file changed, 1 insertion(+) An alternative might involve deleting/overwriting the existing uImage-{gzip,lzma} images

Re: [OpenWrt-Devel] MOCA Driver For mi424wr

2014-04-29 Thread Kevin Cernekee
On 4/29/2014, James Hilliard wrote: > I also found the driver for the EN2210 > https://github.com/jameshilliard/Quattro_2.1/blob/5a9f386e9ed9878a600cf6ea723ad9e329a27781/gpl/kernel/2.6.18/drivers/net/entrmoca/GPL/E1000/READMEwhich > may work with the earlier revision mi424wr routers. The code und

[OpenWrt-Devel] [PATCH] dnsmasq: Allow creating static DNS entries from static lease entries

2014-04-28 Thread Kevin Cernekee
ords for hosts. It would probably be better for the reporter to apply this patch, and then use "config host" sections instead of "config domain" sections. [1] http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2008q4/002498.html Signed-off-by: Kevin Cernekee --- .../n