Re: no-auto-default for all?



On Thu, 2010-06-17 at 15:03 -0400, Pat Suwalski wrote:
> Hi,
> 
> I was wondering if there was a way to apply something like 
> no-auto-default to all devices, where one config file would work for all 
> machines. Basically, I don't want to hardcode a MAC address.
> 
> This is nm 0.7.2. I effectively want the system settings daemon 
> disabled, as I'm dealing with hardware where the ethernet chips are USB, 
> and having them connect automatically is not acceptable.
> 
> Removing the .service file works, but seems a little drastic and causes 
> a lot of negative verbosity from NetworkManager.

If you're on a Red Hat or Fedora system, you can use "GATEWAYDEV=xxx"
in /etc/sysconfig/network which will cause NM to do what you want (since
none of the devices will match 'xxx' they won't get the default route).
Other distros don't really have this option.

Dan




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