Forcing static address in 12.04

Karl Auer kauer at biplane.com.au
Wed Jun 10 00:28:20 UTC 2015


On Tue, 2015-06-09 at 14:43 -0700, rikona wrote:
> 2532 pts/0 S+ 0:00 grep --color=auto  NetworkManager

OK - NetworkManager is NOT running. Good - makes things easier.

> >    sudo ifup eth0
> 
> RTNETLINK ANSWERS: File exists
> Failed to bring up eth0.

Good - looks like eth0 might already be ready and running. Does it show
up in "ifconfig"? If it does, can you send us the line that looks like
this (some words may be missing):

           UP BROADCAST MULTICAST  MTU:1500  Metric:1

> >    ping -c 4 192.168.144.8
> got it

What does "got it" mean? That you saw ping responses? Please tell us
what the responses were (one is enough if they were all very similar).

If you did get ping responses that is good news, it means that the
interface is basically working.

> >    ping -c 4 1.2.3.4
> with 192.168.144.233:
> do you want to ping broadcast? Then -b

This suggests that you left those incorrect "broadcast" and "network"
entries in /etc/network/interfaces. If so, make sure
that /etc/network/interfaces contains only the lines I supplied, and try
again.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

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