Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
toh:tp-link:tl-wr820n [2024/12/14 08:10] – Added Boot Log shankarinecetoh:tp-link:tl-wr820n [2024/12/14 08:16] – [qadInit] shankarinece
Line 177: Line 177:
  EntrySize/Cnt:32/128  EntrySize/Cnt:32/128
  
-===============qadInit=============== 
- 
- 
- 
- 
-# help 
- 
------------------------------------------------------------------------- 
-Version = 2.0. 
-Task name = tCmdTask, pri = 8, stack size = 10240, max command entry num = 32. 
- 
-command     description 
--------------------------------------------------------------------- 
-?           print all commands. 
-help        print all commands. 
-mem         show memory part, pools, and dump memory. 
-task        show task info and manage system task. 
-tftp        download or upload files by tftp protocol. 
-ifconfig    Interface config, please reference to -help command. 
-route       Show route table, delete/add special route entry. 
-arp         Show all arp entries, delete/add special arp entry. 
-net         Show net runtimes. 
-ping6       Send ICMPv6 ECHO_REQUEST to IPv6 nodes. 
-track       Show conntrack runtimes, modify conntrack environments. 
-register    register show. 
-packet      packet show. 
-flash       Print flash layout, read/write/erase specify flash. 
-port        manage all udp/tcp packet ports. 
-mcb         Show mcb pools or blocks. 
-bridge      Show all bridge stations. 
-nat         Show nat runtimes. 
-system      reboot, reset or firmware. 
-wioctl      Wlan command line utility. 
-iwpriv      MTK Wlan command line utility. 
-wpkt        MTK WiFi Tx mem pool monitor utility. 
--------------------------------------------------------------------- 
-# flash layout 
- 
-# flash -layout  
-# flash -erase off len  
-# flash -read off len buffer  
-# flash -write off len buffer  
- 
-# -layout          Show flash layout. 
-# -erase           Erase specify flash segment. 
-# -read            Read specify flash segment to buffer. 
-# -write           write specify flash segment from buffer. 
- 
-# off              Offset of flash. 
-# len              Length of specify flash segment. 
-# buffer           Buffer write from or read to. 
- 
- 
-flash layout            -layout 
- 
-Version: 2.0 
-Name: FlashIo 
-Total Size(K): 1024 
-Erase Sector Size(K): 4 
-Block Num: 6. 
-================================================== 
-Flash Layout: 
-|------------------------| 0x00000000(0K) 
-|                        | 
-|                        | 
-|BOOTIMG(52K)            | 
-|                        | 
-|                        | 
-|------------------------| 0x0000d000(52K) 
-|                        | 
-|                        | 
-|FIRMWARE(948K)          | 
-|                        | 
-|                        | 
-|------------------------| 0x000fa000(1000K) 
-|CONFIG(8K)              | 
-|------------------------| 0x000fc000(1008K) 
-|EXPLOG(8K)              | 
-|------------------------| 0x000fe000(1016K) 
-|PROFILE(4K)             | 
-|------------------------| 0x000ff000(1020K) 
-|RADIO(4K)               | 
-|------------------------| 0x00100000(1024K) 
-# ? 
- 
------------------------------------------------------------------------- 
-Version = 2.0. 
-Task name = tCmdTask, pri = 8, stack size = 10240, max command entry num = 32. 
- 
-command     description 
--------------------------------------------------------------------- 
-?           print all commands. 
-help        print all commands. 
-mem         show memory part, pools, and dump memory. 
-task        show task info and manage system task. 
-tftp        download or upload files by tftp protocol. 
-ifconfig    Interface config, please reference to -help command. 
-route       Show route table, delete/add special route entry. 
-arp         Show all arp entries, delete/add special arp entry. 
-net         Show net runtimes. 
-ping6       Send ICMPv6 ECHO_REQUEST to IPv6 nodes. 
-track       Show conntrack runtimes, modify conntrack environments. 
-register    register show. 
-packet      packet show. 
-flash       Print flash layout, read/write/erase specify flash. 
-port        manage all udp/tcp packet ports. 
-mcb         Show mcb pools or blocks. 
-bridge      Show all bridge stations. 
-nat         Show nat runtimes. 
-system      reboot, reset or firmware. 
-wioctl      Wlan command line utility. 
-iwpriv      MTK Wlan command line utility. 
-wpkt        MTK WiFi Tx mem pool monitor utility. 
--------------------------------------------------------------------- 
-# mem 
- 
-# mem -show [sys | dada | object] 
-# mem -dump start size 
-# mem -md start value 
- 
-# -show      Displays alloced/free mempry blocks and size. 
-# -dump      dump specify memory block. 
-# -md        copy specify memory block to specify address. 
- 
-# start      Start address of specify memory block, in hex. 
-# size       Size of specify memory block, in hex. 
-# value      value in UINT32 format. 
-# object     end object, e.g:eth 0. 
- 
-# Example: 
-# mem -dump 80010000 1000   .... Show memory block start at 0x80010000 which size of 4k. 
-# mem -show eth 1           .... Show netpool of end object eth1. 
-# mem -show 
- 
-FREE LIST: 
-   num    addr       size 
-  ---- ---------- ---------- 
-     1 0x801d6ac0      15984 
-     2 0x807f3810      22560 
-     3 0x807f3660         96 
-     4 0x801dcca0         48 
-     5 0x801d1570      21504 
-     6 0x807ed080         16 
-     7 0x806e6ac0         32 
-     8 0x805ccde0         16 
-     9 0x805ccc20         16 
-    10 0x8045e5c0         80 
-    11 0x8045df80         80 
-    12 0x801d69c0         80 
- 
- 
-SUMMARY: 
- status    bytes     blocks   avg block  max block 
- ------ ---------- --------- ---------- ---------- 
-current 
-   free      60512        12       5042      22560 
-  alloc    6422016      1165       5512          - 
-cumulative 
-  alloc   11363520      4192       2710          - 
-# ifconfig 
- 
-# ifconfig -show [devName devNum] 
-# ifconfig -attach devName devNum 
-# ifconfig -detach devName devNum 
-# ifconfig -napt devName devNum up|down 
-# ifconfig -param 
- 
-# -show     Show specify or all interface. 
-# -attach   Attach specify interface. 
-# -detach   Detach specify interface. 
-# -napt     Tagged an interface to napt port. 
- 
-# param     Params pass to ifconfig. 
- 
-# Example: 
-# ifconfig eth1 inet 172.31.70.103 netmask 255.255.255.0 
-#                          .... Call ifconfig, and pass  
-#                          "eth1 inet 172.31.70.103 netmask 255.255.255.0" to it. 
-# ifconfig -show eth 1     .... Show interface eth1. 
- 
-ifconfig -show 
-lo (unit number 0): 
-     Flags: (0xc8049) UP LOOPBACK MULTICAST TRAILERS ARP RUNNING INET_UP INET6_UP  
-     Type: SOFTWARE_LOOPBACK 
-     inet: 127.0.0.1 
-     Netmask 0xff000000 Subnetmask 0xff000000 
-     inet6:  ::1 prefixlen 128 
-     inet6:  fe80::1%lo0 scopeid 0x1 prefixlen 64 
-     Metric is 0 
-     Maximum Transfer Unit size is 1536 
-     0 packets received; 0 packets sent 
-     0 multicast packets received 
-     0 multicast packets sent 
-     0 input errors; 0 output errors 
-     0 collisions; 0 dropped 
-     0 output queue drops 
-mirror (unit number 0): 
-     Flags: (0x68143) UP BROADCAST MULTICAST PROMISCUOUS ARP RUNNING INET_UP  
-     Type: ETHERNET_CSMACD 
-     inet: 192.168.0.1 
-     Broadcast address: 192.168.0.255 
-     Netmask 0xffffff00 Subnetmask 0xffffff00 
-     Ethernet address is 98:da:c4:cd:f8:90 
-     Metric is 0 
-     Maximum Transfer Unit size is 1500 
-     0 octets received 
-     0 octets sent 
-     0 unicast packets received 
-     23 unicast packets sent 
-     0 non-unicast packets received 
-     20 non-unicast packets sent 
-     0 incoming packets discarded 
-     0 outgoing packets discarded 
-     0 incoming errors 
-     0 outgoing errors 
-     0 unknown protos 
-     0 collisions; 0 dropped 
-     0 output queue drops 
-eth (unit number 1): 
-     Flags: (0x40068143) UP BROADCAST MULTICAST PROMISCUOUS ARP RUNNING NAPT INET_UP  
-     Type: ETHERNET_CSMACD 
-     inet: 169.254.91.97 
-     Broadcast address: 169.254.91.255 
-     Netmask 0xffff0000 Subnetmask 0xffffff00 
-     Ethernet address is 98:da:c4:cd:f8:91 
-     Metric is 0 
-     Maximum Transfer Unit size is 1500 
-     0 octets received 
-     64 octets sent 
-     0 unicast packets received 
-     1 unicast packets sent 
-     0 non-unicast packets received 
-     0 non-unicast packets sent 
-     0 incoming packets discarded 
-     0 outgoing packets discarded 
-     0 incoming errors 
-     0 outgoing errors 
-     0 unknown protos 
-     0 collisions; 0 dropped 
-     0 output queue drops 
-ppp (unit number 0): 
-     Flags: (0x400080d1) UP POINT-TO-POINT MULTICAST TRAILERS RUNNING NAPT  
-     Type: PPP 
-     Metric is 0 
-     Maximum Transfer Unit size is 1492 
-     0 octets received 
-     0 octets sent 
-     0 unicast packets received 
-     0 unicast packets sent 
-     0 non-unicast packets received 
-     0 non-unicast packets sent 
-     0 incoming packets discarded 
-     0 outgoing packets discarded 
-     0 incoming errors 
-     0 outgoing errors 
-     0 unknown protos 
-     0 output queue drops 
-</webcode> 
  
  • Last modified: 2024/12/14 08:22
  • by shankarinece