OpenWrt Forum Archive

Topic: NETGEAR WNDR3700 v2 - NO wireless

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hail mighty OpenWRT gurus and warriors!

I have NETGEAR WNDR3700 v2 glossy router.
I used dd-wrt for a long time since I bought the router.
I have tired from bugs in dd-wrt and decided to install OpenWRT.
I have installed it. First was simple default version of the OpenWRT.
Since I had no experience in linux systems it took some time for first configuration of the pppoe internet connection and then installing LuCI for easier configuration. I installed some packages, configured port forwards, set up DDNS, it was great and simple (when know linux basic tricks).
OpenWRT is a great piece of software!

BUT.
There is no wireless.
Yes, I have read (and done what they advise) almost all documentation and wiki around the net.
I have tried various various OpenWRT builds (this cool 'Fully featured' too, and now I have stopped at the Gargoyle router management utility).
I have tried to remove and install various packages and drivers and tools.
And the result in ALL of these OpenWRT based firwares: there is no wireless at all.

(1) /etc/config/wireless is always absent or empty. And always empty if it is regenerated by /sbin/wifi detect > /etc/config/wireless.
(2) There is no tab Network->WiFi in LuCI in any cases.
(3) When I enable wireless in the Gargoyle web interface and click 'save changes' button then it shows me 'Please Wait While Settings Are Applied' forever.
(4) 'iw list', 'iw dev', etc. show nothing.
(5) ls /sys/class/ieee80211 is empty.

I need some of the advice.

UPDATE:

Installed packages:

root@Gargoyle:~# opkg list-installed
badblocks - 1.42.4-1
base-files - 117-unknown
blkid - 2.21.2-1
bridge - 1.5-1
busybox - 1.19.4-5
bwmon-gargoyle - 1.5.8-1
chat - 2.4.5-6
comgt - 0.32-21
ddns-gargoyle - 1.5.8-1
disktype - 9-1
dnsmasq - 2.62-2
dosfsck - 3.0.9-1
dropbear - 2011.54-2
e2fsprogs - 1.42.4-1
ebtables - 2.0.10-4-1
ewget - 1.5.8-1
fdisk - 2.21.2-1
firewall - 2-53
gargoyle - 1.5.8-6
gargoyle-firewall-util - 1.5.8-1
haserl - 0.9.26-1
hotplug2 - 1.0-beta-4
httpd-gargoyle - 1.5.8-1
ip - 3.3.0-1
ipset - 6.11-2
iptables - 1.4.10-4
iptables-mod-bandwidth - 1.4.10-4
iptables-mod-conntrack-extra - 1.4.10-4
iptables-mod-extra - 1.4.10-4
iptables-mod-filter - 1.4.10-4
iptables-mod-imq - 1.4.10-4
iptables-mod-ipopt - 1.4.10-4
iptables-mod-iprange - 1.4.10-4
iptables-mod-ipset - 1.4.10-4
iptables-mod-nat-extra - 1.4.10-4
iptables-mod-timerange - 1.4.10-4
iptables-mod-webmon - 1.4.10-4
iptables-mod-weburl - 1.4.10-4
iw - 3.6-1
jshn - 2012-07-08-cca2ed6c8cdb3555fea43ff63ba1c9905dd7a164
kernel - 3.3.8-1-6267439e7e4da0c6197077c4e8ac581a
kmod-ath - 3.3.8+2012-09-07-3
kmod-ath9k - 3.3.8+2012-09-07-3
kmod-ath9k-common - 3.3.8+2012-09-07-3
kmod-cfg80211 - 3.3.8+2012-09-07-3
kmod-crypto-aes - 3.3.8-1
kmod-crypto-arc4 - 3.3.8-1
kmod-crypto-core - 3.3.8-1
kmod-ebtables - 3.3.8-1
kmod-fs-exportfs - 3.3.8-1
kmod-fs-ext4 - 3.3.8-1
kmod-fs-msdos - 3.3.8-1
kmod-fs-nfs - 3.3.8-1
kmod-fs-nfs-common - 3.3.8-1
kmod-fs-nfsd - 3.3.8-1
kmod-fs-vfat - 3.3.8-1
kmod-fuse - 3.3.8-1
kmod-gpio-button-hotplug - 3.3.8-1
kmod-ipt-bandwidth - 3.3.8-1
kmod-ipt-conntrack - 3.3.8-1
kmod-ipt-conntrack-extra - 3.3.8-1
kmod-ipt-core - 3.3.8-1
kmod-ipt-extra - 3.3.8-1
kmod-ipt-filter - 3.3.8-1
kmod-ipt-imq - 3.3.8-1
kmod-ipt-ipopt - 3.3.8-1
kmod-ipt-iprange - 3.3.8-1
kmod-ipt-ipset - 3.3.8+6.11-2
kmod-ipt-nat - 3.3.8-1
kmod-ipt-nat-extra - 3.3.8-1
kmod-ipt-timerange - 3.3.8-1
kmod-ipt-webmon - 3.3.8-1
kmod-ipt-weburl - 3.3.8-1
kmod-leds-gpio - 3.3.8-1
kmod-ledtrig-default-on - 3.3.8-1
kmod-ledtrig-netdev - 3.3.8-1
kmod-ledtrig-timer - 3.3.8-1
kmod-ledtrig-usbdev - 3.3.8-1
kmod-lib-crc-ccitt - 3.3.8-1
kmod-lib-crc16 - 3.3.8-1
kmod-lib-textsearch - 3.3.8-1
kmod-mac80211 - 3.3.8+2012-09-07-3
kmod-nfnetlink - 3.3.8-1
kmod-nls-base - 3.3.8-1
kmod-nls-cp1250 - 3.3.8-1
kmod-nls-cp1251 - 3.3.8-1
kmod-nls-cp437 - 3.3.8-1
kmod-nls-cp775 - 3.3.8-1
kmod-nls-cp850 - 3.3.8-1
kmod-nls-cp852 - 3.3.8-1
kmod-nls-cp866 - 3.3.8-1
kmod-nls-iso8859-1 - 3.3.8-1
kmod-nls-iso8859-13 - 3.3.8-1
kmod-nls-iso8859-15 - 3.3.8-1
kmod-nls-iso8859-2 - 3.3.8-1
kmod-nls-koi8r - 3.3.8-1
kmod-nls-utf8 - 3.3.8-1
kmod-ppp - 3.3.8-1
kmod-pppoe - 3.3.8-1
kmod-pppox - 3.3.8-1
kmod-sched - 3.3.8-1
kmod-sched-core - 3.3.8-1
kmod-scsi-core - 3.3.8-1
kmod-tun - 3.3.8-1
kmod-usb-acm - 3.3.8-1
kmod-usb-core - 3.3.8-1
kmod-usb-ohci - 3.3.8-1
kmod-usb-printer - 3.3.8-1
kmod-usb-serial - 3.3.8-1
kmod-usb-storage - 3.3.8-1
kmod-usb-storage-extras - 3.3.8-1
kmod-usb2 - 3.3.8-1
kmod-wdt-ath79 - 3.3.8-1
libblkid - 2.21.2-1
libblobmsg-json - 2012-07-08-cca2ed6c8cdb3555fea43ff63ba1c9905dd7a164
libc - 0.9.33.2-1
libcom_err - 1.42.4-1
libcyassl - 1.6.5-1
libericstools - 1.5.8-1
libevent - 1.4.14b-2
libevent2 - 2.0.19-1
libext2fs - 1.42.4-1
libgcc - 4.6-linaro-1
libip4tc - 1.4.10-4
libiptbwctl - 1.5.8-1
libjson - 0.9-2
liblzo - 2.04-1
libmnl - 1.0.1-1
libnl-tiny - 0.1-3
libopenssl - 1.0.1c-1
libpthread - 0.9.33.2-1
librpc - 0.9.32-rc2-0a2179bbc0844928f2a0ec01dba93d9b5d6d41a7
librt - 0.9.33.2-1
libubox - 2012-07-08-cca2ed6c8cdb3555fea43ff63ba1c9905dd7a164
libubus - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
libuci - 2012-03-28.1-1
libusb - 0.1.12-3
libuuid - 2.21.2-1
libwrap - 7.6-1
libxtables - 1.4.10-4
miniupnpd - 1.5.20110309-1
mtd - 18.1
netifd - 2012-10-19-a9fd870450e82f31cba681651656276dfc1c39ac
nfs-kernel-server - 1.2.6-1
nfs-kernel-server-utils - 1.2.6-1
nfs-utils - 1.2.6-1
ntfs-3g - 2010.8.8-1-fuseint
obfsproxy - 0.1-1
openssl-util - 1.0.1c-1
openvpn - 2.2.2-2
openvpn-easy-rsa - 2.2.2-2
opkg - 618-2
p910nd - 0.95-1
plugin-gargoyle-openvpn - 1.5.8-1
plugin-gargoyle-tor - 1.5.8-1
plugin-gargoyle-usb-printer - 1.5.8-1
plugin-gargoyle-usb-storage - 1.5.8-1
portmap - 6.0-3
ppp - 2.4.5-6
ppp-mod-pppoe - 2.4.5-6
qos-gargoyle - 1.5.8-1
samba36-server - 3.6.5-2
sha1sum - 1.5.8-1
share-users - 1.5.8-1
swap-utils - 2.21.2-1
swconfig - 10
tc - 3.3.0-1
tor - 0.2.3.19-rc-2
uboot-envtools - 2012.04.01-1
ubus - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
ubusd - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
uci - 2012-03-28.1-1
usb-modeswitch - 1.2.4-1
usb-modeswitch-data - 20120815-1
uuidgen - 2.21.2-1
vsftpd - 3.0.2-1
webmon-gargoyle - 1.5.8-1
wireless-tools - 29-5
wol - 0.7.1-2
wpad - 20120910-1
zip - 2.32-1
zlib - 1.2.7-1

on the Gargoyle

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.5.8    | OpenWrt Attitude Adjustment branch |
| Gargoyle revision bcc0ad3 | OpenWrt revision r33883            |
| Built October 24, 2012    | Target  ar71xx/usb_large           |
------------------------------------------------------------------

First installation of the OpenWRT on the dd-wrt was done by this command:

mtd -r write openwrt-ar71xx-generic-<router-name>-squashfs-factory.bin linux

as described here https://forum.openwrt.org/viewtopic.php … 82#p110882

(Last edited by inTagger on 17 Nov 2012, 23:19)

Provide the complete output of "dmesg" here. It sounds like the radio callibration data got corrupted, this would prevent ath9k from working.

[    0.000000] Linux version 3.3.8 (eric@Osiris) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Wed Oct 24 12:41:15 EDT 2012
[    0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7161 rev 2
[    0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802daef0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=WNDR3700 console=ttyS0,115200 mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,960k(kernel),14912k(rootfs),64k(art)ro,15872k@0x70000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61584k/65536k available (2132k kernel code, 3952k reserved, 408k data, 208k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.070000] NET: Registered protocol family 16
[    0.070000] gpiochip_add: registered GPIOs 0 to 15 on device: ath79
[    0.080000] MIPS: machine is NETGEAR WNDR3700/WNDR3800/WNDRMAC
[    0.080000] ar71xx: using random MAC address for eth0
[    0.280000] ar71xx: using random MAC address for eth1
[    2.680000] registering PCI controller with io_map_base unset
[    2.690000] bio: create slab <bio-0> at 0
[    2.700000] PCI host bridge to bus 0000:00
[    2.700000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[    2.710000] pci_bus 0000:00: root bus resource [io  0x0000]
[    2.710000] pci 0000:00:11.0: [168c:ff1d] type 0 class 0x000200
[    2.710000] pci 0000:00:11.0: invalid calibration data
[    2.720000] pci 0000:00:11.0: reg 10: [mem 0x00000000-0x0000ffff]
[    2.720000] pci 0000:00:12.0: [168c:ff1d] type 0 class 0x000200
[    2.720000] pci 0000:00:12.0: invalid calibration data
[    2.720000] pci 0000:00:12.0: reg 10: [mem 0x00000000-0x0000ffff]
[    2.720000] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[    2.730000] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[    2.730000] pci 0000:00:11.0: using irq 40 for pin 1
[    2.740000] pci 0000:00:12.0: using irq 41 for pin 1
[    2.740000] Switching to clocksource MIPS
[    2.750000] NET: Registered protocol family 2
[    2.750000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    2.750000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    2.760000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    2.760000] TCP: Hash tables configured (established 2048 bind 2048)
[    2.770000] TCP reno registered
[    2.770000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    2.780000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    2.780000] NET: Registered protocol family 1
[    2.790000] PCI: CLS 0 bytes, default 32
[    2.800000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.810000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.820000] msgmni has been set to 120
[    2.820000] io scheduler noop registered
[    2.820000] io scheduler deadline registered (default)
[    2.830000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.860000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    2.860000] console [ttyS0] enabled, bootconsole disabled
[    2.880000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    2.880000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    2.890000] 6 cmdlinepart partitions found on MTD device spi0.0
[    2.890000] Creating 6 MTD partitions on "spi0.0":
[    2.900000] 0x000000000000-0x000000050000 : "u-boot"
[    2.900000] 0x000000050000-0x000000070000 : "u-boot-env"
[    2.910000] 0x000000070000-0x000000160000 : "kernel"
[    2.920000] 0x000000160000-0x000000ff0000 : "rootfs"
[    2.920000] mtd: partition "rootfs" set to be root filesystem
[    2.930000] mtd: partition "rootfs_data" created automatically, ofs=6F0000, len=900000
[    2.940000] 0x0000006f0000-0x000000ff0000 : "rootfs_data"
[    2.940000] 0x000000ff0000-0x000001000000 : "art"
[    2.950000] 0x000000070000-0x000000ff0000 : "firmware"
[    2.960000] Realtek RTL8366S ethernet switch driver version 0.2.2
[    2.960000] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
[    2.970000] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
[    3.000000] rtl8366s: probed
[    3.000000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    3.310000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    3.620000] ag71xx ag71xx.1: eth1: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
[    3.620000] TCP cubic registered
[    3.630000] NET: Registered protocol family 17
[    3.630000] Bridge firewalling registered
[    3.640000] Ebtables v2.0 registered
[    3.640000] 8021q: 802.1Q VLAN Support v1.8
[    3.650000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    3.660000] Freeing unused kernel memory: 208k freed
[    5.410000] ar71xx: pll_reg 0xb8050010: 0x11110000
[    5.410000] eth0: link up (1000Mbps/Full duplex)
[    5.510000] Registered led device: wndr3700:green:power
[    5.510000] Registered led device: wndr3700:orange:power
[    5.510000] Registered led device: wndr3700:green:wps
[    5.510000] Registered led device: wndr3700:orange:wps
[    5.510000] Registered led device: wndr3700:green:wan
[    8.740000] eth0: link down
[    9.550000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[    9.550000] Backport based on wireless-testing.git master-2012-09-07
[    9.560000] compat.git: wireless-testing.git
[    9.680000] cfg80211: Calling CRDA to update world regulatory domain
[    9.690000] cfg80211: World regulatory domain updated:
[    9.690000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.700000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.710000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.710000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.720000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.730000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.140000] SCSI subsystem initialized
[   10.320000] usbcore: registered new interface driver usbfs
[   10.320000] usbcore: registered new interface driver hub
[   10.330000] usbcore: registered new device driver usb
[   11.290000] RPC: Registered named UNIX socket transport module.
[   11.300000] RPC: Registered udp transport module.
[   11.300000] RPC: Registered tcp transport module.
[   11.310000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   11.560000] PPP generic driver version 2.4.2
[   11.650000] tun: Universal TUN/TAP device driver, 1.6
[   11.660000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   11.880000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   11.940000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.200000] NET: Registered protocol family 24
[   12.350000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.360000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   12.360000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   12.400000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   12.420000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   12.420000] hub 1-0:1.0: USB hub found
[   12.430000] hub 1-0:1.0: 2 ports detected
[   12.490000] nf_conntrack version 0.5.0 (965 buckets, 3860 max)
[   13.240000] xt_time: kernel timezone is -0000
[   13.430000]  Hooked IMQ after mangle on PREROUTING
[   13.430000]  Hooked IMQ after nat on POSTROUTING
[   13.440000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[   13.510000] Netfilter messages via NETLINK v0.30.
[   13.610000] ip_set: protocol 6
[   13.930000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   13.940000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[   13.940000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[   13.950000] ohci-platform ohci-platform: irq 14, io mem 0x1c000000
[   14.020000] hub 2-0:1.0: USB hub found
[   14.020000] hub 2-0:1.0: 2 ports detected
[   14.180000] usbcore: registered new interface driver cdc_acm
[   14.190000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   14.270000] usbcore: registered new interface driver usblp
[   14.290000] usbcore: registered new interface driver usbserial
[   14.290000] USB Serial support registered for generic
[   14.300000] usbcore: registered new interface driver usbserial_generic
[   14.300000] usbserial: USB Serial Driver core
[   14.350000] Initializing USB Mass Storage driver...
[   14.360000] usbcore: registered new interface driver usb-storage
[   14.370000] USB Mass Storage support registered.
[   14.450000] usbcore: registered new interface driver ums-alauda
[   14.460000] usbcore: registered new interface driver ums-cypress
[   14.480000] usbcore: registered new interface driver ums-datafab
[   14.500000] usbcore: registered new interface driver ums-freecom
[   14.510000] usbcore: registered new interface driver ums-isd200
[   14.530000] usbcore: registered new interface driver ums-jumpshot
[   14.550000] usbcore: registered new interface driver ums-karma
[   14.570000] usbcore: registered new interface driver ums-sddr09
[   14.580000] usbcore: registered new interface driver ums-sddr55
[   14.600000] usbcore: registered new interface driver ums-usbat
[   14.690000] fuse init (API version 7.18)
[   36.290000] ar71xx: pll_reg 0xb8050010: 0x11110000
[   36.290000] eth0: link up (1000Mbps/Full duplex)
[   36.290000] device eth0.1 entered promiscuous mode
[   36.300000] device eth0 entered promiscuous mode
[   36.300000] br-lan: port 1(eth0.1) entered forwarding state
[   36.310000] br-lan: port 1(eth0.1) entered forwarding state
[   38.310000] br-lan: port 1(eth0.1) entered forwarding state
[   38.840000] ar71xx: pll_reg 0xb8050014: 0x1099
[   38.840000] eth1: link up (100Mbps/Full duplex)
[   76.040000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   76.050000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   76.050000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  136.950000] JFFS2 notice: (2395) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  279.310000] ipt_bandwidth: timezone shift of 240 minutes detected, adjusting
[  279.310000]                old minutes west=0, new minutes west=-240
[  282.020000] br-lan: port 1(eth0.1) entered disabled state
[  282.030000] device eth0.1 left promiscuous mode
[  282.030000] device eth0 left promiscuous mode
[  282.040000] br-lan: port 1(eth0.1) entered disabled state
[  282.040000] eth1: link down
[  282.090000] eth0: link down
[  282.120000] ar71xx: pll_reg 0xb8050010: 0x11110000
[  282.120000] eth0: link up (1000Mbps/Full duplex)
[  282.120000] device eth0.1 entered promiscuous mode
[  282.130000] device eth0 entered promiscuous mode
[  282.150000] br-lan: port 1(eth0.1) entered forwarding state
[  282.150000] br-lan: port 1(eth0.1) entered forwarding state
[  283.140000] ar71xx: pll_reg 0xb8050014: 0x1099
[  283.140000] eth1: link up (100Mbps/Full duplex)
[  284.150000] br-lan: port 1(eth0.1) entered forwarding state
[  656.180000] br-lan: port 1(eth0.1) entered disabled state
[  656.180000] device eth0.1 left promiscuous mode
[  656.190000] device eth0 left promiscuous mode
[  656.190000] br-lan: port 1(eth0.1) entered disabled state
[  656.200000] eth1: link down
[  656.200000] eth0: link down
[  656.210000] ar71xx: pll_reg 0xb8050010: 0x11110000
[  656.210000] eth0: link up (1000Mbps/Full duplex)
[  656.220000] device eth0.1 entered promiscuous mode
[  656.220000] device eth0 entered promiscuous mode
[  656.230000] br-lan: port 1(eth0.1) entered forwarding state
[  656.230000] br-lan: port 1(eth0.1) entered forwarding state
[  657.170000] ar71xx: pll_reg 0xb8050014: 0x1099
[  657.170000] eth1: link up (100Mbps/Full duplex)
[  658.230000] br-lan: port 1(eth0.1) entered forwarding state
[49394.180000] br-lan: port 1(eth0.1) entered disabled state
[49394.190000] device eth0.1 left promiscuous mode
[49394.190000] device eth0 left promiscuous mode
[49394.200000] br-lan: port 1(eth0.1) entered disabled state
[49394.210000] eth1: link down
[49394.210000] eth0: link down
[49394.230000] ar71xx: pll_reg 0xb8050010: 0x11110000
[49394.230000] eth0: link up (1000Mbps/Full duplex)
[49394.230000] device eth0.1 entered promiscuous mode
[49394.240000] device eth0 entered promiscuous mode
[49394.240000] br-lan: port 1(eth0.1) entered forwarding state
[49394.250000] br-lan: port 1(eth0.1) entered forwarding state
[49395.220000] ar71xx: pll_reg 0xb8050014: 0x1099
[49395.220000] eth1: link up (100Mbps/Full duplex)
[49396.250000] br-lan: port 1(eth0.1) entered forwarding state
[51004.240000] cfg80211: Calling CRDA for country: RU
[51004.250000] cfg80211: Regulatory domain changed to country: RU
[51004.250000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[51004.260000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[51004.270000] cfg80211:   (5735000 KHz - 5835000 KHz @ 20000 KHz), (N/A, 3000 mBm)

(Last edited by inTagger on 17 Nov 2012, 19:36)

No sign of ath or ath9k in the dmesg. Is the driver even loaded? Run

grep ath /proc/modules

On my WNDR3700 it results in

root@uplink:~# grep ath /proc/modules 
ath79_wdt 2240 1 - Live 0x833b8000
ath9k 85424 0 - Live 0x83160000 (O)
ath9k_common 1152 1 ath9k, Live 0x83aca000 (O)
ath9k_hw 316736 2 ath9k,ath9k_common, Live 0x83100000 (O)
ath 14320 3 ath9k,ath9k_common,ath9k_hw, Live 0x83038000 (O)
mac80211 252272 1 ath9k, Live 0x83080000 (O)
cfg80211 153696 3 ath9k,ath,mac80211, Live 0x83000000 (O)
compat 5776 5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211, Live 0x83afa000 (O)
root@uplink:~# 

In my case:

root@Gargoyle:~# grep ath /proc/modules
ath79_wdt 2240 1 - Live 0x83267000
ath9k 63008 0 - Live 0x83b60000 (O)
ath9k_common 1152 1 ath9k, Live 0x83b5a000 (O)
ath9k_hw 316688 2 ath9k,ath9k_common, Live 0x83080000 (O)
ath 14336 3 ath9k,ath9k_common,ath9k_hw, Live 0x8301c000 (O)
mac80211 219536 1 ath9k, Live 0x83040000 (O)
cfg80211 151712 3 ath9k,ath,mac80211, Live 0x83bc0000 (O)
compat 5776 5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211, Live 0x83aee000 (O)

(Last edited by inTagger on 17 Nov 2012, 19:35)

Have verified that hostapd is installed(or equivalant)? when I have rolled my own it doesn't seem to be installed in the firmware even though it is check to be built into it.

jeisom wrote:

Have verified that hostapd is installed(or equivalant)? when I have rolled my own it doesn't seem to be installed in the firmware even though it is check to be built into it.

I have installed wpad. Check out my all installed packages in my first post update.

What I have now:

root@Gargoyle:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00050000 00010000 "u-boot"
mtd1: 00020000 00010000 "u-boot-env"
mtd2: 000f0000 00010000 "kernel"
mtd3: 00e90000 00010000 "rootfs"
mtd4: 00900000 00010000 "rootfs_data"
mtd5: 00010000 00010000 "art"
mtd6: 00f80000 00010000 "firmware"

and

root@Gargoyle:/# hexdump /dev/mtd5ro -x
0000000    ffff    ffff    ffff    ffff    ffff    ffff    ffff    ffff
*
0010000

and after reading of this:

mtd4 for the ART (Atheros Radio Test) - it contains mac addresses and calibration data for the wifi (EEPROM). If it is missing or corrupt, ath9k (wireless driver) won't come up anymore.

on http://wiki.openwrt.org/doc/techref/flash.layout

I think that I have killed my wireless, and will not come up anymore. So now I have cool wired router smile. Any chance to repair somehow?

(Last edited by inTagger on 17 Nov 2012, 23:08)

inTagger wrote:

Finally, I have read this http://wiki.openwrt.org/doc/howto/generic.backup
and all I need now is that someone send me art.backup file so I could try to rewrite my ffffffffffffffffffart smile

I got one ready. <http://www.mediafire.com/?5kodo927u061d85> The E0123456789a is at the beginning 3 times. the first is your mac on the back of router. next 2 change the last 2 numbers (9A) of your mac address to + 1 & +2 repectfully(ei. 9B & 9C ).

(Last edited by jeisom on 18 Nov 2012, 00:07)

jeisom wrote:

I got one ready. <http://www.mediafire.com/?5kodo927u061d85> The E0123456789a is at the beginning 3 times. the first is your mac on the back of router. next 2 change the last 2 numbers (9A) of your mac address to + 1 & +2 repectfully(ei. 9B & 9C ).

Thank you!
I have installed dd-wrt again to get write access to the mtd6 (didn't want bother about patching openwrt kernel source to gain write access to that mtd).
Then write art.bin (which you have provided me, thank you again) with my MACs to the mtd (wifi returned in dd-wrt immediately).
Then tftp OpenWRT (fat full featured build).

AND ALL WORKING GOOD NOW!

But, how it has happened?
Was I wrong when run on dd-wrt this:

mtd -r write <imagename>.img linux

? Could it kill calibration data on the art mtd?

hi!

same problem happend with wndr3700v1 after migration from dd-wrt to openwrt.
wifi totally disappeared. unfortunately no flash backup was made.


so can anybody share proper  ART partition  for wndr3700v1?

plz help!


ps  this topic is 2 years old, but still happenning.

If you need to buy one I will sell you mine it works.

I've upgraded routers yesterday!

thnx hnyman!

everything successfully flashed. but when l was putting in hex-editore serial numba, some letters like B and L not printed. so just simply change it to numbers)

mpeg3s wrote:

If you need to buy one I will sell you mine it works.

I've upgraded routers yesterday!

no thnx, it's the easy way cool

Happened to me too. Guess I have to flash ddwrt back. Thanks for the backups and no write-proctection firmware.

(Last edited by etikllc on 29 Apr 2017, 17:08)

The discussion might have continued from here.