Add

How to set up a static IP address on Ubuntu


After year update, the Network Manager crashed. In this Situation, The easyest way to set up a static IP address configuration is to edit the files myself. First, I have to remove the Network Manager.

sudo apt-get remove-purge network-manager

The first file to modify is / etc / network / interfaces:

sudo gedit / etc / network / interfaces


Now change eth0 with your setting. This is me:

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1

The second file to edit is / etc / resolv.conf. In this file you CAN set the name servers:

sudo gedit / etc / resolv.conf

This is my name servers:

nameserver 193.231.233.1
nameserver 193.226.98.2
nameserver 80.96.184.18

The last thing you have to do is to restart the networking:

sudo / etc / init.d / networking restart

The system should now using the setting Be Defined in the two edited files.

1 Star2 Stars3 Stars4 Stars5 Stars (15 votes, average: 5.00 out of 5)
Loading ... Loading ...

The Discussion

see what everyone is Saying

  • Top News August 23rd, 2010 at 12:27 # 1

    Nice info, i was looking for this topic

Respond

get in on the action.

Email *

Website

* Required

Rumanian flagItalian flagEnglish flagGerman flagFrench flagSpanish flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagSwedish flagNorwegian flagSerbian flagSlovenian flagUkrainian flagTurkish flagHungarian flag
By N2H

Random Posts Recent Comments

  • Gilgit Baltistan Says:

    good work here ...

  • Cromartie Haynes Says:

    I found the tutorial to Be concise and very helpful. I will be sure to recommend it to others. Than ...

  • admin Says:

    Amigo, Please formulated your question in english if you really need help! Cheers! ...

  • Mauricio Gonçalves Says:

    Boa tarde, I nao consigo Amigo add user novo Podere ajudar me? They pride nao é que a commando ...

  • Aniket Says:

    thanks ..................

  • Eitan Says:

    Thanks for sharing. This article is the most practicable for bind! Cheers, Eitan ...

  • Flossy Says:

    Zubao0 That's really thinking out of the box. Thanks! ...

  • Michael Esch Says:

    I used this tutorial to install Komodo Edit 6 on Ubuntu 10.10, I rate your tutorial 5/5 I hope that ...

  • admin Says:

    @ Dan I run applications created in Visual Basic and fox in the wine, so I would not be ...

  • dan Says:

    I want to tell me if a prg to count as Visual Basic running under Ubuntu with wine inscribed wonder ...

Tag Cloud