← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #77888]: ifconfig wrong in jaunty

 

Question #77888 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/77888

    Status: Open => Answered

actionparsnip proposed the following answer:
Weird, that is resolving http://archive.ubuntu.com to 127.0.0.1
(localhost)

The network specification you show above looks great. If you use static
IP i can suggest you populate /etc/network/interfaces and ditch network
manager. If you populate the file, it will superceded any settings in
network manager.

Here is mine on my wired network portion:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
broadcast 192.168.0.255
network 192.168.0.0

DNS servers are specified in /etc/resolv.conf and will need populating
if you use static IP. Here is mine:

andy@fileserver:~$ cat /etc/resolv.conf 
nameserver 127.0.0.1
nameserver 194.168.4.100
nameserver 194.168.8.100

I run a local DNS to speed up web browsing (I use dnsmasq)

Hope this helps some

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.