Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:asus:rt-ac57u_v2 [2021/10/28 17:16] – [Forum] hsxskyinbox:toh:asus:rt-ac57u_v2 [2022/04/17 22:25] – [Installing OpenWrt] remove confusing info about similar devices (updated tag in repo has symlinks for all devices); clarify partition layout note alex.const
Line 1: Line 1:
-====== ASUS RT-AC57U V2 ======+====== ASUS RT-AC57U v2 ======
  
 {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}}
  
-AC1200 Dual Band WiFi Gigabit Router. +AC1200 Dual Band WiFi Gigabit Router.\\ 
 +Support for this device is **Work In Progress**!
  
-Features: +^ Links ^^ 
-    300 Mbps(2.4GHzWiFi +| wikidevi (source of some info on the page           | https://wikidevi.wi-cat.ru/ASUS_RT-AC57U_v2 | 
-    867 Mbps (5GHzWiFi +| GPL Source Code (select "Others" in "select OS" drop-down| https://www.asus.com/Networking-IoT-Servers/WiFi-Routers/ASUS-WiFi-Routers/RT-AC57U-V2/HelpDesk_Download/ |
-  *   4 pc Gigabit LAN ports  +
-  *   1 pc Gigabit WAN ports +
-  *   1 pc USB 2.0 port+
  
-Router may use two slightly different SOC: +===== Common information =====
-  * Qualcomm Atheros QCA5502 ver 1 rev 0 +
-  * Qualcomm Atheros QCA5502 rev 0+
  
-The router has 9 leds:+This section describes information that is shared across the series of related devices. 
 + 
 +^ Common Links ^^ 
 +| Forum thread | https://forum.openwrt.org/t/adding-openwrt-support-for-asus-rt-ac57u-v2/53281 | 
 +| WIP PR for qcn5502 (802.11n at 2.4GHz) Wi-Fi | https://github.com/openwrt/openwrt/pull/9389 | 
 +| FCC            | https://fcc.io/MSQ/-RTACRH01 
 +| Similar or identical devices          | [[inbox:toh:asus:rt-ac59u_series|series]] | 
 + 
 +^ Common specifications ^^ 
 +| SoC            | Qualcomm QCN5502 WiSoC| 
 +| CPU            | MIPS 74Kc (v5.0) @775MHz| 
 +| WLAN1          | Qualcomm Atheros QCN5502 (bgn)| 
 +| WLAN2          | Qualcomm Atheros QCA9888 (an+ac, 2T2R, 5GHz)| 
 +| RAM            | 128 MiB (Winbond W971GG6SB-25)| 
 +| USB            | one USB 2.0 port| 
 +| Switch         | Qualcomm Atheros QCA8337| 
 +| Ethernet speed | 1000Mbps| 
 +| LAN ports      | 4| 
 +| WAN ports      | 1| 
 + 
 +Serial: there are 4 connection points in the upper right corner of the board. 
 + 
 +Left to right: power, ground, TX, RX. Check the labels near the holes. Baud-rate is 115200. 
 + 
 +The router has 9 LEDs:
   * Power   * Power
   * Port4   * Port4
Line 23: Line 43:
   * Port1   * Port1
   * Wan   * Wan
-  * 2.4Ghz Wifi +  * 2.4Ghz WiFi 
-  * 5 Ghz Wifi +  * 5 Ghz WiFi 
-  * Usb +  * USB
-===== Ssh =====+
  
-Ssh access can be enabled by router web admin page at this menu point: Administration - System - Service+==== Stock firmware ====
  
 +ssh access can be enabled on the router web admin page at this menu point: Administration -> System -> Service.
 +You have full root access.
  
-I suggest these settings for security reason: +^ Default settings ^^ 
-  * Enable Telnet: No +| SSID 2.4GHz| ASUS| 
-  * Enable SSH: Lan only +| SSID 5GHz  | ASUS_5G| 
-  * SSH Port: port from 1025 to 65535 +| IP address | 192.168.50.1| 
-  * Allow Password Login: Yes (It use your  web admin password)+| User       | admin| 
 +Password   | admin|
  
-Get device type: +==== Installing OpenWrt ====
-  * uname -n +
-  * RT-AC57U_V2+
  
 +NOTE! There is no official support at this point. The following link leads to an unofficial, personal repository where the development is taking place.
  
 +You can download the WIP source code and community images at https://gitlab.com/alexconst.sh/openwrt.
 +  - Building from source: branch apjet01-802.11n is probably what you want as it is the only one with qcn5502 support
 +  - Using unofficial images (NO WARRANTY! **BACK UP YOUR FLASH!**)
 +    - make sure your stock flash layout matches the table under the "Flash Layout" section below on this page (rootfs doesn't matter as long as it's contained inside "linux")
 +    - checkout the ''apjet01-releases/v1'' tag and look inside ''asus-apjet01-releases'' directory
 +    - select the file depending on the name **(and version!)** of your device
 +    - ''*squashfs-factory.bin'' is what you want for full initial install
  
 +In recovery mode, the bootloader will start a tftp //server// and wait for you to send the image.
  
-===== Forum  =====+  - Connect router's LAN port to your computer 
 +  - Set static IP of computer to ''192.168.1.10/24'' 
 +  - Make sure the router is turned off 
 +  - Hold the reset button 
 +  - Turn the router on and keep holding the button a few seconds until you see the power LED blinking slowly 
 +  - Use a tftp **client** to send the image file to IP 192.168.1.1 at port 69 (example with atftp: ''%%atftp --put -l /path/to/image 192.168.1.1 69%%''
 +  - If there are no errors from tftp client, bootloader is installing OpenWrt; wait 2-3 minutes 
 +  - Remove static IP from your computer's network interface, switch back to DHCP
  
-https://forum.openwrt.org/t/adding-openwrt-support-for-asus-rt-ac57u-v2/53281/27+==== Flash Layout ====
  
-dmesg:+^ partition   ^ start            ^ end              ^ Name          ^ 
 +|mtd0| 0x000000000000 | 0x000000040000 | Bootloader| 
 +|mtd1| 0x000000040000 | 0x000000050000 | nvram     | 
 +|mtd2| 0x000000050000 | 0x000000060000 | Factory   | 
 +|mtd3| 0x000000060000 | 0x000000f80000 | linux     | 
 +|mtd4| 0x0000001ecb00 | 0x000000f80000 | rootfs    | 
 +|mtd5| 0x000000f80000 | 0x000001000000 | jffs2     | 
 +|mtd6| 0x000000000000 | 0x000001000000 | ALL       | 
 + 
 +You can backup a partition like this: 
 +  * Login via ssh, telnet or serial console 
 +  * Use dd command to backup (Danger, wrong usage can overwrite rom): ''dd if=/dev/mtd6 of=all.img'' 
 +  * Use scp to download the image 
 + 
 + 
 +===== Hardware ===== 
 + 
 +Router was produced at two slightly different **SOC**:  
 +  * Qualcomm Atheros QCA5502 ver 1 rev 0 
 +  * Qualcomm Atheros QCA5502 rev 0 
 + 
 +74Kc MIPS processor with 64 KB I-Cache and 32 KB D-Cache, targeted to operate at up to 775 MHz 
 + 
 +**Switch**: Atheros AR8337 rev. 2 
 + 
 +<hidden> 
 + 
 +<WRAP bootlog> 
 +<nowiki> 
 +IMQ driver loaded successfully. (numdevs = 8, numqueues = 1, imq_dev_accurate_stats = 1) 
 +        Hooking IMQ after NAT on PREROUTING. 
 +        Hooking IMQ before NAT on POSTROUTING. 
 +libphy: ag71xx_mdio: probed 
 +switch0: Atheros AR8337 rev. 2 switch registered on 19000000.mdio 
 +ar71xx: using random MAC address for 0 
 +eth0: Atheros AG71xx at 0xb9000000, irq 4 
 +ag71xx 19000000.ethernet: connected to PHY at 19000000.mdio:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316] 
 +PPP generic driver version 2.4.2 
 +PPP MPPE Compression module registered 
 +NET: Registered protocol family 24 
 +PPTP driver version 0.8.5 
 +ath79_wdt: WDOG_REG_CTRL: 0x80000000 
 + 
 +ath79_wdt: Last system reboot was due to WDOG 
 +u32 classifier 
 +    Performance counters on 
 +nf_conntrack version 0.5.0 (1948 buckets, 7792 max) 
 +xt_time: kernel timezone is -0000 
 +gre: GRE over IPv4 demultiplexor driver 
 +ip_tables: (C) 2000-2006 Netfilter Core Team 
 +arp_tables: (C) 2002 David S. Miller 
 +NET: Registered protocol family 10 
 +ip6_tables: (C) 2000-2006 Netfilter Core Team 
 +NET: Registered protocol family 17 
 +bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. 
 +Bridge firewalling registered 
 +l2tp_core: L2TP core driver, V2.0 
 +l2tp_ppp: PPPoL2TP kernel driver, V2.0 
 +l2tp_netlink: L2TP netlink interface 
 +8021q: 802.1Q VLAN Support v1.8 
 +</nowiki> 
 +</WRAP>\\ 
 + 
 +</hidden> 
 + 
 +**WLAN Hardware** 
 + 
 +<hidden> 
 + 
 +Qualcomm Atheros 5500 (integrated to SOC?) 
 +  * WLAN 2.4GHz: bgn
 <code> <code>
 +wifi0: Qualcomm Atheros 5500: mem_start: =0xb8100000, mem_end: =0xb8120000, irq=47
 +ath_da_pci:  (Atheros/multi-bss)
 +ath_ol_pci:  (Atheros/multi-bss)
 +hif_pci_enable_bus: con_mode = 0x0, device_id = 0x56
 +ath_ol_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
 +</code>
 +
 +<code>
 +wifi0      Link encap:UNSPEC  HWaddr A8-5E-45-0C-16-B8-00-41-00-00-00-00-00-00-00-00
 +           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +           RX packets:1771228 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:5477680 errors:28401 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:2699
 +           RX bytes:170901312 (162.9 MiB)  TX bytes:2372010255 (2.2 GiB)
 +           Interrupt:47 Memory:b8100000-b8120000
 +</code>  
 +
 +Qualcomm Atheros QCA9888
 +  * WLAN 5.0GHz: a/n/ac
 +<WRAP bootlog>
 +<nowiki>
 +PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
 +hif_pci_enable_bus: hif_enable_pci done *********** QCA9888 *************hif_pci_enable_bus: hif_type = 0xe, target_type = 0xchif_pci_enable_bus: hif_pci_probe_tgt_wakeup donehif_target_sync: Loop checking FW signalhif_target_sync: Got FW signal, retries = 0hif_config_ce: ce_init donehif_config_ce: X, ret = 0hif_set_hia: Ehif_set_hia_extnd: E
 +chip_id 0xc chip_revision 0x0
 +
 + CLOCK PLL skipped
 +hif_set_hia_extnd: setting the target pll frac ffffffff intval ffffffff
 +hif_set_hia_extnd: no frac provided, skipping pre-configuring PLL
 +hif_pci_bus_configure: hif_set_hia donehif_configure_irq: Ehif_pci_configure_legacy_irq: Ehif_pci_configure_legacy_irq: X, ret = 0hif_enable: X OKhif_napi_create: NAPI structures initializedhif_napi_create: NAPI id 6 created for pipe 5qca_napi_create: napi instance 32 created on pipe 4
 +hif_napi_event: received evnt: CONF cmd; v = 1 (state=0x1)hif_napi_event: setting configuration to ON
 +__ol_ath_attach() Allocated scn 86500400
 +__ol_ath_attach: dev name wifi1
 +ol_ath_attach interface_id 1
 +ol_target_init() BMI inited.
 +ol_target_init() BMI Get Target Info.
 +Chip id: 0xc, chip version: 0x1000000
 +
 + CE WAR Disabled
 +NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
 +ol_target_init() configure Target .
 +
 + Target Version is 1000000
 +
 + Flash Download Address  c0000
 +ol_transfer_bin_file: flash data file defined
 +ath_mtd_read: read [Factory] from 0x5000 len 12064
 +qc98xx_verify_checksum: flash checksum passed: 0x48f1
 +ol_transfer_bin_file 3929: Download Flash data len 12064
 +Board extended Data download address: 0x0
 +
 + Board data initialized
 +ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000
 +
 + Selecting  OTP binary for CHIP Version 0
 +ath_ol_pci 0000:00:00.0: Direct firmware load for QCA9888/hw.2/otp.bin failed with error 0
 +ath_ol_pci 0000:00:00.0: Falling back to user helper
 +ol_transfer_bin_file 3738: downloading file 0, Download data len 9116
 +
 + First OTP send param 8000
 +ol_ath_download_firmware :First OTP download and Execute is good address:0x4000 return param 4660
 +ol_ath_download_firmware:##Board Id 16 , CHIP Id 0
 +ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000
 +
 + wifi1: Selecting board data file name boardData_2_0_QCA9888_5G_Y9690.bin
 +ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9888/hw.2/boardData_2_0_QCA9888_5G_Y9690.bin
 +ath_ol_pci 0000:00:00.0: Direct firmware load for QCA9888/hw.2/boardData_2_0_QCA9888_5G_Y9690.bin failed with error 0
 +ath_ol_pci 0000:00:00.0: Falling back to user helper
 +ol_transfer_bin_file 3738: downloading file 3, Download data len 12064
 +Board extended Data download address: 0x0
 +ol_ath_download_firmware: Using 0x1234 for the remainder of init
 +
 + Selecting  OTP binary for CHIP Version 0
 +ath_ol_pci 0000:00:00.0: Direct firmware load for QCA9888/hw.2/otp.bin failed with error 0
 +ath_ol_pci 0000:00:00.0: Falling back to user helper
 +ol_transfer_bin_file 3738: downloading file 0, Download data len 9116
 +</nowiki>
 +</WRAP>\\
 +
 +<code>
 +wifi1      Link encap:UNSPEC  HWaddr A8-5E-45-0C-16-BC-00-41-00-00-00-00-00-00-00-00
 +           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +           RX packets:66399 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:501764 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:2699
 +           RX bytes:12769893 (12.1 MiB)  TX bytes:355196025 (338.7 MiB)
 +           Interrupt:40 
 +</code>             
 +
 +</hidden>
 +
 +
 +===== Data  =====
 +Device datta according: [[:docs:guide-developer:adding_new_device]]
 +
 +<hidden>
 +
 +dmesg:
 +<WRAP bootlog>
 +<nowiki>
 admin@RT-AC57U_V2:/# dmesg admin@RT-AC57U_V2:/# dmesg
 io scheduler noop registered io scheduler noop registered
Line 650: Line 855:
 [DEBUG] vap-0(ath0):set SIOC80211NWID, 6 characters [DEBUG] vap-0(ath0):set SIOC80211NWID, 6 characters
  
- DES SSID SET=SZ2BTP+ DES SSID SET=**Secret**
 br0: port 2(ath0) entered forwarding state br0: port 2(ath0) entered forwarding state
 br0: port 2(ath0) entered forwarding state br0: port 2(ath0) entered forwarding state
Line 732: Line 937:
 [DEBUG] vap-1(ath001):set SIOC80211NWID, 11 characters [DEBUG] vap-1(ath001):set SIOC80211NWID, 11 characters
  
- DES SSID SET=Vendeg-SZ2B+ DES SSID SET=**Secret**
 br0: port 4(ath001) entered forwarding state br0: port 4(ath001) entered forwarding state
 br0: port 4(ath001) entered forwarding state br0: port 4(ath001) entered forwarding state
Line 1599: Line 1804:
 [wifi1] FWLOG: [40343850] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x2 ) [wifi1] FWLOG: [40343850] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x2 )
 admin@RT-AC57U_V2:/# admin@RT-AC57U_V2:/#
 +</nowiki>
 +</WRAP>\\
 +
 +<code>
 +admin@RT-AC57U_V2:/# cat /proc/cmdline
 +board=DTB console=ttyS0,115200 root=/dev/mtdblock4 rootfstype=squashfs mem=128M
 +
 +admin@RT-AC57U_V2:/# cat /proc/cpuinfo
 +system type             : Qualcomm Atheros QCA5502 ver 1 rev 0
 +machine                 : ASUS RT-AC59U
 +processor               : 0
 +cpu model               : MIPS 74Kc V5.0
 +BogoMIPS                : 385.84
 +wait instruction        : yes
 +microsecond timers      : yes
 +tlb_entries             : 32
 +extra interrupt vector  : yes
 +hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
 +isa                     : mips1 mips2 mips32r1 mips32r2
 +ASEs implemented        : mips16 dsp dsp2
 +shadow register sets    : 1
 +kscratch registers      : 0
 +package                 : 0
 +core                    : 0
 +VCED exceptions         : not available
 +VCEI exceptions         : not available
 +
 +admin@RT-AC57U_V2:/# cat /proc/meminfo
 +MemTotal:         124892 kB
 +MemFree:           22060 kB
 +MemAvailable:      55312 kB
 +Buffers:           10980 kB
 +Cached:            32844 kB
 +SwapCached:            0 kB
 +Active:            35772 kB
 +Inactive:          20224 kB
 +Active(anon):      13756 kB
 +Inactive(anon):       44 kB
 +Active(file):      22016 kB
 +Inactive(file):    20180 kB
 +Unevictable:           0 kB
 +Mlocked:               0 kB
 +SwapTotal:             0 kB
 +SwapFree:              0 kB
 +Dirty:                 0 kB
 +Writeback:             0 kB
 +AnonPages:         12188 kB
 +Mapped:             7552 kB
 +Shmem:              1628 kB
 +Slab:              26164 kB
 +SReclaimable:       2592 kB
 +SUnreclaim:        23572 kB
 +KernelStack:         528 kB
 +PageTables:          504 kB
 +NFS_Unstable:          0 kB
 +Bounce:                0 kB
 +WritebackTmp:          0 kB
 +CommitLimit:       62444 kB
 +Committed_AS:      25772 kB
 +VmallocTotal:    1048372 kB
 +VmallocUsed:           0 kB
 +VmallocChunk:          0 kB
 +
 +admin@RT-AC57U_V2:/# cat /proc/devices
 +Character devices:
 +  1 mem
 +  2 pty
 +  3 ttyp
 +  4 ttyS
 +  5 /dev/tty
 +  5 /dev/console
 +  5 /dev/ptmx
 + 10 misc
 + 90 mtd
 +108 ppp
 +128 ptm
 +136 pts
 +166 ttyACM
 +180 usb
 +189 usb_device
 +228 nvram
 +254 bled
 +
 +Block devices:
 +  1 ramdisk
 +259 blkext
 +  8 sd
 + 31 mtdblock
 + 65 sd
 + 66 sd
 + 67 sd
 + 68 sd
 + 69 sd
 + 70 sd
 + 71 sd
 +128 sd
 +129 sd
 +130 sd
 +131 sd
 +132 sd
 +133 sd
 +134 sd
 +135 sd
 +
 +admin@RT-AC57U_V2:/# ls /sys/devices/platform
 +ahb                   b8100000.wifi         oscillator            uevent
 +alarmtimer            interrupt-controller  serial8250
 +
 +admin@RT-AC57U_V2:/# cat /proc/mtd
 +dev:    size   erasesize  name
 +mtd0: 00040000 00010000 "Bootloader"
 +mtd1: 00010000 00010000 "nvram"
 +mtd2: 00010000 00010000 "Factory"
 +mtd3: 00f20000 00010000 "linux"
 +mtd4: 00d93500 00010000 "rootfs"
 +mtd5: 00080000 00010000 "jffs2"
 +mtd6: 01000000 00010000 "ALL"
 +
 +admin@RT-AC57U_V2:/# cat /sys/class/mtd/mtd*/offset
 +0
 +262144
 +327680
 +393216
 +2018048
 +16252928
 +0
 +
 </code> </code>
  
 +ifconfig (configured as AP)
 +<WRAP bootlog>
 +<nowiki>
 +admin@RT-AC57U_V2:/# ifconfig -a
 +ath0       Link encap:Ethernet  HWaddr A8:5E:45:0C:16:B8
 +           UP BROADCAST RUNNING  MTU:1500  Metric:1
 +           RX packets:993009 errors:15 dropped:15 overruns:0 frame:0
 +           TX packets:2079102 errors:0 dropped:198 overruns:0 carrier:0
 +           collisions:0 txqueuelen:0
 +           RX bytes:123619194 (117.8 MiB)  TX bytes:1559111119 (1.4 GiB)
  
 +ath001     Link encap:Ethernet  HWaddr A8:5E:45:0C:16:B9
 +           UP BROADCAST RUNNING  MTU:1500  Metric:1
 +           RX packets:8379 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:585137 errors:0 dropped:187279 overruns:0 carrier:0
 +           collisions:0 txqueuelen:0
 +           RX bytes:1061284 (1.0 MiB)  TX bytes:83854316 (79.9 MiB)
 +
 +ath1       Link encap:Ethernet  HWaddr A8:5E:45:0C:16:BC
 +           UP BROADCAST RUNNING  MTU:1500  Metric:1
 +           RX packets:52350 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:1026086 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:0
 +           RX bytes:12651152 (12.0 MiB)  TX bytes:423226325 (403.6 MiB)
 +
 +br0        Link encap:Ethernet  HWaddr A8:5E:45:0C:16:B8
 +           inet addr:192.168.0.13  Bcast:192.168.0.255  Mask:255.255.255.0
 +           UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
 +           RX packets:887147 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:255834 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:1000
 +           RX bytes:97046770 (92.5 MiB)  TX bytes:232199624 (221.4 MiB)
 +
 +eth0       Link encap:Ethernet  HWaddr A8:5E:45:0C:16:B8
 +           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +           RX packets:2389114 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:1295896 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:1000
 +           RX bytes:1844388464 (1.7 GiB)  TX bytes:350849195 (334.5 MiB)
 +           Interrupt:4
 +
 +imq0       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 +           NOARP  MTU:16000  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:11000
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +imq1       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 +           NOARP  MTU:16000  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:11000
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +imq2       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 +           NOARP  MTU:16000  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:11000
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +imq3       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 +           NOARP  MTU:16000  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:11000
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +imq4       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 +           NOARP  MTU:16000  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:11000
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +imq5       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 +           NOARP  MTU:16000  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:11000
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +imq6       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 +           NOARP  MTU:16000  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:11000
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +imq7       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 +           NOARP  MTU:16000  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:11000
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +lo         Link encap:Local Loopback
 +           inet addr:127.0.0.1  Mask:255.0.0.0
 +           UP LOOPBACK RUNNING MULTICAST  MTU:65536  Metric:1
 +           RX packets:125 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:1
 +           RX bytes:42246 (41.2 KiB)  TX bytes:42246 (41.2 KiB)
 +
 +miireg     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 +           [NO FLAGS]  MTU:0  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:1
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +vlan1      Link encap:Ethernet  HWaddr A8:5E:45:0C:16:B8
 +           UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
 +           RX packets:2389114 errors:0 dropped:314 overruns:0 frame:0
 +           TX packets:1295896 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:1000
 +           RX bytes:1801384412 (1.6 GiB)  TX bytes:345665611 (329.6 MiB)
 +
 +vlan2      Link encap:Ethernet  HWaddr A8:5E:45:0C:16:B8
 +           BROADCAST MULTICAST  MTU:1500  Metric:1
 +           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:1000
 +           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 +wifi0      Link encap:UNSPEC  HWaddr A8-5E-45-0C-16-B8-00-41-00-00-00-00-00-00-00-00
 +           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +           RX packets:1771228 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:5477680 errors:28401 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:2699
 +           RX bytes:170901312 (162.9 MiB)  TX bytes:2372010255 (2.2 GiB)
 +           Interrupt:47 Memory:b8100000-b8120000
 +
 +wifi1      Link encap:UNSPEC  HWaddr A8-5E-45-0C-16-BC-00-41-00-00-00-00-00-00-00-00
 +           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +           RX packets:66399 errors:0 dropped:0 overruns:0 frame:0
 +           TX packets:501764 errors:0 dropped:0 overruns:0 carrier:0
 +           collisions:0 txqueuelen:2699
 +           RX bytes:12769893 (12.1 MiB)  TX bytes:355196025 (338.7 MiB)
 +           Interrupt:40
 +</nowiki>
 +</WRAP>\\
 +
 +<code>
 +
 +admin@RT-AC57U_V2:/# ls /sys/class/net
 +ath0    ath1    eth0    imq1    imq3    imq5    imq7    miireg  vlan2   wifi1
 +ath001  br0     imq0    imq2    imq4    imq6    lo      vlan1   wifi0
 +
 +
 +admin@RT-AC57U_V2:/# brctl show
 +bridge name     bridge id               STP enabled     interfaces
 +br0             8000.a85e450c16b8       no              vlan1
 +                                                        ath0
 +                                                        ath1
 +                                                        ath001
 +
 +
 +
 +admin@RT-AC57U_V2:/# cat /sys/kernel/debug/gpio
 +GPIOs 0-22, platform/18040000.gpio, ath79:
 + gpio-1                      |sysfs               ) in  hi
 + gpio-4                      |sysfs               ) out hi
 + gpio-5                      |sysfs               ) out lo
 + gpio-15  (                    |sysfs               ) out lo
 + gpio-16  (                    |sysfs               ) out lo
 + gpio-17  (                    |sysfs               ) in  hi
 +
 +</code>
  
 +</hidden>
  
-{{tag> unsupported}}+===== Tags =====
  
 +{{tagpage>WIP}} {{tagpage>ath79}} {{tagpage>16flash}} {{tagpage>128ram}} {{tagpage>5port}} {{tagpage>1usb}}
  • Last modified: 2024/05/09 00:21
  • by marceloalm