Skip to content

Instantly share code, notes, and snippets.

View francoism90's full-sized avatar
😸
Cuddling the cat

François M. francoism90

😸
Cuddling the cat
  • Foxws
  • Netherlands
View GitHub Profile
@francoism90
francoism90 / init-start
Created August 20, 2023 11:28
Tweak ASUS RT-AC87U
# Login into router using SSH and execute listed commands (AT OWN RISK!).
# To apply the settings on boot, copy + paste the same settings in init-start.
# Backup current settings
nvram dump > dump.txt
# Set country + TX-power
nvram set asuscfe0:ccode=US
nvram set asuscfe1:ccode=US
nvram set asuscfe0:regrev=0
@francoism90
francoism90 / retrieve.py
Last active April 12, 2024 21:16
libtorrent - get seeds/peers + metadata without downloading (DHT/magnet)
#!/usr/bin/env python3
import libtorrent as lt
import time
import json
import os
def write_json(path, contents):
with open(path, 'w', encoding='utf-8') as f:
json.dump(contents, f, default=str, indent=4, sort_keys=True)
@francoism90
francoism90 / README.md
Last active May 4, 2024 12:52
Change country to unlock channels, increase TX-power. (Use at your own risk)

Warning

Following instructions are provided without any warranty, and may even get you in trouble legally. The instructions are provided for testing, and should be use with care. We (including commentators) are not responsible for any damage to your device(s).

Introduction

This may enable additional channels and power (in most cases don't) on ASUS Merlin provided routers.