2004-10-05 13:05:47

by Rafael Vidal Aroca

[permalink] [raw]
Subject: [Bluez-users] rfcommX and ppp


Hi,

i set up a Linux box as a gateway for pdas to access internet. The
first device that connects to the LAN service gets rfcomm0 and have
internet access!

The other devices get rfcomm1, rfcomm2, rfcomm3.....all ok up to now.

The problem is that none of then estabilishes a ppp connection. What
could it be?

[]s Rafael.


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-10-09 13:51:43

by Marcel Holtmann

[permalink] [raw]
Subject: [Bluez-users] Re: rfcommX and ppp

Hi,

> > try to use 10.0.0.1: or other way around. Or you can define multiple
> > options.rfcommX files in /etc/ppp/ and use a bridge. There are some ways
> > to get this working.
>
> I learned from PPP lists that ppp0 interface bridging is not supported
> nor is their a patch under 2.6.x or pppd.
>
> When I do this,
> brctl addif br0 ppp0
>
> it returns,
> br_add_interface: Invalid argument
>
> Nobody is doing work on these at the moment is my understanding.

this is a question for the bridge people. Using PPP over RFCOMM is
deprecated by the Bluetooth SIG and using PAN is much more straight
forward how things should be.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-10-09 12:36:28

by O Plameras

[permalink] [raw]
Subject: Re: rfcommX and ppp

Marcel Holtmann wrote:
>
> try to use 10.0.0.1: or other way around. Or you can define multiple
> options.rfcommX files in /etc/ppp/ and use a bridge. There are some ways
> to get this working.
>


I learned from PPP lists that ppp0 interface bridging is not supported
nor is their a patch under 2.6.x or pppd.

When I do this,
brctl addif br0 ppp0

it returns,
br_add_interface: Invalid argument

Nobody is doing work on these at the moment is my understanding.

2004-10-06 09:44:52

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] rfcommX and ppp

Hi Rafael,

> Well, everything is fine, but my ppp is configured to give a
> unique ip. You can check this from my peer file /etc/ppp/peers/dun that
> follows:
>
> # do not require auth
> noauth
>
> # do not use modem control lines we aren't using a real serial line
> local
>
> # do not determinate local ip from hostname
> noipdefault
>
> # usefull ARP proxing
> proxyarp
>
> # do not enable default route
> nodefaultroute
>
> # do not use ipx
> noipx
>
> # set disconnect timeout
> idle 0
>
> # local ip : remote ip
> 10.0.0.1:10.0.0.2
>
> # dns
> ms-dns 10.0.0.1
>
> # netmask
> netmask 255.255.255.0
>
>
> Note the line: 10.0.0.1:10.0.0.2
>
> Can i change this to multiple ips? Because the problem is exactly
> this: all devices in the same ip...

try to use 10.0.0.1: or other way around. Or you can define multiple
options.rfcommX files in /etc/ppp/ and use a bridge. There are some ways
to get this working.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-10-05 17:23:18

by Rafael Vidal Aroca

[permalink] [raw]
Subject: Re: [Bluez-users] rfcommX and ppp


Well, everything is fine, but my ppp is configured to give a
unique ip. You can check this from my peer file /etc/ppp/peers/dun that
follows:

# do not require auth
noauth

# do not use modem control lines we aren't using a real serial line
local

# do not determinate local ip from hostname
noipdefault

# usefull ARP proxing
proxyarp

# do not enable default route
nodefaultroute

# do not use ipx
noipx

# set disconnect timeout
idle 0

# local ip : remote ip
10.0.0.1:10.0.0.2

# dns
ms-dns 10.0.0.1

# netmask
netmask 255.255.255.0


Note the line: 10.0.0.1:10.0.0.2

Can i change this to multiple ips? Because the problem is exactly
this: all devices in the same ip...

[]s Rafael.



Marcel Holtmann wrote:

>Hi Rafael,
>
>
>
>> i set up a Linux box as a gateway for pdas to access internet. The
>>first device that connects to the LAN service gets rfcomm0 and have
>>internet access!
>>
>> The other devices get rfcomm1, rfcomm2, rfcomm3.....all ok up to now.
>>
>> The problem is that none of then estabilishes a ppp connection. What
>>could it be?
>>
>>
>
>I have no idea. Tell us more about your setup. Do you use dund?
>
>Regards
>
>Marcel
>
>
>

2004-10-05 15:57:41

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] rfcommX and ppp

Hi Rafael,

> i set up a Linux box as a gateway for pdas to access internet. The
> first device that connects to the LAN service gets rfcomm0 and have
> internet access!
>
> The other devices get rfcomm1, rfcomm2, rfcomm3.....all ok up to now.
>
> The problem is that none of then estabilishes a ppp connection. What
> could it be?

I have no idea. Tell us more about your setup. Do you use dund?

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users