Skip to content

Instantly share code, notes, and snippets.

View michaelmuenzer's full-sized avatar

Michael Muenzer michaelmuenzer

View GitHub Profile
0x46b9B31D024b812BD6c3088dC4B3A7fE36a5b13f
> ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
> sudo systemctl status hostapd.service
● hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-02-07 17:03:18 CET; 47s ago
Process: 792 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=e
Main PID: 793 (hostapd)
CGroup: /system.slice/hostapd.service
└─793 /usr/sbin/hostapd -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf
Feb 07 17:03:17 raspberrypi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP
> lsusb
Bus 001 Device 002: ID 2357:010c TP-Link TL-WN722N v2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> sudo systemctl status raspapd.service
● raspapd.service - RaspAP Service Daemon
Loaded: loaded (/lib/systemd/system/raspapd.service; enabled; vendor preset:
Active: inactive (dead) since Mon 2020-10-19 20:57:35 CEST; 9min ago
Main PID: 560 (code=exited, status=0/SUCCESS)
Oct 18 20:47:33 raspberrypi systemd[1]: Starting RaspAP Service Daemon...
Oct 18 20:47:34 raspberrypi bash[560]: Stopping network services...
Oct 18 20:47:44 raspberrypi bash[560]: Warning: dhcpcd.service changed on disk.
Oct 18 20:47:44 raspberrypi bash[560]: Changing RaspAP Daemon --interface to uap
> sudo ./pi-blaster
MBox Board Revision: 0x9000c1
DMA Channels Info: 0x7f35, using DMA Channel: 14
Using hardware: PWM
Number of channels: 32
PWM frequency: 100 Hz
PWM steps: 1000
Maximum period (100 %): 10000us
Minimum period (0.100%): 10us
DMA Base: 0x20007000
> sudo systemctl status pi-blaster
● pi-blaster.service - Daemon for PWM control of the Raspberry Pi GPIO pins
Loaded: loaded (/lib/systemd/system/pi-blaster.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-10-18 09:45:55 CEST; 36s ago
Process: 5152 ExecStart=/usr/sbin/pi-blaster $DAEMON_OPTS (code=exited, status=0/SUCCESS)
Main PID: 5153 (pi-blaster)
CGroup: /system.slice/pi-blaster.service
└─5153 /usr/sbin/pi-blaster
Oct 18 09:45:55 raspberrypi systemd[1]: Starting Daemon for PWM control of the Raspberry Pi GPIO pins...
> lsmod
Module Size Used by
8188eu 796381 0
> ls /lib/firmware/rtlwifi/
rtl8188efw.bin rtl8192cufw_TMSC.bin rtl8723aufw_B_NoBT.bin
rtl8188eufw.bin rtl8192defw.bin rtl8723befw.bin
rtl8192cfw.bin rtl8192eefw.bin rtl8723bu_nic.bin
rtl8192cfwU_B.bin rtl8192eu_nic.bin rtl8723fw_B.bin
rtl8192cfwU.bin rtl8192sefw.bin rtl8723fw.bin
rtl8192cufw_A.bin rtl8712u.bin rtl8821aefw.bin
rtl8192cufw_B.bin rtl8723aufw_A.bin rtl8821aefw_wowlan.bin
rtl8192cufw.bin rtl8723aufw_B.bin
> sudo systemctl status dnsmasq.service
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-02-07 23:35:11 CET; 1min 55s ago
Process: 1841 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
Process: 1748 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
Process: 1745 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
Main PID: 1840 (dnsmasq)
CGroup: /system.slice/dnsmasq.service
└─1840 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,20326,8,2,e06d44b80