[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Auto network reconfiguring causes DNS lookup to fail

On Sun, Nov 13, 2011 at 05:29:50AM -1000, Joel Roth wrote:
> Hi,
> My laptop's wlan1 interface is connected to a wireless
> router, using wpa_supplicant (via wpa_gui).
> Every few minutes, DNS lookup fails. Output of ifconfig
> shows that eth1 and eth1:avahi interfaces have come up.
> Output of route shows that eth1 entries have been added to
> the routing table.
>     Kernel IP routing table
>     Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>     *        U     0      0        0 wlan1
>     link-local      *          U     0      0        0 eth1
>     default         UG    0      0        0 wlan1
>     default         *              U     1002   0        0 eth1
> I can get connectivity by issuing
>     ifconfig eth1 down
>     dhclient wlan1

I just discovered that my issuing this command multiple
times causes multiple versions of dhclient to remain
running on my system.

Perhaps it is related to this problem. As of yesterday
(without avahi-daemon and without avahi-apd) I discovered
that I was losing ability to resolve addresses after
a short time. Killing the multiple dhclient processes
seemed to resolve the problem.

Is there any benefit to dhclient remaining running?
Why wouldn't I always want to use the -x flag, telling
dhclient to exit?




Joel Roth

Reply to: