Re: [OpenWrt-Devel] [PATCH] ar71xx: correctly detect NETGEAR WNDRMAC

2012-06-15 Thread Mark Mentovai
Are you sure this is universally correct for all WNDRMAC units? It's possible that the N there is actually variable, and part of something else that shows up at that location in flash. `hexdump -C /dev/mtd5` (assuming mtd5 is art in /proc/mtd) should help identify what that N is actually

Re: [OpenWrt-Devel] [PATCH] ar71xx: correctly detect NETGEAR WNDRMAC

2012-06-15 Thread Roman A. aka BasicXP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I have done this already, it's part of the preconfigured Wi-Fi information that is printed on the bottom of the the router. The SSID is always NETGEARXX, where XX is a random number. The N letter is the first letter of the SSID. Here is the part

Re: [OpenWrt-Devel] [PATCH] ar71xx: correctly detect NETGEAR WNDRMAC

2012-06-15 Thread Mark Mentovai
That’s probably good enough to detect WNDRMAC (v1), then. Interesting that NETGEAR put the default SSID at offset 0x41 on the original WNDRMAC, and offset 0x42 on later models. In case you’re curious, here’s the top of the art block from a WNDRMACv2: M0 M0 M0 M0 M0 M0 M1 M1 M1 M1 M1

[OpenWrt-Devel] [PATCH] ar71xx: correctly detect NETGEAR WNDRMAC

2012-06-12 Thread Роман А . aka BasicXP
This patch helps properly detect a WNDRMAC device. Before this patch the model is detected as NETGEAR ?N. Signed-off-by: Roman A. aka BasicXP x12ozmo...@ya.ru --- Index: target/linux/ar71xx/base-files/lib/ar71xx.sh === ---