Bluetooth / samba


#1

hi, today i tried to share some files through bluetooth but i can’t,

that is my console output

bluedevil-sendfile
bluedevil.sendfile: Device ""
bluedevil.sendfile: Files ()
BluezQt: PendingCall Error: "Process org.bluez.obex exited with status 1"
bluedevil.sendfile: Manager initialized
We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf\nError loading services.\n"
KSambaShare: Could not find smb.conf!
We got some errors while running ‘net usershare info’
"Can’t load /etc/samba/smb.conf - run testparm to debug it\n"
bluedevil.sendfile: Error creating session "ObexManager not operational!"
bluedevil.sendfile: Initialize Fail Page
^C
jiep@jiep-san ~$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Error loading services.

how can i fix that please


#2

It looks like your samba isn’t set up properly.

Take the example conf in /etc/samba, copy and rename it smb.conf


#3

Assume you have “bluez-openrc” installed and started?


#4

@robinw0800 yes indeed
@artoo i did it before to post, sorry i forgot to write it.
and the “new” output is

jiep@jiep-san ~$ bluedevil-sendfile 
bluedevil.sendfile: Device ""
bluedevil.sendfile: Files ()
BluezQt: PendingCall Error: "Process org.bluez.obex exited with status 1"
bluedevil.sendfile: Manager initialized
bluedevil.sendfile: Error creating session "ObexManager not operational!"
bluedevil.sendfile: Initialize Fail Page
bluedevil.sendfile: Wizard done:  0

now i juste realised ibus disappeared and i can’t write in yakuake anymore and i have the feeling the wifi become really slow.

when i try to check what is inside my device i have a window how pop-up and says

Obexd service is not running

also on every boot i have to do a

`sudo rfkill unblock all`

to be able to use the bluetooth, otherwise it can’t be activated

i can listen music on some devices

on some phones i can use “play, pause, next” button to play some music but i don’t remember if the music was played on my computer or on the phone, but i couldn’t choose it, that i remember.

EDIT
i have installed
extra/bluez 5.43-2 [installé]
extra/bluez-libs 5.43-2 [installé]
extra/bluez-qt 5.28.0-1 (kf5) [installé]
extra/bluez-utils 5.43-2 [installé]
community/bluez-openrc 20160528-1 (openrc-mobile) [installé]

and
community/obexfs 0.12-4 [installé]
FUSE based filesystem using ObexFTP (currently beta).
community/obexftp 0.24-7 [installé]
A tool for transfer files to/from any OBEX enabled device
community/obextool 0.35-4 [installé]
A front-end of obexftp
community/openobex 1.7.1-1 [installé]
Implementation of the OBject EXchange (OBEX) protocol
community/ussp-push 0.11-6 [installé]
OBEX object pusher for Linux


#5

There is a bug . In some cases the obexd won’t be started . Try the following command :

and in new terminal session withought closing the previous try to send a file . If it works add the command to autostarts.


#6

ok thank you guys

for rfkill unblock all
i figured it out
it’s just i active the “airplane mode” from my keyboard so lock the bluetooth

but i still have ibus who disappear …


#7

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.