Return-Path: From: Achim Bohnet To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] DHCPD and Bluetooth References: <004501c4383b$36b36950$80c8fea9@Perigee.Perigeellc.com> <200405122257.01637.pavouk@pavouk.org> <00e401c43867$ee3193f0$80c8fea9@Perigee.Perigeellc.com> In-Reply-To: <00e401c43867$ee3193f0$80c8fea9@Perigee.Perigeellc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <200405122347.25823.ach@mpe.mpg.de> Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 12 May 2004 23:47:25 +0200 On Wednesday 12 May 2004 23:27, Rob Taft wrote: > I think I'm almost there. > I noticed that it is not HW based after I posted. I saw in > /var/log/messages a message that occurred ever connection: > > May 12 17:01:20 SMED /etc/hotplug/net.agent: invoke ifup bnep0 > > So I went into the net.agent file and found this line that matched the > output: > > debug_mesg invoke ifup $INTERFACE > > I added more lines to that so now it looks like this: > > if [ -x /sbin/ifup ]; then > debug_mesg invoke ifup $INTERFACE > debug_mesg LALALALALALALALALALA #ADDED THIS > exec /sbin/ifup $INTERFACE ^^^^ remove this exec! > debug_message Attempting to restart dhcpd. #ADDED THIS > exec /etc/init.d/dhcpd restart #ADDED THIS > else > mesg "how do I bring interfaces up on this distro?" > fi > > I then restarted my entire system....and the 2nd 2 lines were never reached. > I added the LALALA line after and that appears in the logs...so I'm guessing > that "exec /sbin/ifup $INTERFACE" is causing the script to exit see man bash-builtins Achim > > > > > > ----- Original Message ----- > From: "Pavel Ruzicka" > To: > Cc: "Rob Taft" > Sent: Wednesday, May 12, 2004 4:57 PM > Subject: Re: [Bluez-users] DHCPD and Bluetooth > > > > Hello, > > > > > restart it. I don't think hotplug is what I am looking for since it is > > > hardware connection based. > > > > This is not only hardware connection based. When you try setup network > from > > remote device, that kernel call /sbin/hotplug with NET action. > > You can edit script "/etc/hotplug.d/default/default.hotplug" or other in > your > > distribution and uncomment line "DEBUG=yes export DEBUG". > > Later you can look in to log file for interesting messages ;-) > > In this case will be probably interesting script /etc/hotplug/net.agent. > > > > Best regards, > > > > Pavel Ruzicka > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Sleepycat Software > > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > > higher performing products faster, at low TCO. > > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > > _______________________________________________ > > Bluez-users mailing list > > Bluez-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bluez-users > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Bluez-users mailing list > Bluez-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-users > > > -- To me vi is Zen. To use vi is to practice zen. Every command is a koan. Profound to the user, unintelligible to the uninitiated. You discover truth everytime you use it. -- reddy@lion.austin.ibm.com ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users