Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2007 12:49:11 +0300
From:      "Petyo Milotinov" <pmilotinov@gmail.com>
To:        freebsd-bluetooth@freebsd.org
Subject:   Can't use internet on SE K610i via FreeBSD box
Message-ID:  <e6706dc20706070249s50432875v4cd3141feee33d5e@mail.gmail.com>

index | next in thread | raw e-mail

    Hello!
    Here is my machine info:

    FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Apr 20 12:51:09 EEST
2007     /usr/obj/usr/src/sys/MYKERNEL  i386

    I want to connect my Sony Ericsson K610i GSM handy to internet via my
machine through a BlueSoleil dongle. I configured MAC address of the phone
in /etc/bluetooth/hosts and configured PIN management via
/etc/bluetooth/hcsecd.conf. I l2ping the phone successfully. I can browse
the phone from FreeBSD:

=====================================================================
obexapp -a k610i -C FTRN -f
obex> ls
Access    Owner    Group    Size       Modified         Name
          n/a      n/a      n/a        n/a              Phone memory/
          n/a      n/a      n/a        n/a              Memory Stick/
Success, response: OK, Success (0x20)
=====================================================================

    So I decided to use internet on the phone via FreeBSD machine. I started
following daemons (I intentionally used '-d' switches) :

=====================================================================
sdpd -d
hcsecd -d
rfcomm_pppd -d -s -l rfcomm-server -C 1
(I tried '-S' switch too with no success)
=====================================================================

    Here is the rfcomm-server entry in /etc/ppp/ppp.conf:

=====================================================================
rfcomm-server:
  set timeout 0
  set lqrperiod 10
  set ifaddr 192.168.0.1 192.168.0.2 255.255.255.0
  enable lqr
  accept lqr
  # Do not use PPP authentication. Assume that
  # Bluetooth connection was authenticated already
  disable pap
  deny pap
  disable chap
  deny chap
=====================================================================

    I browsed services on the FreeBSD machine. Here is the output:

=====================================================================
sdpcontrol -l browse :

Record Handle: 00000000
Service Class ID List:
        Service Discovery Server (0x1000)
Protocol Descriptor List:
        L2CAP (0x0100)
                Protocol specific parameter #1: u/int/uuid16 1
                Protocol specific parameter #2: u/int/uuid16 1

Record Handle: 0x00000001
Service Class ID List:
        Browse Group Descriptor (0x1001)

Record Handle: 0x00000002
Service Class ID List:
        LAN Access Using PPP (0x1102)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 7
Bluetooth Profile Descriptor List:
        LAN Access Using PPP (0x1102) ver. 1.0

Record Handle: 0x00000003
Service Class ID List:
        Serial Port (0x1101)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 7
Bluetooth Profile Descriptor List:
        Serial Port (0x1101) ver. 1.0
=====================================================================

    I can find my FreeBSD machine on the phone. When I try to browse
services provided sdpd prints message about L2CAP connection. But I receive
following message on the phone:

=====================================================================
"Services supported: No local services supported."
=====================================================================

    In the office, I tried to use internet via my windows machine through
same BlueSoleil dongle- I activated "LAN Network access" on BlueSoleil
software. The phone was able to discover "LAN Access" service and to connect
to my PC and I could browse the internet. It seems my phone supports that
functionality.
    So, why I cannot find any services on my FreeBSD machine? Where I'm
wrong?
    Any suggestions are appreciated!
    Thanks in advance!

    Best regards,
    Petyo Milotinov


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e6706dc20706070249s50432875v4cd3141feee33d5e>