[OpenWrt-Devel] PPPoE not working on TP-Link 941ND firmware

2013-01-21 Thread Nguyễn Hồng Quân
Hello I've just flashed my router TP-Link WR940N with OpenWrt Backfire and Attitude Adjustment (same firmware with 941ND). For both OpenWrt version, the WAN port does not work with PPPoE, though it works with static address protocol. Could you let me know how to solve this? Thanks! --

Re: [OpenWrt-Devel] PPPoE not working on TP-Link 941ND firmware

2013-01-21 Thread Nguyễn Hồng Quân
For more information, here is the log: OpenWrt daemon.info pppd[2592]: Plugin rp-pppoe.so loaded. OpenWrt daemon.info pppd[2592]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5 OpenWrt daemon.notice pppd[2592]: pppd 2.4.5 started by root, uid 0 OpenWrt daemon.info dnsmasq[2012]:

Re: [OpenWrt-Devel] PPPoE not working on TP-Link 941ND firmware

2013-01-21 Thread Nguyễn Hồng Quân
Please ignore the last log. It is wrong (it is when I plugged out the wire). Here is the correct one: OpenWrt daemon.info pppd[4655]: Plugin rp-pppoe.so loaded. OpenWrt daemon.info pppd[4655]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5 OpenWrt daemon.notice pppd[4655]: pppd

[OpenWrt-Devel] How to check the field is empty?

2013-01-21 Thread . Elvis
hi all, If the field does not enter a value, how can display a warning message(You must enter a value) ! code = s:option(Value, code, translate(Code)) code.password = true thanks all, ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] about m.uci:get!

2013-01-21 Thread Nguyễn Hồng Quân
Your config: config pin option pincode1 '1' means that pin is Typed Section, while the uci:get require a Named Section. You can use uci:get_first() with Typed Section, or convert to Named Section like this config general pin option (general is Typed Section and pin now is Named

Re: [OpenWrt-Devel] How to check the field is empty?

2013-01-21 Thread Nguyễn Hồng Quân
Add this attribute to your option: .optional = false Your example will become: code = s:option(Value, code, translate(Code)) code.option = false (Don't understand what password means and why it is there). On Mon 21 Jan 2013 05:25:19 PM ICT, . Elvis wrote: hi all, If the field does not enter a

[OpenWrt-Devel] [PATCH] [ar71xx] add TP-LINK WA-801ND to run-time model detection

2013-01-21 Thread Amir Sagie
A small cosmetic fix to show the HW model name correctly in LuCI. --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 31b6dde..720c19e 100755 ---

Re: [OpenWrt-Devel] OpenWRT pull request php5 updates

2013-01-21 Thread Florian Fainelli
Hey Michael, On 01/19/2013 10:58 AM, Michael Heimpold wrote: Hi Florian, please have a look my openwrt-packages php5 branch on GitHub: https://github.com/mhei/openwrt-packages/commits/php5. I not sure whether there still exists any compile time problems (not sure whether you still remember),

Re: [OpenWrt-Devel] new package ndpi-netfilter

2013-01-21 Thread Vince Huang
Hello,is there any updates of ndpi?I triediptables -I FORWARD -m ndpi --bittorrent -j REJECTutorrent still running at full speed.--Original--From: "Jo-Philipp Wich"x...@subsignal.org;Date: Mon, Dec 17, 2012 09:18 PMTo: "openwrt-devel"openwrt-devel@lists.openwrt.org;

[OpenWrt-Devel] hostapd hang - cannot associate but existing connections ok

2013-01-21 Thread Justin Vallon
The symptom is that I cannot connect to my wireless network, but existing connections are ok. Once I try to reconnect from the client (wifi off wifi on), that device is then unable to connect. In the past, restarting hostapd has fixed the problem. strace says it is stuck here: sendto(9,

[OpenWrt-Devel] [PATCH 003/003] [ar71xx] add profile support for dir-825-c1

2013-01-21 Thread Alexander, Stadler
From: Alexander Stadler sa.mailli...@univie.ac.at profile support for dir-825-c1 Signed-off-by: Alexander Stadler sa.mailli...@univie.ac.at --- diff -urN a/trunk/target/linux/ar71xx/generic/profiles/d-link.mk b/trunk/target/linux/ar71xx/generic/profiles/d-link.mk ---

[OpenWrt-Devel] [PATCH 001/003] [ar71xx] add kernel support for dir-825-c1

2013-01-21 Thread Alexander, Stadler
From: Alexander Stadler sa.mailli...@univie.ac.at kernel support for dir-825-c1 Signed-off-by: Alexander Stadler sa.mailli...@univie.ac.at --- diff -urN a/trunk/target/linux/ar71xx/config-3.7 b/trunk/target/linux/ar71xx/config-3.7 --- a/trunk/target/linux/ar71xx/config-3.7 2012-12-31

[OpenWrt-Devel] [PATCH 002/003] [ar71xx] add user space support for dir-825-c1

2013-01-21 Thread Alexander, Stadler
From: Alexander Stadler sa.mailli...@univie.ac.at user space support for dir-825-c1 Signed-off-by: Alexander Stadler sa.mailli...@univie.ac.at --- diff -urN a/trunk/target/linux/ar71xx/base-files/etc/diag.sh b/trunk/target/linux/ar71xx/base-files/etc/diag.sh ---

Re: [OpenWrt-Devel] [PATCH] Add support for TL-WDR3500

2013-01-21 Thread Gui Iribarren
Well, seems like i managed to fulfill every item of http://www.kroah.com/log/linux/maintainer.html and it's not my first patch sent to this list, so I have no excuse :( OTOH, I succeeded in getting the ethernet ports straight, so i'll send a properly formatted, improved PATCHv2 Thanks for your

Re: [OpenWrt-Devel] [PATCH] packages/net/olsrd: retry tunnel setup

2013-01-21 Thread Daniel Golle
On 01/20/2013 11:53 PM, Bastian Bittorf wrote: * Daniel Golle dgo...@allnet.de [20.01.2013 22:50]: When started while boot, olsrd quits when SmartGW is enabled with the message olsrd[1395]: Received netlink error code Cannot assign requested address (-126) olsrd[1395]: olsrd exit: Cannot