Re: devd/devctl

2003-09-15 Thread Nik Clayton
On Friday, September 12, 2003, at 06:26 pm, Suleiman Souhlal wrote: I was wondering if it would be a good idea to modify devd and devctl for them to handle other events than attaching and detaching devices.. For example, they could be used to mark a network interface as down, when the network

Re: devd/devctl

2003-09-14 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Brandon S. Allbery KF8NH [EMAIL PROTECTED] writes: : On Sat, 2003-09-13 at 18:49, M. Warner Losh wrote: : and you cannot tell dhclient that interfaces have arrived. : : dhclient(8) seems to think otherwise, although it doesn't explain quite : how (I

Re: devd/devctl

2003-09-13 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Suleiman Souhlal [EMAIL PROTECTED] writes: : I was wondering if it would be a good idea to modify devd and : devctl for them to handle other events than attaching and detaching : devices.. For example, they could be used to mark a network : interface as

Re: devd/devctl

2003-09-13 Thread Doug Barton
On Sat, 13 Sep 2003, M. Warner Losh wrote: Yes. that has been the plan for some time now. However, dhclient is really lame in a lot of ways. Martin Blapp has made it a lot better of lates. In geral, I tend to believe that I shouldn't fix bugs in dhclient with devd things. However, a more

Re: devd/devctl

2003-09-13 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Doug Barton [EMAIL PROTECTED] writes: : That functionality is being ported back to the vendor, if it hasn't been : already. If we want really cool whizbang features that are more specific : to us, we _should_ be looking at stuff like devd. The trick is

Re: devd/devctl

2003-09-13 Thread Doug Barton
On Sat, 13 Sep 2003, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Doug Barton [EMAIL PROTECTED] writes: : That functionality is being ported back to the vendor, if it hasn't been : already. If we want really cool whizbang features that are more specific : to us, we

Re: devd/devctl

2003-09-13 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Doug Barton [EMAIL PROTECTED] writes: : On Sat, 13 Sep 2003, M. Warner Losh wrote: : : In message: [EMAIL PROTECTED] : Doug Barton [EMAIL PROTECTED] writes: : : That functionality is being ported back to the vendor, if it hasn't been : :

Re: devd/devctl

2003-09-13 Thread Brandon S. Allbery KF8NH
On Sat, 2003-09-13 at 18:49, M. Warner Losh wrote: and you cannot tell dhclient that interfaces have arrived. dhclient(8) seems to think otherwise, although it doesn't explain quite how (I assume it wants you to pause and resume via OMAPI/omshell(8) since it doesn't appear to support interface

Re: devd/devctl

2003-09-13 Thread Bruce M Simpson
On Sat, Sep 13, 2003 at 06:59:21PM -0400, Brandon S. Allbery KF8NH wrote: On Sat, 2003-09-13 at 18:49, M. Warner Losh wrote: and you cannot tell dhclient that interfaces have arrived. One way for it to tell that this has happened automatically is to get it to listen on a PF_ROUTE socket and

devd/devctl

2003-09-12 Thread Suleiman Souhlal
Hello all, I was wondering if it would be a good idea to modify devd and devctl for them to handle other events than attaching and detaching devices.. For example, they could be used to mark a network interface as down, when the network cable is pulled out, and run dhclient when it is