Re: Execute script when connecting
- From: Dan Williams <dcbw redhat com>
- To: Magnus Ottosson <magnus grand1982 com>
- Cc: networkmanager-list gnome org
- Subject: Re: Execute script when connecting
- Date: Thu, 29 Sep 2005 11:05:35 -0400
On Thu, 2005-09-29 at 09:23 +0200, Magnus Ottosson wrote:
> Hi!
>
> I'm running NM on my laptop and it seems to work very well. When I'm in
> school I have to login to the network. I have written a script that
> checks if I'm at school and automaticly logs me in. Is there a way that
> I can configure network manager to run this script once it has connected
> to either a wireless network or when I connect a network cable?
NetworkManagerDispatcher is probably what you're after. It listens to
NM's signals and will execute scripts in /etc/NetworkManager.d when
adapters go up and down. Its in the "dispatcher-daemon" directory in
the NetworkManager source. I'm not sure if the Fedora RPMs install it,
but we could.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]