Skip to contentSkip to conversation

Problem send bt files

Bluez-users Pol Hallen 2 participants 12 messages Sep 16, 2006 – Sep 19, 2006 Bluetooth drivers

lore
Share & tools
lore

Pol Hallen

author
#0 lore raw

Hi all,

I installed bluez-utils (and relative dependence and programs) on my debian stable (sarge):

ii  bluez-firmware 1.0-2          Firmware for Bluetooth devices
ii  bluez-hcidump  1.17-1sarge1   Analyses Bluetooth HCI packets
ii  bluez-pin      0.25-1         Bluetooth PIN helper with D-BUS support
ii  bluez-utils    2.15-1.1       Bluetooth tools and daemons

I do a paring from my mobile to my server and is it ok.

I try use obexftp to send a file to my mobile:

obexftp -v -b 00:12:62:E3:B1:DE -B 10 -p file.jpg

but I see:

Browsing 00:12:62:E3:B1:DE ...
Channel: 10
No custom transport
Connecting...bt: 1
done
Sending file.jpg... failed: file.jpg
Disconnetting...done

If i try send a file from my mobile to server (using obexserver) is it ok.

/etc/bluetooth/rfcomm.conf is whole commented, pin file contain only pin code..

Here there is my config file:

/etc/bluetooth/hcid.conf

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

# PIN helper
pin_helper /usr/bin/bluez-pin;

# D-Bus PIN helper
dbus_pin_helper;
}

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

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

# Authentication and Encryption (Security Mode 3) #auth enable;
#encrypt enable;
}

I tried several different configs in /etc/bluetooth/hcid.conf and kill hcid and restart, i also tried /etc/init.d/bluez-utils restart, i also tried init 6 but nothing..

I don't understand why can't send any files from my server.. :-((

in /var/log/syslog I see:

hcid[26398]: link_key_request (sba=00:0F:3D:05:99:B7, dba=00:12:62:E3:B1:DE)

Can anyone help me pls?!
Thanks!

Pol

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

El s=E1b, 16-09-2006 a las 16:05 +0200, Pol Hallen escribi=F3:

Quoted 72 lines

Hi all,
=

I installed bluez-utils (and relative dependence and programs) on my =

debian stable (sarge):
=

ii  bluez-firmware 1.0-2          Firmware for Bluetooth devices
ii  bluez-hcidump  1.17-1sarge1   Analyses Bluetooth HCI packets
ii  bluez-pin      0.25-1         Bluetooth PIN helper with D-BUS support
ii  bluez-utils    2.15-1.1       Bluetooth tools and daemons

=

I do a paring from my mobile to my server and is it ok. =

I try use obexftp to send a file to my mobile:
=

obexftp -v -b 00:12:62:E3:B1:DE -B 10 -p file.jpg
=

but I see:
=

Browsing 00:12:62:E3:B1:DE ...
Channel: 10
No custom transport
Connecting...bt: 1
done
Sending file.jpg... failed: file.jpg
Disconnetting...done
=

If i try send a file from my mobile to server (using obexserver) is it ok. =

=

/etc/bluetooth/rfcomm.conf is whole commented, pin file contain only pin =

code..
=

Here there is my config file:
=

/etc/bluetooth/hcid.conf
=

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

Quoted 6 lines

# PIN helper
pin_helper /usr/bin/bluez-pin;
=

# D-Bus PIN helper
=

dbus_pin_helper; i have this line coment

Quoted 46 lines

}
=

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

=

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

         # Authentication and Encryption (Security Mode 3)
         #auth enable;
         #encrypt enable;
}
Quoted 7 lines

=

I tried several different configs in /etc/bluetooth/hcid.conf and kill =

hcid and restart, i also tried /etc/init.d/bluez-utils restart, i also =

tried init 6 but nothing..

my debian run obexftp in runlevel 2

Quoted 9 lines

=

I don't understand why can't send any files from my server.. :-(( =

in /var/log/syslog I see:
=

hcid[26398]: link_key_request (sba=3D00:0F:3D:05:99:B7, dba=3D00:12:62:E3=

:B1:DE)

Quoted 3 lines

=

Can anyone help me pls?!

you can review my doc in spanish, it is easy if you not speak spanish, read the comands.
http://es.wikibooks.org/wiki/Hacks_para_Bluetooth_en_Linux

Quoted 9 lines

Thanks!
=

Pol
=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job ea=

sier

Quoted 2 lines

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 4 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#2 lore raw
Quoted 4 lines
Quoted 1 line

Can anyone help me pls?!

you can review my doc in spanish, it is easy if you not speak spanish, read the comands.
http://es.wikibooks.org/wiki/Hacks_para_Bluetooth_en_Linux

Hi,
i red your howto..

i modified my hcid.conf but nothing..
I have the same error..

what i'll do?!

thanks!

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw

El s=E1b, 16-09-2006 a las 20:26 +0200, Pol Hallen escribi=F3:

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Can anyone help me pls?!

you can review my doc in spanish, it is easy if you not speak spanish, read the comands.
http://es.wikibooks.org/wiki/Hacks_para_Bluetooth_en_Linux

Hi,
i red your howto..
=

Quoted 5 lines

i modified my hcid.conf but nothing..
I have the same error..
=

what i'll do?!

first: you can paring fine the debianbox and your movil? try other version for obexftp

Quoted 8 lines

=

thanks!
=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job ea=

sier

Quoted 2 lines

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 4 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#4 lore raw
Quoted 8 lines · digitalfredy

El s=E1b, 16-09-2006 a las 20:26 +0200, Pol Hallen escribi=F3:

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Can anyone help me pls?!

you can review my doc in spanish, it is easy if you not speak spanish, read the comands.
http://es.wikibooks.org/wiki/Hacks_para_Bluetooth_en_Linux

Hi,
i red your howto..

Quoted 7 lines
Quoted 4 lines

i modified my hcid.conf but nothing..
I have the same error..

what i'll do?!

first: you can paring fine the debianbox and your movil? try other version for obexftp

Quoted 1 line

thanks!

I tried with kubuntu live and there aren't bluez packages :-(( but with =

kdebluetooth is all ok :-)

I tried with debian testing (and another machine with debian sarge) but =

I've same problem :-((((

Compiling last version of obexftp I have compile's error.. :-@

Which other packages should try?!

Thanks :-)

Pol

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw

El lun, 18-09-2006 a las 00:42 +0200, Pol Hallen escribi=F3:

Quoted 23 lines
Quoted 8 lines · digitalfredy

El s=E1b, 16-09-2006 a las 20:26 +0200, Pol Hallen escribi=F3:

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Can anyone help me pls?!

you can review my doc in spanish, it is easy if you not speak spanish, read the comands.
http://es.wikibooks.org/wiki/Hacks_para_Bluetooth_en_Linux

Hi,
i red your howto..

Quoted 7 lines
Quoted 4 lines

i modified my hcid.conf but nothing..
I have the same error..

what i'll do?!

first: you can paring fine the debianbox and your movil? try other version for obexftp

Quoted 1 line

thanks!

I tried with kubuntu live and there aren't bluez packages :-(( but with =

kdebluetooth is all ok :-)
=

I tried with debian testing (and another machine with debian sarge) but =

Quoted 7 lines

I've same problem :-((((
=

Compiling last version of obexftp I have compile's error.. :-@ =

Which other packages should try?!

try manual download and install obexftp from testing =

(for install: #dpkg -i obexftp-XXXXX.deb
http://packages.debian.org/cgi-bin/search_packages.pl?searchon=3Dnames&subw=
ord=3D1&version=3Dall&release=3Dall&keywords=3Dobexftp&sourceid=3Dmozilla-s= earch

Quoted 11 lines

=

Thanks :-)
=

Pol
=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job ea=

sier

Quoted 2 lines

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 4 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#6 lore raw
Quoted 3 lines

try manual download and install obexftp from testing (for install: #dpkg -i obexftp-XXXXX.deb
http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&subword=1&version=all&release=all&keywords=obexftp&sourceid=mozilla-search

If i use debian stable and try to install a package from debian testing there are many dependece's problems :-((

Pol.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#7 lore raw

El lun, 18-09-2006 a las 13:54 +0200, Pol Hallen escribi=F3:

Quoted 4 lines
Quoted 4 lines

try manual download and install obexftp from testing =

(for install: #dpkg -i obexftp-XXXXX.deb
http://packages.debian.org/cgi-bin/search_packages.pl?searchon=3Dnames&=

subword=3D1&version=3Dall&release=3Dall&keywords=3Dobexftp&sourceid=3Dmozil= la-search

Quoted 3 lines

If i use debian stable and try to install a package from debian testing =

there are many dependece's problems :-((

try the oldstable version
PD: in debian i use the obexftp in woody,sarge and etch, it work fine

Quoted 8 lines

=

Pol.
=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job ea=

sier

Quoted 2 lines

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 4 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#8 lore raw
Quoted 3 lines

try the oldstable version
PD: in debian i use the obexftp in woody,sarge and etch, it work fine

Quoted 1 line

Pol.

Sorry, could give me your bluetooth's config files?

/etc/bluetooth/* and /etc/default/

thanks!

Pol

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#9 lore raw
In reply to Pol Hallen

El s=E1b, 16-09-2006 a las 16:05 +0200, Pol Hallen escribi=F3:

Quoted 14 lines

Hi all,
=

I installed bluez-utils (and relative dependence and programs) on my =

debian stable (sarge):
=

ii  bluez-firmware 1.0-2          Firmware for Bluetooth devices
ii  bluez-hcidump  1.17-1sarge1   Analyses Bluetooth HCI packets
ii  bluez-pin      0.25-1         Bluetooth PIN helper with D-BUS support
ii  bluez-utils    2.15-1.1       Bluetooth tools and daemons

=

Quoted 7 lines

I do a paring from my mobile to my server and is it ok. =

I try use obexftp to send a file to my mobile:
=

obexftp -v -b 00:12:62:E3:B1:DE -B 10 -p file.jpg

You can get files from your movile?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#10 lore raw
Quoted 1 line

You can get files from your movile?

Yep without problems :-)

Pol

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#11 lore raw

El lun, 18-09-2006 a las 13:53 +0200, Pol Hallen escribi=F3:

Quoted 2 lines
Quoted 1 line

You can get files from your movile?

Yep without problems :-)

using obexftp? if yes you can try with other device? (for example a palm or other phone)

Quoted 8 lines

=

Pol
=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job ea=

sier

Quoted 2 lines

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 4 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users