Skip to content

Instantly share code, notes, and snippets.

View ppaskowsky's full-sized avatar

Peter Paskowsky ppaskowsky

View GitHub Profile
@ppaskowsky
ppaskowsky / Cisco_Point_to_Multipoint.txt
Created February 20, 2017 22:16
Cisco Point to Multipoint Configuration Template
! Author: Peter Paskowsky
! Templates for 2602 Autonomous Wireless Access points
! In Point to Multipoint Configuration
-------------------------------------------------------------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! WPA2 Root Bridge With Multiple VLANs !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
root@R1> show route
inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
172.16.0.1/32 *[Direct/0] 6d 02:13:09
> via lo0.0
172.16.0.2/32 *[OSPF/10] 6d 01:55:50, metric 1
> to 192.168.0.2 via ge-0/0/0.0
172.16.0.3/32 *[OSPF/10] 6d 01:55:48, metric 2
@ppaskowsky
ppaskowsky / openwrt_setup.sh
Last active November 7, 2015 23:41
openwrt setup
opkg update
opkg install htop mtr luci-app-vnstat luci-app-ddns
config transmission
option enabled 1
option config_dir '/mnt/transmission'
#option user 'nobody'
option alt_speed_down 0
option alt_speed_enabled false
option alt_speed_time_begin 540
option alt_speed_time_day 127
option alt_speed_time_enabled false
option alt_speed_time_end 1020
@ppaskowsky
ppaskowsky / fstab
Created October 26, 2015 00:22
/etc/config/fstab for openwrt
config 'mount'
option 'device' '/dev/sda1'
option 'options' 'rw,sync'
option 'enabled_fsck' '0'
option 'enabled' '1'
option 'target' '/mnt'
sudo su
wget https://raw.githubusercontent.com/ppaskowsky/Bash/master/rasperry-pi-seedbox-setup-script.sh
chmod +x rasperry-pi-seedbox-setup-script.sh
./rasperry-pi-seedbox-setup-script.sh
#/bin/bash
#Install Apps
sudo apt-get update && sudo apt-get -y install filezilla mplayer vlc vim terminator ntfs-3g git screen htop mtr nmap iftop nload iotop vnstat vim && sudo apt-get -y upgrade
@ppaskowsky
ppaskowsky / minimal-torrents.sh
Last active August 29, 2015 14:21
Download All Linux Torrents From SilenceIsDefeat.com
#/bin/bash
#
# This script downloads all the latest Linux iso torrents to
# your watch directory - add your download directory after -P
#
wget -r -nH --cut-dirs=3 --no-parent --reject="index.html*" http://users.silenceisdefeat.net/~petes/minimal-torrents/ -P /root/watch/
@ppaskowsky
ppaskowsky / full-torrents.sh
Last active August 29, 2015 14:21
Download All Linux Torrents From SilenceIsDefeat.com
#/bin/bash
#
# This script downloads all the latest Linux iso torrents to
# your watch directory - add your download directory after -P
#
wget -r -nH --cut-dirs=3 --no-parent --reject="index.html*" http://users.silenceisdefeat.net/~petes/all-torrents/ -P /root/watch/
@ppaskowsky
ppaskowsky / setting.json
Last active August 29, 2015 14:20
setting.json transmission configuration file for raspberry pi
{
"alt-speed-down": 0,
"alt-speed-enabled": false,
"alt-speed-time-begin": 60,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": true,
"alt-speed-time-end": 480,
"alt-speed-up": 450,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",