Re: [OpenWrt-Devel] [UCI] Problem with overwriting settings

2014-03-26 Thread Pawel Kulakowski
Thank you for your answer. I'd prefer to have explicit callbacks from hostapd (maybe to a script) to preserve those changes. I see that hapd_wps_cred_cb is called to update hostapd config. We can try here (somehow, maybe script?) update UCI config file. But what about this scenario: 1) Run

[OpenWrt-Devel] 3G will not work after reboot

2014-03-26 Thread winton
Hi all, Set the wan as 3g mode, but after reboot, it doesn't work. That's because the /etc/init.d/network starts already but usbmode is not ready so 3g doesn't work. I suggest starting usbmode before network. Winton 0001-usbmode-start-usbmode-earlier-than-network.patch

[OpenWrt-Devel] [PATCH, kernel] add ap91_pci_init_simple function for initial pci card

2014-03-26 Thread Marshmallow
This patch is for openwrt_12.09 (AA) kernel 3.3.8 It adds the function for the case that having calibration data in eeprom of wifi pci card. Compat-wireless provides the way AH_USE_EEPROM(see the macro below) to read the calibration data, but the ap91_pci_init functionalities does has the

[OpenWrt-Devel] [PATCH, packages] fix the issue on initiating multi ssid error (8 ssid for each band, totoal is 16)

2014-03-26 Thread Marshmallow
This patch can fix the issue that ethernet crash or turns into disable status when initiating multi ssid (8 for each band, total is 16) For more detail, please refer to https://dev.openwrt.org/ticket/15244 My suggestion is to move the line /sbin/wifi down in the front of stop when

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Support for HiWifi HC6361 router

2014-03-26 Thread Yousong Zhou
Hi, Just got my my chance to try this router. It's 2014 now and my comments are late... Sorry, but getting this board supported in the OpenWrt trunk is really good. For those interested, the original patch can be found at the following URL. http://patchwork.openwrt.org/patch/4244/ On

[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

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

2014-03-26 Thread Yousong Zhou
Hi, On 26 March 2014 20:56, Zhang Weiwu zhangwe...@realss.com wrote: 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. Not sure about this, but I can confirm that r40007

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

2014-03-26 Thread Yousong Zhou
Hi, On 26 March 2014 21:07, Yousong Zhou yszhou4t...@gmail.com wrote: Hi, On 26 March 2014 20:56, Zhang Weiwu zhangwe...@realss.com wrote: 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

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

[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

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

[OpenWrt-Devel] Subject: [PATCH 1/1] [package] Rework gnokii package to offer sendsms subpackage and the smsd service.

2014-03-26 Thread Andreas Thienemann
From: Andreas Thienemann andr...@bawue.net Offer better SMS integration for the gnokii package: gnokii-sendsms is a ncurses/dialog based frontend to interactively send a SMS message through a supported modem. gnoki-smsd is a SMS spooling service based on gnokii. Messages dropped into a

Re: [OpenWrt-Devel] [PATCHv2] netifd: Reload proto on topology change

2014-03-26 Thread Helmut Schaa
On Tue, Mar 25, 2014 at 4:50 PM, Felix Fietkau n...@openwrt.org wrote: On 2014-03-25 16:44, Helmut Schaa wrote: On Thu, Mar 20, 2014 at 4:26 PM, Helmut Schaa helmut.sc...@googlemail.com wrote: Introduce a new device event topology change that gets signaled by bridges on adding/removing

[OpenWrt-Devel] [PATCHv2 2/2] odhcp6c: Add renew handler for proto dhcpv6

2014-03-26 Thread Helmut Schaa
Signed-off-by: Helmut Schaa helmut.sc...@googlemail.com --- Changes in v2: Tell netifd core that we have a renew handler package/network/ipv6/odhcp6c/files/dhcpv6.sh | 8 1 file changed, 8 insertions(+) diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.sh

[OpenWrt-Devel] [PATCHv2 1/2] netifd: Add renew handler for proto dhcp

2014-03-26 Thread Helmut Schaa
Signed-off-by: Helmut Schaa helmut.sc...@googlemail.com --- Changes in v2: Tell netifd core that we have a renew handler package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 8 1 file changed, 8 insertions(+) diff --git

Re: [OpenWrt-Devel] [PATCHv2 2/2] odhcp6c: Add renew handler for proto dhcpv6

2014-03-26 Thread Helmut Schaa
On Wed, Mar 26, 2014 at 5:41 PM, Jonas Gorski j...@openwrt.org wrote: On Wed, Mar 26, 2014 at 5:11 PM, Helmut Schaa helmut.sc...@googlemail.com wrote: Signed-off-by: Helmut Schaa helmut.sc...@googlemail.com --- Changes in v2: Tell netifd core that we have a renew handler

Re: [OpenWrt-Devel] [PATCHv2 2/2] odhcp6c: Add renew handler for proto dhcpv6

2014-03-26 Thread Jonas Gorski
On Wed, Mar 26, 2014 at 5:11 PM, Helmut Schaa helmut.sc...@googlemail.com wrote: Signed-off-by: Helmut Schaa helmut.sc...@googlemail.com --- Changes in v2: Tell netifd core that we have a renew handler package/network/ipv6/odhcp6c/files/dhcpv6.sh | 8 1 file changed, 8

[OpenWrt-Devel] [PATCH v1] x86_64 kernel config - add ATA drivers to boot vmware images

2014-03-26 Thread Darren Lissimore
I needed to add the ATA drivers to the defalut x86_64 kernel config to get the VMware disk images booting. Tested and verified functioning on VMware Workstation 9.0.3 . diff --git a/target/linux/x86_64/config-default b/target/linux/x86_64/config- default index ad27973..76922a7 100644 ---

[OpenWrt-Devel] Netgear R6300 v1/ broadcom 4306 support

2014-03-26 Thread Brink Huffine
I have a netgear r6300v1 and would like to help port it to openwrt. I have compiled the netgear toolchain as well as the dd-wrt toolchain for this router from source. Serial cable is attached and nand support is now with openwrt so using these tools at my disposal I would like to help create a

Re: [OpenWrt-Devel] Long-distance links ath9k

2014-03-26 Thread Sergey Ryazanov
2014-03-26 9:13 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: It's clear that SOMETHING is getting time-limited, but I have distance=0 and dissassoc_low_ack=0 on both the AP and the station, and I'm not sure what else I can tweak. Configure distance parameter according to real distance between

Re: [OpenWrt-Devel] [PATCH v1] x86_64 kernel config - add ATA drivers to boot vmware images

2014-03-26 Thread Jiri Slachta
Hi, almost the same patch submitted a while ago was rejected. I do not think your patch will be accepted, see: http://patchwork.openwrt.org/patch/4832/ Jiri On March 26, 2014 6:16:44 PM CET, Darren Lissimore darren.lissim...@gmail.com wrote: I needed to add the ATA drivers to the defalut

Re: [OpenWrt-Devel] Long-distance links ath9k

2014-03-26 Thread Bill Moffitt
On March 26, 2014 11:29:59 AM PDT, Sergey Ryazanov ryazanov@gmail.com wrote: 2014-03-26 9:13 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: It's clear that SOMETHING is getting time-limited, but I have distance=0 and dissassoc_low_ack=0 on both the AP and the station, and I'm not sure what

Re: [OpenWrt-Devel] Long-distance links ath9k

2014-03-26 Thread Outback Dingo
On Wed, Mar 26, 2014 at 3:04 PM, Bill Moffitt bmoff...@ayrstone.com wrote: On March 26, 2014 11:29:59 AM PDT, Sergey Ryazanov ryazanov@gmail.com wrote: 2014-03-26 9:13 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: It's clear that SOMETHING is getting time-limited, but I have

Re: [OpenWrt-Devel] [PATCHv2 2/2] odhcp6c: Add renew handler for proto dhcpv6

2014-03-26 Thread Bastian Bittorf
* Jonas Gorski j...@openwrt.org [26.03.2014 20:18]: +proto_dhcpv6_renew() { + local interface=$1 + # SIGUSR1 forces odhcp6c to renew its lease + proto_kill_command $interface 16 SIGUSR1 is 16 only for mips; other arches use different values (see e.g.

Re: [OpenWrt-Devel] Long-distance links ath9k

2014-03-26 Thread Sergey Ryazanov
2014-03-26 23:04 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: On March 26, 2014 11:29:59 AM PDT, Sergey Ryazanov ryazanov@gmail.com wrote: 2014-03-26 9:13 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: It's clear that SOMETHING is getting time-limited, but I have distance=0 and

Re: [OpenWrt-Devel] [PATCHv2 2/2] odhcp6c: Add renew handler for proto dhcpv6

2014-03-26 Thread Michel Stempin
Hi Bastian, Le 26/03/2014 20:25, Bastian Bittorf a écrit : * Jonas Gorski j...@openwrt.org [26.03.2014 20:18]: +proto_dhcpv6_renew() { + local interface=$1 + # SIGUSR1 forces odhcp6c to renew its lease + proto_kill_command $interface 16 SIGUSR1 is 16 only for mips; other

Re: [OpenWrt-Devel] Long-distance links ath9k

2014-03-26 Thread Bill
On 3/26/2014 12:36 PM, Sergey Ryazanov wrote: 2014-03-26 23:04 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: On March 26, 2014 11:29:59 AM PDT, Sergey Ryazanov ryazanov@gmail.com wrote: 2014-03-26 9:13 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: It's clear that SOMETHING is getting

[OpenWrt-Devel] [PATCH 1/2] Add Support for ZyXEL NBG 6716

2014-03-26 Thread André Valentin
With this patch OpenWRT supports the following on the ZyXEL NBG 6716: -WiFi 2G -WiFi 5G -NAND flash -2 Ethernet interfaces -USB -LEDs (except switch LEDs) -sysupgrade process -reasonale defaults at first boot Signed-off-by: André Valentin avalen...@marcant.net ---

[OpenWrt-Devel] [PATCH 2/2] fstools: fix jffs2 detection on ubi/nand platform

2014-03-26 Thread André Valentin
Normally a jffs fs start with a know marker. If ubi is used, the partition does not habe such a marker. Just 0x. This patch checks if the partition is of type ubivol and has 0x at the beginning. In this case the partition is mounted as a jffs. Signed-off-by: André Valentin