moeller0:
Crap, please try:
Parte 1
root@OpenWrt:~# -----------------------------------------------------
.config/ fwtool netmsg tee
: getopts netstat test
[ getrandom nft time
[[ grep nice times
-ash: alias gunzip nslookup top
-----------------------------------------------------: not found
root@OpenWrt:~# root@OpenWrt:~# for file in /sys/class/net/*
board_detect history opkg true
brctl hostapd opkg-key type
break hotplug-call passwd ubiattach
busybox htop pgrep ubiblock
cat hwclock pidof ubicrc32
cd id ping ubidetach
-ash: root@OpenWrt:~#: not found
root@OpenWrt:~# > do
chmod ifstatus poweroff ubinfo
chown ifup pppd ubinize
chroot init printf ubirename
clear insmod procd ubirmvol
cmp ip ps ubirsvol
root@OpenWrt:~# > for rxqueue in "${file}"/queues/rx-*
df kmodloader rmdir ulimit
dirname ldd rmmod umask
dmesg led.sh route umount
dnsmasq less rpcd unalias
dropbear let scp uname
dropbearkey ln seccomp-trace uniq
du local sed unset
-ash: rxqueue: not found
echo lock seq upgraded
egrep logd service uptime
root@OpenWrt:~# > do
exit ls shift utpl
export lsmod signify utrace
root@OpenWrt:~# >
-ash: syntax error: unexpected newlinefalse luci-reload sort vi
fan_ctrl.sh md5sum source wait
root@OpenWrt:~# . fw_setsys netifd tc
fw3 mount sysctl yes
fw4 mount_root sysupgrade zcat
fw_printenv mtd tail
fw_printsys mv tar
fw_setenv nc taskset
> if [ -f "${rxqueue}"/rps_cpus ]
>
. fw_setsys netifd tc
.config/ root@OpenWrt:~# .config/ fwtool netmsg tee
-ash: .config/: Permission denied
root@OpenWrt:~# : getopts netstat test
root@OpenWrt:~# [ getrandom nft time
ash: missing ]
root@OpenWrt:~# [[ grep nice times
ash: missing ]]
root@OpenWrt:~# alias gunzip nslookup top
alias: gunzip not found
alias: nslookup not found
alias: top not found
root@OpenWrt:~# ash gzip ntpd touch
ash: can't open 'gzip': No such file or directory
root@OpenWrt:~# askfirst halt ntpd-hotplug tr
Please press Enter to activate this console.
hash odhcp6c traceroute
basename head odhcpd traceroute6
bg hexdump odhcpd-update trap
board_detect history opkg true
brctl hostapd opkg-key type
break hotplug-call passwd ubiattach
busybox htop pgrep ubiblock
cat hwclock pidof ubicrc32
cd id ping ubidetach
chdir ifconfig ping6 ubiformat
chgrp ifdown pivot_root ubimkvol
chmod ifstatus poweroff ubinfo
chown ifup pppd ubinize
chroot init printf ubirename
clear insmod procd ubirmvol
cmp ip ps ubroot@OpenWrt:~# ubirsvol
irsvol
command ubirsvol: error!: UBI device name was not specified (use -h f or help)
root@OpenWrt:~# command ipcalc.sh pwd ubiupda
tevol
l
config_generate IP=0.0.0.0
NETMASK=0.0.0.0
BROADCAST=255.255.255.255
NETWORK=0.0.0.0
PREFIX=0
root@OpenWrt:~# config_generate irqbalance px5g ubus
irqbalance px5g ubus
continue root@OpenWrt:~# continue iw read ubusd
-ash: continue: Illegal number: iw
root@OpenWrt:~# cp iwinfo readlink ucc
cp: can't stat 'iwinfo': No such file or directory
cp: can't stat 'readlink': No such file or directory
root@OpenWrt:~# crond jffs2mark readonly uci
root@OpenWrt:~# crontab jffs2reset reboot uclient
-fetch
jffs2reset reboot uclient-fetch
cut BusyBox v1.36.1 (2024-03-22 22:09:42 UTC) multi-call binary.
Usage: crontab [-c DIR] [-u USER] [-ler]|[FILE]
-c Crontab directory
-u User
-l List crontab
-e Edit crontab
-r Delete crontab
FILE Replace crontab by FILE ('-': stdin)
root@OpenWrt:~# cut jobs reload_config ucode
cut: expected a list of bytes, characters, or fields
root@OpenWrt:~# date jshn reset udevtri
gger
BusyBox v1.36.1 (2024-03-22 22:09:42 UTC) multi-call binary.
Usage: date [OPTIONS] [+FMT] [[-s] TIME]
Display time (using +FMT), or set time
-u Work in UTC (don't convert to local time)
[-s] TIME Set time to TIME
-d TIME Display TIME, not 'now'
-D FMT FMT (strptime format) for -s/-d TIME conversion
-r FILE Display last modification time of FILE
-R Output RFC-2822 date
-I[SPEC] Output ISO-8601 date
SPEC=date (default), hours, minutes, seconds or ns
Recognized TIME formats:
@seconds_since_1970
hh:mm[:ss]
[YYYY.]MM.DD-hh:mm[:ss]
YYYY-MM-DD hh:mm[:ss]
[[[[[YY]YY]MM]DD]hh]mm[.ss]
root@OpenWrt:~# dbclient jsonfilter resize udhcpc
dbclient: Connection to root@jsonfilter:22 exited: Connect failed: Error resolvi ng 'jsonfilter' port '22'. Name does not resolve
root@OpenWrt:~# dd kill return uhttpd
vstatus BusyBox v1.36.1 (2024-03-22 22:09:42 UTC) multi-call binary.
Usage: dd [if=FILE] [of=FILE] [ibs=N obs=N/bs=N] [count=N] [skip=N] [seek=N]
[conv=notrunc|noerror|sync|fsync]
[iflag=skip_bytes|count_bytes|fullblock|direct] [oflag=seek_bytes|append |direct]
Copy a file with converting and formatting
if=FILE Read from FILE instead of stdin
of=FILE Write to FILE instead of stdout
bs=N Read and write N bytes at a time
ibs=N Read N bytes at a time
obs=N Write N bytes at a time
count=N Copy only N input blocks
skip=N Skip N input blocks
seek=N Skip N output blocks
conv=notrunc Don't truncate output file
conv=noerror Continue after read errors
conv=sync Pad blocks with zeros
conv=fsync Physically write data out before finishing
conv=swab Swap every pair of bytes
iflag=skip_bytes skip=N is in bytes
iflag=count_bytes count=N is in bytes
oflag=seek_bytes seek=N is in bytes
iflag=direct O_DIRECT input
oflag=direct O_DIRECT output
iflag=fullblock Read full blocks
oflag=append Open output in append mode
N may be suffixed by c (1), w (2), b (512), kB (1000), k (1024), MB, M, GB, G
root@OpenWrt:~# devstatus killall rm ujail
f Command failed: Invalid argument
root@OpenWrt:~# df kmodloader rmdir ulimit
Filesystem 1K-blocks Used Available Use% Mounted on
df: kmodloader: can't find mount point
df: rmdir: can't find mount point
df: ulimit: can't find mount point
root@OpenWrt:~# dirname ldd rmmod umask
BusyBox v1.36.1 (2024-03-22 22:09:42 UTC) multi-call binary.
Usage: dirname FILENAME
Strip non-directory suffix from FILENAME
root@OpenWrt:~# dmesg led.sh route umount
asq [ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.150 (builder@buildhost) (arm-openwrt-linux-mus lgnueabi-gcc (OpenWrt GCC 12.3.0 r23809-234f1a2efa) 12.3.0, GNU ld (GNU Binutils ) 2.40.0) #0 SMP Fri Mar 22 22:09:42 2024
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache
[ 0.000000] OF: fdt: Machine model: Linksys WRT32X
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] percpu: Embedded 12 pages/cpu s17420 r8192 d23540 u49152
[ 0.000000] pcpu-alloc: s17420 r8192 d23540 u49152 alloc=12*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock6
[ 0.000000] Bootloader command line (ignored): console= root=/dev/mtdblock6
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, l inear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, li near)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 506920K/524288K available (8192K kernel code, 644K rwdata , 1164K rodata, 1024K init, 245K bss, 17368K reserved, 0K cma-reserved, 0K highm em)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jif fies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x1 6070000
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 D prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[ 0.000000] sched_clock: 64 bits at 933MHz, resolution 1ns, wraps every 43980 46511103ns
[ 0.000015] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycle s: 0x1ae5b571769, max_idle_ns: 881590513431 ns
[ 0.000029] Switching to timer-based delay loop, resolution 1ns
[ 0.000135] Ignoring duplicate/late registration of read_current_timer delay
[ 0.000140] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycl es: 0xffffffff, max_idle_ns: 76450417870 ns
[ 0.000267] Calibrating delay loop (skipped), value calculated using timer fr equency.. 1866.00 BogoMIPS (lpj=9330000)
[ 0.000275] CPU: Testing write buffer coherency: ok
[ 0.000289] CPU0: Spectre v2: using BPIALL workaround
[ 0.000293] pid_max: default: 32768 minimum: 301
[ 0.000567] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linea r)
[ 0.000574] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001178] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001432] Setting up static identity map for 0x100000 - 0x100060
[ 0.001496] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[ 0.001562] mvebu-pmsu: Initializing Power Management Service Unit
[ 0.001619] rcu: Hierarchical SRCU implementation.
[ 0.001740] smp: Bringing up secondary CPUs ...
[ 0.001883] Booting CPU 1
[ 0.001998] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.002003] CPU1: Spectre v2: using BPIALL workaround
[ 0.002049] smp: Brought up 1 node, 2 CPUs
[ 0.002054] SMP: Total of 2 processors activated (3732.00 BogoMIPS).
[ 0.002059] CPU: All CPU(s) started in SVC mode.
[ 0.003808] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.003851] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns
[ 0.003860] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.003958] pinctrl core: initialized pinctrl subsystem
[ 0.004496] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.004917] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.005302] thermal_sys: Registered thermal governor 'step_wise'
[ 0.005413] cpuidle: using governor ladder
[ 0.005518] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x : disabling
[ 0.005524] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[ 0.011838] cryptd: max_cpu_qlen set to 1000
[ 0.012757] SCSI subsystem initialized
[ 0.012823] libata version 3.00 loaded.
[ 0.012900] usbcore: registered new interface driver usbfs
[ 0.012917] usbcore: registered new interface driver hub
[ 0.012932] usbcore: registered new device driver usb
[ 0.013490] clocksource: Switched to clocksource arm_global_timer
[ 0.013930] NET: Registered PF_INET protocol family
[ 0.013999] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear )
[ 0.014314] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.014328] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.014334] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.014354] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.014383] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.014421] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.014438] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.014533] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.014557] PCI: CLS 0 bytes, default 64
[ 0.015803] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.017871] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.017878] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 0.018460] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 50)
[ 0.019519] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[ 0.019939] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already p resent!
[ 0.020233] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already p resent!
[ 0.020446] mvebu-pcie soc:pcie: host bridge /soc/pcie ranges:
[ 0.020468] mvebu-pcie soc:pcie: MEM 0x00f1080000..0x00f1081fff -> 0x000 0080000
[ 0.020482] mvebu-pcie soc:pcie: MEM 0x00f1040000..0x00f1041fff -> 0x000 0040000
[ 0.020494] mvebu-pcie soc:pcie: MEM 0x00f1044000..0x00f1045fff -> 0x000 0044000
[ 0.020504] mvebu-pcie soc:pcie: MEM 0x00f1048000..0x00f1049fff -> 0x000 0048000
[ 0.020514] mvebu-pcie soc:pcie: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[ 0.020524] mvebu-pcie soc:pcie: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[ 0.020534] mvebu-pcie soc:pcie: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[ 0.020544] mvebu-pcie soc:pcie: IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[ 0.020553] mvebu-pcie soc:pcie: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[ 0.020563] mvebu-pcie soc:pcie: IO 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[ 0.020572] mvebu-pcie soc:pcie: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
[ 0.020579] mvebu-pcie soc:pcie: IO 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
[ 0.020700] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[ 0.020708] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.020715] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (b us address [0x00080000-0x00081fff])
[ 0.020721] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (b us address [0x00040000-0x00041fff])
[ 0.020726] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (b us address [0x00044000-0x00045fff])
[ 0.020732] pci_bus 0000:00: root bus resource [mem 0xf1048000-0xf1049fff] (b us address [0x00048000-0x00049fff])
[ 0.020736] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 0.020741] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff]
[ 0.020813] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[ 0.020947] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[ 0.021611] PCI: bus0: Fast back to back transfers disabled
[ 0.021618] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec onfiguring
[ 0.021626] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), rec onfiguring
[ 0.021685] pci 0000:01:00.0: [11ab:2b40] type 00 class 0x020000
[ 0.021702] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x401fffff 64bit pref ]
[ 0.021715] pci 0000:01:00.0: reg 0x18: [mem 0x40200000-0x402fffff 64bit pref ]
[ 0.021781] pci 0000:01:00.0: supports D1 D2
[ 0.021785] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[ 0.022480] PCI: bus1: Fast back to back transfers disabled
[ 0.022486] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.022553] pci 0000:02:00.0: [11ab:2b40] type 00 class 0x020000
[ 0.022574] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x421fffff 64bit pref ]
[ 0.022588] pci 0000:02:00.0: reg 0x18: [mem 0x42200000-0x422fffff 64bit pref ]
[ 0.022677] pci 0000:02:00.0: supports D1 D2
[ 0.022681] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[ 0.022706] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)