Friday, April 30, 2010

Quick Opera install in Linux

In my opinion Opera is a very light weight, no-nonsense software. While opinions may vary, here is a easy way to install Opera in your Ubuntu/ Debian system.

Open to edit the apt sources.list file
sudo nano /etc/apt/sources.list
add the opera repo in a new line
deb http://deb.opera.com/opera/ stable non-free
Add the Opera GPG key with the command (recommended)
wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
If you get authentication warnings, you may try (optional)
sudo apt-get install debian-archive-keyring
Run aptitude update
sudo apt-get update
Finally install Opera browser
sudo apt-get install opera

Tuesday, April 27, 2010

How to Set a Static IP in Linux Ubuntu Debian

We may require to configute a static IP address in our linux system. It is the easiest if you arterunning Ubuntu / debian distro.

Open up terminal and edit the 'interfaces' file in sudo mode
sudo nano /etc/network/interfaces

You would see the following lines
auto lo
iface lo inet loopback

replace the contents with the following:
auto lo eth0
iface lo inet loopback

iface eth0 inet static
address xxx.xxx.xxx.xxx(your static ip address)
netmask xxx.xxx.xxx.xxx(your network netmask)
gateway xxx.xxx.xxx.xxx(the gateway ip)

Save the file (Ctrl+O) and exit (Ctrl+X)

The ethusually the default network adapter. In a few cases it may be eth1.

I usually also change the nameservers to OpenDNS nameservers
sudo nano /etc/resolv.conf

replacing the contents with:
nameserver 208.67.222.222
nameserver 208.67.220.220

After that it is time to restart networking
sudo /etc/init.d/networking restart

Reboot your PC and check the ip with the command
ifconfig

Wednesday, April 14, 2010

Virtualbox Windows guest LAN Ethernet driver

In case you have a Windows guest in Virtualbox (Windows XP or Windows server), and the guest does not find the software of the Ethernet (LAN) card, you may download the drivers from here

AMD PCNet drivers

Intel PRO driver

You may download the drivers from the host OS, in a Shared Folder and install it from there.