Re: [OpenWrt-Devel] 2012.02 Linaro 4.6
On 2012-02-12 9:17 PM, Dave Taht wrote: > On Sun, Feb 12, 2012 at 7:09 PM, Otto Solares Cabrera wrote: >> On Sat, Feb 11, 2012 at 01:34:58PM -0500, jonsm...@gmail.com wrote: >>> Updating to Linaro 4.6 2012.02 has fixed those code generation bugs I >>> was hitting. 2012.02 can also compile openssl for ARMv5 again (some >>> Cortex changes had broken it). >> >> JFYI 2012.02 works fine for me on all my targets, thanks. >> -- >> Otto > > Does this imply that the toolchain will be changing at some point, > soon? (otto, does your targets include ar71xx?) > > I have a long standing bug with QFQ that I perversely hope is > toolchain related but aside from that... The default toolchain was changed (a bit prematurely in my opinion). I'm currently fixing some of the mess that this has caused. I just fixed the swconfig segfault issue and now I'm porting a missing patch for preventing the compiler from statically linking some libgcc crap into every single binary on the system. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] 2012.02 Linaro 4.6
On Sun, Feb 12, 2012 at 7:09 PM, Otto Solares Cabrera wrote: > On Sat, Feb 11, 2012 at 01:34:58PM -0500, jonsm...@gmail.com wrote: >> Updating to Linaro 4.6 2012.02 has fixed those code generation bugs I >> was hitting. 2012.02 can also compile openssl for ARMv5 again (some >> Cortex changes had broken it). > > JFYI 2012.02 works fine for me on all my targets, thanks. > -- > Otto Does this imply that the toolchain will be changing at some point, soon? (otto, does your targets include ar71xx?) I have a long standing bug with QFQ that I perversely hope is toolchain related but aside from that... > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel -- Dave Täht SKYPE: davetaht US Tel: 1-239-829-5608 FR Tel: 0638645374 http://www.bufferbloat.net ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [OpenWrt-Users] Linksys WRT150N wireless supported in 10.03.1?
On 02/02/2012 4:52:09 PM, Hauke Mehrtens wrote: > On 01/28/2012 06:55 AM, Aaron Z wrote: > > When I run "killall -9 hostapd" then "wifi" I get told: > > "Configuration file: /var/run/hostapd-phy0.conf" and "Using > > interface wlan0 with hwaddr MACADDRESS and ssid 'OpenWrt'"wifi is > > still rejecting connections. > > When I run "killall -9 hostapd; /usr/sbin/hostapd -dd > > /var/run/hostapd-phy0.conf > /tmp/hostapd.log" it works right > > away. > This behavior is strange it could be that debugging activates some > needed code path, hostapd just works after the second start or that > there are timing issues. Could you run hostapd just with -d and > without > -d and report what happens in these cases? Sorry for the delay. Its been busy around here. I ran "killall -9 hostapd; /usr/sbin/hostapd -d /var/run/hostapd-phy0.conf > /tmp/hostapd.log" I was able to connect and go online. The log is attached as hostapd -d.txt (4 KB). I then rebooted the WAP and ran "killall -9 hostapd; /usr/sbin/hostapd /var/run/hostapd-phy0.conf > /tmp/hostapd.log" I was able to connect and go online. The logfile was blank, so I didn't attach it. I tried connecting before running the commands and was rejected both times. Thanks Aaron Zrandom: Trying to read entropy from /dev/random Configuration file: /var/run/hostapd-phy0.conf nl80211: interface wlan0 in phy phy0 nl80211: Set mode ifindex 6 iftype 2 (STATION) nl80211: Failed to set interface 6 to mode 2: -16 (Device or resource busy) nl80211: Interface already in requested mode - ignore error netlink: Operstate: linkmode=1, operstate=5 nl80211: Using driver-based off-channel TX nl80211: Interface wlan0 is in bridge br-lan nl80211: Add own interface ifindex 5 nl80211: Add own interface ifindex 6 nl80211: Set mode ifindex 6 iftype 3 (AP) nl80211: Create interface iftype 6 (MONITOR) Failed to create interface mon.wlan0: -23 (Too many open files in system) Try to remove and re-create mon.wlan0 nl80211: Remove interface ifindex=7 nl80211: Create interface iftype 6 (MONITOR) nl80211: New interface mon.wlan0 created: ifindex=8 nl80211: Add own interface ifindex 8 BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits) nl80211: Regulatory information - country=00 nl80211: 2402-2472 @ 40 MHz nl80211: 2457-2482 @ 20 MHz nl80211: 2474-2494 @ 20 MHz nl80211: 5170-5250 @ 40 MHz nl80211: 5735-5835 @ 40 MHz nl80211: Added 802.11b mode based on 802.11g information Completing interface initialization Mode: IEEE 802.11g Channel: 11 Frequency: 2462 MHz nl80211: Set freq 2462 (ht_enabled=0 sec_channel_offset=0) RATE[0] rate=10 flags=0x1 RATE[1] rate=20 flags=0x1 RATE[2] rate=55 flags=0x1 RATE[3] rate=110 flags=0x1 RATE[4] rate=60 flags=0x0 RATE[5] rate=90 flags=0x0 RATE[6] rate=120 flags=0x0 RATE[7] rate=180 flags=0x0 RATE[8] rate=240 flags=0x0 RATE[9] rate=360 flags=0x0 RATE[10] rate=480 flags=0x0 RATE[11] rate=540 flags=0x0 Flushing old station entries Deauthenticate all stations wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0 Using interface wlan0 with hwaddr 00:88:88:88:00:2a and ssid 'OpenWrt' Using existing control interface directory. ctrl_iface bind(PF_UNIX) failed: Address already in use ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination Successfully replaced leftover ctrl_iface socket '/var/run/hostapd-phy0/wlan0' nl80211: Set beacon (beacon_set=0) wpa_driver_nl80211_set_operstate: operstate 0->1 (UP) netlink: Operstate: linkmode=-1, operstate=6 wlan0: Setup of interface done. RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP]) netlink: Operstate: linkmode=-1, operstate=6 RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Unknown event 5 nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP]) netlink: Operstate: linkmode=-1, operstate=6 RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Unknown event 5 RTM_NEWLINK: operstate=1 ifi_flags=0x1002 () nl80211: Ignore interface down event since interface wlan0 is up RTM_NEWLINK: operstate=1 ifi_flags=0x1002 () nl80211: Ignore interface down event since interface wlan0 is up RTM_NEWLINK: operstate=1 ifi_flags=0x1002 () nl80211: Ignore interface down event since interface wlan0 is up RTM_NEWLINK: operstate=1 ifi_flags=0x1002 () nl80211: Ignore interface down event since interface wlan0 is up nl80211: Ignore event for foreign ifindex 7 nl80211: Ignore dellink event for foreign ifindex 7 RTM_NEWLINK: operstate=1 ifi_flags=0x1002 () nl80211: Ignore interface down event since interface mon.wlan0 is up RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK
Re: [OpenWrt-Devel] 2012.02 Linaro 4.6
On Sat, Feb 11, 2012 at 01:34:58PM -0500, jonsm...@gmail.com wrote: > Updating to Linaro 4.6 2012.02 has fixed those code generation bugs I > was hitting. 2012.02 can also compile openssl for ARMv5 again (some > Cortex changes had broken it). JFYI 2012.02 works fine for me on all my targets, thanks. -- Otto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] openwrt capable router with integrated adsl modem
Hi, On 11 Feb 2012, at 18:54, John Crispin wrote: > buffalo wbmr is a nice choice, trunk works on t, wifi usb come up, has 4 > gbit ports. > > john > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel I've got three of these up and running now on a three-way (well, two-way, it will be three tomorrow) bonded setup. I would thoroughly recommend these devices - they're great and pretty reasonably priced. I'm getting good DSL performance as well … one of them seems too good, although it did reboot (the whole thing, not just the DSL) and lower the rate a little, so I suspect there are still things to be sorted out with the driver … but it's been rock solid since, and the other one in current use has been stable for about three weeks now, no issues at all. Lee. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] add new packages libhdhomerun and hdhomerun_config
Hi Artur, please update your patch with proper description. On Sat, Feb 11, 2012 at 06:19:59PM -0500, Artur Twarecki wrote: > +define Package/libhdhomerun/description > + Package/libhdhomerun/description Description update goes here, delete line above. > +endef > + > +define Package/hdhomerun_config > + SECTION:=utils > + CATEGORY:=Utilities > + TITLE:=HDHomeRun configuration utility > + URL:=http://www.silicondust.com > + DEPENDS:=+libpthread +librt > +endef > + > +define Package/hdhomerun_config/description > + Package/hdhomerun_config/description Description update goes here, delete line above. > +endef > + Then resend the patch. Regards, Luka ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [packages] ndppd: new upstream release 0.2.2
New features in 0.2.2: - libconfuse dependency removed - Improved logging - New auto-configuration option Signed-off-by: Gabriel Kerneis --- ipv6/ndppd/Makefile | 22 +++--- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/ipv6/ndppd/Makefile b/ipv6/ndppd/Makefile index 08ccc76..5178a68 100644 --- a/ipv6/ndppd/Makefile +++ b/ipv6/ndppd/Makefile @@ -8,12 +8,19 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ndppd -PKG_VERSION:=0.2.1 +PKG_VERSION:=0.2.2 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz + +# Latest release PKG_SOURCE_URL:=http://www.priv.nu/projects/ndppd/files/ -PKG_MD5SUM:=9b65a8cccfce8689f0c1c410c20b4790 +PKG_MD5SUM:=d90c4b65777a62274c1837dba341e5a8 + +# Development snapshot +#PKG_SOURCE_URL=git://github.com/Tuhox/ndppd.git +#PKG_SOURCE_VERSION=master +#PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk @@ -23,7 +30,7 @@ define Package/ndppd TITLE:=NDP Proxy Daemon URL:=http://www.priv.nu/projects/ndppd/ MAINTAINER:=Gabriel Kerneis - DEPENDS:=+kmod-ipv6 +confuse +uclibcxx + DEPENDS:=+kmod-ipv6 +uclibcxx endef define Package/ndppd/description @@ -44,10 +51,11 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ CXX="$(TARGET_CXX)" \ - CXXFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CXXFLAGS) -fno-builtin -fno-rtti -nostdinc++ \ - -I$(STAGING_DIR)/usr/include/uClibc++ -I$(LINUX_DIR)/include" \ + CXXFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CXXFLAGS) $(TARGET_CFLAGS) \ + -std=c++0x -fno-builtin -fno-rtti -nostdinc++ \ + -I$(STAGING_DIR)/usr/include/uClibc++" \ LDFLAGS="$(TARGET_LDFLAGS)" \ - LIBS="-nodefaultlibs -luClibc++ -lconfuse" \ + LIBS="-nodefaultlibs -luClibc++" \ ndppd endef -- 1.7.9 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [packages] tcpdump: new upstream release 4.2.1
Signed-off-by: Gabriel Kerneis --- net/tcpdump/Makefile |6 +- net/tcpdump/patches/001-remove_pcap_debug.patch|2 +- .../patches/002-remove_static_libpcap_check.patch | 15 +- net/tcpdump/patches/004-fix_3g_iface.patch |4 +- net/tcpdump/patches/100-tcpdump_mini.patch | 662 ++-- 5 files changed, 336 insertions(+), 353 deletions(-) diff --git a/net/tcpdump/Makefile b/net/tcpdump/Makefile index ec6703b..0e76c58 100644 --- a/net/tcpdump/Makefile +++ b/net/tcpdump/Makefile @@ -8,15 +8,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tcpdump -PKG_VERSION:=4.1.1 -PKG_RELEASE:=2 +PKG_VERSION:=4.2.1 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.tcpdump.org/release/ \ http://ftp.gwdg.de/pub/misc/tcpdump/ \ http://www.at.tcpdump.org/ \ http://www.br.tcpdump.org/ -PKG_MD5SUM:=d0dd58bbd6cd36795e05c6f1f74420b0 +PKG_MD5SUM:=c202878c6db054767b52651041b9e60e PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/net/tcpdump/patches/001-remove_pcap_debug.patch b/net/tcpdump/patches/001-remove_pcap_debug.patch index b67c434..14d1b84 100644 --- a/net/tcpdump/patches/001-remove_pcap_debug.patch +++ b/net/tcpdump/patches/001-remove_pcap_debug.patch @@ -1,6 +1,6 @@ --- a/tcpdump.c +++ b/tcpdump.c -@@ -901,20 +901,6 @@ main(int argc, char **argv) +@@ -982,20 +982,6 @@ main(int argc, char **argv) error("invalid data link type %s", gndo->ndo_dltname); break; diff --git a/net/tcpdump/patches/002-remove_static_libpcap_check.patch b/net/tcpdump/patches/002-remove_static_libpcap_check.patch index 0bffaab..8ab54aa 100644 --- a/net/tcpdump/patches/002-remove_static_libpcap_check.patch +++ b/net/tcpdump/patches/002-remove_static_libpcap_check.patch @@ -1,6 +1,6 @@ --- a/configure +++ b/configure -@@ -9440,28 +9440,6 @@ echo "${ECHO_T}Using $pfopen" >&6; } +@@ -7130,28 +7130,6 @@ echo "${ECHO_T}Using $pfopen" >&6; } LIBS="$LIBS $pfopen" fi fi @@ -29,10 +29,15 @@ # # Look for pcap-config. # -@@ -9580,40 +9558,6 @@ fi - echo "$as_me: error: see the INSTALL doc for more info" >&2;} -{ (exit 1); exit 1; }; } - fi +@@ -7335,45 +7313,6 @@ if test $ac_cv_lib_pcap_main = yes; then + libpcap="-lpcap" + fi + +- if test $libpcap = FAIL ; then +- { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5 +-echo "$as_me: error: see the INSTALL doc for more info" >&2;} +- { (exit 1); exit 1; }; } +- fi - { echo "$as_me:$LINENO: checking for extraneous pcap header directories" >&5 -echo $ECHO_N "checking for extraneous pcap header directories... $ECHO_C" >&6; } - if test \( ! -r /usr/local/include/pcap.h \) -a \ diff --git a/net/tcpdump/patches/004-fix_3g_iface.patch b/net/tcpdump/patches/004-fix_3g_iface.patch index cd10184..35d105f 100644 --- a/net/tcpdump/patches/004-fix_3g_iface.patch +++ b/net/tcpdump/patches/004-fix_3g_iface.patch @@ -8,7 +8,7 @@ #ifndef WIN32 #include #include -@@ -566,6 +567,7 @@ main(int argc, char **argv) +@@ -625,6 +626,7 @@ main(int argc, char **argv) #ifdef HAVE_PCAP_FINDALLDEVS pcap_if_t *devpointer; int devnum; @@ -16,7 +16,7 @@ #endif int status; #ifdef WIN32 -@@ -708,7 +710,8 @@ main(int argc, char **argv) +@@ -775,7 +777,8 @@ main(int argc, char **argv) * It can be useful on Windows, where more than * one interface can have the same name. */ diff --git a/net/tcpdump/patches/100-tcpdump_mini.patch b/net/tcpdump/patches/100-tcpdump_mini.patch index 6d4403e..d9537c4 100644 --- a/net/tcpdump/patches/100-tcpdump_mini.patch +++ b/net/tcpdump/patches/100-tcpdump_mini.patch @@ -1,58 +1,29 @@ --- a/Makefile.in +++ b/Makefile.in -@@ -68,34 +68,38 @@ RANLIB = @RANLIB@ +@@ -68,6 +68,22 @@ RANLIB = @RANLIB@ + @rm -f $@ + $(CC) $(FULL_CFLAGS) -c $(srcdir)/$*.c - CSRC =addrtoname.c af.c checksum.c cpack.c gmpls.c oui.c gmt2local.c ipproto.c \ - nlpid.c l2vpn.c machdep.c parsenfsfh.c \ -- print-802_11.c print-ap1394.c print-ah.c print-arcnet.c \ -- print-aodv.c print-arp.c print-ascii.c print-atalk.c print-atm.c \ -- print-beep.c print-bfd.c print-bgp.c print-bootp.c print-bt.c \ -- print-cdp.c print-cfm.c print-chdlc.c print-cip.c print-cnfp.c \ -- print-dccp.c print-decnet.c \ -- print-domain.c print-dtp.c prin