Re: Pre-down script?

2006-02-17 Thread Tim Niemueller
Dan Williams wrote: On Thu, 2006-02-16 at 22:06 +0100, Christian Güdel wrote: Not really. How exactly are you supposed to know that the connection is down before it _is_ actually down? The only case where you can know We can now in the case of receiving a sleep signal via dbus. If we shut

Re: Pre-down script?

2006-02-17 Thread Dan Williams
On Fri, 2006-02-17 at 09:52 +0100, Tim Niemueller wrote: Dan Williams wrote: On Thu, 2006-02-16 at 22:06 +0100, Christian Güdel wrote: Not really. How exactly are you supposed to know that the connection is down before it _is_ actually down? The only case where you can know We can

[patch] make NM survive D-BUS system bus restarts

2006-02-17 Thread Timo Hoenig
Hi, Currently NetworkManager does not recover once the D-BUS system bus is restarted. With the attached patch it will survive such a exceptional conditions. It does the following: * add function nm_dbus_reinit to src/NetworkManagerDbus.c. * fix: handle the signal Disconnected on

DBUS query question

2006-02-17 Thread Brian Millett
Hello, I'm looking at writing a script for the dispatcher to handle. I need to get from NetworkManager what the current active interface is. How can I query DBUS to get the active interface? Is that the correct way to do it? I guess an other question is where can I find docs on the api?

Re: [patch] make NM survive D-BUS system bus restarts

2006-02-17 Thread Dan Williams
On Fri, 2006-02-17 at 17:52 +0100, Timo Hoenig wrote: Hi, Currently NetworkManager does not recover once the D-BUS system bus is restarted. With the attached patch it will survive such a exceptional conditions. It does the following: * add function nm_dbus_reinit to

Re: DBUS query question

2006-02-17 Thread Dan Williams
On Fri, 2006-02-17 at 11:12 -0600, Brian Millett wrote: Hello, I'm looking at writing a script for the dispatcher to handle. I need to get from NetworkManager what the current active interface is. How can I query DBUS to get the active interface? Is that the correct way Grab the device

Re: DBUS query question

2006-02-17 Thread Brian Millett
On Fri, 2006-02-17 at 13:56 -0500, Dan Williams wrote: On Fri, 2006-02-17 at 11:12 -0600, Brian Millett wrote: Hello, I'm looking at writing a script for the dispatcher to handle. I need to get from NetworkManager what the current active interface is. How can I query DBUS to get the

NM api from python

2006-02-17 Thread Rémi Cardona
Hi all This question might also interest Brian Millett with his very recent thread about the NM api. I'm currently writing a python/glade interface to NM to try a different approach for the GUI. (I'm not 100% sure a notification icon is the best way to go, so I want to try something else

netgear wg511t - wireless network card

2006-02-17 Thread bruce
hi... i'm looking to create a dell/rhel laptop, using netgear's wg511t network card. i'm considering this card as it appears to be natively supported by rhel 4. is this correct? can someone tell me the actual steps (or point me to a site with the actual steps) to get the card up/running on the

Re: DBUS query question

2006-02-17 Thread Bill Moss
In the article at http://www.ces.clemson.edu/linux/nm.shtml I have scripts for starting and stopping firestarter using the Dispatcher. I also have a hack (iptables rules) for making firestarter work correctly with VPN. -- Bill Moss Professor, Mathematical Sciences Clemson University

Re: DBUS query question

2006-02-17 Thread Dan Williams
On Fri, 2006-02-17 at 14:03 -0600, Brian Millett wrote: On Fri, 2006-02-17 at 13:56 -0500, Dan Williams wrote: On Fri, 2006-02-17 at 11:12 -0600, Brian Millett wrote: Hello, I'm looking at writing a script for the dispatcher to handle. I need to get from NetworkManager what the

RE: netgear wg511t - wireless network card

2006-02-17 Thread bruce
ok but can someone point me to something that takes me through how to get a wireless card up/runing on linux, step-by-step and can someone explain to me why RHEL appears to have a list of cards/adapters, if it doesn't really natively support any cards that i can find for the box?

RE: netgear wg511t - wireless network card

2006-02-17 Thread bruce
hi axel... i checked out the link you provided and i'm still confused... here are the steps i think i need (but i still don't know which card to use!!) -do a uname -r and get the kernel for my system -go to the atrpms site and get the required rpm -install the rpm (is there only one rpm for

orinoco vs hostap

2006-02-17 Thread Mitch Smith
I'm still experimenting with NetworkManager (it has been a rather spotty effort as I am moving this month) and have noticed a curiosity that doesn't seem to have drawn any other comments when I search the list archives. I've got an IBM T-21 laptop with a Netgear MA401RA card. 2.6.15-1.1831_FC4 is

Re: orinoco vs hostap

2006-02-17 Thread Brian Millett
On 2/17/06, Mitch Smith [EMAIL PROTECTED] wrote: I'm still experimenting with NetworkManager (it has been a rather spottyeffort as I am moving this month) and have noticed a curiosity thatdoesn't seem to have drawn any other comments when I search the listarchives. I've got an IBM T-21 laptop with