网件 WNDR4300
除支持3T3R外,与WNDR3700v4类似. OpenWRT论坛thread有WNDR3700v4的介绍. 网件NDR4300v1 原厂预装了OpenWrt的Kamikaze修改版(bleeding-edge, r18571). 你可以用telnet终端连接进入WNDR4300v1.
这种模式下, 若想恢复原厂功能,只需把从Netgear官网下载的固件(.img 文件)直接 tftp 到路由器即可.
支持的版本
版本/型号 | 上市日期 | S/N | 原厂固件版本 | OpenWrt版本 | 型号细节备注 |
---|---|---|---|---|---|
v1 | 2012-08 | - | V1.0.1.30 (Kamikaze r18571) | Barrier Breaker 14.07 | kernel support |
v2 | ~2014-12 | - | V1.0.0.26, ? |
不确定是否有之前的版本和系统配置,但是版本V1已稳定; 从 Barrier Breaker 14.07 RC1 开始已完全支持.
硬件特点
具体配置
OpenWrt 配置
通信接口
默认网络接口设置为:
接口名称 | 简介 | 默认配置 |
---|---|---|
br-lan | LAN & WiFi | 192.168.1.1/24 |
(eth0) | AR8327 千兆交换机 | 无 |
VLAN 1 (eth0.1) | LAN ports (1 to 4) | 无 |
VLAN 2 (eth0.2) | WAN port (5) | DHCP |
wlan0 | WiFi 2.4 GHz | 关闭 |
wlan1 | WiFi 5 GHz | 关闭 (不支持,看下文) |
OEM 配置
接口界面
root@WNDR4300:/# ifconfig ath0 Link encap:Ethernet HWaddr 00:8E:F2:F9:E9:56 inet6 addr: fe80::28e:f2ff:fef9:e956/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1528 errors:0 dropped:1263 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:611200 (596.8 KiB) ath1 Link encap:Ethernet HWaddr 00:8E:F2:F9:E9:58 inet6 addr: fe80::28e:f2ff:fef9:e958/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:63 errors:0 dropped:1262 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:23814 (23.2 KiB) br0 Link encap:Ethernet HWaddr 00:8E:F2:F9:E9:56 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::28e:f2ff:fef9:e956/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11914 errors:0 dropped:0 overruns:0 frame:0 TX packets:7801 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:814320 (795.2 KiB) TX bytes:3655772 (3.4 MiB) eth0 Link encap:Ethernet HWaddr 00:8E:F2:F9:E9:56 inet6 addr: fe80::28e:f2ff:fef9:e956/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11918 errors:0 dropped:0 overruns:0 frame:0 TX packets:7284 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:862528 (842.3 KiB) TX bytes:3568425 (3.4 MiB) eth1 Link encap:Ethernet HWaddr 00:8E:F2:F9:E9:57 inet6 addr: fe80::28e:f2ff:fef9:e957/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:35 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:9398 (9.1 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:26806 errors:0 dropped:0 overruns:0 frame:0 TX packets:26806 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1093086 (1.0 MiB) TX bytes:1093086 (1.0 MiB) phy0 Link encap:Ethernet HWaddr 00:8E:F2:F9:E9:56 inet6 addr: fe80::28e:f2ff:fef9:e956/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11918 errors:0 dropped:0 overruns:0 frame:0 TX packets:8170 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1077052 (1.0 MiB) TX bytes:3662022 (3.4 MiB) wifi0 Link encap:Ethernet HWaddr 00:8E:F2:F9:E9:56 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:363172 errors:0 dropped:0 overruns:0 frame:0 TX packets:39405 errors:1101 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:2 Memory:b8100000-b811ffff wifi1 Link encap:Ethernet HWaddr 00:8E:F2:F9:E9:58 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:190 errors:0 dropped:0 overruns:0 frame:0 TX packets:34344 errors:46 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:64 Memory:b0000000-b0020000
VLAN 虚拟局域网
root@WNDR4300:/# cat /proc/net/vlan/config VLAN Dev name | VLAN ID Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD eth0 | 1 | phy0 eth1 | 2 | phy0
无线
在文件 /etc/config/wireless
中
GPIO
在 /etc/rc.local 中
# Configure GPIO4 as input mm 0xb8040000 `md 0xb8040000 | awk '{printf("0x%x\n"),or(int($3),0x10)}'`
硬件
信息
照片
可在这里查看: http://uk.hardware.info/reviews/3685/4/netgear-wndr4300-review-3800+40004300-photos-and-screenshots
型号 前面:
机壳前面板照片
后面:
机壳后面板照片
拆开外壳
注意: 这会使保修无效!
注意: Instructions from WNDR3700
- To remove the cover use a Torx (T-8) screwdriver.
- There are two screws easily visible on the bottom of the case.
- There are four more screws under the rubber feet. The feet are not glued to the plastic and can easily be removed and pushed back into place once reassembled. The feet have rubber tethers, but you can slide them out gently without damaging them, and later you can reinsert them just as easily. Don't forget to put them in a plastic baggie so you don't lose them!
主电路板 PCB
电路板PCB照片 前面: 串口连接头在RF屏蔽板左边. 在照片的下部,即该接口的前面数, 第一脚是GND,接着是 RX, TX, 最后是 VCC 在最上面一脚(朝向接口的后面). 这儿还有另一张图片: http://uk.hardware.info/reviews/3685/2/netgear-wndr4300-review-3800+40004300-atheros-pcb
串口
→ 网页port.serial 有串口基本信息, 串口头,线 等.
Having a serial console connected at boot will cause the device to fail booting. Connect a few seconds after power on or later. Specifically the Tx line causes the failure.
find_hif: bootstrap = 0xaf055b WASP BootROM Ver. 1.1 Nand Flash init ONFI: Control setting = 0xb44 hdr: [0xbd004000 : 0xbd004000 : 0x3000 : 0xc200e86c] nand_load_fw: read 6 pages nand_load_fw: 0x10000 0x800 0xbd0047f0 nand_load_fw: 0x20000 0x800 0xbd004ff0 nand_load_fw: 0x30000 0x800 0xbd0057f0 nand_load_fw: 0x40000 0x800 0xbd005ff0 nand_load_fw: 0x50000 0x800 0xbd0067f0 f/w 0 read complete, jumping to 0xbd004000 initialize PLL & DDR sri Wasp 1.2 Wasp (16bit) ddr1 init <---- this should be: Wasp (32bit) ddr2 init setting for 40 fw1: Nand Init leave FW1 f/w 0 execution complete hdr: [0xa0100000 : 0xa0100000 : 0x11000 : 0x26e9875d] nand_load_fw: read 34 pages nand_load_fw: 0x70000 0x800 0xa01007f0 ... 31 increments ... nand_load_fw: 0x270000 0x800 0xa01107f0 Checksum mismatch. 0x26e9875d != 0xa1b631f6 -- repeat ad infinitum --
本设备串口连接方法: 管脚针GND 在设备最前面, 后面跟着 RX/TX/VCC
PCB照片 上有标记
JTAG口
Flash 布局
OEM Flash 布局
root@WNDR4300:/# cat /proc/mtd dev: size erasesize name mtd0: 00040000 00020000 "u-boot" mtd1: 00040000 00020000 "u-boot-env" mtd2: 00040000 00020000 "caldata" mtd3: 00080000 00020000 "pot" mtd4: 00200000 00020000 "language" mtd5: 00080000 00020000 "config" mtd6: 00300000 00020000 "traffic_meter" mtd7: 00120000 00020000 "kernel" mtd8: 017e0000 00020000 "rootfs" mtd9: 00f40000 00020000 "rootfs_data" mtd10: 01900000 00020000 "firmware" mtd11: 00040000 00020000 "caldata_backup" mtd12: 06000000 00020000 "reserved"
dmesg 输出(参考固件1.0.1.34)
Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Communications, Ltd. Ath Nand ID[878555a0]: 2c:f1:80:95:02 ONFI MICRON MT29F1G08ABADAWP Micron NAND 128MiB 3,3V 8-bit [128MB] 12 cmdlinepart partitions found on MTD device ath-nand Creating 12 MTD partitions on "ath-nand": 0x000000000000-0x000000040000 : "u-boot" 0x000000040000-0x000000080000 : "u-boot-env" 0x000000080000-0x0000000c0000 : "caldata" 0x0000000c0000-0x000000140000 : "pot" 0x000000140000-0x000000340000 : "language" 0x000000340000-0x0000003c0000 : "config" 0x0000003c0000-0x0000006c0000 : "traffic_meter" 0x0000006c0000-0x0000007e0000 : "kernel" 0x0000007e0000-0x000001fc0000 : "rootfs" mtd: find squashfs magic at 0x7e0000 of "ath-nand" the correct location of partition "rootfs": 0x0000007e0000-0x000001fc0000 mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=1080000, len=F40000 0x000001080000-0x000001fc0000 : "rootfs_data" 0x0000006c0000-0x000001fc0000 : "firmware" 0x000001fc0000-0x000002000000 : "caldata_backup" 0x000002000000-0x000008000000 : "reserved" === NAND Parameters === sc = 0x87855400 bbt = 0x878f7200 bbt_size = 0x100 nf_ctrl = 0x344 page = 0x800 block = 0x20000 oob = 0x40
直观表示图
Netgear WNDR4300 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Layer0 | Atheros NAND Flash 控制器: Micron NAND 128MiB 3,3V 8-bit [128MB] | |||||||||||
Layer1 | mtd0 u-boot 256KiB | mtd1 u-boot-env 256KiB | mtd2 caldata 256KiB | mtd3 pot 512KiB | mtd4 language 2MiB | mtd5 config 512KiB | mtd6 traffic_meter 2MiB | mtd10 firmware 25MiB | mtd11 caldata_backup 256KiB | mtd12 reserved 96MiB | ||
Layer2 | mtd7 kernel 1152KiB | mtd8 rootfs 24448KiB | ||||||||||
挂载点 | / | /jffs |
||||||||||
文件系统 | mini_fo/overlayfs | |||||||||||
Layer3 | mtd9 rootfs_data 15616KiB | |||||||||||
挂载点 | /rom | /overlay | ||||||||||
文件系统 | 无 | 无 | 无 | 无 | 无 | 无 | 无 | 无 | SquashFS | JFFS2 | 无 | JFFS2 |
OpenWrt Flash 布局
# cat /proc/mtd dev: size erasesize name mtd0: 00040000 00020000 "u-boot" mtd1: 00040000 00020000 "u-boot-env" mtd2: 00040000 00020000 "caldata" mtd3: 00080000 00020000 "pot" mtd4: 00200000 00020000 "language" mtd5: 00080000 00020000 "config" mtd6: 00300000 00020000 "traffic_meter" mtd7: 00200000 00020000 "kernel" mtd8: 01700000 00020000 "ubiroot" mtd9: 01900000 00020000 "firmware" mtd10: 00040000 00020000 "caldata_backup" mtd11: 06000000 00020000 "reserved" mtd12: 001d1000 0001f000 "rootfs" mtd13: 0118f000 0001f000 "rootfs_data"
直观表示图
Netgear WNDR4300 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Layer0 | Atheros NAND Flash Controller: Micron NAND 128MiB 3,3V 8-bit [128MB] | |||||||||||
Layer1 | mtd0 u-boot 256KiB | mtd1 u-boot-env 256KiB | mtd2 caldata 256KiB | mtd3 pot 512KiB | mtd4 language 2MiB | mtd5 config 512KiB | mtd6 traffic_meter 2MiB | mtd9 firmware 25MiB | mtd10 caldata_backup 256KiB | mtd11 reserved 96MiB | ||
Layer2 | mtd7 kernel 2048KiB | mtd8 ubiroot 23MiB | ||||||||||
wear-leveling | ubi and gluebi/overlayfs | |||||||||||
Layer3 | mtd12 rootfs 1860KiB* | mtd13 rootfs_data 17980KiB* | ||||||||||
挂载点 | /rom | /overlay | ||||||||||
文件系统 | 无 | 无 | 无 | 无 | 无 | 无 | 无 | 无 | SquashFS | JFFS2 | 无 | 无 |
* 动态大小
启动日志
OEM 引导程序启动日志
find_hif: bootstrap = 0xaf055a WASP BootROM Ver. 1.1 Nand Flash init ONFI: Control setting = 0xb44 hdr: [0xbd004000 : 0xbd004000 : 0x3000 : 0xc200e86c] nand_load_fw: read 6 pages nand_load_fw: 0x10000 0x800 0xbd0047f0 nand_load_fw: 0x20000 0x800 0xbd004ff0 nand_load_fw: 0x30000 0x800 0xbd0057f0 nand_load_fw: 0x40000 0x800 0xbd005ff0 nand_load_fw: 0x50000 0x800 0xbd0067f0 f/w 0 read complete, jumping to 0xbd004000 initialize PLL & DDR sri Wasp 1.2 Wasp (32bit) ddr2 init setting for 40 fw1: Nand Init leave FW1 f/w 0 execution complete hdr: [0xa0100000 : 0xa0100000 : 0x11000 : 0x26e9875d] nand_load_fw: read 34 pages nand_load_fw: 0x70000 0x800 0xa01007f0 nand_load_fw: 0x80000 0x800 0xa0100ff0 nand_load_fw: 0x90000 0x800 0xa01017f0 nand_load_fw: 0xa0000 0x800 0xa0101ff0 nand_load_fw: 0xb0000 0x800 0xa01027f0 nand_load_fw: 0xc0000 0x800 0xa0102ff0 nand_load_fw: 0xd0000 0x800 0xa01037f0 nand_load_fw: 0xe0000 0x800 0xa0103ff0 nand_load_fw: 0xf0000 0x800 0xa01047f0 nand_load_fw: 0x100000 0x800 0xa0104ff0 nand_load_fw: 0x110000 0x800 0xa01057f0 nand_load_fw: 0x120000 0x800 0xa0105ff0 nand_load_fw: 0x130000 0x800 0xa01067f0 nand_load_fw: 0x140000 0x800 0xa0106ff0 nand_load_fw: 0x150000 0x800 0xa01077f0 nand_load_fw: 0x160000 0x800 0xa0107ff0 nand_load_fw: 0x170000 0x800 0xa01087f0 nand_load_fw: 0x180000 0x800 0xa0108ff0 nand_load_fw: 0x190000 0x800 0xa01097f0 nand_load_fw: 0x1a0000 0x800 0xa0109ff0 nand_load_fw: 0x1b0000 0x800 0xa010a7f0 nand_load_fw: 0x1c0000 0x800 0xa010aff0 nand_load_fw: 0x1d0000 0x800 0xa010b7f0 nand_load_fw: 0x1e0000 0x800 0xa010bff0 nand_load_fw: 0x1f0000 0x800 0xa010c7f0 nand_load_fw: 0x200000 0x800 0xa010cff0 nand_load_fw: 0x210000 0x800 0xa010d7f0 nand_load_fw: 0x220000 0x800 0xa010dff0 nand_load_fw: 0x230000 0x800 0xa010e7f0 nand_load_fw: 0x240000 0x800 0xa010eff0 nand_load_fw: 0x250000 0x800 0xa010f7f0 nand_load_fw: 0x260000 0x800 0xa010fff0 nand_load_fw: 0x270000 0x800 0xa01107f0 f/w 1 read complete, jumping to 0xa0100000 U-Boot 1.1.4 (Jun 28 2012 - 10:12:47) U-boot dni29 V0.3 for DNI HW ID: 29763948 flash 128MB RAM 128MB 1st Radio 2x2 2nd Radio 3x3 DRAM: 128 MB Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Communications, Ltd. Ath Nand ID[87ff0178]: 2c:f1:80:95:02 ONFI MICRON MT29F1G08ABADAWP Micron NAND 128MiB 3,3V 8-bit [128MB] ====== NAND Parameters ====== sc = 0x87ff0158 bbt = 0x87f68008 bbt_size = 0x100 nf_ctrl = 0x344 page = 0x800 block = 0x20000 oob = 0x40 size = 128MB Setting 0xb8116290 to 0x50a02d0f Using default environment In: serial Out: serial Err: serial Net: ag934x_enet_initialize... 4096 bytes read: OK Fetching MAC Address from 0x87fe7928 wasp reset mask:c02300 WASP ----> S17 PHY * : cfg1 0x80000000 cfg2 0x7114 eth0: 28:c6:8e:19:ce:53 athrs17_reg_init: complete eth0 up eth0 Hit any key to stop autoboot: 0 dup 1 speed 1000 Client starts...[Listening] for ADVERTISE...TTT Retry count exceeded; boot the image as usual nmrp server is stopped or failed ! Loading from device 0: ath-nand (offset 0x6c0000)
OEM 内核启动日志
Linux version 2.6.31 (root@dnixm-compiler1) (gcc version 4.3.3 (GCC) ) #1 Thu Jul 19 20:41:40 CST 2012 flash_size passed from bootloader = 0 CPU revision is: 0001974c (MIPS 74Kc) ath_sys_frequency: cpu srif ddr srif cpu 560 ddr 400 ahb 200 Determined physical RAM map: memory: 08000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00008000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00008000 On node 0 totalpages: 32768 free_area_init_node: node 0, pgdat 80304a60, node_mem_map 81000000 Normal zone: 256 pages used for memmap Normal zone: 0 pages reserved Normal zone: 32512 pages, LIFO batch:7 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS0,115200 rootfstype=squashfs board=WNDR4300 mtdparts=ath-nand:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),1152k(kernel),24448k(rootfs),25600k@0x6c0000(firmware),256k(caldata_backup),-(reserved) PID hash table entries: 512 (order: 9, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 126364k/131072k available (2591k kernel code, 4520k reserved, 499k data, 156k init, 0k highmem) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:128 plat_time_init: plat time init done Calibrating delay loop... 279.55 BogoMIPS (lpj=559104) Mount-cache hash table entries: 512 NET: Registered protocol family 16 PCI init:ath_pcibios_init ath_pcibios_init(294): PCI CMD write: 0x356 registering PCI controller with io_map_base unset bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pci 0000:00:00.0: reg 10 64bit mmio: [0x000000-0x01ffff] pci 0000:00:00.0: reg 30 32bit mmio: [0x000000-0x00ffff] pci 0000:00:00.0: supports D1 pci 0000:00:00.0: PME# supported from D0 D1 D3hot pci 0000:00:00.0: PME# disabled Returning IRQ 64 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 ATH GPIOC major 0 Initializing usb led semaphore squashfs: version 4.0 (2009/01/31) Phillip Lougher Registering mini_fo version $Id$ JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc. msgmni has been set to 247 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A console [ttyS0] enabled tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Communications, Ltd. Ath Nand ID[878555a0]: 2c:f1:80:95:02 ONFI MICRON MT29F1G08ABADAWP Micron NAND 128MiB 3,3V 8-bit [128MB] 12 cmdlinepart partitions found on MTD device ath-nand Creating 12 MTD partitions on "ath-nand": 0x000000000000-0x000000040000 : "u-boot" 0x000000040000-0x000000080000 : "u-boot-env" 0x000000080000-0x0000000c0000 : "caldata" 0x0000000c0000-0x000000140000 : "pot" 0x000000140000-0x000000340000 : "language" 0x000000340000-0x0000003c0000 : "config" 0x0000003c0000-0x0000006c0000 : "traffic_meter" 0x0000006c0000-0x0000007e0000 : "kernel" 0x0000007e0000-0x000001fc0000 : "rootfs" mtd: find squashfs magic at 0x7e0000 of "ath-nand" the correct location of partition "rootfs": 0x0000007e0000-0x000001fc0000 mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=1080000, len=F40000 0x000001080000-0x000001fc0000 : "rootfs_data" 0x0000006c0000-0x000001fc0000 : "firmware" 0x000001fc0000-0x000002000000 : "caldata_backup" 0x000002000000-0x000008000000 : "reserved" ====== NAND Parameters ====== sc = 0x87855400 bbt = 0x878f7200 bbt_size = 0x100 nf_ctrl = 0x344 page = 0x800 block = 0x20000 oob = 0x40 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver Port Status 1c000004 ath-ehci ath-ehci.0: ATH EHCI ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: ATH EHCI usb usb1: Manufacturer: Linux 2.6.31 ehci_hcd usb usb1: SerialNumber: platform usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (2048 buckets, 8192 max) ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered NET: Registered protocol family 10 ip6_tables: (C) 2000-2006 Netfilter Core Team IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Ebtables v2.0 registered 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> arch/mips/atheros/gpio.c (ath_simple_config_init) JUMPSTART_GPIO: 12 athwdt_init: Registering WDT success ath_otp_init: Registering OTP success ath_clksw_init: Registering Clock Switch Interface success VFS: Mounted root (squashfs filesystem) readonly on device 31:8. Freeing unused kernel memory: 156k freed Please be patient, while OpenWrt loads ... mini_fo: using base directory: / mini_fo: using storage directory: /tmp/root PPP generic driver version 2.4.2 dni-qos module init. NET: Registered protocol family 24 nf_nat_STARCRAFT: module license 'unspecified' taints kernel. Disabling lock debugging due to kernel taint nf_conntrack_rtsp v0.6.21 loading nf_nat_rtsp v0.6.21 loading nf_conntrack_proto_esp loaded NET: Registered protocol family 27 PPPoL2TP kernel driver, V0.16.1 PPTP-GRE-v1.13 2007 (C) Delta Networks Inc. ATHR_GMAC: Length per segment 1536 ATHR_GMAC: fifo cfg 3 01f00140 ATHR_GMAC: RX TASKLET - Pkts per Intr:100 Reading Flash for Calibraton data from 0x0 and partition name is caldata ATHR_GMAC: Mac address for unit 0:878ab6d0 ATHR_GMAC: 00:8e:f2:f9:e9:56 ATHR_GMAC: Max segments per packet : 1 ATHR_GMAC: Max tx descriptor count : 128 ATHR_GMAC: Max rx descriptor count : 128 ATHR_GMAC: Mac capability flags : 223A1 Loading DNI-ENET driver Error, cannot find eth1 interface athr_gmac_ring_alloc Allocated 2048 at 0x87bf8000 athr_gmac_ring_alloc Allocated 2048 at 0x87bf8800 WASP ----> S17 PHY * Setting Drop CRC Errors, Pause Frames and Length Error frames athrs17_reg_init:done Setting PHY... enable s17 atheros header Phy setup Complete [az] 802.3az init done.. [az] 802.3az init done.. [az] 802.3az init done.. [az] 802.3az init done.. [az] 802.3az init done.. ADDRCONF(NETDEV_UP): phy0: link is not ready device eth0 entered promiscuous mode device phy0 entered promiscuous mode Loading DNI-ENET driver device pas0 entered promiscuous mode Enet:0 port2 up ATH_MAC_TIMER: enet unit:0 is up... RGMii 1000Mbps full duplex ATH_MAC_TIMER: done cfg2 0x7205 ifctl 0x0 miictrl ADDRCONF(NETDEV_CHANGE): phy0: link becomes ready br0: port 1(eth0) entering forwarding state br0: port 1(eth0) entering disabled state br0: port 1(eth0) entering forwarding state GPL NetUSB up! kc 86 : run_telnetDBGDServer start kc 223 : init_DebugD end INFO176C: NetUSB 1.02.03, 0002061F : May 23 2012 12:43:57 INFO176E: AUTH ISOC INFO176F: MOVE_HEAD filterAudio usbcore: registered new interface driver KC NetUSB General Driver INFO0AAB: --- checkSBusTimeoutThread start --- INFO0076: init proc : PAGE_SIZE 4096 INFO1640: infomap 8710c378 INFO1643: sleep to wait br0 to wake up INFO02D0: use dev Name br0 INFO164C: sleep to wait br0 end. INFO1665: UDP_BROAD 7423 tcpPort:625868800 INFO02D0: use dev Name br0 INFO154C: tcpConnector() started... dni-qos attached on eth1. INFO1429: Bind to br0 ufsd: driver (8.6, Mar 28 2012 18:34:58, LBD=ON, delalloc, acl, ioctl, bdi) loaded at 87300000 NTFS (with native replay) support included Hfs+/HfsX support included Big endian platform Built_for__Netgear_wndr_4300_2012-03-07 ADDRCONF(NETDEV_UP): sit0: link is not ready ADDRCONF(NETDEV_UP): pas0: link is not ready Enet:0 port:2 down ATH_MAC_TIMER: unit 0: phy 4 not up carrier 1 br0: port 1(eth0) entering disabled state ath_hal: 0.9.17.1 (AR5416, AR9380, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D) ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved ath_ahb: 9.2.0_U10.1020 (Atheros/multi-bss) __ath_attach: Set global_scn[0] ACBKMinfree = 48 ACBEMinfree = 32 ACVIMinfree = 16 ACVOMinfree = 0 CABMinfree = 48 UAPSDMinfree = 0 Bootstrap clock 40MHz ar9300RadioAttach: Need analog access recipe!! read from Flash Restoring Cal data from Flash ###################[0x31]###################### ah_cal_mem = 0x0 #######################3963 ar9300CalibrationDataReadNand address 4096 Reading Flash for Calibraton data from 0x1000 and partition name is caldata ath_get_caps[5110] rx chainmask mismatch actual 3 sc_chainmak 0 ath_get_caps[5085] tx chainmask mismatch actual 3 sc_chainmak 0 SC Callback Registration for wifi0 wifi0: Atheros 9340: mem=0xb8100000, irq=2 ath_pci: 9.2.0_U10.1020 (Atheros/multi-bss) PCI: Setting latency timer of device 0000:00:00.0 to 64 __ath_attach: Set global_scn[1] ACBKMinfree = 48 ACBEMinfree = 32 ACVIMinfree = 16 ACVOMinfree = 0 CABMinfree = 48 UAPSDMinfree = 0 ar9300RadioAttach: Need analog access recipe!! read from Flash Restoring Cal data from Flash ###################[0x33]###################### ah_cal_mem = 0x0 #######################3963 ar9300CalibrationDataReadNand address 20480 Reading Flash for Calibraton data from 0x5000 and partition name is caldata ath_get_caps[5110] rx chainmask mismatch actual 7 sc_chainmak 0 ath_get_caps[5085] tx chainmask mismatch actual 7 sc_chainmak 0 SC Callback Registration for wifi1 wifi1: Atheros 9580: mem=0x10000000, irq=64 hw_base=0xb0000000 wlan_vap_create : enter. devhandle=0x873b02c0, opmode=IEEE80211_M_HOSTAP, flags=0x1 wlan_vap_create : exit. devhandle=0x873b02c0, opmode=IEEE80211_M_HOSTAP, flags=0x1. VAP device ath0 created DES SSID SET=NETGEAR80 ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 WARNING: Fragmentation with HT mode NOT ALLOWED!! wlan_vap_create : enter. devhandle=0x859f82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1 wlan_vap_create : exit. devhandle=0x859f82c0, opmode=IEEE80211_M_HOSTAP, flags=0x1. VAP device ath1 created DES SSID SET=NETGEAR80-5G ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 WARNING: Fragmentation with HT mode NOT ALLOWED!! device ath0 entered promiscuous mode br0: port 3(ath0) entering forwarding state device ath1 entered promiscuous mode br0: port 4(ath1) entering forwarding state ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 br0: port 3(ath0) entering disabled state DEVICE IS DOWN ifname=ath0 DEVICE IS DOWN ifname=ath0 br0: port 3(ath0) entering forwarding state ieee80211_ioctl_siwmode: imr.ifm_active=852608, new mode=3, valid=1 br0: port 4(ath1) entering disabled state DEVICE IS DOWN ifname=ath1 DEVICE IS DOWN ifname=ath1 br0: port 4(ath1) entering forwarding state Enet:0 port2 up ATH_MAC_TIMER: enet unit:0 is up... RGMii 1000Mbps full duplex ATH_MAC_TIMER: done cfg2 0x7205 ifctl 0x0 miictrl br0: port 1(eth0) entering forwarding state NET: Unregistered protocol family 24
OpenWrt 内核启动日志
[ 0.000000] Linux version 3.10.18 (sag@luegisland.agner.local) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38664) ) #11 Tue Nov 12 23:04:53 CET 2013 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 0001974c (MIPS 74Kc) [ 0.000000] SoC: Atheros AR9344 rev 2 [ 0.000000] Clocks: CPU:560.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x07ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x07ffffff] [ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: board=WNDR4300 console=ttyS0,115200 mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(langua ge),512k(config),3072k(traffic_meter),2048k(kernel),23552k(ubiroot),25600k@0x6c0000(firmware),256k(caldata_backup),-(reserved) ubi.mtd=ubiroot rootfstype=squashfs noinitrd [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 126316k/131072k available (2230k kernel code, 4756k reserved, 586k data, 188k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688) [ 0.070000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 512 [ 0.080000] NET: Registered protocol family 16 [ 0.080000] MIPS: machine is NETGEAR WNDR4300 [ 0.290000] registering PCI controller with io_map_base unset [ 0.300000] bio: create slab <bio-0> at 0 [ 0.310000] PCI host bridge to bus 0000:00 [ 0.310000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] [ 0.320000] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.320000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.330000] pci 0000:00:00.0: invalid calibration data [ 0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit] [ 0.340000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref] [ 0.340000] pci 0000:00:00.0: using irq 40 for pin 1 [ 0.350000] Switching to clocksource MIPS [ 0.350000] NET: Registered protocol family 2 [ 0.360000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.360000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.370000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.370000] TCP: reno registered [ 0.370000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.390000] NET: Registered protocol family 1 [ 0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.410000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.420000] msgmni has been set to 246 [ 0.430000] io scheduler noop registered [ 0.430000] io scheduler deadline registered (default) [ 0.440000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.460000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.470000] console [ttyS0] enabled, bootconsole disabled [ 0.470000] console [ttyS0] enabled, bootconsole disabled [ 0.480000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64 [ 0.490000] Scanning device for bad blocks [ 0.580000] 12 cmdlinepart partitions found on MTD device ar934x-nfc [ 0.590000] Creating 12 MTD partitions on "ar934x-nfc": [ 0.590000] 0x000000000000-0x000000040000 : "u-boot" [ 0.600000] 0x000000040000-0x000000080000 : "u-boot-env" [ 0.610000] 0x000000080000-0x0000000c0000 : "caldata" [ 0.610000] 0x0000000c0000-0x000000140000 : "pot" [ 0.620000] 0x000000140000-0x000000340000 : "language" [ 0.630000] 0x000000340000-0x0000003c0000 : "config" [ 0.630000] 0x0000003c0000-0x0000006c0000 : "traffic_meter" [ 0.640000] 0x0000006c0000-0x0000008c0000 : "kernel" [ 0.650000] 0x0000008c0000-0x000001fc0000 : "ubiroot" [ 0.650000] 0x0000006c0000-0x000001fc0000 : "firmware" [ 0.900000] 0x000001fc0000-0x000002000000 : "caldata_backup" [ 0.900000] 0x000002000000-0x000008000000 : "reserved" [ 0.940000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0 [ 2.160000] libphy: ag71xx_mdio: probed [ 2.720000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316] [ 2.730000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII [ 2.740000] TCP: cubic registered [ 2.740000] NET: Registered protocol family 17 [ 2.750000] 8021q: 802.1Q VLAN Support v1.8 [ 2.750000] UBI: attaching mtd8 to ubi0 [ 3.040000] UBI: scanning is finished [ 3.060000] UBI: attached mtd8 (name "ubiroot", size 23 MiB) to ubi0 [ 3.070000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 3.070000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 3.080000] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 3.090000] UBI: good PEBs: 184, bad PEBs: 0, corrupted PEBs: 0 [ 3.090000] UBI: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 3.100000] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 625695434 [ 3.110000] UBI: available PEBs: 0, total reserved PEBs: 184, PEBs reserved for bad PEB handling: 20 [ 3.120000] UBI: background thread "ubi_bgt0d" started, PID 266 [ 3.130000] mtd: device 12 (rootfs) set to be root filesystem [ 3.140000] VFS: Mounted root (squashfs filesystem) readonly on device 31:12. [ 3.150000] Freeing unused kernel memory: 188K (80321000 - 80350000) Console is alive procd: Console is alive - watchdog - procd: - watchdog - [ 5.020000] usbcore: registered new interface driver usbfs [ 5.030000] usbcore: registered new interface driver hub [ 5.040000] usbcore: registered new device driver usb [ 5.040000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.050000] ehci-platform: EHCI generic platform driver [ 5.060000] ehci-platform ehci-platform: EHCI Host Controller [ 5.060000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 5.070000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 5.100000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 5.100000] hub 1-0:1.0: USB hub found [ 5.110000] hub 1-0:1.0: 1 port detected [ 5.110000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver kmod: ran 21 iterations - preinit - procd: - preinit - Press the [f] key and hit [enter] to enter failsafe mode [ 6.720000] eth0: link up (1000Mbps/Full duplex) mount_root[ 8.480000] jffs2: write-buffering enabled buffer (2048) erasesize (126976) : jffs2 is ready [ 8.570000] jffs2: notice: (348) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 13 of xref (0 dead, 2 o rphan) found. [ 8.620000] eth0: link down - early - procd: - early - - watchdog - procd: - watchdog - - init - procd: - init - Please press Enter to activate this console. [ 10.050000] NET: Registered protocol family 10 [ 10.060000] nf_conntrack version 0.5.0 (1976 buckets, 7904 max) [ 10.070000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.100000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5 [ 10.100000] Backport generated by backports.git backports-20130617-4-ge3220f5 [ 10.110000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.150000] xt_time: kernel timezone is -0000 [ 10.190000] cfg80211: Calling CRDA to update world regulatory domain [ 10.190000] cfg80211: World regulatory domain updated: [ 10.200000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 10.210000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.210000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 10.220000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 10.230000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.240000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.290000] PPP generic driver version 2.4.2 [ 10.290000] NET: Registered protocol family 24 [ 10.390000] cfg80211: Calling CRDA for country: US [ 10.400000] cfg80211: Regulatory domain changed to country: US [ 10.400000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 10.410000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 10.420000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 10.430000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.430000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.440000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.450000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 10.460000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47 [ 10.460000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 10.580000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40 [ 14.140000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 14.140000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready [ 14.160000] device eth0.1 entered promiscuous mode [ 14.160000] device eth0 entered promiscuous mode [ 14.190000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 14.200000] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready [ 15.970000] eth0: link up (1000Mbps/Full duplex) [ 15.980000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 15.980000] br-lan: port 1(eth0.1) entered forwarding state [ 15.990000] br-lan: port 1(eth0.1) entered forwarding state [ 16.000000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready [ 16.000000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready [ 16.010000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 17.990000] br-lan: port 1(eth0.1) entered forwarding state procd: - init complete - [ 20.480000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 20.500000] device wlan0 entered promiscuous mode [ 20.520000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 20.540000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 20.550000] br-lan: port 2(wlan0) entered forwarding state [ 20.550000] br-lan: port 2(wlan0) entered forwarding state [ 22.550000] br-lan: port 2(wlan0) entered forwarding state [ 23.400000] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 23.410000] device wlan1 entered promiscuous mode [ 23.420000] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 23.440000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 23.450000] br-lan: port 3(wlan1) entered forwarding state [ 23.450000] br-lan: port 3(wlan1) entered forwarding state [ 25.450000] br-lan: port 3(wlan1) entered forwarding state BusyBox v1.19.4 (2013-11-10 13:45:57 CET) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- BARRIER BREAKER (Bleeding Edge, r38704) ----------------------------------------------------- * 1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 1 1/2 oz Dark Rum with crushed ice. Stir. * 2 tsp. Creme de Cacao ----------------------------------------------------- root@OpenWrt:/#
笔记
Telnet (原始固件)
很多Netgear路由器内置telnet支持, 但需要先发送一个额外的特殊格式的信息到 telnet 守护进程
以获得权限,才会允许用户登录. Netgear公司提供可执行程序 telnetenable.exe
来完成这一步. 但它不支持 “其他操作系统”. 不过, 在Unix下有两个非Netgear官方的程序可以用. 一个用C语言写的并遵循GPLv2, 另一个用Python写的并遵循MIT许可证.
- 请参考 ⇒ 解锁 Netgear Telnet 控制台
5G 信号
有时 5G wifi 接口(一个连接到 PCIe上的独立芯片AR9580 )可能失效, 因为 寄存器PCIE_RC 状态位读取为 '0'. 这可以通过运行“devmem 0x180600b0”命令并查看bit6来验证:
- 正确: 0x002F055A
- 错误: 0x002F051A
在OpenWRT上,这将导致内核完全忽略PCIe接口和与之连接的一切,所以只有主芯片内置的2.4GHz信号正常工作,在原来的固件上,这可能引起设备循环重启.
如果出现这种情况, 只需关闭电源约30秒. 其实,在OpenWRT初次启动前重新插拔电源可能是个好主意. 更多信息见this thread.
如果它没有自动连接,你可能需要手动添加5G接口到 /etc/config/wireless . 下面是一个已知可用的配置:
config wifi-device wlan1 option type mac80211 option channel 153 option hwmode 11na list ht_capab SHORT-GI-40 list ht_capab DSSS_CCK-40 option htmode HT40- option country US option path 'pci0000:00/0000:00:00.0'
或者试下这个:
cd /etc/config mv wireless wireless.tmp wifi detect
资源
- OEM 源代码和工具链: ftp://downloads.netgear.com/files/GPL/