Re: Ubuntu 6.10 - run script before connecting



On Wed, 2006-12-06 at 16:59 -0500, Brian Eaton wrote:
> On 12/6/06, Dan Williams <dcbw redhat com> wrote:
> > On Wed, 2006-12-06 at 18:28 +0100, Dominik Geisel wrote:
> > > I use network-manager-gnome with Ubuntu 6.10 and would like to run
> > > some scripts like
> > >
> > > iwpriv ath0 mode 3
> > > iwpriv burst 1
> > > iwpriv bgscan 0
> > >
> > > automatically before it network-manager connects to a wlan. Where
> > > should I put these commands, does network-manager have a special
> > > config file for this purpose?
> >
> > You cannot do this sort of thing at this time.
> 
> Would scripts in the NetworkManager/dispatcher.d directory let you get close?

They are executed _after_ the connection has successfully been brought
up, and _after_ the connection has been torn down.  There is no way to
insert commands in the middle.

Dan





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