Skip to content

Instantly share code, notes, and snippets.

View milankragujevic's full-sized avatar

milankragujevic

View GitHub Profile
@milankragujevic
milankragujevic / apa_1616_ir_codes.txt
Created January 15, 2018 09:54 — forked from tiegz/apa_1616_ir_codes.txt
APA 1616 LED Remote IR Codes
# http://sztyled.en.made-in-china.com/product/SqUmJxylhbhK/China-24-Key-Infrared-RGB-Manual-Flash-Controller-APA-1616-.html
# or
# http://www.dhgate.com/store/product/advanced-micro-control-unit-24-keys-rgb-led/128629434.html
IR Receiver Notes
F700FF BRIGHT HI
F7807F BRIGHT LO
F7408F OFF
F7C03F ON
F720DF R1
@milankragujevic
milankragujevic / osnovni-paket-iptv.txt
Created January 25, 2018 14:44
IPTV channels and numbers for mts TV IPTV platform by Huawei, 25-01-2018.
100|Info kanal
101|RTS 1
102|RTS 2
104|O2
105|Prva
106|TV Pink
107|Happy TV
108|Pink 2
109|Pink 3 Info
110|RTS 3
@milankragujevic
milankragujevic / super-paket-iptv.txt
Created January 25, 2018 15:10
Super package bundled IPTV channels and numbers for mts TV IPTV platform by Huawei, 25-01-2018.
451|Pink Music 2
452|Bravo Music
453|Pink Koncert
467|Pink Folk 2
475|Pink&Roll
477|Pink Hits 2
480|MTV Hits International
481|MTV Dance International
482|MTV Rocks International
484|VH1 Classic
@milankragujevic
milankragujevic / printenv.log
Created February 10, 2018 23:25
mts EC2108V5 `printenv`
fastboot# printenv
bootdelay=1
baudrate=115200
ipaddr=192.168.1.10
serverip=192.168.1.1
netmask=255.255.255.0
bootfile="uImage"
stdin=serial
stdout=serial
stderr=serial
@milankragujevic
milankragujevic / mwan3
Last active February 13, 2018 02:17
mwan3 config for dual wan interfaces
config interface 'wan'
option enabled '1'
list track_ip '8.8.4.4'
list track_ip '8.8.8.8'
list track_ip '208.67.222.222'
list track_ip '208.67.220.220'
option reliability '2'
option count '1'
option timeout '2'
option interval '5'
@milankragujevic
milankragujevic / mwan3.sh
Created February 14, 2018 14:49
/lib/mwan3/mwan3.sh for non-IPv6 devices running LEDE 17
#!/bin/sh
IP4="/usr/bin/ip -4"
IPS="/usr/sbin/ipset"
IPT4="/usr/sbin/iptables -t mangle -w"
LOG="/usr/bin/logger -t mwan3 -p"
MWAN3_STATUS_DIR="/var/run/mwan3"
[ -d $MWAN3_STATUS_DIR ] || mkdir -p $MWAN3_STATUS_DIR/iface_state
@milankragujevic
milankragujevic / mwan3
Last active September 30, 2018 22:27
mwan3 configuration for dual WAN loadbalancing
config globals 'globals'
option local_source 'lan'
option enabled '1'
config interface 'wan'
option enabled '1'
list track_ip '1.1.1.1'
option reliability '1'
option count '1'
option timeout '2'
@milankragujevic
milankragujevic / network
Created February 14, 2018 17:21
network configuration for dual WAN loadbalancing
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd90:1d53:5e6f::/48'
config interface 'lan'
@milankragujevic
milankragujevic / firewall
Created February 14, 2018 17:23
firewall configuration for dual WAN loadbalancing
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
config zone
option name lan
list network 'lan'
option input ACCEPT
@milankragujevic
milankragujevic / DTV202.txt
Last active February 18, 2018 08:51
Bear DTV-202 - Serbian DVB-T2 receiver/set top box dump of IR receiver remote control codes
0xFD9A65|0x15629B25 = PWR
0xFD9867|0x57E346E1 = MUTE
0xFD708F|0xBBB54321 = INFO
0xFD708F|0x6BFD8B01 = RECALL
0xFD48B7|0x986FB325 = PAUSE
0xFDB04F|0x42640C99 = VOL+ (Right)
0xFD8877|0x6F5974BD = VOL- (Left)
0xFDA25D|0xCEBE4CC1 = MENU
0xFDA05F|0xA6B913BD = EXIT
0xFD609F|0xD0529225 = CH+ (Up)