Announcement

Collapse
No announcement yet.

11.10 resolv.conf

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    11.10 resolv.conf

    I just installed 11.10, and thereafter resolv.conf is apparently replaced by null on reboot by NetworkManager. Thus no name resolution after reboot until I manually re-enter nameservers in resolv.conf. I think I saw reference to this as a bug, does someone know if that's the case, and if there's a workaround?

    I did not have this problem with Kubuntu 11.04 or previous

    I note I'm configured for static IP on a private LAN, with a virtual bridge for a qemu/Windows7 virtual machine. See following:

    $ cat /etc/network/interfaces
    # 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

    # The primary network interface
    # auto eth0
    iface eth0 inet manual

    auto br0
    iface br0 inet static
    address 192.168.1.17
    network 192.168.1.0
    netmask 255.255.255.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0
    bridge_maxwait 0

    $ ifconfig
    br0 Link encap:Ethernet HWaddr 00:30:67:74:87:d1
    inet addr:192.168.1.17 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::230:67ff:fe74:87d1/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1038 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1218 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:582809 (582.8 KB) TX bytes:215138 (215.1 KB)

    eth0 Link encap:Ethernet HWaddr 00:30:67:74:87:d1
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1128 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1208 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:604865 (604.8 KB) TX bytes:214286 (214.2 KB)
    Interrupt:42 Base address:0x2000

    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:290 errors:0 dropped:0 overruns:0 frame:0
    TX packets:290 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:22420 (22.4 KB) TX bytes:22420 (22.4 KB)

    virbr0 Link encap:Ethernet HWaddr 2e:54:71:94:64:71
    inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)



    #2
    Re: 11.10 resolv.conf

    Network manager attempts to handle routes and nameservers by itself, thus the removal of data from resolv.conf

    If this is a desktop with a fixed connection, I recommend removing network manager and manually configuring your network.

    Please Read Me

    Comment

    Working...
    X