- A serial cable was soldered onto the board's CN4 connector which can be used for debugging.
- A USB drive is attached containing a debootstrapped Debian Jessie
armel
on anext4
filesystem. - The original flash was completely erased.
- A new version of u-boot provided by Evgeni was installed onto the flash.
- Work in Progress Patch: https://github.com/bantu/u-boot/compare/master...sg-ba-440
- The new u-boot version is capable of loading files from ext4 filesystems, the old one was not.
- u-boot loads three files:
/boot/uInitrd
,/boot/uDtb
,/boot/uImage
- The kernel is provided by the
linux-image-kirkwood
debian package.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setting Up OpenWRT on a Virtual Machine with Proxmox | |
# Based on: https://community.bigbeartechworld.com/t/setting-up-openwrt-on-a-virtual-machine-with-proxmox/257 | |
# Set your wished version: | |
export VER="23.05" | |
export ARCH="amd64" | |
export INDEX_URL="https://images.linuxcontainers.org/images/openwrt/$VER/$ARCH/default" | |
#export BUILDDATE=$(date -d "yesterday" '+%Y%m%d') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Author: John McEleney | |
# The main purpose of this script is to enable netmode4 on Xiaomi RB01 routers. | |
# To do this the script poses as a mesh slave, which causes the mesh master to enable netmode4. | |
# It does this by blindly sending HEX strings captured from an actual mesh negotiation between | |
# two RB01 routers. | |
# Enabling netmode is needed as one step in unlocking the router and flashing OpenWrt. | |
# The router should already have been taken through basic set-up before running this script. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WEPOS2009 Full keys: | |
KGRMV-TWG8H-43Y2K-7PJBC-PM4CB (Unknown, OEM) | |
XM633-9YG7Y-47JM6-4QMF8-XPKYG (Unknown, OEM) | |
XPT4M-RKVC9-4YQWT-JJP76-RBXD3 (Full) | |
WEPOS2009 Other keys (might be Evaluation, don't use): | |
KFF8R-TMHF4-GKT2P-KGDHH-FXPMB | |
D4GQ7-HG48K-7YP6R-6JM4C-33FMQ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# castanet.sh: Script to connect a chromecast to a WiFi network. | |
# | |
# Allows you to put your Chromecast on WiFi and do Chromecast initial setup | |
# without using the Google Home app at all, just using a normal Linux computer. | |
# | |
# You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi | |
# network with your PC, and you also need to find out its IP yourself with e.g. | |
# Wireshark. |