Re: [OpenWrt-Devel] Buffalo wzr-hp-g300nh2

2011-11-16 Thread Peter Naulls
On 11/10/2011 08:21 AM, Peter Naulls wrote: I'll test any such patches of course. As an additional note, we're going to need the same thing on a300gh, since I'm getting one of those in next few days. I'll submit any work on that here, even if it's Now done. It's a mess right now, so not suit

Re: [OpenWrt-Devel] Board identification and machine on /proc/cpuinfo for atheros platform

2011-11-16 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Is this information of 'vendor id' and 'subsys id' visible somewhere > in 'user land' i.e on the command line, possibly with additional > packages like pciutils? or some other way? Yep, see /sys/bus/pci/devices/*/vendor and /sys/bus/pci/devices/*/de

Re: [OpenWrt-Devel] Board identification and machine on /proc/cpuinfo for atheros platform

2011-11-16 Thread Hanno Schupp
Seems to me it is the 'vendor id' plus the 'subsys id' of the pci information that makes all the difference and allows detection for devices with fixed wifi cards. Is this information of 'vendor id' and 'subsys id' visible somewhere in 'user land' i.e on the command line, possibly with additional

Re: [OpenWrt-Devel] Board identification and machine on /proc/cpuinfo for atheros platform

2011-11-16 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Hanno, the interesting bits are in package/madwifi/patches/384-hwdetect.patch . Basically the model name is inferred from the PCI IDs of the radio, this might work for some popular appliances but I guess it will fail for generic boards with replac

[OpenWrt-Devel] [PATCH] Fix dbus to compile in brcm-2.4 -- See Ticket #10274 and Changeset 27521

2011-11-16 Thread Mike Brady
This patch fixes a bug in the dbus package which prevents it from compiling on brcm-2.4 (Ticket #10274). In turn, it also prevents the avahi package from compiling on brcm-2.4. (Changeset 27521 is a workaround). The cause of the problem was that the existing patches, which were correct, were b

[OpenWrt-Devel] uci-12012009.7.tar.gz

2011-11-16 Thread Mike Brady
Just building backfire now, and it can't find uci-12012009.7.tar.gz. --2011-11-16 20:37:23-- http://mirror2.openwrt.org/sources/uci-12012009.7.tar.gz Resolving mirror2.openwrt.org... 46.4.11.11 Connecting to mirror2.openwrt.org|46.4.11.11|:80... connected. HTTP request sent, awaiting response...

Re: [OpenWrt-Devel] calling ioctl with SIOCGIWPRIV parameter; sniffing on monitor mode

2011-11-16 Thread abhinav narain
hi, Ok. I will look into iw. I am wondering how does pcap sniff on Atheros driver then ? On Wed, Nov 16, 2011 at 1:55 PM, Jo-Philipp Wich wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > SIOCGIWPRIV is part of the deprecated wext api which is not fully > supported by ath9k. U

[OpenWrt-Devel] [PATCH] wndr3800 machine name patch

2011-11-16 Thread Petri Rosenström
This fixes the machine name in /proc/cpuinfo and luci status page machine name. Signed-off-by: Petri Rosenström -- Petri Index: target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h === --- target/linux/ar71xx/files/arch/mips/ar71xx

[OpenWrt-Devel] radiotap headers length

2011-11-16 Thread abhinav narain
hi, I am sniffing in monitor mode on a netgear WNDR3700v2 router. I am reading from a raw socket in monitor mode. But I cannot make sense of the data, as there are variable length radiotap headers, variable length mac headers. I found out these going through pcap code. 1. Can someone tell if Athe

Re: [OpenWrt-Devel] calling ioctl with SIOCGIWPRIV parameter; sniffing on monitor mode

2011-11-16 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, SIOCGIWPRIV is part of the deprecated wext api which is not fully supported by ath9k. Use nl80211. See wireless.kernel.org for details, also check the source code of the "iw" utility. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GN

[OpenWrt-Devel] calling ioctl with SIOCGIWPRIV parameter; sniffing on monitor mode

2011-11-16 Thread abhinav narain
hi, I am using netgear routers. model: WNDR3700v2 I want to set the wireless interface (ath9k) in monitor mode to sniff the traffic. I am doing the following : 1. Opening a raw socket socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)) 2. making the following ioctl call to connect to device. Device is

Re: [OpenWrt-Devel] Build just the kernel

2011-11-16 Thread Jan Willies
2011/11/16 Matt Redfearn > Hi, > > I am trying to hack some drivers in the kernel for a mips machine, but so > far the only way I have found to get the openWRT build system to recompile > the kernel is to run make in the root directory of openWRT. Running “make > linux-compile” or “make linux

Re: [OpenWrt-Devel] Build just the kernel

2011-11-16 Thread John Crispin
On 16/11/11 17:46, Matt Redfearn wrote: > Hi, > > I am trying to hack some drivers in the kernel for a mips machine, but > so far the only way I have found to get the openWRT build system to > recompile the kernel is to run make in the root directory of openWRT. > Running “make linux-compile” or “

[OpenWrt-Devel] Build just the kernel

2011-11-16 Thread Matt Redfearn
Hi, I am trying to hack some drivers in the kernel for a mips machine, but so far the only way I have found to get the openWRT build system to recompile the kernel is to run make in the root directory of openWRT. Running "make linux-compile" or "make linux-install" as I've seen previously on the

[OpenWrt-Devel] include uboot-envtools in default set for ar71xx

2011-11-16 Thread Daniel Golle
Hi! sysupgrade for the ALL0258N requires uboot-envtools to be installed to work. Can we get uboot-envtools included in DEFAULT_PACKAGES in target/linux/ar71xx/Makefile, so we don't risk that users lock them self on a build-bot generated firmware and can't upgrade (or downgrade) to another version i

Re: [OpenWrt-Devel] [PATCHv2] [packages] tinc: Add uci config and init files

2011-11-16 Thread Nico
> Patch looks good and works, i'd like to see this getting submitted. Applied in r29137, initscript was changed in r29166 to use new service functions. -- -{Nico} ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/m

Re: [OpenWrt-Devel] mini_snmpd uci network interfaces support

2011-11-16 Thread Nico
Hi, The 'disks' & 'interfaces' options were changed to lists in r29182. The 'interfaces' list option is now using names as defined in /etc/config/network. Cheers, -- -{Nico} On Mon, Nov 14, 2011 at 11:11 PM, ZioPRoTo (Saverio Proto) wrote: > Hello Nico, > > I tested and reworked Gioacchino's