Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@AP66:~# cat /etc/config/wireless
- config wifi-device 'radio0'
- option type 'mac80211'
- option hwmode '11a'
- option path 'pci0000:00/0000:00:11.0'
- option txpower '1'
- option channel '100'
- option country 'CZ'
- config wifi-iface
- option device 'radio0'
- option mode 'ap'
- option ssid 'AP'
- option encryption 'psk2'
- option key '123456789abc'
- option network 'wifi'
- root@AP66:~# iw reg get
- country CZ: DFS-ETSI
- (2400 - 2483 @ 40), (N/A, 20), (N/A)
- (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR
- (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS
- (5470 - 5725 @ 160), (N/A, 27), (0 ms), DFS
- (57000 - 66000 @ 2160), (N/A, 40), (N/A)
- root@AP66:~# iw phy0 info
- Wiphy phy0
- max # scan SSIDs: 4
- max scan IEs length: 2285 bytes
- Retry short limit: 7
- Retry long limit: 4
- Coverage class: 0 (up to 0m)
- Available Antennas: TX 0x3 RX 0x3
- Configured Antennas: TX 0x3 RX 0x3
- Supported interface modes:
- * IBSS
- * managed
- * AP
- * AP/VLAN
- * monitor
- * mesh point
- Band 1:
- Frequencies:
- * 2412 MHz [1] (20.0 dBm)
- * 2417 MHz [2] (20.0 dBm)
- * 2422 MHz [3] (20.0 dBm)
- * 2427 MHz [4] (20.0 dBm)
- * 2432 MHz [5] (20.0 dBm)
- * 2437 MHz [6] (20.0 dBm)
- * 2442 MHz [7] (20.0 dBm)
- * 2447 MHz [8] (20.0 dBm)
- * 2452 MHz [9] (20.0 dBm)
- * 2457 MHz [10] (20.0 dBm)
- * 2462 MHz [11] (20.0 dBm)
- * 2467 MHz [12] (20.0 dBm)
- * 2472 MHz [13] (20.0 dBm)
- * 2484 MHz [14] (disabled)
- Band 2:
- Frequencies:
- * 5040 MHz [8] (disabled)
- * 5060 MHz [12] (disabled)
- * 5080 MHz [16] (disabled)
- * 5180 MHz [36] (23.0 dBm)
- * 5200 MHz [40] (23.0 dBm)
- * 5220 MHz [44] (23.0 dBm)
- * 5240 MHz [48] (23.0 dBm)
- * 5260 MHz [52] (20.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5280 MHz [56] (20.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5300 MHz [60] (20.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5320 MHz [64] (20.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5500 MHz [100] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5520 MHz [104] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5540 MHz [108] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5560 MHz [112] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5580 MHz [116] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5600 MHz [120] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5620 MHz [124] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5640 MHz [128] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5660 MHz [132] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5680 MHz [136] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5700 MHz [140] (27.0 dBm) (radar detection)
- DFS state: usable (for 114 sec)
- DFS CAC time: 60000 ms
- * 5745 MHz [149] (disabled)
- * 5765 MHz [153] (disabled)
- * 5785 MHz [157] (disabled)
- * 5805 MHz [161] (disabled)
- * 5825 MHz [165] (disabled)
- valid interface combinations:
- * #{ managed } <= 2048, #{ AP, mesh point } <= 4, #{ IBSS } <= 1,
- total <= 2048, #channels <= 1
- HT Capability overrides:
- * MCS: ff ff ff ff ff ff ff ff ff ff
- * maximum A-MSDU length
- * supported channel width
- * short GI for 40 MHz
- * max A-MPDU length exponent
- * min MPDU start spacing
- root@AP66:~# dmesg
- [ 0.000000] Linux version 3.18.21 (root@debian) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47046) ) #1 Sat Sep 26 01:25:49 CEST 2015
- [ 0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=ace50014
- [ 0.000000] bootconsole [early0] enabled
- [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
- [ 0.000000] SoC: Atheros AR7161 rev 2
- [ 0.000000] Determined physical RAM map:
- [ 0.000000] memory: 04000000 @ 00000000 (usable)
- [ 0.000000] Initrd not found or empty - disabling initrd
- [ 0.000000] Zone ranges:
- [ 0.000000] Normal [mem 0x00000000-0x03ffffff]
- [ 0.000000] Movable zone start for each node
- [ 0.000000] Early memory node ranges
- [ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
- [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
- [ 0.000000] On node 0 totalpages: 16384
- [ 0.000000] free_area_init_node: node 0, pgdat 803580f0, node_mem_map 81000000
- [ 0.000000] Normal zone: 128 pages used for memmap
- [ 0.000000] Normal zone: 0 pages reserved
- [ 0.000000] Normal zone: 16384 pages, LIFO batch:3
- [ 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] 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=UBNT-RS console=ttyS0,115200 ethaddr=00.15.6d.c3.7f.c1 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] Writing ErrCtl register=0007ebf2
- [ 0.000000] Readback ErrCtl register=0007ebf2
- [ 0.000000] Memory: 60944K/65536K available (2478K kernel code, 125K rwdata, 528K rodata, 252K init, 188K bss, 4592K reserved)
- [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- [ 0.000000] NR_IRQS:51
- [ 0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
- [ 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: 1024 (order: 0, 4096 bytes)
- [ 0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.080000] NET: Registered protocol family 16
- [ 0.080000] MIPS: machine is Ubiquiti RouterStation
- [ 0.380000] registering PCI controller with io_map_base unset
- [ 2.720000] PCI host bridge to bus 0000:00
- [ 2.730000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
- [ 2.730000] pci_bus 0000:00: root bus resource [io 0x0000]
- [ 2.740000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
- [ 2.740000] pci 0000:00:11.0: [168c:0013] type 00 class 0x020000
- [ 2.740000] pci 0000:00:11.0: reg 0x10: [mem 0x00000000-0x0000ffff]
- [ 2.740000] pci 0000:00:12.0: [168c:0013] type 00 class 0x020000
- [ 2.740000] pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x0000ffff]
- [ 2.740000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
- [ 2.740000] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
- [ 2.750000] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
- [ 2.750000] pci 0000:00:11.0: using irq 40 for pin 1
- [ 2.760000] pci 0000:00:12.0: using irq 41 for pin 1
- [ 2.760000] Switched to clocksource MIPS
- [ 2.770000] NET: Registered protocol family 2
- [ 2.770000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
- [ 2.770000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
- [ 2.780000] TCP: Hash tables configured (established 1024 bind 1024)
- [ 2.780000] TCP: reno registered
- [ 2.790000] UDP hash table entries: 256 (order: 0, 4096 bytes)
- [ 2.790000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
- [ 2.800000] NET: Registered protocol family 1
- [ 2.800000] PCI: CLS 0 bytes, default 32
- [ 2.810000] futex hash table entries: 256 (order: -1, 3072 bytes)
- [ 2.820000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 2.820000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 2.830000] msgmni has been set to 119
- [ 2.850000] io scheduler noop registered
- [ 2.860000] io scheduler deadline registered (default)
- [ 2.860000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
- [ 2.870000] console [ttyS0] disabled
- [ 2.890000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 10625000) is a 16550A
- [ 2.900000] console [ttyS0] enabled
- [ 2.910000] bootconsole [early0] disabled
- [ 2.920000] m25p80 spi0.0: found mx25l12805d, expected m25p80
- [ 2.920000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
- [ 2.930000] Searching for RedBoot partition table in spi0.0 at offset 0xfe0000
- [ 2.960000] Searching for RedBoot partition table in spi0.0 at offset 0xff0000
- [ 2.990000] 5 RedBoot partitions found on MTD device spi0.0
- [ 3.000000] Creating 5 MTD partitions on "spi0.0":
- [ 3.000000] 0x000000000000-0x000000030000 : "RedBoot"
- [ 3.010000] 0x000000030000-0x000000150000 : "kernel"
- [ 3.010000] 0x000000150000-0x000000ff0000 : "rootfs"
- [ 3.020000] mtd: device 2 (rootfs) set to be root filesystem
- [ 3.020000] 1 squashfs-split partitions found on MTD device rootfs
- [ 3.030000] 0x0000004d0000-0x000000ff0000 : "rootfs_data"
- [ 3.040000] 0x000000ff0000-0x000000fff000 : "FIS directory"
- [ 3.040000] 0x000000fff000-0x000001000000 : "RedBoot config"
- [ 3.060000] libphy: ag71xx_mdio: probed
- [ 3.390000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:14 [uid=03026071, driver=Generic PHY]
- [ 3.400000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
- [ 3.720000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RMII
- [ 3.720000] TCP: cubic registered
- [ 3.730000] NET: Registered protocol family 17
- [ 3.730000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
- [ 3.740000] 8021q: 802.1Q VLAN Support v1.8
- [ 3.760000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
- [ 3.760000] Freeing unused kernel memory: 252K (80371000 - 803b0000)
- [ 4.740000] init: Console is alive
- [ 4.740000] init: - watchdog -
- [ 6.000000] usbcore: registered new interface driver usbfs
- [ 6.000000] usbcore: registered new interface driver hub
- [ 6.010000] usbcore: registered new device driver usb
- [ 6.020000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- [ 6.030000] ehci-platform: EHCI generic platform driver
- [ 6.030000] ehci-platform ehci-platform: EHCI Host Controller
- [ 6.040000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
- [ 6.050000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
- [ 6.070000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
- [ 6.070000] hub 1-0:1.0: USB hub found
- [ 6.080000] hub 1-0:1.0: 2 ports detected
- [ 6.080000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
- [ 6.090000] ohci-platform: OHCI generic platform driver
- [ 6.100000] ohci-platform ohci-platform: Generic Platform OHCI controller
- [ 6.100000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
- [ 6.110000] ohci-platform ohci-platform: irq 14, io mem 0x1c000000
- [ 6.180000] hub 2-0:1.0: USB hub found
- [ 6.180000] hub 2-0:1.0: 2 ports detected
- [ 6.760000] init: - preinit -
- [ 7.150000] ar71xx: pll_reg 0xb8050014: 0x1099
- [ 7.150000] eth1: link up (100Mbps/Full duplex)
- [ 7.170000] random: procd urandom read with 11 bits of entropy available
- [ 10.400000] jffs2: notice: (330) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
- [ 10.420000] mount_root: switching to jffs2 overlay
- [ 10.470000] eth1: link down
- [ 10.490000] procd: - early -
- [ 10.490000] procd: - watchdog -
- [ 11.110000] procd: - ubus -
- [ 12.120000] procd: - init -
- [ 12.950000] NET: Registered protocol family 10
- [ 12.960000] ip6_tables: (C) 2000-2006 Netfilter Core Team
- [ 12.980000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
- [ 12.990000] Backport generated by backports.git backports-20150129-0-gdd4a670
- [ 13.000000] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 13.020000] nf_conntrack version 0.5.0 (956 buckets, 3824 max)
- [ 13.050000] xt_time: kernel timezone is -0000
- [ 13.080000] cfg80211: Calling CRDA to update world regulatory domain
- [ 13.110000] cfg80211: World regulatory domain updated:
- [ 13.110000] cfg80211: DFS Master region: unset
- [ 13.120000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
- [ 13.130000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
- [ 13.140000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
- [ 13.140000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
- [ 13.150000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
- [ 13.160000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
- [ 13.170000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
- [ 13.180000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
- [ 13.190000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
- [ 13.240000] PPP generic driver version 2.4.2
- [ 13.240000] NET: Registered protocol family 24
- [ 13.260000] PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
- [ 13.270000] ath5k 0000:00:11.0: registered as 'phy0'
- [ 13.460000] random: nonblocking pool is initialized
- [ 13.900000] ath: EEPROM regdomain: 0x0
- [ 13.900000] ath: EEPROM indicates default country code should be used
- [ 13.900000] ath: doing EEPROM country->regdmn map search
- [ 13.900000] ath: country maps to regdmn code: 0x3a
- [ 13.900000] ath: Country alpha2 being used: US
- [ 13.900000] ath: Regpair used: 0x3a
- [ 13.900000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
- [ 13.910000] ath5k: phy0: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
- [ 13.910000] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
- [ 13.920000] ath5k 0000:00:12.0: registered as 'phy1'
- [ 13.920000] cfg80211: Calling CRDA for country: US
- [ 13.930000] cfg80211: Regulatory domain changed to country: US
- [ 13.940000] cfg80211: DFS Master region: FCC
- [ 13.940000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
- [ 13.950000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
- [ 13.960000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
- [ 13.970000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
- [ 13.980000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
- [ 13.980000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
- [ 14.680000] ath: EEPROM regdomain: 0x0
- [ 14.680000] ath: EEPROM indicates default country code should be used
- [ 14.680000] ath: doing EEPROM country->regdmn map search
- [ 14.680000] ath: country maps to regdmn code: 0x3a
- [ 14.680000] ath: Country alpha2 being used: US
- [ 14.680000] ath: Regpair used: 0x3a
- [ 14.680000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
- [ 14.690000] ath5k: phy1: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
- [ 14.730000] Broadcom 43xx driver loaded [ Features: PNL ]
- [ 22.280000] ar71xx: pll_reg 0xb8050014: 0x1099
- [ 22.280000] eth1: link up (100Mbps/Full duplex)
- [ 22.290000] device eth1 entered promiscuous mode
- [ 22.290000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
- [ 22.370000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
- [ 22.420000] IPv6: ADDRCONF(NETDEV_UP): br-wifi: link is not ready
- [ 23.360000] br-lan: port 1(eth1) entered listening state
- [ 23.360000] br-lan: port 1(eth1) entered listening state
- [ 23.370000] cfg80211: Calling CRDA for country: CZ
- [ 23.420000] cfg80211: Regulatory domain changed to country: CZ
- [ 23.420000] cfg80211: DFS Master region: ETSI
- [ 23.430000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
- [ 23.440000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
- [ 23.440000] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2300 mBm), (N/A)
- [ 23.450000] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s)
- [ 23.460000] cfg80211: (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
- [ 23.470000] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
- [ 23.790000] ar71xx: pll_reg 0xb8050010: 0x1099
- [ 23.790000] eth0: link up (100Mbps/Full duplex)
- [ 24.910000] device wlan1 entered promiscuous mode
- [ 24.990000] device wlan0 entered promiscuous mode
- [ 25.000000] br-wifi: port 2(wlan0) entered forwarding state
- [ 25.000000] br-wifi: port 2(wlan0) entered forwarding state
- [ 25.030000] device wlan0 left promiscuous mode
- [ 25.030000] br-wifi: port 2(wlan0) entered disabled state
- [ 25.360000] br-lan: port 1(eth1) entered learning state
- [ 26.000000] br-wifi: port 1(wlan1) entered forwarding state
- [ 26.000000] br-wifi: port 1(wlan1) entered forwarding state
- [ 27.360000] br-lan: topology change detected, propagating
- [ 27.360000] br-lan: port 1(eth1) entered forwarding state
- [ 28.000000] br-wifi: port 1(wlan1) entered forwarding state
- root@AP66:~#
Advertisement
Add Comment
Please, Sign In to add comment