Return-Path: From: Richard Cox To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] Hotplug References: <200404101126.25631.conardcox@earthlink.net> <200404101747.11107.aben@webcom.sk> <1081613051.5398.1.camel@pegasus> In-Reply-To: <1081613051.5398.1.camel@pegasus> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200404101216.55544.rcox27@triad.rr.com> 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: Sat, 10 Apr 2004 12:16:55 -0400 On Saturday 10 April 2004 12:04 pm, Marcel Holtmann wrote: > Hi Aben, > > > > I'm trying to get bluez running on my gentoo linux server so I can > > > connect to my IPaq 2215. I've got a connection successfully > > > established, but I'm trying to automate it with hotplug in hopes of > > > setting up a NAP bridge. The docs I've found so far are rather unclear > > > on this subject, but I've created an '/etc/hotplug/bluetooth.agent' > > > script. Right now, I'm just trying to get hotplug to call that script > > > when a connection is established to automatically configure bnep0, but > > > it only seems to get called on startup when I reboot my kernel. I had > > > the impression that 'pand' would emit a hotplug event for bnep0 when a > > > connection is established, but I'm not so sure now. Any guidance about > > > how I might proceed. Thank you in advance for any information you may > > > provide. > > > > not bluetooth.agent, but net.agent. > > you need action after creating NET (bnep0) > > > > i have iPAQ4155 connected. > > read thread "No more bluez.o in 2.6?" > > I don't know anything about Gentoo, but for Debian you don't have to > touch net.agent. Simply put another rule into /etc/network/interfaces. > > Regards > > Marcel Marcel, Gentoo is somewhat similar. It does not have an /etc/network/interface, but the interfaces are configure in /etc/init.d and /etc/conf.d. There you create an /etc/init.d/net.bnep0 (which is identical to the net.ethx scripts) and put the iface info in /etc/conf.d/net. You are right that I didn't need to touch the net.agent script though. I never realized it was being called until Aben informed me. I will have to create a '/var/lock/subsys/network' lockfile somewhere, but at least bnep0 is being configured automatically now. Regards Richard ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users