Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167012

Re: TCP/IP over Bluetooth

From Reco <recoverym4n@gmail.com>
Newsgroups linux.debian.user
Subject Re: TCP/IP over Bluetooth
Date 2016-04-23 10:00 +0200
Message-ID <rr0DU-852-21@gated-at.bofh.it> (permalink)
References <rqX3j-5ku-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Fri, 22 Apr 2016 20:27:38 -0700
peter@easthope.ca wrote:

> According to https://en.wikipedia.org/wiki/Bluetooth ,
> Bluetooth was "... originally conceived as a wireless alternative 
> to RS-232 data cables."  Therefore TCP/IP inside PPP on a 
> Bluetooth connection is hypthetically possible.
> 
> Has anyone tried it with a debian system on one end at least?

I have to use the thing on a regular basis. Connection speed is
turtle-slow by today's standards, but it works, and aside from the
bluez package it only requires wvdial one.

A sample implementation is:

# cat /etc/network/if-pre-up.ppp0
/usr/bin/rfcomm connect /dev/rfcomm0 xx:xx:xx:xx:xx:xx &
while [ ! -r /dev/rfcomm0 ]; do
        /bin/echo "Waiting for /dev/rfcomm0 ..."
        /bin/sleep 1
done

# cat /etc/network/if-post-down.ppp0
pkill -9 rfcomm

# grep -A1 ppp0 /etc/network/interfaces
iface ppp0 inet wvdial
    pre-up /etc/network/if-pre-up.ppp0
    metric 1
    post-down /etc/network/if-post-down.ppp0

# cat /etc/wvdial.conf
[Dialer Defaults]
Baud = 460800
Dial Command = ATD
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","my.cellphone.carrier.gateway"
Modem = /dev/rfcomm0
Modem Type = Analog Modem
New PPD = yes
Password = xxx
Phone = *99#
Username = xxx
ISDN = false
Idle Seconds = 300

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

TCP/IP over Bluetooth peter@easthope.ca - 2016-04-23 06:10 +0200
  Re: TCP/IP over Bluetooth shawn wilson <ag4ve.us@gmail.com> - 2016-04-23 06:40 +0200
    Re: TCP/IP over Bluetooth Gene Heskett <gheskett@shentel.net> - 2016-04-23 07:10 +0200
      Re: TCP/IP over Bluetooth Lisi Reisz <lisi.reisz@gmail.com> - 2016-04-23 09:40 +0200
        Re: TCP/IP over Bluetooth Gene Heskett <gheskett@shentel.net> - 2016-04-23 13:20 +0200
          Re: TCP/IP over Bluetooth Curt <curty@free.fr> - 2016-04-23 14:00 +0200
            Re: TCP/IP over Bluetooth Richard Owlett <rowlett@cloud85.net> - 2016-04-23 14:20 +0200
            Re: TCP/IP over Bluetooth Gene Heskett <gheskett@shentel.net> - 2016-04-23 14:40 +0200
              Re: TCP/IP over Bluetooth Lisi Reisz <lisi.reisz@gmail.com> - 2016-04-23 14:50 +0200
                Re: TCP/IP over Bluetooth Gene Heskett <gheskett@shentel.net> - 2016-04-23 15:10 +0200
                Re: TCP/IP over Bluetooth John Hasler <jhasler@newsguy.com> - 2016-04-23 16:40 +0200
                Re: TCP/IP over Bluetooth Gene Heskett <gheskett@shentel.net> - 2016-04-23 19:10 +0200
                Re: TCP/IP over Bluetooth Nicolas George <george@nsup.org> - 2016-04-23 19:30 +0200
                Re: TCP/IP over Bluetooth John Hasler <jhasler@newsguy.com> - 2016-04-23 20:00 +0200
                Re: TCP/IP over Bluetooth Gene Heskett <gheskett@shentel.net> - 2016-04-23 21:20 +0200
                Re: TCP/IP over Bluetooth John Hasler <jhasler@newsguy.com> - 2016-04-23 22:10 +0200
                Is running spamassin on a home server a waste? (was ... Re: TCP/IP  over Bluetooth) cbannister@slingshot.co.nz - 2016-04-27 10:40 +0200
                Re: Is running spamassin on a home server a waste? (was ... Re:  TCP/IP over Bluetooth) Brian <ad44@cityscape.co.uk> - 2016-04-27 11:00 +0200
                Re: Is running spamassin on a home server a waste? (was ... Re:  TCP/IP over Bluetooth) <tomas@tuxteam.de> - 2016-04-27 11:20 +0200
                Re: Is running spamassin on a home server a waste? (was ... Re: TCP/IP over Bluetooth) Hans <hans.ullrich@loop.de> - 2016-04-27 11:40 +0200
                Re: Is running spamassin on a home server a waste? (was ... Re:  TCP/IP over Bluetooth) Brian <ad44@cityscape.co.uk> - 2016-04-27 11:50 +0200
                Re: Is running spamassin on a home server a waste? (was ... Re: TCP/IP over Bluetooth) Gene Heskett <gheskett@shentel.net> - 2016-04-27 14:20 +0200
                Re: Is running spamassin on a home server a waste? (was ... Re: TCP/IP over Bluetooth) John Hasler <jhasler@newsguy.com> - 2016-04-27 14:50 +0200
                Re: TCP/IP over Bluetooth Gene Heskett <gheskett@shentel.net> - 2016-04-23 21:10 +0200
              Re: TCP/IP over Bluetooth Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-04-23 15:50 +0200
  Re: TCP/IP over Bluetooth Reco <recoverym4n@gmail.com> - 2016-04-23 10:00 +0200
    Re: TCP/IP over Bluetooth Joe <joe@jretrading.com> - 2016-04-23 11:30 +0200
      Re: TCP/IP over Bluetooth Reco <recoverym4n@gmail.com> - 2016-04-23 12:30 +0200
        Re: TCP/IP over Bluetooth shawn wilson <ag4ve.us@gmail.com> - 2016-04-23 13:30 +0200
  Re: TCP/IP over Bluetooth Andy Smith <andy@strugglers.net> - 2016-04-23 13:30 +0200

csiph-web