#10987: OpenWRT on Asus RTN12-B1
--------------------------+---------------------------------------
Reporter: abates@… | Owner: hauke
Type: enhancement | Status: reopened
Priority: normal | Milestone: Attitude Adjustment 12.09
Component: kernel | Version: Trunk
Resolution: | Keywords:
--------------------------+---------------------------------------
Changes (by Cage):
* status: closed => reopened
* resolution: fixed =>
Comment:
hello
Wireless is not working for this router. Ethernet seems fine with last
trunk build (20-june-2014).
my config is the following:
root@OpenWrt:/etc/config# cat wireless
config wifi-device wl0
option type mac80211
option channel 5
config wifi-iface
option device wl0
option network lan
option mode ap
option ssid OpenWrt
option encryption none
However, this happen:
root@OpenWrt:/etc/config# wifi up
root@OpenWrt:/etc/config# wifi status
{
"wl0": {
"up": false,
"pending": false,
"autostart": false,
"disabled": false,
"interfaces": [
{
"section": "cfg033579"
}
]
}
}
If this help, there it is the dmesg output:
root@OpenWrt:/etc/config# dmesg
[ 0.000000] Linux version 3.10.36 (thepeople@trabant) (gcc version
4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r41281) ) #1 Fri Jun 20 08:37:45
CEST 2014
[ 0.000000] CPU revision is: 00019749 (MIPS 74Kc)
[ 0.000000] bcm47xx: using bcma bus
[ 0.000000] bcma: bus0: Found chip with id 0x5357, rev 0x02 and package
0x08
[ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id
0x800, rev 0x26, class 0x0)
[ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C,
rev 0x04, class 0x0)
[ 0.000000] bcma: bus0: Found rev 9 PMU (capabilities 0x28A42A09)
[ 0.000000] bcma: bus0: Found serial flash
[ 0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB,
blocksize: 0x10000, blocks: 128)
[ 0.000000] bcma: bus0: Early bus registered
[ 0.000000] MIPS: machine is Asus RT-N10U
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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 802e6b80, 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 32kB, 4-way, VIPT, cache 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: noinitrd console=ttyS0,115200
[ 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=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28916k/32768k available (2453k kernel code, 3852k
reserved, 596k data, 208k init, 0k highmem)
[ 0.000000] NR_IRQS:128
[ 0.000000] Setting up vectored interrupts
[ 0.060000] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.070000] NET: Registered protocol family 16
[ 0.090000] bio: create slab <bio-0> at 0
[ 0.100000] Switching to clocksource MIPS
[ 0.110000] NET: Registered protocol family 2
[ 0.110000] TCP established hash table entries: 512 (order: 0, 4096
bytes)
[ 0.110000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.110000] TCP: Hash tables configured (established 512 bind 512)
[ 0.110000] TCP: reno registered
[ 0.110000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.110000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.110000] NET: Registered protocol family 1
[ 0.110000] PCI: CLS 0 bytes, default 32
[ 0.110000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id
0x812, rev 0x1C, class 0x0)
[ 0.110000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D,
rev 0x03, class 0x0)
[ 0.110000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id
0x819, rev 0x05, class 0x0)
[ 0.110000] bcma: bus0: Core 5 found: DDR1/DDR2 Memory Controller
(manuf 0x4BF, id 0x82E, rev 0x02, class 0x0)
[ 0.110000] bcma: bus0: Core 6 found: I2S (manuf 0x4BF, id 0x834, rev
0x02, class 0x0)
[ 0.110000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id
0x80E, rev 0x0B, class 0x0)
[ 0.140000] bcma: bus0: Using SPROM revision 8 provided by platform.
[ 0.140000] bcma: bus0: PMU resource config unknown or not needed for
device 0x5357
[ 0.150000] bcma: bus0: Workarounds unknown or not needed for device
0x5357
[ 0.150000] bcma: bus0: Initializing MIPS core...
[ 0.150000] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[ 0.150000] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[ 0.150000] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
[ 0.150000] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[ 0.150000] bcma: bus0: set_irq: core 0x0834, irq 2 => 2
[ 0.150000] bcma: bus0: IRQ reconfiguration done
[ 0.150000] bcma: core 0x0800, irq : 2(S)* 3 4 5 6 D I
[ 0.150000] bcma: core 0x082c, irq : 2(S) 3 4 5 6 D I*
[ 0.150000] bcma: core 0x0812, irq : 2(S) 3* 4 5 6 D I
[ 0.150000] bcma: core 0x082d, irq : 2(S) 3 4* 5 6 D I
[ 0.150000] bcma: core 0x0819, irq : 2(S) 3 4 5* 6 D I
[ 0.150000] bcma: core 0x082e, irq : 2(S) 3 4 5 6 D* I
[ 0.150000] bcma: core 0x0834, irq : 2(S)* 3 4 5 6 D I
[ 0.150000] bcma: core 0x080e, irq : 2(S) 3 4 5 6 D I*
[ 0.150000] bcma: bus0: Bus registered
[ 0.160000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.160000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.160000] msgmni has been set to 56
[ 0.160000] io scheduler noop registered
[ 0.160000] io scheduler deadline registered (default)
[ 0.160000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.190000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2) is a
U6_16550A
[ 0.540000] console [ttyS0] enabled
[ 0.720000] 6 bcm47xxpart partitions found on MTD device bcm47xxsflash
[ 0.720000] Creating 6 MTD partitions on "bcm47xxsflash":
[ 0.730000] 0x000000000000-0x000000020000 : "boot"
[ 0.740000] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.750000] 0x00000002001c-0x00000002090c : "loader"
[ 0.750000] 0x00000002090c-0x00000012f800 : "linux"
[ 0.760000] mtd: partition "linux" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[ 0.780000] 0x00000012f800-0x0000007f0000 : "rootfs"
[ 0.780000] mtd: partition "rootfs" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[ 0.800000] mtd: device 4 (rootfs) set to be root filesystem
[ 0.800000] mtd: partition "rootfs_data" created automatically,
ofs=0x320000, len=0x4d0000
[ 0.810000] 0x000000320000-0x0000007f0000 : "rootfs_data"
[ 0.820000] 0x0000007f0000-0x000000800000 : "nvram"
[ 0.840000] libphy: Fixed MDIO Bus: probed
[ 0.850000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled
(30 seconds)
[ 0.850000] GPIO_WDT: failed to register misc device
[ 0.860000] TCP: cubic registered
[ 0.860000] NET: Registered protocol family 17
[ 0.870000] Bridge firewalling registered
[ 0.870000] 8021q: 802.1Q VLAN Support v1.8
[ 0.890000] VFS: Mounted root (squashfs filesystem) readonly on device
31:4.
[ 0.900000] Freeing unused kernel memory: 208K (802fc000 - 80330000)
[ 5.330000] pps_core: LinuxPPS API ver. 1 registered
[ 5.340000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti <[email protected]>
[ 5.350000] PTP clock support registered
[ 5.370000] bgmac bcma0:1: Found PHY addr: 30 (NOREGS)
[ 5.380000] bgmac bcma0:1: Support for Roboswitch not implemented
[ 5.390000] libphy: bgmac mii bus: probed
[ 5.400000] b53_common: found switch: BCM5325, rev 4
[ 5.410000] bgmac: Broadcom 47xx GBit MAC driver loaded
[ 11.100000] jffs2: notice: (245) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 7 of
xref (0 dead, 2 orphan) found.
[ 15.480000] NET: Registered protocol family 10
[ 15.500000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
[ 15.520000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 15.540000] Loading modules backported from Linux version
master-2014-05-22-0-gf2032ea
[ 15.550000] Backport generated by backports.git
backports-20140320-37-g5c33da0
[ 15.570000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.650000] xt_time: kernel timezone is -0000
[ 15.700000] cfg80211: Calling CRDA to update world regulatory domain
[ 15.700000] cfg80211: World regulatory domain updated:
[ 15.710000] cfg80211: DFS Master region: unset
[ 15.710000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 15.720000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 15.730000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 15.740000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
2000 mBm), (N/A)
[ 15.750000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 15.760000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 15.760000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0 mBm), (N/A)
[ 15.890000] PPP generic driver version 2.4.2
[ 15.900000] NET: Registered protocol family 24
[ 15.940000] Broadcom 43xx driver loaded [ Features: PNL ]
[ 15.960000] Broadcom 43xx-legacy driver loaded [ Features: PLD ]
[ 26.580000] device eth0.1 entered promiscuous mode
[ 26.580000] device eth0 entered promiscuous mode
[ 26.600000] br-lan: port 1(eth0.1) entered forwarding state
[ 26.600000] br-lan: port 1(eth0.1) entered forwarding state
[ 28.600000] br-lan: port 1(eth0.1) entered forwarding state
PS: When i installed openwrt image, i noticed that the
/etc/config/wireless file was not existing at all. I created it manually.
--
Ticket URL: <https://dev.openwrt.org/ticket/10987#comment:29>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets