|
随便找了一份EEPROM,也没有改MAC 刷进去,无线能正常开启了,关于别人EEPROM文件还用改MAC么?
[root@PandoraBox_7120:/root]#iwpriv ra0 stat
ra0 stat:
Tx success = 327
Tx retry count = 0, PER=0.0%
Tx fail to Rcv ACK after retry = 0, PLR=0.00%
Rx success = 573
Rx with CRC = 5141, PER=89.9%
Rx drop due to out of resource = 0
Rx duplicate frame = 0
False CCA = 23748
False CCA (one second) = 27
RSSI = 0 0 0
WPS Information:
Enrollee PinCode(ra0) 63955200
Enrollee PinCode(ra1) 63955217
Enrollee PinCode(ra2) 63955224
Enrollee PinCode(ra3) 63955231
Enrollee PinCode(ApCli0) 63955248
Ap Client WPS Profile Count = 0
WscLatestMacAddr=00:00:00:00:00:00
[root@PandoraBox_7120:/root]#iwinfo ra0 acc
-ash: iwinfo: not found
[root@PandoraBox_7120:/root]#dmesg
[ 0.000000] Linux version 3.14.79 (lintel@PandoraBox-Server) (gcc version 4.8.3 (PandoraBox/Linaro GCC 4.8-2014.04 2016-10-03-git-f17527d) ) #0 Thu Dec 29 18:48:18 2016
[ 0.000000] PandoraBox CPUID Module for Ralink/MTK SoC v1.1.
[ 0.000000] Ralink RT3052 pkgFN rev:1 eco:3 CPU:384MHz Bus:128MHz Uart:128MHz
[ 0.000000] CPU running in Little Endian
[ 0.000000] Board VLANLLLW
[ 0.000000] Flash:NOR Size: 0MB
[ 0.000000] DRAM: 32MB SDRAM 32 bits
[ 0.000000] Kernel Support [USB]
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Software DMA cache coherency
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 802b04e0, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 pages, LIFO batch:0
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 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: 8128
[ 0.000000] Kernel command line: pause_on_oops=10 noresume board=HG255D console=ttyS1,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=000443b0
[ 0.000000] Readback ErrCtl register=000443b0
[ 0.000000] Memory: 29116K/32768K available (2417K kernel code, 164K rwdata, 296K rodata, 184K init, 248K bss, 3652K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] console [ttyS1] enabled
[ 0.004000] bootconsole [early0] disabled
[ 0.008000] Calibrating delay loop... 255.74 BogoMIPS (lpj=511488)
[ 0.044000] pid_max: default: 32768 minimum: 301
[ 0.048000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.052000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060000] pinctrl core: initialized pinctrl subsystem
[ 0.064000] NET: Registered protocol family 16
[ 0.068000] Ralink/MTK BootROM maped.
[ 0.072000] Generic Ralink/MTK Register Operation API (c) 2013-2015 PandoraBox Team
[ 0.076000] SYSCTL maped at address:0xb0000000
[ 0.080000] MEMCTRL maped at address:0xb0000300
[ 0.084000] RFCTRL maped at address:0xb0180000
[ 0.088000] Generic GPIO Driver for Ralink RT3052 Board. (c) 2013-2015 PandoraBox Team
[ 0.092000] RT305X-GPIO0:registering 24 irq handlers
[ 0.096000] RT305X-GPIO1:registering 16 irq handlers
[ 0.100000] RT305X-GPIO2:registering 12 irq handlers
[ 0.104000] MIPS: machine is HuaWei HG255D
[ 0.108000] HG255D:Seems Lintel 's U-boot.
[ 0.112000] ralink_register_flash:NOR Flash.
[ 0.116000] Ralink/MTK PinCtrl registered.
[ 0.120000] Generic PinCtrl Driver for Ralink RT3052 Board. (c) 2013-2015 PandoraBox Team
[ 0.124000] PINCTRL:add 24 pins for RT305X-PINCTRL0.
[ 0.128000] PINCTRL:add 16 pins for RT305X-PINCTRL1.
[ 0.132000] PINCTRL:add 12 pins for RT305X-PINCTRL2.
[ 0.136000] GPIO_MODE_REG:0xDF
[ 0.160000] bio: create slab <bio-0> at 0
[ 0.168000] Switched to clocksource MIPS
[ 0.172000] PandoraBox SPLICE initialized. rcv 81c11000 (sz:384) kvec 81c0a000 (sz:128) per 1 core
[ 0.188000] NET: Registered protocol family 2
[ 0.192000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.200000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.208000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.212000] TCP: reno registered
[ 0.216000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.228000] NET: Registered protocol family 1
[ 0.232000] Ralink SoC clocks api init.
[ 0.236000] mips hpt frequency:192000000HZ
[ 0.240000] Ralink/MTK APSoC GPIO Resource maped.
[ 0.248000] Load Kernel WDG Timer Module
[ 0.252000] Load Ralink Timer0 Module
[ 0.256000] Ralink DWC_OTG Host register.
[ 0.276000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.316000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.320000] jffs2: version 2.2 (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.332000] msgmni has been set to 56
[ 0.336000] io scheduler noop registered
[ 0.340000] io scheduler deadline registered (default)
[ 0.348000] io scheduler cfq registered
[ 0.352000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.360000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 37, base_baud = 8000000) is a 16550A
[ 0.368000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12, base_baud = 8000000) is a 16550A
[ 0.376000] Enable Ralink GDMA Controller Module
[ 0.408000] brd: module loaded
[ 0.416000] physmap platform flash device: 01000000 at bf000000
[ 0.420000] physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[ 0.432000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.436000] Amd/Fujitsu Extended Query version 1.3.
[ 0.440000] number of CFI chips: 1
[ 0.448000] Creating 5 MTD partitions on "physmap-flash":
[ 0.452000] 0x000000000000-0x000000040000 : "U-Boot"
[ 0.460000] 0x000000040000-0x000000060000 : "U-Boot-Env"
[ 0.468000] 0x000000060000-0x000000080000 : "Factory"
[ 0.476000] 0x000000000000-0x000001000000 : "fullflash"
[ 0.488000] 0x000000080000-0x000001000000 : "firmware"
[ 0.496000] 3 uimage-fw partitions found on MTD device firmware
[ 0.504000] 0x000000080000-0x00000017a589 : "kernel"
[ 0.508000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.524000] 0x00000017a589-0x000000fc0000 : "rootfs"
[ 0.528000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.544000] mtd: device 6 (rootfs) set to be root filesystem
[ 0.552000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.556000] 0x0000007c0000-0x000000fc0000 : "rootfs_data"
[ 0.564000] 0x000000fc0000-0x000001000000 : "panic_oops"
[ 0.572000] mtdoops: ready 0, 1 (no erase)
[ 0.572000] mtdoops: Attached to MTD device 8
[ 0.592000] rdm_major = 253
[ 0.596000] EEPROM:Read from [Factory] offset 0x28,length 0x6.
[ 0.600000] warning: ra_mtd_read_nm: rdlen is not equal to len. len:0x6 rdlen:0x81c8a182 erasesize:0x20000
[ 0.616000] Ralink APSoC Ethernet Driver v3.2.4 (raeth)
[ 0.620000] raeth: PDMA RX ring 128, PDMA TX ring 512. Max packet size 1536
[ 0.628000] raeth: NAPI & GRO support, weight 32
[ 0.632000] raeth: Byte Queue Limits (BQL) support
[ 0.636000] raeth: GMAC reset
[ 0.644000] rt305x switch driver registered.
[ 0.648000] rt305x-esw default vlans:wllll
[ 0.652000] TCP: cubic registered
[ 0.656000] TCP: westwood registered
[ 0.660000] TCP: hybla registered
[ 0.664000] TCP: htcp registered
[ 0.664000] NET: Registered protocol family 17
[ 0.672000] Bridge firewalling registered
[ 0.676000] 8021q: 802.1Q VLAN Support v1.8
[ 0.680000] PandoraBox Mass Storage accelerater v1.2
[ 0.684000] Generic NVRAM Driver for MediaTek Board. (c) 2013-2015 PandoraBox Team.
[ 0.692000] NVRAM driver (major 252) installed
[ 0.704000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 0.712000] Freeing unused kernel memory: 184K (802d2000 - 80300000)
[ 2.136000] init: Console is alive
[ 5.048000] usbcore: registered new interface driver usbfs
[ 5.052000] usbcore: registered new interface driver hub
[ 5.060000] usbcore: registered new device driver usb
[ 5.072000] exFAT: Version 1.2.9
[ 5.132000] ufsd: module license 'Commercial product' taints kernel.
[ 5.140000] Disabling lock debugging due to kernel taint
[ 5.180000] ufsd:: trace mask set to 0000000f
[ 5.184000] ufsd: driver (lke_8.9.0 lke_8.9.0_r217400_b3, LBD=ON, delalloc, ioctl, sd2(1), fua, tr) loaded at 80900000
[ 5.184000] NTFS support included
[ 5.184000] exFAT/TexFAT support included
[ 5.184000] optimized: speed
[ 5.184000] Build_for_PandoraBox_Not_for_release_k2.6.36_2015-09-22_lke_8.9.0_r225793_b93
[ 5.184000]
[ 5.212000] ufsd: exfat can't store dates before Jan 1, 1980. Please update current date
[ 5.228000] PandoraBox Button Driver init
[ 5.232000] Button [reset] mapped to GPIO4 and IRQ65
[ 5.236000] Button [wps] mapped to GPIO10 and IRQ66
[ 5.240000] Button [rfkill] mapped to GPIO0 and IRQ67
[ 5.260000] SCSI subsystem initialized
[ 6.164000] dwc2 dwc2.0: DWC OTG Controller
[ 6.168000] dwc2 dwc2.0: new USB bus registered, assigned bus number 1
[ 6.172000] dwc2 dwc2.0: irq 18, io mem 0x00000000
[ 6.180000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.184000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.192000] usb usb1: Product: DWC OTG Controller
[ 6.196000] usb usb1: Manufacturer: Linux 3.14.79 dwc2_hsotg
[ 6.204000] usb usb1: SerialNumber: dwc2.0
[ 6.208000] hub 1-0:1.0: USB hub found
[ 6.212000] hub 1-0:1.0: 1 port detected
[ 6.232000] usbcore: registered new interface driver usb-storage
[ 6.244000] init: - preinit -
[ 7.048000] random: jshn: uninitialized urandom read (4 bytes read, 122 bits of entropy available)
[ 7.136000] random: jshn: uninitialized urandom read (4 bytes read, 123 bits of entropy available)
[ 7.420000] random: nonblocking pool is initialized
[ 8.396000] raeth: HW IP/TCP/UDP checksum RX/TX offload enabled
[ 8.404000] raeth: HW VLAN TX offload enabled
[ 8.408000] raeth: HW Scatter/Gather TX offload enabled
[ 8.412000] raeth: NAPI mode enabled
[ 8.416000] raeth: NAPI GRO offload enabled
[ 8.420000] raeth: Frame Engine reset
[ 8.428000] raeth: PDMA init
[ 8.428000] raeth: RT305x ESW initializing
[ 8.432000] No PHY detected on MDIO addr 0x1F
[ 11.552000] raeth: port 1 link up (100Mbps/Full duplex)
[ 11.820000] mount_root: loading kmods from internal overlay
[ 12.004000] jffs2: notice: (422) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (1 unchecked, 3 orphan) and 33 of xref (0 dead, 6 orphan) found.
[ 12.020000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 12.028000] block: unable to load configuration (fstab: Entry not found)
[ 12.036000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 12.044000] block: extroot: not configured
[ 12.072000] jffs2: notice: (419) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (1 unchecked, 3 orphan) and 33 of xref (0 dead, 6 orphan) found.
[ 12.184000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 12.192000] block: unable to load configuration (fstab: Entry not found)
[ 12.200000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 12.208000] block: extroot: not configured
[ 12.212000] mount_root: switching to jffs2 overlay
[ 12.224000] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 12.332000] raeth: port 1 link down
[ 12.372000] procd: - early -
[ 13.240000] procd: - ubus -
[ 13.760000] procd: - init -
[ 15.244000] NET: Registered protocol family 10
[ 15.288000] tun: Universal TUN/TAP device driver, 1.6
[ 15.292000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 15.324000] gre: GRE over IPv4 demultiplexor driver
[ 15.332000] ip_gre: GRE over IPv4 tunneling driver
[ 15.356000] gpiodev: gpio device registered with major 251
[ 15.388000] nf_conntrack version 0.5.0 (457 buckets, 1828 max)
[ 15.404000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 15.424000] Netfilter messages via NETLINK v0.30.
[ 15.440000] ip_set: protocol 6
[ 15.528000] u32 classifier
[ 15.528000] input device check on
[ 15.532000] Actions configured
[ 15.540000] Mirror/redirect action on
[ 15.564000] PandoraBox IP Bandwidth load.
[ 15.708000]
[ 15.708000]
[ 15.708000] === pAd = c15e2000, size = 1106096 ===
[ 15.708000]
[ 15.716000] <-- RTMPAllocTxRxRingMemory, Status=0
[ 15.724000] <-- RTMPAllocAdapterBlock, Status=0
[ 15.728000] PandoraBox RT2860v2 AP Driver version-2.7.2.0(Dec 29 2016 19:29:24).
[ 15.736000] RT305x_ChipSpecInit: CHIP_SPEC_ID_NUM(3)
[ 15.804000] ip_tables: (C) 2000-2006 Netfilter Core Team, NAT Type:Symmetric Cone
[ 15.948000] usbcore: registered new interface driver ums-alauda
[ 15.960000] usbcore: registered new interface driver ums-cypress
[ 15.972000] usbcore: registered new interface driver ums-datafab
[ 15.984000] usbcore: registered new interface driver ums-freecom
[ 15.996000] usbcore: registered new interface driver ums-isd200
[ 16.012000] usbcore: registered new interface driver ums-jumpshot
[ 16.024000] usbcore: registered new interface driver ums-karma
[ 16.036000] usbcore: registered new interface driver ums-sddr09
[ 16.052000] usbcore: registered new interface driver ums-sddr55
[ 16.064000] usbcore: registered new interface driver ums-usbat
[ 16.152000] xt_time: kernel timezone is -0000
[ 16.220000] PPP generic driver version 2.4.2
[ 16.232000] NET: Registered protocol family 24
[ 28.780000] raeth: HW IP/TCP/UDP checksum RX/TX offload enabled
[ 28.784000] raeth: HW VLAN TX offload enabled
[ 28.788000] raeth: HW Scatter/Gather TX offload enabled
[ 28.796000] raeth: NAPI mode enabled
[ 28.796000] raeth: NAPI GRO offload enabled
[ 28.804000] raeth: Frame Engine reset
[ 28.808000] raeth: PDMA init
[ 28.808000] raeth: RT305x ESW initializing
[ 28.816000] No PHY detected on MDIO addr 0x1F
[ 28.836000] device eth0 entered promiscuous mode
[ 28.844000] device eth0.1 entered promiscuous mode
[ 28.852000] br-lan: port 1(eth0.1) entered forwarding state
[ 28.860000] br-lan: port 1(eth0.1) entered forwarding state
[ 30.560000] raeth: port 1 link up (100Mbps/Full duplex)
[ 30.640000] raeth: port 1 link down
[ 30.864000] br-lan: port 1(eth0.1) entered forwarding state
[ 32.248000] raeth: port 1 link up (100Mbps/Full duplex)
[ 33.540000] RX DESC a0b4f000 size = 2048
[ 33.836000] APCli_WPAPSK_KEY, key string required 8 ~ 64 characters!!!
[ 33.888000] 1. Phy Mode = 9
[ 33.892000] 2. Phy Mode = 9
[ 33.896000] EEPROM:Read from [Factory] offset 0x0,length 0x200.
[ 33.900000] warning: ra_mtd_read_nm: rdlen is not equal to len. len:0x200 rdlen:0x8033bf9c erasesize:0x20000
[ 33.912000] 3. Phy Mode = 9
[ 33.912000] AntCfgInit: primary/secondary ant 0/1
[ 33.912000] MCS Set = ff ff 00 00 01
[ 33.924000] SYNC - BBP R4 to 20MHz.l
[ 37.064000] ch1 bssid=50:bd:5f:e1:b8:7a
[ 37.068000] ch1 bssid=ec:1d:7f:e2:94:d5
[ 37.068000] ch1 bssid=bc:d1:77:aa:c8:34
[ 37.072000] ch3 bssid=c8:3a:35:59:70:d0
[ 37.076000] ch6 bssid=ec:26:ca:b9:f7:1c
[ 37.080000] ch6 bssid=88:25:93:22:1e:28
[ 37.084000] ch6 bssid=b0:48:7a:32:ca:5e
[ 37.088000] ch8 bssid=c8:3a:35:07:30:48
[ 37.092000] ch11 bssid=c0:61:18:cf:2c:44
[ 37.096000] ch13 bssid=00:6b:8e:fc:c6:30
[ 37.100000] =====================================================
[ 37.108000] Channel 1 : Dirty = 238, False CCA = 23, Busy Time = 0, Skip Channel = FALSE
[ 37.116000] Channel 2 : Dirty = 188, False CCA = 37, Busy Time = 0, Skip Channel = FALSE
[ 37.124000] Channel 3 : Dirty = 226, False CCA = 11, Busy Time = 0, Skip Channel = FALSE
[ 37.132000] Channel 4 : Dirty = 208, False CCA = 47, Busy Time = 0, Skip Channel = FALSE
[ 37.140000] Channel 5 : Dirty = 208, False CCA = 7, Busy Time = 0, Skip Channel = FALSE
[ 37.148000] Channel 6 : Dirty = 262, False CCA = 34, Busy Time = 0, Skip Channel = FALSE
[ 37.156000] Channel 7 : Dirty = 168, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
[ 37.164000] Channel 8 : Dirty = 178, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
[ 37.172000] Channel 9 : Dirty = 152, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
[ 37.180000] Channel 10 : Dirty = 144, False CCA = 8, Busy Time = 0, Skip Channel = FALSE
[ 37.188000] Channel 11 : Dirty = 122, False CCA = 1, Busy Time = 0, Skip Channel = FALSE
[ 37.196000] Channel 12 : Dirty = 84, False CCA = 73, Busy Time = 0, Skip Channel = TRUE
[ 37.204000] Channel 13 : Dirty = 98, False CCA = 0, Busy Time = 0, Skip Channel = TRUE
[ 37.212000] =====================================================
[ 37.220000] Rule 1 CCA value : Min Dirtiness ==> Select Channel 12
[ 37.224000] Min Dirty = 84
[ 37.228000] ExChannel = 8 , 0
[ 37.232000] BW = 40
[ 37.236000] Main bssid = 54:a5:1b:61:96:80
[ 37.240000] <==== rt28xx_init, Status=0
[ 37.600000] device ra0 entered promiscuous mode
[ 37.604000] br-lan: port 2(ra0) entered forwarding state
[ 37.612000] br-lan: port 2(ra0) entered forwarding state
[ 39.616000] br-lan: port 2(ra0) entered forwarding state
[ 44.656000] PandoraBox IP bandwidth unload.
[ 45.184000] PandoraBox IP Bandwidth load.
[ 52.456000] procd: - init complete -
|
|