Re: Auto network reconfiguring causes DNS lookup to fail
On Sun, Nov 13, 2011 at 05:13:54PM +0000, Brian wrote:
> On Sun 13 Nov 2011 at 05:29:50 -1000, Joel Roth wrote:
>
> > My laptop's wlan1 interface is connected to a wireless
> > router, using wpa_supplicant (via wpa_gui).
>
> You don't use NM as well, do you?
Correct, if by NM you mean Gnome (or perhaps KDE) network manager.
> > Every few minutes, DNS lookup fails. Output of ifconfig
> > shows that eth1 and eth1:avahi interfaces have come up.
>
> May we see the output of ifconfig and your interfaces file in
> /etc/network?
ifconfig (DNS queries, i.e. "dig google.com" fails - no
servers could be reached)
eth1 Link encap:Ethernet HWaddr f0:de:f1:19:e6:be
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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:20 Memory:f2600000-f2620000
eth1:avahi Link encap:Ethernet HWaddr f0:de:f1:19:e6:be
inet addr:169.254.11.90 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:20 Memory:f2600000-f2620000
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:45292 errors:0 dropped:0 overruns:0 frame:0
TX packets:45292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4076447 (3.8 MiB) TX bytes:4076447 (3.8 MiB)
wlan1 Link encap:Ethernet HWaddr 1c:65:9d:63:33:6e
inet addr:10.255.25.105 Bcast:10.255.25.255 Mask:255.255.255.0
inet6 addr: fe80::1e65:9dff:fe63:336e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74266 errors:0 dropped:0 overruns:0 frame:0
TX packets:19919 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27828234 (26.5 MiB) TX bytes:3603772 (3.4 MiB)
Interrupt:17 Memory:ffffc90023668000-ffffc90023668100
DNS queries work after bringing down eth1 (and with it eth1:avahi)
/etc/network/interfaces, and re-issuing "dhclient wlan1".
auto lo
iface lo inet loopback
> Do you use avahi for anything?
Not that I know of. I never deliberately installed it;
it got pulled in during an upgrade.
Regards,
Joel
--
Joel Roth
Reply to: