Skip to content

Instantly share code, notes, and snippets.

@rolandoislas
rolandoislas / restart_radio.sh
Created January 6, 2018 18:13
Script to restart the radio on a DD-WRT router
#!/usr/bin/env sh
# Restarts the radio of a DD-WRT router
#
# Version 1.0
echo "Stopping radio"
stopservice nas
wl -i eth1 radio off
echo "Starting radio"
@rolandoislas
rolandoislas / route.sh
Created February 6, 2017 02:08
Creates routes for drc-sim-backend.py. One for a Wii u interface and another for normal traffic.
#!/bin/bash
# script: route.sh
# Creates routes for drc-sim-backend.py. One for a Wii u interface and another for normal traffic.
# Wii NIC
wiiface="wlx687f747d2e59"
# Normal NIC
interface="enp2s0"
ip="192.168.2.141"
@rolandoislas
rolandoislas / Moved.md
Last active March 2, 2016 17:22
Smite Install script for PlayOnLinux/PlayOnMac