Forcing static address in 12.04

Karl Auer kauer at
Thu Jun 11 00:06:48 UTC 2015

On Wed, 2015-06-10 at 15:25 -0700, rikona wrote:
> > OK - NetworkManager is NOT running. Good - makes things easier.
> How did this tell you NM is not running?

Because the only thing you saw with "NetworkManager" in it was the grep
process you were running to look for it.

> >            UP BROADCAST MULTICAST  MTU:1500  Metric:1
> In the eth0 paragraph, there is a line EXACTLY as you have it above.

Not so good. It needs to have "RUNNING" there as well.

> Those lines are not there. I even removed 2 comment lines to make what
> I have be EXACTLY the same format as what you suggested.

OK, that's a bit mystifying. But let's move on...

> booted with no net. Today the 'trying..' msg did not appear and boot
> was quicker. No idea why it is different.

Because this time DHCP managed to get an address, I'd say. How does the
ifconfig output look now?

> Today, when I ping I DO get a ping response, unlike
> before [the lines look like the above except for the .233 address].
> And a ping to also DOES give me a response. I reported earlier
> that the .233 did not work - the .8 didn't either but I didn't mention
> it.

Well, I'd say the network is working...

> but ping still gives

... but you don't have nameservers set up so it can't find "".

If you can ping then your network is DEFINITELY working. Add
nameserver entries to /etc/network/interfaces (in the eth0 section) and
see how you go. And do this:

   dig +short @
   ping <whatever address dig returns>

I have no idea what you did to resolve this, but you seem to have done

> All the GUI network tools are still missing though.

Try "sudo start network-manager" and see if network manager starts. You
may have to run nm-applet too. However, with the right stuff
in /etc/network/interfaces, you don't actually need Network Manager.

Please send us your current /etc/network/interfaces file, and (now that
you have access to the box) cut and paste the output from ifconfig as

Regards, K.

Karl Auer (kauer at

GPG fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
Old fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882

More information about the ubuntu-users mailing list