Skip to contentSkip to conversation

rfcommX and ppp

Bluez-users Rafael Vidal Aroca 3 participants 6 messages Oct 5, 2004 – Oct 9, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw

Hi Rafael,

Quoted 8 lines

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

#2 lore raw

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.

Quoted 22 lines · Marcel Holtmann

Hi Rafael,

Quoted 9 lines

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

maintainer
#3 lore raw

Hi Rafael,

Quoted 31 lines

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
Quoted 8 lines
# 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

#4 lore raw
Quoted 5 lines · Marcel Holtmann

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.

maintainer
#5 lore raw

Hi,

Quoted 7 lines
Quoted 3 lines

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.

Quoted 7 lines

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