Project of the moment: Raspberry Pi wireless Pandora radio
Monday, November 15, 2010
set up dd-wrt with overplay vpn to the US
I was able to use the below config to only have one network in my home where some traffic is excluded from the tunnel to overplay (i.e. corporate, etc)
This way, my dd-wrt is able to send all traffic via US while making sure my local traffic go directly via my local ISP
After every reboot, it takes approx 2 mins for everything to set up properly by itself
This guide is mostly taken from http://www.overplay.net/blog/dd-wrt-overplay-pptp/
But it wasn't working initially for me and I had to change it a bit to make it work
dd-wrt:
Services -> VPN
Enable PPTP client:
Next to 'Server IP or DNS Name' enter 174.36.153.138 (west US)
Next to 'Remote Subnet' enter '10.20.0.0'.
Next to 'Remote Subnet Mask' enter '255.255.0.0'.
Next to 'MPPE Encryption' enter 'mppe required,no40,no56,stateless'
Next to 'MTU' enter '1450'.
Next to 'MRU' enter '1450'.
Enable 'NAT'.
Enter your OverPlay username and password into the 'User Name' and 'Password' boxes.
Click 'Save', and then 'Apply Settings'.
Then, under Administration -> Commands, enter:
(192.168.1.1 is the gateway that your dd-wrt connects to for internet)
(130.57.0.0/16 is the network to be excluded from the tunnel)
rm /tmp/overplay.sh
echo "sleep 60" > /tmp/overplay.sh;
echo "route add -host 174.36.153.138 gw 192.168.1.1" >> /tmp/overplay.sh;
echo "route add -net 130.57.0.0/16 gw 192.168.1.1" >> /tmp/overplay.sh;
echo "route del -net 0.0.0.0/0 gw 0.0.0.0" >> /tmp/overplay.sh;
echo "route add -net 0.0.0.0/0 gw 10.20.0.1" >> /tmp/overplay.sh;
echo "iptables -t nat -I POSTROUTING -o ppp0 -j MASQUERADE" >> /tmp/overplay.sh;
chmod +x /tmp/overplay.sh;/tmp/overplay.sh &
Hit save startup, then reboot
Friday, July 2, 2010
android wifi tethering for sony xperia x10
Tuesday, June 22, 2010
Saturday, June 12, 2010
how to change swipe orientation on xperia x10
Sunday, June 6, 2010
a true iPad killer
A true iPad killer can easily exist:
- 10 inch screen
- much lighter, soft touch plastic back ala nexus one
- usb port and card reader for transferring files in
- cloud synching with google services
- multitask!!!!!
- light ARM based CPU, a tegra or snapdragon
- 1-2GB of ram
- Battery of at least 5 hours, the max a person will use it at any one time.
- Android
Once this exist, I will sell iPad and will not turn back
ipad month 1
I am not that angry anymore on my inability to easily copy over my music, videos, data, and basically anything I want to consume that I already own pre buying the ipad.
I've basically given up on holding it like I envisioned I would when I bought it.
Apple's decision to make it an aluminium tablet is typical style over substance that unfortunately typifies Apple's approach nowadays.
As long as the item is shiny, it is enough to get you on the impulse buying side of your brains.
There is no justification in actually using an aluminium construction.
It weighs it down, it reduces reception, and it is bloody cold on your skin on a typical winter day.
iPad is too heavy to be used for a long time comfortably due to cosmetic reasons alone.
I've also given up on trying to multitask on the thing even with the help of Backgrounder from the jailbreaking community.
The paltry ram on it (256MB) is too small beyond belief.
The iPad has to draw about 4 times more pixels on the screen and it has the same amount of memory as the iPhone 3GS, and half of the high end Android smartphones!
Half the RAM of a smartphone..,. and let that word sync in...
So Apple splashes on the aluminium back while skimping back on the amount of RAM that you can get on the iPad.
What does the lack of RAM means to a typical user?
Open up 3 web tabs, exit, run a game, chat, or whatever, go back to your web browser, and what do you know, the pages needs to be reloaded again. Lucky you if you have unsaved form or email on that browser.
However, among the dark clouds there are a few ray of light that brighten the landscape a little bit though not enough...
Some apps are brilliant, like Air Video which solves my movie converting problem hands down elegantly
A1 and Atomic Web Browser that saves me from the awful browsing experience of Mobile Safari, and Backgrounder from the jailbreaking community that saves me from the insanity of reopening my document from scratch every time.
I have pretty much given up having the ipad as a photo and music hub, the process of connecting to itunes to transfer every single time puts me off it.
In the age of cloud and wireless synching, what does Apple do?
Bans it off the App store of course.
Here's Apple's philosophy for you:
We want you to live the way we tell you to, we know what's good for you...
Everybody else that threatens to give a credible alternative to what we provide you deserves to be destroyed with impunity
As long as it is shiny it is good...
iPad, hardly a magical and revolutionary device