From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-users] NAP problem From: Marcel Holtmann To: Jose Angel Rodriguez Cc: BlueZ Mailing List In-Reply-To: <409C1B27.1050205@telefonica.net> References: <409B756D.6000705@telefonica.net> <1083946390.4420.120.camel@pegasus> <409C1B27.1050205@telefonica.net> Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <1083972662.4420.156.camel@pegasus> Mime-Version: 1.0 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, 08 May 2004 01:31:02 +0200 Hi Jose, > >>I hava a Debian Sarge PC as a NAP for a bluetooth network. The comput= er=20 > >>is also connected to an ADSL. > >> > >>This is my etc/network/interfaces file: > >># /etc/network/interfaces -- configuration file for ifup(8), ifdown(8= ) > >> > >># The loopback interface > >>auto lo > >>iface lo inet loopback > >> > >># The first network card - this entry was created during the Debian=20 > >>installation# (network, broadcast and gateway are optional) > >>auto eth0 > >>iface eth0 inet static > >> address 192.168.0.2 > >> netmask 255.255.255.0 > >> network 192.168.0.0 > >> broadcast 192.168.0.255 > >> gateway 192.168.0.1 > >> > >># bluetooth network server > >>iface bnep0 inet static > >> address 10.0.0.1 > >> netmask 255.255.255.0 > >> > >>eth0 is the ADSL connection an bnep0 is the bluetooth connection. > >> > >>My /etc/bluetooth/pan/dev-up file: > >>#!/bin/sh > >>ifup bnep0 > >> > >>I think everytime a client connects it runs /etc/bluetooth/pan/dev-up= .=20 > >>Everything was working fine, but after updating packages with apt-get= =20 > >>everytime a client connects I have to configure bnep0 interface by ha= nd=20 > >>(ifup bnep0). > >> > >>=BFDoes anybody know why /etc/bluetooth/pan/dev-up does not work now?= =BFHow=20 > >>can I configure bnep0 interface automaticaly? > >> =20 > >> > > > >what about putting "auto bnep0" into the interfaces file ;) > > > I tried this but it doesn't work. It was working fine with this=20 > interfaces file, but now :-( my fault, the auto is for the boot time. You don't need any extra stuff and you also don't need any PAN dev-up script. Check your hotplug installation why it is not working. It is not a BlueZ problem. > =BFShould /etc/bluetooth/pan/dev-up run everytime a client connects? If= I=20 > run that scrip manualy everythig works fine. I don't know, because I never used it. Regards Marcel ------------------------------------------------------- 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