Olá,

Instalei um adaptador bluetooth (bt) comercializado pela Goldship, fabricação 
SiW. Uso kernel 2.6.11 e o driver hci_usb é carregado corretamente. Instalei 
os pacotes relacionado ao bt e uso o KBluetoothD. Consigo transferir arquivos 
entre o micro e o palm mas não consigo acesso à internet via bt (nem web nem 
email). Peguei algumas dicas na rede mas nada funcionou.
Atualmente minha configuração é como está abaixo.
O que estou fazendo de errado?

Grato por qualquer ajuda.

--------8><--------------------------------------------------------------------------
#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.3 2002/07/18 18:12:46 maxk Exp $
#

# HCId options
options {
        # Automatically initialize new devices
        autoinit yes;

        # Security Manager mode
        #   none - Security manager disabled
        #   auto - Use local PIN for incoming connections
        #   user - Always ask user for a PIN
        #
        #security auto;
        security user;

        # Pairing mode
        #   none  - Pairing disabled
        #   multi - Allow pairing with already paired devices
        #   once  - Pair once and deny successive attempts
        pairing multi;

        # PIN helper
        pin_helper /usr/lib/kde3/lib/kdebluetooth/kbluepin;
        # pin_helper /etc/bluetooth/givepin;
}

# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        name "%h";

        # Local device class
        # class 0x100;
        class 0x120104;

        # Default packet type
        #pkt_type DH1,DM1,HV1;

        # Inquiry and Page scan
        iscan enable; pscan enable;

        # Default link mode
        #   none   - no specific policy 
        #   accept - always accept incoming connections
        #   master - become master on incoming connections,
        #            deny role switch on outgoing connections
        #
        #lm accept,master;
        #
        lm accept;

        # Default link policy
        #   none    - no specific policy
        #   rswitch - allow role switch
        #   hold    - allow hold mode
        #   sniff   - allow sniff mode
        #   park    - allow park mode
        #
        #lp hold,sniff;
        #
        lp hold,sniff,park;

        # Authentication and Encryption
        auth enable;
        encrypt enable;
}
--------8><--------------------------------------------------------------------------
#
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $
#

rfcomm0 {
        # Automatically bind the device at startup
        bind no;

        # Bluetooth address of the device
        device 11:22:33:44:55:66;

        # RFCOMM channel for the connection
        channel 1;

        # Description of the connection
        comment "Bluetooth device";
}
--------8><--------------------------------------------------------------------------
start()
{
        if [ -e $LOCK_FILE ]; then
                printf $"%s is already running" "$SERVICE_DESC"
                echo
                exit 1
        else
                printf $"Starting %s: " "$SERVICE_DESC"
                daemon /usr/sbin/hcid

                #enxertei
                /sbin/sysctl -w net.ipv4.ip_forward=1 > /dev/null
                /usr/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

                daemon /usr/sbin/sdpd
                
                #enxertei
                sdptool add LAN
                
                
                [ "$HID2HCI_ENABLE" = "true" ] && hid2hci --tohci > /dev/null 
2>&1 || :
                start_uarts
                rfcomm bind all
                touch $LOCK_FILE
                echo
        fi
}
--------8><--------------------------------------------------------------------------

-- 

  Alexandre Santos Aguiar, MD
--
All messages from my addresses express my own opinions
and have no relationship to the views of places I work,
their administrations, employees, my wife, my daughters,
the nation, the world or the universe in general. Enough?
--
$100 placed at 7% interest compounded quarterly for 200 years will increase to 
more than $100,000,000--by which time it will be worth nothing.
                --Lazarus Long
---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a