[OpenWrt-Devel] /var/dhcp.leases empty

2014-03-26 Thread Zhang Weiwu


Using Bleeding Edge, r39770. /var/dhcp.leases is always empty, no matter 
how many hosts in the lan got assigned IPv4 addresses. LUCI also shows 
There are no active leases.


Strange enough, LUCI shows multiple hosts under IPv6 DHCP section. This 
single fact means IPv6 leases are not stored in /var/dhcp.leases, but some 
other places. For hosts listed in Active DHCPv6 Leases, DNS server 
(dnsmasq) cannot resolve them.


Expected behaviour? Bleeding edge bug?

Thanks.
Zhang Weiwu
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] /var/dhcp.leases empty

2014-03-26 Thread Zhang Weiwu



On Wed, 26 Mar 2014, Yousong Zhou wrote:


Can you check your /etc/config/dhcp and the generated
/var/etc/dnsmasq.conf and confirm that option leasefile is properly
configured?


Yes, I can confirm in both files the correct path is configured: 
/tmp/dhcp.leases, which is /var/dhcp.leases



DHCPv6 leases are handled by odhcpd and the records are stored in
/var/hosts/odhcpd.  So it is expected behavior that dnsmasq cannot
resolve those requests.


Thanks for the info. Now I realized that ipv6 address are not from dnsmasq. 
I am afraid I have a racing codition here between odhcpd and dnsmasq, and I 
should be able to fix by removing or disabling odhcpd - due to poor ISP 
support, I cannot make use of IPv6 anyway - but I failed to google out how 
to disable odhcpd.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] amule package not available?

2014-03-26 Thread Zhang Weiwu


Using Bleeding Edge.

opkg list | grep mule yeilds nothing. A visite to the package list
http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/
confirms that not any mule is there.

I shouldn't be using the Bleeding Edge (not a developer myself) but it was 
so when I got the box. First I thought that I am too edgy to enjoy amule (or 
similiar), but a google search of site:downloads.openwrt.org amule returns 
only the source package, hinting perhaps there wasn't a binary package even 
for the stable releases. True?


Best.
Zhang Weiwu
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] amule package not available?

2014-03-26 Thread Zhang Weiwu

On Wed, 26 Mar 2014, Jiří Šlachta wrote:


buildbots says that amule is currently broken (=buildbots are
not able to compile amule).

You can wait for this patch to be tested, accepted and applied
( http://patchwork.openwrt.org/patch/5047/ ) or to compile amule
for OpenWrt by yourself.


Thank you for your prompt reply! I haven't be on the edge of compiling for 
too many years, so my option will be to wait.___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel