Updates from March, 2013 Toggle Comment Threads | Keyboard Shortcuts

  • Vanberge 12:22 am on March 30, 2013 Permalink | Reply  

    How to Stop YouTube from Sucking (DD-WRT Version) 

    This awesome blog post at MitchRibar.com outlined a great way to improve YouTube’s sometimes crappy load times and performance.  It works very well and I’m glad somebody took the time to share this knowledge on the internet.

    His method is a local client only option, so if you have alot of computers like I do it may be a pain to set this up on every computer, phone, etc that you have.  Instead, I decided to try and block it at my router which I happened to have flashed with DD-WRT.

    Here’s how you do it!

    • Log into your router’s admin interface
    • Click on “Administration” and then select the “Commands” tab
    • Paste the following lines into the commands text area:
      iptables -I FORWARD -s 173.194.55.0/24 -j DROP
      iptables -I FORWARD -s 206.111.0.0/16 -j DROP
    • Now click “Save Firewall”
    • You should now notice a firewall section with these lines added, which looks like this:
      firewall_settings

    Congratulations!  You’ve now improved YouTube’s performance on your entire network.  I did this on a DD-WRT enabled router; but this could be done on any device that runs iptables.  Open-WRT, Tomato, Linux boxes, etc.  If you have ipables, give it a try!

     
    • Rene 10:12 pm on April 3, 2013 Permalink

      For some reason this doesn’t work for me. I still get the constant buffering prior to trying this tweak.

    • Vanberge 8:17 pm on April 4, 2013 Permalink

      Rene,
      Something I’ve been trying out and testing is using REJECT instead of DROP.
      Try replacing that and see what you get?

      I have not noticed a difference so far; but it was something that Mitch the original author recommended on his site.

    • David 7:18 pm on April 6, 2013 Permalink

      This sounds like a dream come true. But, for the life of me, I can’t figure out how to get this to work on a Netgear WNDR3400. I’m not an idiot, at least I didn’t think I was. Help!

    • Vanberge 10:03 pm on April 9, 2013 Permalink

      David, do you have DD-WRT installed on it? What isn’t working exactly?

    • com 9:14 pm on April 14, 2013 Permalink

      Doesn’t seem to work 🙁 tried both DROP and REJECT using dd-wrt on linksys, time warner cable in NC, still extremely bad buffering on lots of videos.

    • com 12:46 am on April 15, 2013 Permalink

      ok, so this may be location dependent since the problem i had was due to a different ip range, mine is 208.117.251.x, this is with TWC in NC. to find out you can use firebug and look at the GET on “videoplayback?algorithm=throttle-factor” with domain name something like “r9—sn-p5qlsm7l.c.youtube.com”. however, blocking that range renders every video unplayable, you could block individual ip addresses of slow videos but results of that are inconsistent – sometimes it would switch to a good ip, sometimes it would switch to another bad ip and give up after, and sometimes it would not attempt to switch at all rendering the video unplayable again. i’ve tried both of these methods:
      iptables -I FORWARD -s 208.117.251.172/32 -j REJECT
      iptables -I FORWARD -s 192.168.1.0/24 -d 208.117.251.172/32 -j REJECT

  • Vanberge 11:17 am on March 13, 2013 Permalink | Reply  

    Creating an HP Integrity Virtual Machine on HP-UX 11.31 

    When I was trying to find a way to create an Integrity VM, I had to do alot of research. It was difficult to find updated information and correct syntax for later builds of HP-UX and later versions of the VM software.  Being the thoughtful and forward thinking internet citizen that I am, I figured I’d give back a little…

    So, without further adieu, here is the steps necessary to create an HP-UX Integrity VM on HP-UX 11.31 using HPVM version 6.x

    Create a virtual switch first

    • hpvmnet -c -S <vswitchname> -n <lanID>
      • The LanID references the numeric portion of the name. Run netstat -in to find yours
      • Example: hpvmnet -c -S vswitch1 -n 10
    • Boot up the switch by running:  hpvmnet -b -S <vswitchname>
    • Run hpvmnet to see a status

    Now, create the virtual machine

    • hpvmcreate -P <servername> -l <label or description> -O HPUX -a network:avio_lan::vswitch:<vswitchname>
      • This creates the VM with a default network connection.
    • hpvmmodify -P <servername> -a dvd:avio_stor::file:/path/to/HPUX1131.iso
      • This will create a virtual DVD device connected to an iso for installation later. If you’re going to install from ignite or something else, dont worry about this part
    • hpvmmodify -P <servername> -a disk:avio_stor::lv:/dev/vgname/rdevice
      • This is adding storage for the VM to use. You could also add a disk image file instead of a real logical volume if you wanted
      • To create a disk image file, run something like hpvmdevmgmt -A -S 10G /path/to/vmdir/diskimage.fd
    • Your VM is now created!  You can run hpvmstart -P <vmname> to boot the VM up
    • If you need to install via an iso, just connect to the console by using hpvmconsole -P <vmname> and then selecting boot to file from the boot menu, and then selecting removable media.  Or, just wait and it should boot automatically if you added the DVD device.
    • hpvmstart, hpvmstatus, hpvmstop are useful commands to manage your VMs
     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel