[maemo-developers] [maemo-developers] Hooking into wifi events (up/down)

From: Brad Burleson bradb667 at gmail.com
Date: Mon Jul 24 08:56:56 EEST 2006
All-

I thought this was more a debian problem, but I'm stumped.  I want to run a
script each time the 770 connects and disconnects to/from the 'net.

I setup a script in /etc/network/if-up.d and /etc/network/if-down.d and it
works as expected when I connect via bluetooth and an EDGE phone.  But when
I connect via wifi, nothing happens.

So, I tried editing /etc/network/interfaces to add an "up" "down" entry ala:

iface eth0 inet dhcp
  up /etc/init.d/foo start
  down /etc/init.d/foo stop

Still nothing happens.  What am I missing?

Thanks,

Brad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060723/35e3c3d8/attachment.htm 
More information about the maemo-developers mailing list