YOUREWINNER.COM
 
   

steev's router blog
 
#1 03-06-2014, 16:47:55 PM
  • Guest
Day 1:

What's up guys? Got my router early this morning. The delivery guy just kinda chucked it at my door and ran away. What an asshole! Anyway, I set up the router, connected my phone, and tested streaming a  couple bluray rips from my media server (something my old router struggled with). This $20 router handled it with ease I was very impressed!

Stock firmware seems pretty nice, but that's not good enough! I need a real Linux distribution on my router, so I installed OpenWRT (Instructions here)
That was pretty easy. I telnet in and set a root password. Log out and log back in with ssh.

Then I installed Luci (web interface):
Code: [Select]
# opkg update
# opkg install luci

Note: there is not enough room on the router to install luci-ssl!

Don't forget to start the web server!:
Code: [Select]
# /etc/init.d/uhttpd enable
# /etc/init.d/uhttpd start

Now you're ready to rock and roll!

Access luci at http://192.168.1.1

I made a huge mistake when configuring the firewall! I added a rule that applied to lan when it should have applied to wan only! I was locked out of my router!

Luckily OpenWRT has a nice failsafe mode to recover from stupid mistakes like this. Here's how to activate it:

1. Power off your router and unplug everything except your computer
2. Power on the router and wait for the LED on the far right to start blinking, then hold the "reset" button for about 5 seconds until the LED starts blinking really fast!
3. Connect to the router with a static IP: 192.168.1.2 (IMPORTANT)
4. Now you can telnet in and fix your mistake:
Code: [Select]
$ telnet 192.168.1.1
# mount_root
# vi /etc/config/firewall
5. Now reboot your router

I'll never make that mistake again! Stay tuned for day 2!


ZIGS_ARE_WINNER
#2 03-06-2014, 17:20:38 PM
  • Это вроде сосать быть Дарта Вейдера
  • *****
    *****
    *
  • Posts: 13201
  • Rigcoins: 30213125.10
  • Send Money to ZIGS_ARE_WINNER
    Windows 7 Thumb Up
  • BrazilianPC Master RaceThe Napster+
  • "I hate people"
This is the best blog about routers that I've ever read


Skrag
#3 03-06-2014, 17:31:49 PM
  • Welcome to the layer cake son.
  • Global Moderator
  • *****
    *****
    **
  • Posts: 6889
  • Rigcoins: 74113636.99
  • Send Money to Skrag
    Windows 7 Trophy
  • BIG PICTURESnot skraggaraksergey avatar+
  • "mmmmmmmmm lemon"
This is the only blog about routers that i've ever read


Dissident
#4 03-06-2014, 17:34:39 PM
  • the ultimate, the muffin man
  • Administrator
  • *****
    *****
    *****
    *****
    *****
    *****
  • Posts: 17724
  • Rigcoins: 99834386.39
  • Send Money to Dissident
    Windows 7 Thumb Up
  • weeaboosexual orientation uncleardissident b shirt+
  • "smash the patriarchy"
this is the worst blog about routers I've ever read




Dissident International Anti-Furry Organization
#5 03-06-2014, 18:04:33 PM
- Last Edit: 03-06-2014, 18:24:54 PM
  • Guest
Day 1.5:

Hey guys I set up DNS level adblocking on my router.
Code: [Select]
# wget -O /etc/dnsmasq.conf "http://pgl.yoyo.org/as/serverlist.php?hostformat=dnsmasq&showintro=1&startdate[day]=&startdate[month]=&startdate[year]=&mimetype=plaintext" && /etc/init.d/dnsmasq restart

Now you don't even need adaway on your phone.

http://aspiregemstone.blogspot.com/2013/09/how-to-block-advertisement-using-openwrt.html


#6 03-06-2014, 18:18:24 PM
you are on day 2 but it only got delivered this morning. Wouldnt day 1.5 be more accurate? Keep the updates coming, loving this new blog youve got going Steev


#7 03-06-2014, 18:25:16 PM
  • Guest
Ok day 1.5

I thought it would be funny if the days went by really fast


ZIGS_ARE_WINNER
#8 03-06-2014, 18:30:58 PM
  • Это вроде сосать быть Дарта Вейдера
  • *****
    *****
    *
  • Posts: 13201
  • Rigcoins: 30213125.10
  • Send Money to ZIGS_ARE_WINNER
    Windows 7 Thumb Up
  • BrazilianPC Master RaceThe Napster+
  • "I hate people"
Sometimes even an adminnovator like yourself must reign himself in!


#9 03-06-2014, 19:02:47 PM
  • Guest
Day 1.75

Here's a screenshot of LuCi


There are so many options to show you, but I will just show you the LED options because those are my favorite.

Note: This router has 8 LEDS


#10 05-06-2014, 09:00:27 AM
  • Guest
Day 3:

Adblocking revisited.

OK I noticed a lot of my mobile ads weren't getting blocked.
Luckily adaway has a good list of mobile ad hosts here so I added them to my list.

I wrote a simple script that safely updates the list,
/usr/bin/update_banner_hosts:
Code: [Select]
#!/bin/sh
# Update banner hosts list

TMP1="/tmp/dnsmasq.$$"
TMP2="/tmp/hosts.$$"

set -e

wget -q -O "$TMP1" "http://pgl.yoyo.org/as/serverlist.php?hostformat=dnsmasq&showintro=1&startdate[day]=&startdate[month]=&startdate[year]=&mimetype=plaintext"
wget -q -O "$TMP2" "http://adaway.org/hosts.txt"

echo "addn-hosts=/etc/hosts.ads" >> "$TMP1"

mv "$TMP1" /etc/dnsmasq.conf
mv "$TMP2" /etc/hosts.ads
/etc/init.d/dnsmasq restart

And it runs every Sunday morning at 3am via cron:
Code: [Select]
# /etc/init.d/cron start
# /etc/init.d/cron enable
# crontab -e

0 3 * * 0 /usr/bin/update_banner_hosts


I haven't seen a mobile ad since

Thanks for reading my blog, I think it's over now. Or is it? We'll see...


Svetlana
#11 05-06-2014, 13:56:44 PM
i'm jealous, could really use one of those


lana_chan my name is erin
#12 16-08-2014, 04:42:30 AM
  • Guest
Day ??? QOS day

What's up guys you probably thought this blog was dead, huh? So did I, but when you have a Linux-based router you're always discovering new possibilities!!

I just upgraded to OpenWrt 14.07-rc3 and guess what in this release there's actually enough space left to install QoS support on my 4 MB router! That's right guys QoS (Quality of Service) on a $20 router! Now I can prioritize VoIP traffic so I always get good WIFI call quality with my RW Moto G!

I wish @DrNoelHowell and @MarshalMustache were here they'd probably call to congratulate me.

Code: [Select]
# opkg update
# opkg install qos-scripts luci-app-qos
# /etc/init.d/qos enable

(reboot your router)



Svetlana
#13 16-08-2014, 13:24:16 PM
Cool!!! My new router came with QoS, I dunno if I wanna venture messing with the firmware just yet while it's still operating pretty beautifully

This is the router I had
http://www.tp-link.com/en/products/details/?model=TL-WR541G

This is the router I got
http://www.link1.com.br/produtos/roteadores-wireless-n-300/l1-rw332

Apparently it's made here??? I dunno, but it's tiny and it works well


lana_chan my name is erin
#14 16-08-2014, 13:52:27 PM
  • Guest
Cool 7 Anos de garantia!

Mine only has 2 Anos de garantia


Svetlana
#15 16-08-2014, 20:41:08 PM
http://www.link1.com.br/index.php/link-one

Their routers are made with Broadcom chips and they have an intl. office in Seoul!

Wow this is like the most competent national company I've seen, most of them (like Multilaser) just reachievement cube chinese poo poo that never works
I'm honestly pretty impressed and very satisfied with this router so far, the signal is about the same as my old one (same size antenna) but it's much more responsive and doesn't crash all the time like my old one did because it was from 2007 !!!


lana_chan my name is erin
0 Members and 1 Guest are viewing this topic.