static IP address assignment does not work in Ibex Alpha 4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
resolvconf (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: resolvconf
I have five hosts connected to a conventional Linksys router, some by wireless, some by Ethernet. In order that I can use fixed host names rather than IP addresses, I have configured them as static IP addresses.
On my main box, running Intrepid Ibex Alpha 4, completely updated 1-2x daily, this is my /etc/network/
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# stanza added to configure Xenophon with static IP address, 20080602 1240
iface eth0 inet static
address 192.168.111.2
netmask 255.255.255.0
network 192.168.111.0
broadcast 192.168.111.255
gateway 192.168.111.1
However, the box came up with an address assigned by the DHCP server on the router. When I took down the interface on the client and brought it back up again, the following error was reported in resolvconf:
bruce@Xenophon:
[sudo] password for bruce:
bruce@Xenophon:
root@Xenophon:
ifdown: interface eth0 not configured
root@Xenophon:
* Reconfiguring network interfaces... [ OK ]
root@Xenophon:
root@Xenophon:
/etc/resolvconf
/etc/resolvconf
^^^^^^^
grep: /etc/network/
^^^^^^^
[: 164: 0: unexpected operator
^^^^^^^
root@Xenophon:
...done.
root@Xenophon:
...done.
root@Xenophon:
eth0 Link encap:Ethernet HWaddr 00:1d:60:9a:6d:92
inet addr:192.168.111.2 Bcast:192.
inet6 addr: fe80::21d:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:126366 errors:0 dropped:0 overruns:0 frame:0
TX packets:125004 errors:0 dropped:0 overruns:0 carrier:2
RX bytes:81698660 (81.6 MB) TX bytes:119547051 (119.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:23544 errors:0 dropped:0 overruns:0 frame:0
TX packets:23544 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:9313128 (9.3 MB) TX bytes:9313128 (9.3 MB)
root@Xenophon:
For what it's worth, I had the exact same problem and creating /etc/network/ run/ifstate (and so the /etc/network/run/ directory) "fixed" it.