Return-Path: Message-ID: <320075ff040928064645f3c7b0@mail.gmail.com> From: Nigel Magnay Reply-To: Nigel Magnay To: Peter Stephenson Subject: Re: [Bluez-users] ipaq 1945 Cc: bluez-users@lists.sourceforge.net In-Reply-To: <200409281319.i8SDJkQt011868@news01.csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII References: <320075ff040925153753850d92@mail.gmail.com> <1096153758.7719.12.camel@pegasus> <320075ff040926011212538dac@mail.gmail.com> <003001c4a3ba$d064fba0$8696a8c0@marcy> <320075ff0409270050bbaf228@mail.gmail.com> <1096371841.4950.5.camel@notepaq> <320075ff04092805251ce925e6@mail.gmail.com> <200409281319.i8SDJkQt011868@news01.csr.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: Tue, 28 Sep 2004 14:46:17 +0100 It seemed to be something similar: I think I have it solved - The guide tells you you need to # brctl addif pan0 eth0 but for me I also need to # ifconfig eth0 0.0.0.0 # ifconfig pan0 192.168.1.55 # ifconfig pan0 up It was quite obvious once I realised how bridging must work! I have it all woring but unrelatedly my box crashes in the bnep driver when the device disconnects... I get this on the console : Debug: sleeping function called from invalid context ad include/asm/semaphore.h:119 in_atomic():1, irqs_disabled():0 __night_sleep+ sysfs_hash_and_remove br_sysfs_removeif br_del_if br_device_event notifier_call_chain unregister_netdevice+0x170/0x2ac unregister_netdev+0x18/0x30 bnep_session+0x7ab/0x860 [bnep] schedule_tail+0x1e/0x70 ret_from_fork+0x6/0x14 default_wake_function+0x0/0x20 bnep_session+0x0/0x860 [bnep] kernel_thread_helper+0x5/0x14 I suspect it's a problem with the bnep module rather than anything specific to the BlueZ stack.. On Tue, 28 Sep 2004 14:19:45 +0100, Peter Stephenson wrote: > Nigel Magnay wrote: > > I had thought I could bridge the interfaces, but I have tried lots of > > things like > > brctl addbr br0 > > brctl addif br0 eth0 > > brctl addif br0 bnep0 > > > > but that just leads to aggravating things like the linux box dropping > > off the network altogether .. > > The particular problem I had when I tried this a while ago now was that > you need to be careful to use br0 as the interface anywhere you would > normally use eth0 or bnep0. So for example if you're using DHCP you > need to run it on br0 to give the IP address to that, or packets won't > get routed properly (the Ethernet and IP routes aren't consistent). And > so on. > > This may be completely irrelevant and my memory is a bit faded. > > pws > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > www.mimesweeper.com > ********************************************************************** > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Bluez-users mailing list > Bluez-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-users > ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users