Skip to content

Instantly share code, notes, and snippets.

View mcprat's full-sized avatar

Michael Pratt mcprat

  • Ohio
  • 23:21 (UTC -04:00)
View GitHub Profile
@mcprat
mcprat / boot.log
Created October 13, 2020 03:23
Openwrt master EAP600 firstboot log
[ 0.000000] Linux version 5.4.69 (pi@SDDesk) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13719+835-66e04abbb6)) #0 Sat Oct 10 02:41:39 2020
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] MIPS: machine is EnGenius EAP600
[ 0.000000] SoC: Atheros AR9344 rev 2
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
@mcprat
mcprat / edimax-headers-fix.patch
Created September 22, 2020 19:33
edimax headers fix - using target $@ substitution
commit f3d01d3621f0800d343e42562e6e88b512c9a482
Author: Michael Pratt <[email protected]>
Date: Tue Sep 22 15:25:42 2020 -0400
I like cats
Signed-off-by: Michael Pratt <[email protected]>
diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
index fbc00b98c8..80d369ae04 100644
@mcprat
mcprat / boot.log
Created September 19, 2020 19:33
Openwrt Engenius EAP350 firstboot
Validating MD5Sum of 'vmlinux'... Passed!
Validating MD5Sum of 'rootfs'... Passed!
## Booting image at 9f0a0000 ...
Image Name: MIPS OpenWrt Linux-5.4.65
Created: 2020-09-19 10:57:27 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3265 Bytes = 3.2 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f0a0040 ...OK
@mcprat
mcprat / boot.log
Created September 17, 2020 08:57
OpenWrt ECB600 master bootlog
Validating MD5Sum of 'vmlinux'... Passed!
Validating MD5Sum of 'rootfs'... Passed!
## Booting image at 9f0a0000 ...
Image Name: MIPS OpenWrt Linux-5.4.65
Created: 2020-09-16 8:28:12 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3265 Bytes = 3.2 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f0a0040 ...OK
@mcprat
mcprat / boot.log
Created August 28, 2020 02:22
EnStationAC Openwrt master ath79 firstboot
Please press Enter to activate this console.
************************************************************************
* ENSTATIONAC *
************************************************************************
password:
Login incorrect
@mcprat
mcprat / fwupgrade.sh
Created August 28, 2020 01:48
Engenius EnStationAC v1 OEM firmware v3 upgrade script
#!/bin/sh
. /lib/upgrade/common.sh
firmware="/tmp/firmware.img"
tmpdir="/tmp/_upgrade"
output="/dev/ttyS0"
fw_env_config="/etc/fw_env.config"
str_16m_displayname="is16m_displayname"
str_32m_displayname="is32m_displayname"
@mcprat
mcprat / art_dump.txt
Created August 22, 2020 05:06
ENS202EXT ART hexdump
00000000 88 dc 96 47 b3 37 88 dc 96 47 b3 37 ff ff ff ff |...G.7...G.7....|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00001000 02 02 88 dc 96 47 b3 36 00 30 3a 30 32 3a 36 66 |.....G.6.0:02:6f|
00001010 3a 31 32 3a 33 34 3a 35 36 00 00 00 00 00 1f 00 |:12:34:56.......|
00001020 33 02 00 00 00 00 04 00 38 00 4d 00 03 00 08 ff |3.......8.M.....|
00001030 31 01 00 00 00 10 01 00 00 66 66 06 00 50 01 50 |1........ff..P.P|
00001040 01 50 01 00 00 00 00 00 00 19 00 64 7d 96 a4 af |.P.........d}...|
00001050 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001060 0e 0e 03 00 2c e2 00 02 0e 1c e0 e0 00 0c e0 e0 |....,...........|
@mcprat
mcprat / art_dump.txt
Created August 22, 2020 05:04
ENH202 ART hexdump
00000000 00 02 6f e7 8c 11 00 02 6f e7 8c 11 ff ff ff ff |..o.....o.......|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00001000 a5 5a 00 00 00 03 60 00 16 8c 00 29 60 08 00 01 |.Z....`....)`...|
00001010 02 80 60 2c 16 8c a0 93 50 00 16 8c 00 2a 50 08 |..`,....P....*P.|
00001020 00 01 02 80 50 2c 16 8c a0 93 50 64 0c c0 05 04 |....P,....Pd....|
00001030 50 6c 38 11 00 03 40 04 07 3b 00 40 40 74 00 03 |Pl8...@..;.@@t..|
00001040 00 00 40 00 50 01 01 c2 60 34 00 44 00 00 ff ff |[email protected]...`4.D....|
00001050 00 44 00 00 51 0c 20 10 00 06 50 70 00 00 10 11 |.D..Q. ...Pp....|
00001060 51 64 14 12 ff 24 51 68 17 ff 00 15 50 68 20 10 |Qd...$Qh....Ph .|
@mcprat
mcprat / boot.log
Created August 22, 2020 04:47
ENH202 kernel log (master) (firstboot)
Hit any key to stop autoboot: 0
Validating MD5Sum of 'vmlinux'... Passed!
Validating MD5Sum of 'rootfs'... Passed!
## Booting image at 9f0a0000 ...
Image Name: MIPS OpenWrt Linux-5.4.59
Created: 2020-08-21 22:55:03 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3265 Bytes = 3.2 kB
Load Address: 80060000
Entry Point: 80060000
@mcprat
mcprat / soundcloud-deleter.py
Created August 14, 2020 23:30
Soundcloud python API delete all tracks (python 2)
# in the future look into not having to authenticate for other peoples public tracks
# using the id from the waveform url to add to http://media.soundcloud.com/stream/
from time import sleep
import requests
import soundcloud