public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] ipaq 1945
@ 2004-09-25 22:37 Nigel Magnay
  2004-09-25 23:09 ` Marcel Holtmann
  0 siblings, 1 reply; 14+ messages in thread
From: Nigel Magnay @ 2004-09-25 22:37 UTC (permalink / raw)
  To: bluez-users

Hi there

I'm having a bit of trouble. I'm using kernel 2.6.8.1, and I'm trying
to get my iPaq 1945 to be able to connect via bluetooth to the
internet, though to start with I'm just trying to get it to connect to
the host computer.

I think everything is working correctly - I have the stack up and
running, I can get my bnep0 interface up, and assign it an ip address
- e.g. 192.168.1.56. I can then ping that address from linux, and I
can browse it as an internet connection on my ipaq, and connect to it.

Problem is, neither IE nor Pocket puTTY can use the connection (I try
to ssh to 192.168.1.55, my linux box). I don't know if I'm just
missing something, but I've read all the guides and I'm just confused
as to whether I'm trying something that isn't possible.

Has anyone got some pointers for me?

tia,
Nigel


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-25 22:37 Nigel Magnay
@ 2004-09-25 23:09 ` Marcel Holtmann
  2004-09-26  8:12   ` Nigel Magnay
  0 siblings, 1 reply; 14+ messages in thread
From: Marcel Holtmann @ 2004-09-25 23:09 UTC (permalink / raw)
  To: Nigel Magnay; +Cc: BlueZ Mailing List

Hi Nigel,

> I'm having a bit of trouble. I'm using kernel 2.6.8.1, and I'm trying
> to get my iPaq 1945 to be able to connect via bluetooth to the
> internet, though to start with I'm just trying to get it to connect to
> the host computer.
> 
> I think everything is working correctly - I have the stack up and
> running, I can get my bnep0 interface up, and assign it an ip address
> - e.g. 192.168.1.56. I can then ping that address from linux, and I
> can browse it as an internet connection on my ipaq, and connect to it.
> 
> Problem is, neither IE nor Pocket puTTY can use the connection (I try
> to ssh to 192.168.1.55, my linux box). I don't know if I'm just
> missing something, but I've read all the guides and I'm just confused
> as to whether I'm trying something that isn't possible.

what kernel version do you use on your Linux machine?

Regards

Marcel




-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-25 23:09 ` Marcel Holtmann
@ 2004-09-26  8:12   ` Nigel Magnay
  2004-09-26  8:28     ` Marcel Holtmann
  2004-09-26 11:20     ` Wolfgang
  0 siblings, 2 replies; 14+ messages in thread
From: Nigel Magnay @ 2004-09-26  8:12 UTC (permalink / raw)
  To: Marcel Holtmann, bluez-users

it's 2.6.8.1, built on FC2


On Sun, 26 Sep 2004 01:09:18 +0200, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Nigel,
> 
> 
> 
> > I'm having a bit of trouble. I'm using kernel 2.6.8.1, and I'm trying
> > to get my iPaq 1945 to be able to connect via bluetooth to the
> > internet, though to start with I'm just trying to get it to connect to
> > the host computer.
> >
> > I think everything is working correctly - I have the stack up and
> > running, I can get my bnep0 interface up, and assign it an ip address
> > - e.g. 192.168.1.56. I can then ping that address from linux, and I
> > can browse it as an internet connection on my ipaq, and connect to it.
> >
> > Problem is, neither IE nor Pocket puTTY can use the connection (I try
> > to ssh to 192.168.1.55, my linux box). I don't know if I'm just
> > missing something, but I've read all the guides and I'm just confused
> > as to whether I'm trying something that isn't possible.
> 
> what kernel version do you use on your Linux machine?
> 
> Regards
> 
> Marcel
> 
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-26  8:12   ` Nigel Magnay
@ 2004-09-26  8:28     ` Marcel Holtmann
  2004-09-26 12:44       ` Nigel Magnay
  2004-09-26 11:20     ` Wolfgang
  1 sibling, 1 reply; 14+ messages in thread
From: Marcel Holtmann @ 2004-09-26  8:28 UTC (permalink / raw)
  To: Nigel Magnay; +Cc: BlueZ Mailing List

Hi Nigel,

> it's 2.6.8.1, built on FC2

my bad, was too late yesterday. What operating system is on the iPAQ
1945? Run a "hcidump -x" as root on your Linux machine. Did a previous
kernel worked?

Regards

Marcel




-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-26  8:12   ` Nigel Magnay
  2004-09-26  8:28     ` Marcel Holtmann
@ 2004-09-26 11:20     ` Wolfgang
  2004-09-27  7:50       ` Nigel Magnay
  1 sibling, 1 reply; 14+ messages in thread
From: Wolfgang @ 2004-09-26 11:20 UTC (permalink / raw)
  To: Nigel Magnay, bluez-users

Just a non-technical idea:

It took me two nights to find out that SuSE has a
running firewall and every new interface like bnep0 *is*
protected.....

Wood



----- Original Message -----
From: "Nigel Magnay" <nigel.magnay@gmail.com>
To: "Marcel Holtmann" <marcel@holtmann.org>;
<bluez-users@lists.sourceforge.net>
Sent: Sunday, September 26, 2004 10:12 AM
Subject: Re: [Bluez-users] ipaq 1945


> it's 2.6.8.1, built on FC2
>
>
> On Sun, 26 Sep 2004 01:09:18 +0200, Marcel Holtmann <marcel@holtmann.org>
wrote:
> > Hi Nigel,
> >
> >
> >
> > > I'm having a bit of trouble. I'm using kernel 2.6.8.1, and I'm trying
> > > to get my iPaq 1945 to be able to connect via bluetooth to the
> > > internet, though to start with I'm just trying to get it to connect to
> > > the host computer.
> > >
> > > I think everything is working correctly - I have the stack up and
> > > running, I can get my bnep0 interface up, and assign it an ip address
> > > - e.g. 192.168.1.56. I can then ping that address from linux, and I
> > > can browse it as an internet connection on my ipaq, and connect to it.
> > >
> > > Problem is, neither IE nor Pocket puTTY can use the connection (I try
> > > to ssh to 192.168.1.55, my linux box). I don't know if I'm just
> > > missing something, but I've read all the guides and I'm just confused
> > > as to whether I'm trying something that isn't possible.
> >
> > what kernel version do you use on your Linux machine?
> >
> > Regards
> >
> > Marcel
> >
> >
>
>
> -------------------------------------------------------
> 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-26  8:28     ` Marcel Holtmann
@ 2004-09-26 12:44       ` Nigel Magnay
  0 siblings, 0 replies; 14+ messages in thread
From: Nigel Magnay @ 2004-09-26 12:44 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

I get this when the iPAQ connects - this is before I assign an IP to
the bnep0 interface though

HCIDump - HCI packet analyzer ver 1.12
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
  79 AF 80 3E 04 00 10 01 12 01
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
  79 AF 80 3E 04 00 00
> HCI Event: Command Status (0x0f) plen 4
  00 01 09 04
> HCI Event: Link Key Request (0x17) plen 6
  79 AF 80 3E 04 00
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
  79 AF 80 3E 04 00 C2 A3 81 7E E7 06 52 8D 9D 8F 91 5C FF 3A
  90 8A
> HCI Event: Role Change (0x12) plen 8
  00 79 AF 80 3E 04 00 00
> HCI Event: Command Complete (0x0e) plen 10
  01 0B 04 00 79 AF 80 3E 04 00
> HCI Event: Connect Complete (0x03) plen 11
  00 28 00 79 AF 80 3E 04 00 01 01
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
  28 00 0F 00
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
  79 AF 80 3E 04 00 01
> HCI Event: Command Complete (0x0e) plen 6
  01 0D 08 00 28 00
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
  28 00 18 CC
> HCI Event: Max Slots Change (0x1b) plen 3
  28 00 05
> HCI Event: Command Status (0x0f) plen 4
  00 01 0F 04
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
  00 28 00 18 CC
> ACL data: handle 0x0028 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0040
< ACL data: handle 0x0028 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> ACL data: handle 0x0028 flags 0x02 dlen 20
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
    MTU 512 FlushTO 65535
< ACL data: handle 0x0028 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
< ACL data: handle 0x0028 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> ACL data: handle 0x0028 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> ACL data: handle 0x0028 flags 0x02 dlen 17
    L2CAP(d): cid 0x0040 len 13 [psm 1]
        SDP SS Req: tid 0x0 len 0x8
          pat uuid-16 0x1116 (NAP)
          max 0x14
          cont 00
< ACL data: handle 0x0028 flags 0x02 dlen 18
    L2CAP(d): cid 0x0040 len 14 [psm 1]
        SDP SS Rsp: tid 0x0 len 0x9
          tot 0x1 cur 0x1 hndl 0x804db38
          cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> ACL data: handle 0x0028 flags 0x02 dlen 23
    L2CAP(d): cid 0x0040 len 19 [psm 1]
        SDP SA Req: tid 0x1 len 0xe
          hndl 0x804db38
          max 0x1f0
          aid(s) 0x0000 - 0xffff
          cont 00
< ACL data: handle 0x0028 flags 0x02 dlen 106
    L2CAP(d): cid 0x0040 len 102 [psm 1]
        SDP SA Rsp: tid 0x1 len 0x61
          cnt 0x5e
          aid 0x0000 (SrvRecHndl)
             uint 0x804db38
          aid 0x0001 (SrvClassIDList)
             < uuid-16 0x1116 (NAP) >
          aid 0x0004 (ProtocolDescList)
             < < uuid-16 0x0100 (L2CAP) uint 0xf > <
             uuid-16 0x000f (BNEP) uint 0x100 < uint 0x800 uint 0x806 > > >
          aid 0x0005 (BrwGrpList)
             < uuid-16 0x1002 (PubBrwsGrp) >
          aid 0x0009 (BTProfileDescList)
             < < uuid-16 0x1116 (NAP) uint 0x100 > >
          aid 0x0100 (SrvName)
             str "Network Access Point"

          cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> ACL data: handle 0x0028 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
< ACL data: handle 0x0028 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> ACL data: handle 0x0028 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 15 scid 0x0041
< ACL data: handle 0x0028 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0041 result 0 status 0
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> ACL data: handle 0x0028 flags 0x02 dlen 20
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
    MTU 1691 FlushTO 65535
< ACL data: handle 0x0028 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0041 flags 0x0000 result 0 clen 0
< ACL data: handle 0x0028 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x0000 clen 4
    MTU 1691
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> ACL data: handle 0x0028 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> ACL data: handle 0x0028 flags 0x02 dlen 11
    L2CAP(d): cid 0x0040 len 7 [psm 15]
      BNEP: Control(0x01|0)
        Setup Req(0x01) size 0x02 dst 0x1116(NAP) src 0x1115(PANU)
< ACL data: handle 0x0028 flags 0x02 dlen 8
    L2CAP(d): cid 0x0041 len 4 [psm 15]
      BNEP: Control(0x01|0)
        Setup Rsp(0x02) res 0x0000
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 28 00 01 00
> ACL data: handle 0x0028 flags 0x02 dlen 85
    L2CAP(d): cid 0x0040 len 81 [psm 15]
      BNEP: Compressed DestOnly(0x04|0)
        dst 33:33:ff:80:af:79 [proto 0x86dd]
        60 00 00 00 00 20 00 01 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 FF 02 00 00 00 00 00 00 00 00 00 01 FF 80 AF 79
        3A 00 05 02 00 00 01 00 83 00 20 B0 00 00 00 00 FF 02 00 00
        00 00 00 00 00 00 00 01 FF 80 AF 79
> ACL data: handle 0x0028 flags 0x02 dlen 61
    L2CAP(d): cid 0x0040 len 57 [psm 15]
      BNEP: Compressed DestOnly(0x04|0)
        dst 33:33:00:00:00:02 [proto 0x86dd]
        60 00 00 00 00 08 3A FF 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 FF 02 00 00 00 00 00 00 00 00 00 00 00 00 00 02
        85 00 7B B8 00 00 00 00
> ACL data: handle 0x0028 flags 0x02 dlen 77
    L2CAP(d): cid 0x0040 len 73 [psm 15]
      BNEP: Compressed DestOnly(0x04|0)
        dst 33:33:ff:80:af:79 [proto 0x86dd]
        60 00 00 00 00 18 3A FF 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 FF 02 00 00 00 00 00 00 00 00 00 01 FF 80 AF 79
        87 00 DD 2F 00 00 00 00 FE 80 00 00 00 00 00 00 02 04 3E FF
        FE 80 AF 79
> ACL data: handle 0x0028 flags 0x02 dlen 69
    L2CAP(d): cid 0x0040 len 65 [psm 15]
      BNEP: Compressed DestOnly(0x04|0)
        dst 33:33:00:00:00:02 [proto 0x86dd]
        60 00 00 00 00 10 3A FF FE 80 00 00 00 00 00 00 02 04 3E FF
        FE 80 AF 79 FF 02 00 00 00 00 00 00 00 00 00 00 00 00 00 02
        85 00 9F 32 00 00 00 00 01 01 00 04 3E 80 AF 79
> ACL data: handle 0x0028 flags 0x02 dlen 85
    L2CAP(d): cid 0x0040 len 81 [psm 15]
      BNEP: Compressed DestOnly(0x04|0)
        dst 33:33:ff:80:af:79 [proto 0x86dd]
        60 00 00 00 00 20 00 01 FE 80 00 00 00 00 00 00 02 04 3E FF
        FE 80 AF 79 FF 02 00 00 00 00 00 00 00 00 00 01 FF 80 AF 79
        3A 00 05 02 00 00 01 00 83 00 33 31 00 00 00 00 FF 02 00 00
        00 00 00 00 00 00 00 01 FF 80 AF 79

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-26 11:20     ` Wolfgang
@ 2004-09-27  7:50       ` Nigel Magnay
  2004-09-28 11:44         ` Marcel Holtmann
  0 siblings, 1 reply; 14+ messages in thread
From: Nigel Magnay @ 2004-09-27  7:50 UTC (permalink / raw)
  To: Wolfgang; +Cc: bluez-users

Hm - don't think its that; I turned off all the firewall options when
installing because I am behind a router.

It's odd because it all looks like it's working (in that it connects
and information seems to flow), just that the ipaq doesn't seem to be
able to talk to the linux box

Unless I've missed some additional step - I'm not running bridging or
anything since I just wanted to try and talk to the host linux box -
perhaps I should install those modules and give that a go.

On Sun, 26 Sep 2004 13:20:22 +0200, Wolfgang <wood.stock@gmx.net> wrote:
> Just a non-technical idea:
> 
> It took me two nights to find out that SuSE has a
> running firewall and every new interface like bnep0 *is*
> protected.....
> 
> Wood
> 
> 
> 
> 
> ----- Original Message -----
> From: "Nigel Magnay" <nigel.magnay@gmail.com>
> To: "Marcel Holtmann" <marcel@holtmann.org>;
> <bluez-users@lists.sourceforge.net>
> Sent: Sunday, September 26, 2004 10:12 AM
> Subject: Re: [Bluez-users] ipaq 1945
> 
> > it's 2.6.8.1, built on FC2
> >
> >
> > On Sun, 26 Sep 2004 01:09:18 +0200, Marcel Holtmann <marcel@holtmann.org>
> wrote:
> > > Hi Nigel,
> > >
> > >
> > >
> > > > I'm having a bit of trouble. I'm using kernel 2.6.8.1, and I'm trying
> > > > to get my iPaq 1945 to be able to connect via bluetooth to the
> > > > internet, though to start with I'm just trying to get it to connect to
> > > > the host computer.
> > > >
> > > > I think everything is working correctly - I have the stack up and
> > > > running, I can get my bnep0 interface up, and assign it an ip address
> > > > - e.g. 192.168.1.56. I can then ping that address from linux, and I
> > > > can browse it as an internet connection on my ipaq, and connect to it.
> > > >
> > > > Problem is, neither IE nor Pocket puTTY can use the connection (I try
> > > > to ssh to 192.168.1.55, my linux box). I don't know if I'm just
> > > > missing something, but I've read all the guides and I'm just confused
> > > > as to whether I'm trying something that isn't possible.
> > >
> > > what kernel version do you use on your Linux machine?
> > >
> > > Regards
> > >
> > > Marcel
> > >
> > >
> >
> >
> > -------------------------------------------------------
> > 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
@ 2004-09-28 11:28 Jurgens du Toit
  0 siblings, 0 replies; 14+ messages in thread
From: Jurgens du Toit @ 2004-09-28 11:28 UTC (permalink / raw)
  To: bluez-users

Is ip forwarding turned on?

cat /proc/sys/net/ipv4/ip_forward
if this returns zero, it's turned off

echo "1" > /proc/sys/net/ipv4/ip_forward
to turn it on

Jrgns

--
Sent by Jurgens du Toit (083-511-7932)
Hosted by Modiredi (http://www.modiredi.co.za)
Powered By Bizmail (http://www.bizmail.co.za)


-- 
This message has been scanned for viruses and
dangerous content by MailScanner.

Modiredi Internet Services cc
postmaster@modiredi.co.za



-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-27  7:50       ` Nigel Magnay
@ 2004-09-28 11:44         ` Marcel Holtmann
  2004-09-28 12:25           ` Nigel Magnay
  0 siblings, 1 reply; 14+ messages in thread
From: Marcel Holtmann @ 2004-09-28 11:44 UTC (permalink / raw)
  To: Nigel Magnay; +Cc: Wolfgang, bluez-users

Hi Nigel,

> Hm - don't think its that; I turned off all the firewall options when
> installing because I am behind a router.
> 
> It's odd because it all looks like it's working (in that it connects
> and information seems to flow), just that the ipaq doesn't seem to be
> able to talk to the linux box
> 
> Unless I've missed some additional step - I'm not running bridging or
> anything since I just wanted to try and talk to the host linux box -
> perhaps I should install those modules and give that a go.

please try some older kernel versions and see if one of them works,
because the default filter setting has some side effects I haven't
thought of so far.

Regards

Marcel




-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-28 11:44         ` Marcel Holtmann
@ 2004-09-28 12:25           ` Nigel Magnay
  2004-09-28 12:28             ` Marcel Holtmann
  2004-09-28 13:19             ` Peter Stephenson
  0 siblings, 2 replies; 14+ messages in thread
From: Nigel Magnay @ 2004-09-28 12:25 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: Wolfgang, bluez-users

I got a lot further, I can connect to my server now; I am just left
with trying to understand why I can't get bridging to work.

I have:
 - router (Internet, DHCP serving 192.168.1.{100-200}) (255.255.255.0)
 - linux box, eth0 = 192.168.1.55 (fixed), bnep0 for bluetooth
 - iPaq connecting to bluetooth

I can talk to the server by making bnep0 192.168.*2*.254 and fixing
the IP address in the ipaq (or running a dchp server on linux as
well), but it would be nice to not have to have another dchp server.

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 ..




On Tue, 28 Sep 2004 13:44:01 +0200, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Nigel,
> 
> > Hm - don't think its that; I turned off all the firewall options when
> > installing because I am behind a router.
> >
> > It's odd because it all looks like it's working (in that it connects
> > and information seems to flow), just that the ipaq doesn't seem to be
> > able to talk to the linux box
> >
> > Unless I've missed some additional step - I'm not running bridging or
> > anything since I just wanted to try and talk to the host linux box -
> > perhaps I should install those modules and give that a go.
> 
> please try some older kernel versions and see if one of them works,
> because the default filter setting has some side effects I haven't
> thought of so far.
> 
> Regards
> 
> Marcel
> 
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-28 12:25           ` Nigel Magnay
@ 2004-09-28 12:28             ` Marcel Holtmann
  2004-09-28 13:19             ` Peter Stephenson
  1 sibling, 0 replies; 14+ messages in thread
From: Marcel Holtmann @ 2004-09-28 12:28 UTC (permalink / raw)
  To: Nigel Magnay; +Cc: Wolfgang, bluez-users

Hi Nigel,

> I got a lot further, I can connect to my server now; I am just left
> with trying to understand why I can't get bridging to work.
> 
> I have:
>  - router (Internet, DHCP serving 192.168.1.{100-200}) (255.255.255.0)
>  - linux box, eth0 = 192.168.1.55 (fixed), bnep0 for bluetooth
>  - iPaq connecting to bluetooth
> 
> I can talk to the server by making bnep0 192.168.*2*.254 and fixing
> the IP address in the ipaq (or running a dchp server on linux as
> well), but it would be nice to not have to have another dchp server.
> 
> 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 ..

look at the PAN howto. It has the correct commands to setup a bridge
when you are using Bluetooth BNEP.

Regards

Marcel




-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-28 12:25           ` Nigel Magnay
  2004-09-28 12:28             ` Marcel Holtmann
@ 2004-09-28 13:19             ` Peter Stephenson
  2004-09-28 13:46               ` Nigel Magnay
  1 sibling, 1 reply; 14+ messages in thread
From: Peter Stephenson @ 2004-09-28 13:19 UTC (permalink / raw)
  To: bluez-users

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-28 13:19             ` Peter Stephenson
@ 2004-09-28 13:46               ` Nigel Magnay
  2004-09-28 14:17                 ` Marcel Holtmann
  0 siblings, 1 reply; 14+ messages in thread
From: Nigel Magnay @ 2004-09-28 13:46 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: bluez-users

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 <pws@csr.com> 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Bluez-users] ipaq 1945
  2004-09-28 13:46               ` Nigel Magnay
@ 2004-09-28 14:17                 ` Marcel Holtmann
  0 siblings, 0 replies; 14+ messages in thread
From: Marcel Holtmann @ 2004-09-28 14:17 UTC (permalink / raw)
  To: Nigel Magnay; +Cc: Peter Stephenson, bluez-users

Hi Nigel,

> 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..

maybe a problem in the bridge code. Use the latest 2.6.9-rc2-bk14 and
see if this crashes or not.

Regards

Marcel




-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-09-28 14:17 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-28 11:28 [Bluez-users] ipaq 1945 Jurgens du Toit
  -- strict thread matches above, loose matches on Subject: below --
2004-09-25 22:37 Nigel Magnay
2004-09-25 23:09 ` Marcel Holtmann
2004-09-26  8:12   ` Nigel Magnay
2004-09-26  8:28     ` Marcel Holtmann
2004-09-26 12:44       ` Nigel Magnay
2004-09-26 11:20     ` Wolfgang
2004-09-27  7:50       ` Nigel Magnay
2004-09-28 11:44         ` Marcel Holtmann
2004-09-28 12:25           ` Nigel Magnay
2004-09-28 12:28             ` Marcel Holtmann
2004-09-28 13:19             ` Peter Stephenson
2004-09-28 13:46               ` Nigel Magnay
2004-09-28 14:17                 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox