Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2007-01-02 18:30:59

  milyges - inż.

milyges
inż.
Skąd: Gorlice/Kraków
Zarejestrowany: 2006-04-09
Serwis

[BLUETOOTH]Telefon nie znajduje telefonu

Witam.
Mam telefon Nokie N-GaGe classic i chcialem miec na niej internet za free :] No to kupilem bluetooth, debian mi go ladnie wykryl i komputer widzi telefon pieknie. Moge wysylac pliki z komputera na telefon. Jednak gdy próbuje wyslac plik z telefonu na telefon, telefon nie widzi komputera :/. BT w telefonie jest sprawny na 100% (testowalem u kolegi). Moje pliki cfg:

Kod:

milyges@colosus:~$ cat /etc/bluetooth/hcid.conf
#
# HCI daemon configuration file.
#

# 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;

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

        # Default PIN code for incoming connections
        passkey "1111";
}

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

        # Local device class
        class 0x3e0100;

        # 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;

        # Default link policy
        #   none    - no specific policy
        #   rswitch - allow role switch
        #   hold    - allow hold mode
        #   sniff   - allow sniff mode
        #   park    - allow park mode
        lp rswitch,hold,sniff,park;
}
milyges@colosus:~$    

Kod:

milyges@colosus:~$ cat /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#

#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 "Example Bluetooth device";
#}

rfcomm0 {
        bind yes;
       # Tutaj zmien adres MAC (00:12:62:D4:97:0D) na twoj.
        device XX:XX:XX:XX:XX:XX;
       # RFCOMM channel for the connection
         channel 1;
       # Description of the connection
        comment "MILYGES N-GAGE";
}
milyges@colosus:~$   

Ktoś wie gdzie może być błąd??

Offline

 

#2  2007-01-03 09:13:18

  pasqdnik - Pijak ;-P

pasqdnik
Pijak ;-P
Skąd: Wrocław
Zarejestrowany: 2006-03-06

Re: [BLUETOOTH]Telefon nie znajduje telefonu

Myślę, że błąd jest tutaj:

  device XX:XX:XX:XX:XX:XX;

BlueZ masz zainstalowane ? Hosty podniesione itp ?

Zajrzyj do tego opisu.


Dum spiro - spero ...
pozdrawiam, pasqdnik

Offline

 

#3  2007-01-03 13:03:24

  milyges - inż.

milyges
inż.
Skąd: Gorlice/Kraków
Zarejestrowany: 2006-04-09
Serwis

Re: [BLUETOOTH]Telefon nie znajduje telefonu

Myślę, że błąd jest tutaj:

  device XX:XX:XX:XX:XX:XX;

Mam tam wpisany MAC telefonu, ale nie che go udostępniac :]

Z tego opisu korzystałem :P

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)