Skip to content

Instantly share code, notes, and snippets.

View Anime4000's full-sized avatar

Anime4000

View GitHub Profile
@Anime4000
Anime4000 / uart.log
Created May 17, 2024 14:34
D-Link DPN-FX3060V B1 UART Dump
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2024.05.16 21:27:47 =~=~=~=~=~=~=~=~=~=~=~=
NOTICE: Booting Trusted Firmware - Realtek Semiconductor Corp.
NOTICE: BL1: v1.5(release):TAURUS_TAPEOUT_2_0
NOTICE: BL1: Built : 17:13:20, Oct 27 2021
NOTICE: BL1: CPU Speed 1000 MHz
NOTICE: GLOBAL_STRAP 0xc0a
NOTICE: boot from serial NAND flash
NOTICE: SPI_NAND: W25N02KV 0xefaa22
NOTICE: SPI_NAND: Page 0x800, Block 0x20000, Chip 256MB
NOTICE: Platform initialized
@Anime4000
Anime4000 / gist:ea373319c0891a1c84193f6e8de300c2
Created November 25, 2021 11:56 — forked from TomCan/gist:9644966
Inject drivers in Windows installation after motherboard change
Today, after working with Windows for over 15 years now, I finally came across the solution to the
dreadfull BSOD STOP 0x0000007B after replacing the motherboard of a computer, or after moving the
harddrive to another computer, or after doing a P2V, or after ... you get the point.
Requirements:
- Windows install / boot CD
- Chipset / Mobo / Storage drivers of the new motherboard or storage controller
Steps:
- extract all the drivers to a USB thumb drive
@Anime4000
Anime4000 / terminal.md
Last active November 15, 2024 13:47
Mikrotik LTE Change IMEI

Change Mikrotik LTE IMEI

Query which mode

/interface lte at-chat lte1 input="AT*PROD\?"

Enter Non-production mode

/interface lte at-chat lte1 input="AT*PROD=1"

Delete old IMEI

/interface lte at-chat lte1 input="AT*MRD_IMEI=D"

@Anime4000
Anime4000 / iommu.sh
Last active September 29, 2022 14:22
PCI Passthrough - Proxmox 6.4-4
#!/bin/bash
shopt -s nullglob
for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;
@Anime4000
Anime4000 / iommu.md
Created July 6, 2021 11:03
Asus ROG Crosshair VIII Hero (Wi-Fi) IOMMU
IOMMU Group 1
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]

IOMMU Group 2
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]

IOMMU Group 3
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
@Anime4000
Anime4000 / iommu.md
Last active December 24, 2021 19:23
Asus ROG Strix B450-F Gaming IOMMU
dmesg |egrep group |awk '{print $NF" "$0}' |sort -n
lspci

Group 0:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex

Not Included

@Anime4000
Anime4000 / compile_l4d2exts.md
Last active July 5, 2022 17:07
compile l4d2_bugfixes

GCC 5.5

Kubuntu 18.04.5 32-bit

Sourcemod 1.8 dev

Metamod: Source 1.8 dev

sudo apt install gcc-5 g++-5 clang libstdc++-5-dev zlib1g-dev libc6-dev linux-libc-dev

git clone https://github.com/Accelerator74/l4d2_bugfixes
git clone --recurse-submodules https://github.com/alliedmodders/sourcemod
git clone --recurse-submodules https://github.com/alliedmodders/metamod-source mmsource
@Anime4000
Anime4000 / advanced_conf-telnet.md
Last active September 14, 2024 08:01
XPON SFP ONU (V2801F), XPON STICK ONU (TWCGPON657), RTL8672, RTL9601C1
@Anime4000
Anime4000 / conf.xml
Created September 24, 2020 18:15
Maxis TP-Link Archer C5v
<?xml version="1.0"?>
<DslCpeConfig>
<InternetGatewayDevice>
<DeviceSummary val="InternetGatewayDevice:1.1[](Baseline:1, EthernetLAN:1)" />
<LANDeviceNumberOfEntries val=2 />
<WANDeviceNumberOfEntries val=3 />
<DeviceInfo>
<ManufacturerOUI val=F8D111 />
<SerialNumber val=0000000000000 />
<HardwareVersion val="Archer C5v v1 00000000" />
@Anime4000
Anime4000 / putty_late-4g.log
Created September 23, 2020 19:29
TP-Link Archer C5v UART Log
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.09.24 03:18:58 =~=~=~=~=~=~=~=~=~=~=~=
BGA IC
Xtal:1
DDR3 init.
DRAMC init done.
Calculate size.
DRAM size=128MB
Set new TRFC.
ddr-1066