RAK7258 Review
Exploring the System
Exploring the System
Lets ssh root around the RAK7258.
Initial Connection
I'll use ssh, the hostname I assigned to the machine and the password I set on initial setup
$ ssh root@ttn-ith-test4
root@ttn-ith-test4's password:
BusyBox v1.23.2 (2019-04-12 14:35:22 CST) built-in shell (ash)
-----------------------------------------------------
RAK Wireless LoraWAN Gateway (1.1.0037_Release r159 20190412)
-----------------------------------------------------
It's reassuring that the frimware version here matches what we installed during the initial setup
System Information
Kernel version info
root@ttn-ith-test4:~# uname -a
Linux ttn-ith-test4.home.honig.net 3.18.45 #1 Fri Apr 12 14:37:54 CST 2019 mips GNU/Linux
/proc/version
root@ttn-ith-test4:/etc/rc.d# cat /proc/version
Linux version 3.18.45 (xuyutao@compileserver-Vostro-3668) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r158) ) #1 Fri Apr 12 14:37:54 CST 2019
/proc/cpuinfo
root@ttn-ith-test4:/etc/rc.d# cat /proc/cpuinfo
system type : MediaTek MT7628AN ver:1 eco:2
machine : Mediatek MT7628AN evaluation board
processor : 0
cpu model : MIPS 24KEc V5.5
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
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
OpenWRT Release info
/etc/openwrt_release
root@ttn-ith-test4:~# cat /etc/openwrt_release
DISTRIB_VERSION="1.1.0037"
DISTRIB_RELEASE="1.1.0037_Release"
DISTRIB_REVISION="159"
DISTRIB_TARGET="ramips"
DISTRIB_DATE="20190412"
DISTRIB_TIME="143357"
DISTRIB_OEM=""
DISTRIB_PRODUCT=""
/etc/openwrt_version
4:~# cat /etc/openwrt_version
1.1.0037_Release
This looks like a custom distribution of OpenWRT. This could make it harder to install standard packages.
Opkg configuration
/etc/opkg.conf
root@ttn-ith-test4:~# cat /etc/opkg.conf
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature 1
I would have expected to see the path to an upstream here.
/etc/opkg
root@ttn-ith-test4:~# cd /etc/opkg
root@ttn-ith-test4:/etc/opkg# ls
customfeeds.conf distfeeds.conf keys
/etc/opkg/customfeeds.conf
root@ttn-ith-test4:/etc/opkg# cat customfeeds.conf
# add your custom package feeds here
#
# src/gz example_feed_name http://www.example.com/path/to/files
/etc/opkg/distfeeds.conf
root@ttn-ith-test4:/etc/opkg# cat distfeeds.conf
src/gz %n_base /base
src/gz %n_linkit /linkit
src/gz %n_luci /luci
src/gz %n_management /management
src/gz %n_packages /packages
src/gz %n_routing /routing
src/gz %n_telephony /telephony
No distribution feeds are configured so opkg update fails. That's a bit disappointing.
root@ttn-ith-test4:/etc/opkg# opkg update
Downloading /base/Packages.gz.
wget: bad address ''
Downloading /base/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /linkit/Packages.gz.
wget: bad address ''
Downloading /linkit/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /luci/Packages.gz.
wget: bad address ''
Downloading /luci/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /management/Packages.gz.
wget: bad address ''
Downloading /management/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /packages/Packages.gz.
wget: bad address ''
Downloading /packages/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /routing/Packages.gz.
wget: bad address ''
Downloading /routing/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /telephony/Packages.gz.
wget: bad address ''
Downloading /telephony/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Collected errors:
* opkg_download: Failed to download /base/Packages.gz, wget returned 1.
* opkg_download: Failed to download /base/Packages.sig, wget returned 1.
* opkg_download: Failed to download /linkit/Packages.gz, wget returned 1.
* opkg_download: Failed to download /linkit/Packages.sig, wget returned 1.
* opkg_download: Failed to download /luci/Packages.gz, wget returned 1.
* opkg_download: Failed to download /luci/Packages.sig, wget returned 1.
* opkg_download: Failed to download /management/Packages.gz, wget returned 1.
* opkg_download: Failed to download /management/Packages.sig, wget returned 1.
* opkg_download: Failed to download /packages/Packages.gz, wget returned 1.
* opkg_download: Failed to download /packages/Packages.sig, wget returned 1.
* opkg_download: Failed to download /routing/Packages.gz, wget returned 1.
* opkg_download: Failed to download /routing/Packages.sig, wget returned 1.
* opkg_download: Failed to download /telephony/Packages.gz, wget returned 1.
* opkg_download: Failed to download /telephony/Packages.sig, wget returned 1.
What's Installed
root@ttn-ith-test4:~# opkg list-installed
base-files - 157.2-159
block-mount - 2016-01-10-96415afecef35766332067f4205ef3b2c7561d21
busybox - 1.23.2-1
dnsmasq - 2.73-1
dropbear - 2015.67-1
einfo - V1.0.0-1
ethtool - 3.18-1
firewall - 2015-07-27
fstools - 2016-01-10-96415afecef35766332067f4205ef3b2c7561d21
ip - 4.0.0-1
iptables - 1.4.21-1
iptables-mod-conntrack-extra - 1.4.21-1
iptables-mod-extra - 1.4.21-1
iptables-mod-filter - 1.4.21-1
iptables-mod-ipopt - 1.4.21-1
iwinfo - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
jshn - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
kernel - 3.18.45-1-1a73e8b1f6a3cc28e922a985db2e6683
kmod-crypto-aead - 3.18.45-1
kmod-crypto-arc4 - 3.18.45-1
kmod-crypto-core - 3.18.45-1
kmod-crypto-ecb - 3.18.45-1
kmod-crypto-hash - 3.18.45-1
kmod-crypto-manager - 3.18.45-1
kmod-crypto-pcompress - 3.18.45-1
kmod-crypto-sha1 - 3.18.45-1
kmod-edev-module - 3.18.45+1.0.0-1
kmod-fs-ext4 - 3.18.45-1
kmod-fs-ntfs - 3.18.45-1
kmod-fs-vfat - 3.18.45-1
kmod-gpio-button-hotplug - 3.18.45-1
kmod-gpio-dev - 3.18.45-1
kmod-i2c-core - 3.18.45-1
kmod-i2c-ralink - 3.18.45-1
kmod-ipt-conntrack - 3.18.45-1
kmod-ipt-conntrack-extra - 3.18.45-1
kmod-ipt-core - 3.18.45-1
kmod-ipt-extra - 3.18.45-1
kmod-ipt-filter - 3.18.45-1
kmod-ipt-ipopt - 3.18.45-1
kmod-ipt-ipset - 3.18.45-1
kmod-ipt-nat - 3.18.45-1
kmod-leds-gpio - 3.18.45-1
kmod-ledtrig-usbdev - 3.18.45-1
kmod-lib-crc-ccitt - 3.18.45-1
kmod-lib-crc16 - 3.18.45-1
kmod-lib-lz4 - 3.18.45-1
kmod-lib-lzo - 3.18.45-1
kmod-lib-textsearch - 3.18.45-1
kmod-mii - 3.18.45-1
kmod-mmc - 3.18.45-1
kmod-mppe - 3.18.45-1
kmod-nf-conntrack - 3.18.45-1
kmod-nf-ipt - 3.18.45-1
kmod-nf-nat - 3.18.45-1
kmod-nf-nathelper - 3.18.45-1
kmod-nfnetlink - 3.18.45-1
kmod-nls-base - 3.18.45-1
kmod-nls-cp437 - 3.18.45-1
kmod-nls-iso8859-1 - 3.18.45-1
kmod-nls-utf8 - 3.18.45-1
kmod-ppp - 3.18.45-1
kmod-ppp-synctty - 3.18.45-1
kmod-pppoe - 3.18.45-1
kmod-pppox - 3.18.45-1
kmod-scsi-core - 3.18.45-1
kmod-sdhci - 3.18.45-1
kmod-sdhci-mt7620 - 3.18.45-1
kmod-slhc - 3.18.45-1
kmod-spi-dev - 3.18.45-1
kmod-tun - 3.18.45-1
kmod-usb-core - 3.18.45-1
kmod-usb-net - 3.18.45-1
kmod-usb-net-qmi-wwan - 3.18.45-1
kmod-usb-ohci - 3.18.45-1
kmod-usb-ohci-pci - 3.18.45-1
kmod-usb-serial - 3.18.45-1
kmod-usb-serial-ch341 - 3.18.45-1
kmod-usb-serial-cp210x - 3.18.45-1
kmod-usb-serial-ftdi - 3.18.45-1
kmod-usb-serial-option - 3.18.45-1
kmod-usb-serial-wwan - 3.18.45-1
kmod-usb-storage - 3.18.45-1
kmod-usb-storage-extras - 3.18.45-1
kmod-usb-uhci - 3.18.45-1
kmod-usb-wdm - 3.18.45-1
kmod-usb2 - 3.18.45-1
kmod-usb2-pci - 3.18.45-1
libblkid - 2.25.2-4
libblobmsg-json - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
libc - 0.9.33.2-1
libcares - 1.10.0-1
libdevman - 1.0.0-1
libdevman-lua - 1.0.0-1
libevent2 - 2.0.22-1
libftdi1 - 1.4-1
libgcc - 4.8-linaro-1
libgwiotapi - 1.0.0-1
libip4tc - 1.4.21-1
libiwinfo - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libiwinfo-lua - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libjson-c - 0.12-1
libjson-script - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
libloragw - 5.0.1-1
liblua - 5.1.5-1
libmosquitto - 1.4.10-1
libmount - 2.25.2-4
libmpsse - 1.3
libncurses - 5.9-2
libnl-tiny - 0.1-4
libopenssl - 1.0.2j-1
libpcap - 1.5.3-1
libpolarssl - 1.3.14-1
libpthread - 0.9.33.2-1
libreadline - 6.3-1
librrd1 - 1.0.50-2
librt - 0.9.33.2-1
libsmartcols - 2.25.2-4
libsqlite3 - 3081101-1
libthread-db - 0.9.33.2-1
libubox - 2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb
libubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libubus-lua - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libuci - 2015-08-27.1-1
libuci-lua - 2015-08-27.1-1
libusb-1.0 - 1.0.19-1
libusb-compat - 0.1.4-1
libustream-openssl - 2015-07-09-c2d73c22618e8ee444e8d346695eca908ecb72d3
libustream-polarssl - 2015-07-09-c2d73c22618e8ee444e8d346695eca908ecb72d3
libuuid - 2.25.2-4
libwebsockets-openssl - 1.3-chrome37-firefox30-1
libxtables - 1.4.21-1
logd - 2015-11-22-c086167a0154745c677f8730a336ea9cf7d71031
loraserver-c - 1.0.0-1
lua - 5.1.5-1
luci - git-19.102.23140-19daea1-1
luci-app-LoraWAN - git-19.102.23140-19daea1-1
luci-app-firewall - git-19.102.23140-19daea1-1
luci-app-loraserver - git-19.102.23140-19daea1-1
luci-base - git-19.102.23140-19daea1-1
luci-i18n-base-ca - git-19.102.23140-19daea1-1
luci-i18n-base-cs - git-19.102.23140-19daea1-1
luci-i18n-base-de - git-19.102.23140-19daea1-1
luci-i18n-base-el - git-19.102.23140-19daea1-1
luci-i18n-base-en - git-19.102.23140-19daea1-1
luci-i18n-base-es - git-19.102.23140-19daea1-1
luci-i18n-base-fr - git-19.102.23140-19daea1-1
luci-i18n-base-he - git-19.102.23140-19daea1-1
luci-i18n-base-hu - git-19.102.23140-19daea1-1
luci-i18n-base-it - git-19.102.23140-19daea1-1
luci-i18n-base-ja - git-19.102.23140-19daea1-1
luci-i18n-base-ms - git-19.102.23140-19daea1-1
luci-i18n-base-no - git-19.102.23140-19daea1-1
luci-i18n-base-pl - git-19.102.23140-19daea1-1
luci-i18n-base-pt - git-19.102.23140-19daea1-1
luci-i18n-base-pt-br - git-19.102.23140-19daea1-1
luci-i18n-base-ro - git-19.102.23140-19daea1-1
luci-i18n-base-ru - git-19.102.23140-19daea1-1
luci-i18n-base-sk - git-19.102.23140-19daea1-1
luci-i18n-base-sv - git-19.102.23140-19daea1-1
luci-i18n-base-tr - git-19.102.23140-19daea1-1
luci-i18n-base-uk - git-19.102.23140-19daea1-1
luci-i18n-base-vi - git-19.102.23140-19daea1-1
luci-i18n-base-zh-cn - git-19.102.23140-19daea1-1
luci-i18n-base-zh-tw - git-19.102.23140-19daea1-1
luci-i18n-firewall-ca - git-19.102.23140-19daea1-1
luci-i18n-firewall-cs - git-19.102.23140-19daea1-1
luci-i18n-firewall-de - git-19.102.23140-19daea1-1
luci-i18n-firewall-el - git-19.102.23140-19daea1-1
luci-i18n-firewall-en - git-19.102.23140-19daea1-1
luci-i18n-firewall-es - git-19.102.23140-19daea1-1
luci-i18n-firewall-fr - git-19.102.23140-19daea1-1
luci-i18n-firewall-he - git-19.102.23140-19daea1-1
luci-i18n-firewall-hu - git-19.102.23140-19daea1-1
luci-i18n-firewall-it - git-19.102.23140-19daea1-1
luci-i18n-firewall-ja - git-19.102.23140-19daea1-1
luci-i18n-firewall-ms - git-19.102.23140-19daea1-1
luci-i18n-firewall-no - git-19.102.23140-19daea1-1
luci-i18n-firewall-pl - git-19.102.23140-19daea1-1
luci-i18n-firewall-pt - git-19.102.23140-19daea1-1
luci-i18n-firewall-pt-br - git-19.102.23140-19daea1-1
luci-i18n-firewall-ro - git-19.102.23140-19daea1-1
luci-i18n-firewall-ru - git-19.102.23140-19daea1-1
luci-i18n-firewall-sk - git-19.102.23140-19daea1-1
luci-i18n-firewall-sv - git-19.102.23140-19daea1-1
luci-i18n-firewall-tr - git-19.102.23140-19daea1-1
luci-i18n-firewall-uk - git-19.102.23140-19daea1-1
luci-i18n-firewall-vi - git-19.102.23140-19daea1-1
luci-i18n-firewall-zh-cn - git-19.102.23140-19daea1-1
luci-i18n-firewall-zh-tw - git-19.102.23140-19daea1-1
luci-lib-ip - git-19.102.23140-19daea1-1
luci-lib-json - git-19.102.23140-19daea1-1
luci-lib-nixio - git-19.102.23140-19daea1-1
luci-mod-admin-full - git-19.102.23140-19daea1-1
luci-proto-ppp - git-19.102.23140-19daea1-1
luci-ssl - git-19.102.23140-19daea1-1
luci-theme-bootstrap - git-19.102.23140-19daea1-1
mosquitto - 1.4.10-1
mosquitto-client - 1.4.10-1
mount-utils - 2.25.2-4
mtd - 21
mtk-sdk-wifi - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
netifd - 2015-12-16-245527193e90906451be35c2b8e972b8712ea6ab
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-9
packet_forwarder - 4.0.1-1
ppp - 2.4.7-6
ppp-mod-pppoe - 2.4.7-6
procd - 2015-10-29.1-d5fddd91b966424bb63e943e789704d52382cc18
px5g - 3
quectel-CM - 1.1.38
rpcd - 2016-06-30-23417e94d25570e6d62542bac46edd51e8e0243a
rpcd-mod-iwinfo - 2016-06-30-23417e94d25570e6d62542bac46edd51e8e0243a
rpcd-mod-rpcsys - 2016-06-30-23417e94d25570e6d62542bac46edd51e8e0243a
rrdtool1 - 1.0.50-2
spi-tools - 1-cc6a41fdcec60610703ba6db488c621c64952898
sqlite3-cli - 3081101-1
swconfig - 10
sysstat - 10.1.7-1
tcpdump - 4.5.1-4
terminfo - 5.9-2
uboot-envtools - 2014.10-2
ubox - 2015-11-22-c086167a0154745c677f8730a336ea9cf7d71031
ubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
ubusd - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
uci - 2015-08-27.1-1
uhttpd - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
uhttpd-mod-tls - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
uhttpd-mod-ubus - 2015-11-08-fe01ef3f52adae9da38ef47926cd50974af5d6b7
usign - 2015-05-08-cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
wireless-tools - 29-5
zlib - 1.2.8-1
Dmesg
Let's see what dmesg tells us about the device configuration
root@ttn-ith-test4:~# dmesg
[ 0.000000] Linux version 3.18.45 (xuyutao@compileserver-Vostro-3668) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r158) ) #1 Fri Apr 12 14:37:54 CST 2019
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
Confirmation that it's based on the MT7628
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Mediatek MT7628AN evaluation board
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 80325d60, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no 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: 32512
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=0004e4b0
[ 0.000000] Readback ErrCtl register=0004e4b0
[ 0.000000] Memory: 126144K/131072K available (2646K kernel code, 131K rwdata, 540K rodata, 192K init, 188K bss, 4928K reserved)
Confirmation of 128M Memory
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] intc: using register map from devicetree
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource_of_init: no matching clocksources found
[ 0.050000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 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] pinctrl core: initialized pinctrl subsystem
[ 0.090000] NET: Registered protocol family 16
[ 0.100000] rt2880-pinmux pinctrl: try to register 47 pins ...
[ 0.100000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux
[ 0.100000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux
[ 0.100000] pinctrl core: add 9 pinmux maps
[ 0.100000] rt2880-pinmux pinctrl: found group selector 4 for i2c
[ 0.100000] rt2880-pinmux pinctrl: found group selector 11 for i2s
[ 0.100000] rt2880-pinmux pinctrl: found group selector 13 for spis
[ 0.100000] rt2880-pinmux pinctrl: found group selector 17 for p1led_an
[ 0.100000] rt2880-pinmux pinctrl: found group selector 18 for p2led_an
[ 0.100000] rt2880-pinmux pinctrl: found group selector 19 for p3led_an
[ 0.100000] rt2880-pinmux pinctrl: found group selector 20 for p4led_an
[ 0.100000] rt2880-pinmux pinctrl: found group selector 7 for wdt
[ 0.100000] rt2880-pinmux pinctrl: found group selector 15 for wled_an
[ 0.100000] rt2880-pinmux pinctrl: request pin 4 (io4) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 5 (io5) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 0 (io0) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 1 (io1) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 2 (io2) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 3 (io3) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 14 (io14) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 15 (io15) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 16 (io16) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 17 (io17) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 42 (io42) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 40 (io40) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 39 (io39) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 38 (io38) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: request pin 44 (io44) for pinctrl
[ 0.100000] rt2880-pinmux pinctrl: failed to lookup the sleep state
[ 0.120000] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.130000] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.140000] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.150000] Advanced Linux Sound Architecture Driver Initialized.
[ 0.160000] Switched to clocksource MIPS
[ 0.160000] NET: Registered protocol family 2
[ 0.170000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.190000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.200000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.210000] TCP: reno registered
[ 0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.240000] NET: Registered protocol family 1
[ 0.250000] PCI: CLS 0 bytes, default 32
[ 0.260000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[ 0.260000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.280000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.300000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.320000] msgmni has been set to 246
[ 0.320000] io scheduler noop registered
[ 0.330000] io scheduler deadline registered (default)
[ 0.340000] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.360000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[ 0.360000] pinctrl core: add 1 pinmux maps
[ 0.360000] rt2880-pinmux pinctrl: found group selector 10 for uart0
[ 0.360000] rt2880-pinmux pinctrl: request pin 12 (io12) for 10000c00.uartlite
[ 0.360000] rt2880-pinmux pinctrl: request pin 13 (io13) for 10000c00.uartlite
[ 0.360000] console [ttyS0] disabled
[ 0.360000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[ 0.380000] console [ttyS0] enabled
[ 0.390000] bootconsole [early0] disabled
[ 0.410000] pinctrl core: add 1 pinmux maps
[ 0.410000] rt2880-pinmux pinctrl: found group selector 3 for uart1
[ 0.410000] rt2880-pinmux pinctrl: request pin 45 (io45) for 10000d00.uart1
[ 0.410000] rt2880-pinmux pinctrl: request pin 46 (io46) for 10000d00.uart1
[ 0.410000] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
[ 0.430000] pinctrl core: add 1 pinmux maps
[ 0.430000] rt2880-pinmux pinctrl: found group selector 2 for uart2
[ 0.430000] rt2880-pinmux pinctrl: request pin 20 (io20) for 10000e00.uart2
[ 0.430000] rt2880-pinmux pinctrl: request pin 21 (io21) for 10000e00.uart2
[ 0.430000] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
[ 0.450000] pinctrl core: add 1 pinmux maps
[ 0.450000] rt2880-pinmux pinctrl: found group selector 8 for spi
[ 0.450000] rt2880-pinmux pinctrl: request pin 7 (io7) for 10000b00.spi
[ 0.450000] rt2880-pinmux pinctrl: request pin 8 (io8) for 10000b00.spi
[ 0.450000] rt2880-pinmux pinctrl: request pin 9 (io9) for 10000b00.spi
[ 0.450000] rt2880-pinmux pinctrl: request pin 10 (io10) for 10000b00.spi
[ 0.450000] spi-mt7621 10000b00.spi: sys_freq: 193333333
[ 0.460000] m25p80 spi32766.0: found w25q128, expected en25q64
[ 0.470000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[ 0.480000] m25p80 spi32766.0: using chunked io
[ 0.490000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.510000] Creating 4 MTD partitions on "spi32766.0":
[ 0.520000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.530000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.540000] 0x000000040000-0x000000050000 : "factory"
[ 0.550000] 0x000000050000-0x000001000000 : "firmware"
[ 0.620000] 2 uimage-fw partitions found on MTD device firmware
[ 0.630000] 0x000000050000-0x000000173ab8 : "kernel"
[ 0.650000] 0x000000173ab8-0x000001000000 : "rootfs"
[ 0.660000] mtd: device 5 (rootfs) set to be root filesystem
[ 0.670000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.680000] 0x000000800000-0x000001000000 : "rootfs_data"
[ 0.700000] tun: Universal TUN/TAP device driver, 1.6
[ 0.710000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 0.730000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[ 0.740000] mt7621_wdt 10000120.watchdog: Initialized
[ 0.750000] TCP: cubic registered
[ 0.760000] NET: Registered protocol family 17
[ 0.770000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.800000] 8021q: 802.1Q VLAN Support v1.8
[ 0.810000] ALSA device list:
[ 0.810000] No soundcards found.
[ 0.830000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 0.840000] Freeing unused kernel memory: 192K (80340000 - 80370000)
[ 2.390000] init: Console is alive
[ 2.400000] init: - watchdog -
[ 5.130000] usbcore: registered new interface driver usbfs
[ 5.140000] usbcore: registered new interface driver hub
[ 5.160000] usbcore: registered new device driver usb
[ 5.210000] SCSI subsystem initialized
[ 5.230000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.240000] ehci-platform: EHCI generic platform driver
[ 5.260000] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[ 5.280000] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[ 5.290000] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 5.300000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 5.310000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 5.350000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 5.360000] usb usb1: no of_node; not parsing pinctrl DT
[ 5.360000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[ 5.360000] hub 1-0:1.0: USB hub found
[ 5.370000] hub 1-0:1.0: 1 port detected
[ 5.380000] ehci-pci: EHCI PCI platform driver
[ 5.390000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.400000] ohci-platform: OHCI generic platform driver
[ 5.410000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 5.430000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 5.440000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 5.510000] usb usb2: no of_node; not parsing pinctrl DT
[ 5.510000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
[ 5.510000] hub 2-0:1.0: USB hub found
[ 5.520000] hub 2-0:1.0: 1 port detected
[ 5.530000] ohci-pci: OHCI PCI platform driver
[ 5.550000] MTK MSDC device init.
[ 5.560000] pinctrl core: add 1 pinmux maps
[ 5.560000] rt2880-pinmux pinctrl: found group selector 9 for sdmode
[ 5.560000] rt2880-pinmux pinctrl: request pin 22 (io22) for 10130000.sdhci
[ 5.560000] rt2880-pinmux pinctrl: request pin 23 (io23) for 10130000.sdhci
[ 5.560000] rt2880-pinmux pinctrl: request pin 24 (io24) for 10130000.sdhci
[ 5.560000] rt2880-pinmux pinctrl: request pin 25 (io25) for 10130000.sdhci
[ 5.560000] rt2880-pinmux pinctrl: request pin 26 (io26) for 10130000.sdhci
[ 5.560000] rt2880-pinmux pinctrl: request pin 27 (io27) for 10130000.sdhci
[ 5.560000] rt2880-pinmux pinctrl: request pin 28 (io28) for 10130000.sdhci
[ 5.560000] rt2880-pinmux pinctrl: request pin 29 (io29) for 10130000.sdhci
[ 5.600000] mtk-sd: MediaTek MT6575 MSDC Driver
[ 5.610000] sdhci: Secure Digital Host Controller Interface driver
[ 5.620000] sdhci: Copyright(c) Pierre Ossman
[ 5.630000] sdhci-pltfm: SDHCI platform and OF driver helper
[ 5.640000] usbcore: registered new interface driver usb-storage
[ 6.480000] init: - preinit -
[ 7.350000] rt305x-esw 10110000.esw: link changed 0x00
[ 7.480000] random: procd urandom read with 11 bits of entropy available
[ 10.760000] mount_root: loading kmods from internal overlay
[ 11.210000] rt305x-esw 10110000.esw: link changed 0x01
[ 11.410000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[ 11.430000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 11.440000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[ 43.260000] jffs2: notice: (388) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 43.290000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 43.310000] block: unable to load configuration (fstab: Entry not found)
[ 43.320000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 43.330000] block: unable to load configuration (fstab: Entry not found)
[ 43.360000] block: attempting to load /etc/config/fstab
[ 43.370000] block: unable to load configuration (fstab: Entry not found)
[ 43.380000] block: no usable configuration
[ 43.540000] jffs2: notice: (385) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 44.060000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 44.080000] block: unable to load configuration (fstab: Entry not found)
[ 44.090000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 44.100000] block: unable to load configuration (fstab: Entry not found)
[ 44.120000] block: attempting to load /etc/config/fstab
[ 44.130000] block: unable to load configuration (fstab: Entry not found)
[ 44.140000] block: no usable configuration
[ 44.150000] mount_root: overlay filesystem has not been fully initialized yet
[ 44.170000] mount_root: switching to jffs2 overlay
[ 44.820000] procd: - early -
[ 44.830000] procd: - watchdog -
[ 45.670000] procd: - ubus -
[ 46.690000] procd: - init -
[ 50.270000] edev_init
[ 50.280000] DevName = RAK7258 DevOEMName = RAK7258
[ 50.290000] DevSerialNum = 9181000T19030589 MacAddr = 60:C5:A8:74:D3:7D
[ 50.300000] LTEModule = 0 LoRaBAND = US915
Those are some specifics of the RAK7258
[ 50.330000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
Someone forgot to configure out the NTFS driver.
[ 50.340000] Netfilter messages via NETLINK v0.30.
[ 50.360000] ip_set: protocol 6
[ 50.400000] i2c /dev entries driver
[ 51.270000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x
[ 51.280000] <-- RTMPAllocAdapterBlock, Status=0
[ 51.310000] usbcore: registered new interface driver cdc_wdm
[ 51.330000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 51.360000] nf_conntrack version 0.5.0 (1974 buckets, 7896 max)
[ 51.420000] usbcore: registered new interface driver ums-alauda
[ 51.430000] usbcore: registered new interface driver ums-cypress
[ 51.440000] usbcore: registered new interface driver ums-datafab
[ 51.460000] usbcore: registered new interface driver ums-freecom
[ 51.480000] usbcore: registered new interface driver ums-isd200
[ 51.490000] usbcore: registered new interface driver ums-jumpshot
[ 51.510000] usbcore: registered new interface driver ums-karma
[ 51.520000] usbcore: registered new interface driver ums-sddr09
[ 51.530000] usbcore: registered new interface driver ums-sddr55
[ 51.550000] usbcore: registered new interface driver ums-usbat
[ 51.570000] usbcore: registered new interface driver usbserial
[ 51.580000] usbcore: registered new interface driver usbserial_generic
[ 51.600000] usbserial: USB Serial support registered for generic
[ 51.650000] xt_time: kernel timezone is -0000
[ 51.660000] usbcore: registered new interface driver ch341
[ 51.670000] usbserial: USB Serial support registered for ch341-uart
[ 51.680000] usbcore: registered new interface driver cp210x
[ 51.700000] usbserial: USB Serial support registered for cp210x
[ 51.720000] usbcore: registered new interface driver ftdi_sio
[ 51.730000] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 51.750000] PPP generic driver version 2.4.2
[ 51.760000] PPP MPPE Compression module registered
[ 51.780000] NET: Registered protocol family 24
[ 51.790000] usbcore: registered new interface driver qmi_wwan
[ 51.810000] usbcore: registered new interface driver option
[ 51.820000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 57.290000] rt305x-esw 10110000.esw: link changed 0x00
[ 58.850000] device eth0.1 entered promiscuous mode
[ 58.860000] device eth0 entered promiscuous mode
[ 58.910000] br-lan: port 1(eth0.1) entered forwarding state
[ 58.920000] br-lan: port 1(eth0.1) entered forwarding state
[ 60.130000] efuse_probe: efuse = 10000002
[ 60.300000] tssi_0_target_pwr_g_band = 27
[ 60.310000] tssi_1_target_pwr_g_band = 27
[ 60.920000] br-lan: port 1(eth0.1) entered forwarding state
[ 61.210000] rt305x-esw 10110000.esw: link changed 0x01
[ 68.430000] <==== rt28xx_init, Status=0
[ 69.200000] device ra0 entered promiscuous mode
[ 69.210000] br-lan: port 2(ra0) entered forwarding state
[ 69.220000] br-lan: port 2(ra0) entered forwarding state
[ 71.220000] br-lan: port 2(ra0) entered forwarding state
[ 72.490000] random: nonblocking pool is initialized
[ 73.000000] lora_pkt_fwd uses obsolete (PF_INET,SOCK_PACKET)
Filesystem Layout
/proc/partitions
root@ttn-ith-test4:/etc/rc.d# cat /proc/partitions
major minor #blocks name
31 0 192 mtdblock0
31 1 64 mtdblock1
31 2 64 mtdblock2
31 3 16064 mtdblock3
31 4 1166 mtdblock4
31 5 14897 mtdblock5
31 6 8192 mtdblock6
/proc/mtd
root@ttn-ith-test4:/etc/rc.d# cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 00fb0000 00010000 "firmware"
mtd4: 00123ab8 00010000 "kernel"
mtd5: 00e8c548 00010000 "rootfs"
mtd6: 00800000 00010000 "rootfs_data"
df
root@ttn-ith-test4:/etc/rc.d# df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
rootfs rootfs 8192 404 7788 5% /
/dev/root squashfs 6912 6912 0 100% /rom
tmpfs tmpfs 63168 8916 54252 14% /tmp
/dev/mtdblock6 jffs2 8192 404 7788 5% /overlay
overlayfs:/overlay overlay 8192 404 7788 5% /
tmpfs tmpfs 512 0 512 0% /dev
USB Devices
lsusb
root@ttn-ith-test4:/etc/rc.d# lsusb -v
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Those are the Linux Root Hubs for USB 1 and 2. From http://www.linux-usb.org/usb.ids
1d6b Linux Foundation
0001 1.1 root hub
0002 2.0 root hub
SPI Devices
root@ttn-ith-test4:/etc/rc.d# ls -Flas /dev/spi*
0 crw-r--r-- 1 root root 153, 0 Apr 12 02:37 /dev/spidev32766.1
There is one SPI device which is probably the SX1301 LoRa chip
root@ttn-ith-test4:/etc/rc.d# spi-config -d /dev/spidev32766.1 -q
/dev/spidev32766.1: mode=0, lsb=0, bits=8, speed=1000000
The W25Q128 Flash chip is also an SPI device that does not have a link in /dev
[ 0.460000] m25p80 spi32766.0: found w25q128, expected en25q64
[ 0.470000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[ 0.480000] m25p80 spi32766.0: using chunked io
[ 0.490000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.510000] Creating 4 MTD partitions on "spi32766.0":
[ 0.520000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.530000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.540000] 0x000000040000-0x000000050000 : "factory"
[ 0.550000] 0x000000050000-0x000001000000 : "firmware"
[ 0.620000] 2 uimage-fw partitions found on MTD device firmware
[ 0.630000] 0x000000050000-0x000000173ab8 : "kernel"
[ 0.650000] 0x000000173ab8-0x000001000000 : "rootfs"
[ 0.660000] mtd: device 5 (rootfs) set to be root filesystem
[ 0.670000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.680000] 0x000000800000-0x000001000000 : "rootfs_data"
What's Running
root@ttn-ith-test4:/tmp/log# ps
PID USER VSZ STAT COMMAND
1 root 1440 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
5 root 0 SW< [kworker/0:0H]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u2:1]
83 root 0 SW< [writeback]
85 root 0 SW< [bioset]
87 root 0 SW< [kblockd]
88 root 0 SW [kworker/0:1]
117 root 0 SW [kswapd0]
126 root 0 SW [fsnotify_mark]
174 root 0 SW [spi32766]
249 root 0 SW< [deferwq]
257 root 0 SW [kworker/u2:2]
390 root 0 SWN [jffs2_gcd_mtd6]
538 root 904 S /sbin/ubusd
542 root 768 S /sbin/askfirst /bin/login.sh
1332 root 1056 S /sbin/logd -S 16
1341 root 1812 S /sbin/rpcd
1377 root 1604 S /sbin/netifd
1474 root 1500 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -H RAK7258 -C
1476 root 1148 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
1485 root 0 SW [RtmpCmdQTask]
1486 root 0 SW [RtmpWscTask]
1487 root 0 SW [RtmpMlmeTask]
1532 root 2556 S /usr/sbin/uhttpd -f -h /www -r RAK7258 -x /cgi-bin -u /ubus -t 60 -T 30 -k 20 -A 1 -n 3 -N 100 -R -p 0.0.0.0:80 -p [::]:80 -C /etc/uhttpd.crt -K /etc/uhttpd.key -s 0.0.0.0:443 -s [
1546 mosquitt 3544 S /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
1560 root 2188 S lora_pkt_fwd -g /var/etc/global_conf.json
1562 root 20632 S lora_pkt_fwd -g /var/etc/global_conf.json
1588 root 6496 S /usr/sbin/loraserver -C /var/etc/loraserver.json
1609 root 1504 S /usr/sbin/ntpd -n -S /usr/sbin/ntpd-hotplug -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.openwrt.pool.ntp.org -p 3.openwrt.pool.ntp.org
1616 root 812 S /usr/bin/mpstat -f -t -u 5
1698 nobody 984 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k -x /var/run/dnsmasq/dnsmasq.pid
21383 root 1216 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
21387 root 1512 S -ash
21586 root 1216 R /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
21589 root 1512 S -ash
22090 root 0 SW [kworker/0:2]
What's Listening
root@ttn-ith-test4:/tmp/log# netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1532/uhttpd
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1698/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1476/dropbear
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 21383/dropbear
tcp 0 0 127.0.0.1:6011 0.0.0.0:* LISTEN 21586/dropbear
tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1546/mosquitto
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1532/uhttpd
tcp 0 248 172.25.29.21:22 172.25.29.29:53821 ESTABLISHED 21586/dropbear
tcp 0 0 172.25.29.21:22 172.25.29.29:53553 ESTABLISHED 21383/dropbear
tcp 0 0 127.0.0.1:49578 127.0.0.1:1883 ESTABLISHED 1588/loraserver
tcp 0 0 127.0.0.1:1883 127.0.0.1:49578 ESTABLISHED 1546/mosquitto
netstat: /proc/net/tcp6: No such file or directory
udp 0 0 0.0.0.0:53 0.0.0.0:* 1698/dnsmasq
udp 0 0 192.168.230.1:56888 13.66.213.36:1700 ESTABLISHED 1562/lora_pkt_fwd
udp 0 0 0.0.0.0:67 0.0.0.0:* 1698/dnsmasq
udp 0 0 0.0.0.0:1700 0.0.0.0:* 1588/loraserver
udp 0 0 192.168.230.1:33476 13.66.213.36:1700 ESTABLISHED 1562/lora_pkt_fwd
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 155136 21586/dropbear /tmp/dropbear-06dc31f1/auth-324de11d-9
unix 2 [ ACC ] STREAM LISTENING 2641 1562/lora_pkt_fwd /tmp/run/lora_pkt_fwd.sock
unix 2 [ ACC ] STREAM LISTENING 421 538/ubusd /var/run/ubus.sock
unix 2 [ ACC ] STREAM LISTENING 154542 21383/dropbear /tmp/dropbear-dd0651ca/auth-14df59e4-9
unix 6 [ ] DGRAM 1527 1332/logd /dev/log
unix 2 [ ] DGRAM 1657 1377/netifd
unix 3 [ ] STREAM CONNECTED 1529 1332/logd
unix 2 [ ] DGRAM 1690 1377/netifd
unix 3 [ ] STREAM CONNECTED 1978 1588/loraserver
unix 3 [ ] STREAM CONNECTED 425 1/procd
unix 3 [ ] STREAM CONNECTED 1609 1377/netifd
unix 3 [ ] STREAM CONNECTED 1837 538/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 426 538/ubusd /var/run/ubus.sock
unix 2 [ ] DGRAM 1762 1476/dropbear
unix 2 [ ] DGRAM 2311 1698/dnsmasq
unix 3 [ ] STREAM CONNECTED 1546 1341/rpcd
unix 3 [ ] STREAM CONNECTED 1610 538/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1836 1532/uhttpd
unix 3 [ ] STREAM CONNECTED 2636 1562/lora_pkt_fwd
unix 3 [ ] STREAM CONNECTED 1530 538/ubusd /var/run/ubus.sock
unix 2 [ ] DGRAM 1913 1/procd
unix 3 [ ] STREAM CONNECTED 2635 1562/lora_pkt_fwd
unix 3 [ ] STREAM CONNECTED 1547 538/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1977 1588/loraserver
Continue to 4. Exploring the System