Feb 26

McCain and Palin do their best Benny Lava impression to sway voters in November. Obviously a parody of the greatest Bollywood song/video ever–Kalluri Vaanil. This is for you, Prabhu Deva!

Feb 15

Step 1. You will need to find the following info about the network
1. Available IP Address
2. Network Netmask
3. Broadcast IP
4. Default Gateway

Step 2. Open /etc/network/interfaces:

$ sudo vim /etc/network/interfaces

Once there, we must find the network interface to be configured from a dynamic IP address to a static one. In this case it will be eth0:

auto eth0
iface eth0 inet dhcp

In the above example we can see that the interface eth0 is configured for dhcp (dynamic address). To change to static IP address configuration we must set the following:

auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
nerwork 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254

Finally, we need to restart the networking services:

$ sudo /etc/init.d/networking restart

Set OpenDNS as your DNS server

Step 1. Open the resolv.conf file

sudo vim /etc/resolv.conf

Once Open comment out whatever name server is already there. More than likely these are DNS Servers provided to you by your ISP, and are thus worthless.  After commenting out the old DNS server address, append the following two lines of text.

nameserver 208.67.222.222
nameserver 208.67.220.220

Now just save and quit, you are done.

Feb 15

I found this on Mexpolk’s Howtos

Step 1

First, you need to create an account with DynDNS to do so follow this howto: https://www.dyndns.com/services/dns/dyndns/howto.html.

Step 2

First we’ll install ssh and ssh-socket so we can send our DynDNS user and password encrypted instead clear text:

$ sudo apt-get install ssh libio-socket-ssl-perl

Step 3

Install ddclient:

$ sudo apt-get install ddclient

Step 4

The installation will prompt you some questions. For the first one it ask for your dynamic DNS provider, select www.dyndns.com:

ddclient01
Then, put your fully qualified domain name(s):

ddclient02
Now, your DynDNS requistered username and password:

dcclient03ddclient04

And finally, type “web” as the DynDNS interface to use:

ddclient05
Ok, so long we’ve finished installing ddclient but there’s still more work to do in order to get it working properly.

Step 5

We, need to change the ddclient configuration file (/etc/ddclient.conf) in order to use ssh to send the username and password, and to properly check the IP adrress. From the command line open ddclient configuration:

$ sudo vim /etc/ddclient.conf

This will open up the configuration file. We will be changing “use=if, if=web” in Step 6


# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

pid=/var/run/ddclient.pid
protocol=dyndns2
use=if, if=web
server=members.dyndns.org
login=username
password=’password
your-host-name.dyndns.org

Step 6

We need to change the configuration so ddclient get our public IP address properly, and to send our username and password over ssh.

DynDNS has a web interface to get your public IP address, this is equivalent to manually invoking http://checkip.dyndns.com/. But we need to properly configure this interface, so change the line use=if, if=web for the following:

use=web, web=checkip.dyndns.com/, web-skip='IP Address'

Second, add to your configuration file just below the initial comments the following:

ssl=yes
daemon=300

The above two lines tells ddclient to use ssl for its connection and to update your public IP address every 5 minutes (specified in seconds).

Step 7

Now, we must make sure that ddclient is set to run as a deamon. Edit /etc/default/ddclient:

$ sudo vim /etc/default/ddclient

And make sure that:


# Configuration for ddclient scripts
# generated from debconf on Tue Jan 29 20:23:32 CST 2008
#
# /etc/default/ddclient

# Set to “true” if ddclient should be run every time a new ppp connection is
# established. This might be useful, if you are using dial-on-demand
run_ipup=”false”

# Set to “true” if ddclient should run in daemon mode
run_daemon=”true”

# Set the time interval between the updates of the dynamic DNS name in seconds.
# This option only takes effect if the ddclient runs in daemon mode.
daemon_interval=”300″

Step 8

Finally, restart your ddclient and if no error is printed you’re good to go:
sudo /etc/init.d/ddclient restart

Port Forwarding

In order to deliver services on the net, you must open the corresponding ports for the services that your computer/server will provide, this is called Port Forwarding. Unfortunately this howto does not cover that topic. To do so you can visit http://www.portforward.com/routers.htm, where you can read how to port forwarding for your specific model of modem/router.

Feb 13

Feb 12
  1. local$ ssh-keygen -t dsa
    just press enter to all three questions, leave all questions blank
  2. local$ scp ~/.ssh/id_dsa.pub remote.user@remote.server:/home/remote_user/
  3. local$ ssh remote.user@remote.server
  4. remote_server$ touch ~/.ssh/authorized_keys
    ONLY Run this command only if your authorized_keys DOES NOT exist
  5. remote_server$ cat ~/id_dsa.pub >> ~/.ssh/authorized_keys
  6. remote_server$ exit
  7. local$ ssh remote_user@remote_server
    You should login with no password prompt
Feb 12


Cars and motorcycle videos

Feb 1

The world’s most expensive burger – flame grilled Wagyu Beef, topped with white truffles in an Iranian saffron and truffle bun – is to go on sale at a fast food restaurant. Burger King’s £95 (Approx. $200 USD) sandwich, named simply The Burger, will make Guinness World Record history beating a similarly extravagant American Double Truffle Burger which cost just £65 in 1994.

The world’s most succulent Japanese beef is complemented with white truffles, onion tempura prepared in Cristal champagne and Italy’s finest Pata Negra prosciutto

Restaurant critics have dismissed the burger as just the latest stunt in a marketing craze which has seen Selfridges charge £85 for a sandwich and Peter Jones, the Sloane Square department store, ask £50 for a cup of coffee pre-digested by a Civet cat.