Skip to main content

Network configuration in Ubuntu

Open the file /etc/network/interfaces in vi mode or in different editor

sudo vi /etc/network/interfaces

Do the following changes –

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.2.112
netmask 255.255.240.0
network 192.168.1.1
broadcast 192.168.1.1
gateway 192.168.1.1

Now open the resolv.conf to add DNS settings

sudo vi /etc/resolv.conf

Do the following changes ---

nameserver 192.168.2.112
search localdomain.com

You might need to remove dhcp-clinet3

sudo apt-get remove dhcp-client

Now restart the network

sudo /etc/init.d/networking restart

and also restart the network manager

sudo /etc/init.d/network-manager restart

Now ping www.google.com to check whether your connection is ready.



Comments

Popular posts from this blog

Experiencing Cryptographic Puzzle

I am a beginner in software testing. I had extreme curiosity about software testing. Now I am enjoying my work as a software tester.
Our team lead gave us a link of a puzzle http://www.testjutsu.com/one-for-the-puzzle-nerds

I am going to share my experience about it. In the first puzzle there were 46 characters with spaces. I calculate the frequency of both encoded and decoded message. Then I was looking at the hint to find out the key. I was looking at the triangle shape, after trying sometime I look over the hints. Then I concentrate the frequencies of the letter. I found that in the original message – “THE QUICK BROWN FOX JUMPED OVER THE LAZY DOG”, ‘S’ is missing and in the encoded message ‘Z’ is missing. This gave the clue and I assume ‘S’ as ‘Z’. Then I re-format the code with my idea – Offset= Position of ‘Z’ – Position of ‘S’. I found nothing interesting. Then I concentrate on finding two ‘THE’s. It was not caught by my eyes yet. Then I started writing the words with my formula…

Experience from the mentoring program of Vic ICT for Women

Victorian ICT for Women organizes a mentoring program every year. They offer people from ICT industry to register their interest as to be mentor or mentee or both. This is an great opportunity for the women in IT industry to build up their networking as well as refine their leadership skill.
This year I have attended the program as a mentee with great intend to find my mentor. From whom I can learn a lot about the prospectus of IT industry and of course who can guide me for a successful path in this era of competition.
At the very first time I was a bit nervous about attending the program but when I joined the event it went smoothly. I enjoyed the whole time I spent there, learned about many people, had a chance to talk with some successful professionals.
The program was very well organized. At first the organizing member introduced us with the organizers and described us about the program's aim. Before the program every registered member had been asked to list their preferred men…