Re: [probably OT] how to switch between wired and wireless

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

 



On Friday 06 June 2003 10:13 am, John Haxby wrote:
> Jarod C. Wilson wrote:
> > On Friday, Jun 6, John Haxby wrote:
> > In the office, I have a different IP address and that's hardwired to the
> >
> >> same two MAC addresses.   There's a slight problem in moving from home
> >> to work and vice versa -- applications tend to read /etc/resolv.conf
> >> when they start up and use that to decide which name server to talk
> >> to.   Unfortunately, the name server at home isn't reachable from work
> >> and the name server at work doesn't do recursive queries from outside
> >> (and doesn't know about the private network at home).   The upshot of
> >> that is that I have to restart some applications (e.g. mozilla,
> >> rhn-applet-gui, nfs server) when I go from work to home or back again,
> >> and sometimes there's enough confusion that it's easier to reboot.
> >
> > This is one of the primary things that makes me think I want to stay
> > with my Mac OS X laptop for at least a while longer. If you have to
> > roam between several different networks, many of which are static
> > only, no DHCP, Linux (and Windows, for that matter) can be a real
> > PITA. Mac OS X still has the best damned setup for a laptop in these
> > kinds of situations. You set up a location profile, which contains
> > what interface to use, what gateway to use, what DNS servers to use,
> > DHCP or static, etc., and it is all shift on the fly from either the
> > control panel or the Location sub-menu of the Apple menu. Apple's the
> > only one that's got it right, so far. I sure would like to see such a
> > thing under Linux...
>
> It's slightly tricky.
>
> The first part is easy though -- neat allows you to have multiple
> profiles although I've not felt the near to try it just yet.
>
> The second part is slightly harder -- the resolver library needs to
> check to see if /etc/resolv.conf has changed and if it has, it needs to
> re-load it.
>

Not sure what you mean here.  If you change /etc/resolv.conf the result is 
immediately seen when a new program is run.  Do you mean that you also want 
an already running program to see the change?  (I'm not sure what the current 
behaviour is in this case).





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux