Re: /etc/netstart diff

2012-02-20 Thread Brett
> Apart from that, there's a number of places where a different wifi > configuration is necessary, call them /etc/hostname.athn0.apX. > > Being at one of these places, typing "sh /etc/netstart athn0.apX" > suffices to have a working setup. > Another way is to have a different command for each p

Re: /etc/netstart diff

2012-02-20 Thread Markus
On Fri, 17 14:18 , Stuart Henderson wrote: > I only see this as being marginally useful as-is. Why would you > want to configure every network interface individually? You might > as well just use a separate script in that case. The use case is to have a default configuration of a wireless interfa

Re: /etc/netstart diff

2012-02-17 Thread Stuart Henderson
On 2012-02-16, Markus wrote: > On Thu, 16 16:53 , Jan Stary wrote: >> > > What's the >> > > advantage over symlinking /etc/hostname.athn0 appropriately, if you want >> > > to use netstart? >> > >> > It's easier to issue a "sh /etc/netstart athn0.home" on the >> > commandline than unlinking and r

Re: /etc/netstart diff

2012-02-16 Thread Markus
On Thu, 16 16:53 , Jan Stary wrote: > > > What's the > > > advantage over symlinking /etc/hostname.athn0 appropriately, if you want > > > to use netstart? > > > > It's easier to issue a "sh /etc/netstart athn0.home" on the > > commandline than unlinking and relinking files before calling > > nets

Re: /etc/netstart diff

2012-02-16 Thread Jan Stary
On Feb 16 15:16:51, Markus wrote: > On Thu, 16 13:03 , Joachim Schipper wrote: > > > > I'm sorry, but how does this work? It reads as if netstart now > > recognizes /etc/hostname.athn0.home as an alternative to > > /etc/hostname.athn0, but how does it figure out whether to use > > /etc/hostname.a

Re: /etc/netstart diff

2012-02-16 Thread Markus
On Thu, 16 13:03 , Joachim Schipper wrote: > > I'm sorry, but how does this work? It reads as if netstart now > recognizes /etc/hostname.athn0.home as an alternative to > /etc/hostname.athn0, but how does it figure out whether to use > /etc/hostname.athn0.home or /etc/hostname.athn0.work? The i

Re: /etc/netstart diff

2012-02-16 Thread Joachim Schipper
On Thu, Feb 16, 2012 at 11:49:03AM +0100, Markus wrote: > occasionally I'm in the situation where having multiple > configurations for a single network interface are handy to have. > Most seamlessly, [multiple wifi networks] could be handled by using an > arbitrary extension to the hostname.if fil

/etc/netstart diff

2012-02-16 Thread Markus
Hi list, occasionally I'm in the situation where having multiple configurations for a single network interface are handy to have. Admittedly, this doesn't affect servers as much as notebooks, where using severals wifi nets/logins is the average case. Most seamlessly, this could be handled by usi