Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to send a file from my laptop to my cellphone using obexftp. The laptop finds the cellphone and tries to connect, but my phone wants me to write a password aswell. At first I thought this was something that had to do with my cellphone, but no.
I don't know where to set this password, and I haven't found a config-file for obexftp either.
my phone wants me to write a password aswell. (..) I don't know where to set this password, and I haven't found a config-file for obexftp either.
If you installed Bluez you should have a /etc/bluetooth dir (or wherever your distro puts it, check your packages) which contains a file named "pin" (or make it) which contains the PIN you configured in your mobile for Bluetooth access, a "hcid.conf" (HCI daemon) contains the location for a PIN GUI helper app and controls the local Bluetooth devices (USB adapters and such) which can be connected to and a "rfcomm.conf" (RFCOMM) contains the settings which devices you connect to like device address, channel, etc, but when using obexftp you can also set those directly from the commandline.
CYP spell out the Bluetooth configuration on both the machine and phone side? Did you ever try to pair with your machine from the phone side? And AFAIK hcid.conf needs more than just the PIN option. CYP do some research on what it should contain? Does your /etc/bluetooth dir contain more configs than just hcid.conf and pin? Or are they really supposed to be in another default directory?
CYP spell out the Bluetooth configuration on both the machine and phone side? Did you ever try to pair with your machine from the phone side? And AFAIK hcid.conf needs more than just the PIN option. CYP do some research on what it should contain? Does your /etc/bluetooth dir contain more configs than just hcid.conf and pin? Or are they really supposed to be in another default directory?
Cool an expert reply
"Did you ever try to pair with your machine from the phone side?" wow this sounds terrificly interesting. I wish I would have tried :
Code:
Phone Nokia ==> PC Computer Listening
but that Nokia has just Search for audio headsets option, unfortunately. I cannot see, unfortunately, or find the pc.
I had to create: hcid.conf, because in debian it is not present in the last testing version, squeeze nightly built. So strange that they release packages that shall be in unstable or out of hte distro, cuz not working at all. So, I used this :
Quote:
options {
passkey "1234";
}
in /etc/bluetooth/hcid.conf
Since the man obexftp isnt talkign at all about hcid.conf, I am wondering whether it is so important. I do believe the guy who coded the obexftp thought about password and PIN, and didnt hide it in any places. That would be wickedly strange. Should certainly work as bulk, just installed with some /etc/ existing files pin add-ins with nano, no?
Well, when you look some packages, sometimes one may be completely mad to get daemon working, or just setting up certain daemons. Look openvpn, look kerberos or openldap, or even jailkit for ssh. It's completely out of any thinking to get it installed and working. They just code the packages, and make no efforts to make it available for everyone. Look windows, they have installers, that s why it has success. You will never get success if something is too complicated to be implemented. Think a bit Pitty cuz Linux is far better in all senses than Windows. Although Mac is highly good, nothing to say.
An example: dpkg-reconfigure xserver-xorg
is made for everyone. What did it take? 20min for the coders to make it, maybe. It didnt take long and everyone, I mean not geeks, normal person, can really enjoy using LINUX. It's free, powerful, and certainly the nicest development that could have happened on internet.
Obexftp:
All ideas, are sure ultra highly welcome. It works with Microsoft XP, I dont see the reason why with Linux hardware is always painful. Linux has great days, I do still believe. Maybe in 10years, Linux will be able to handle hardware better. In anycases, microsoft wont have that much OS market in the future. That's a fact.
Last edited by frenchn00b; 11-05-2009 at 05:11 PM.
it has been said that those PIN stuff come with the bluez tooth package. So that's there is somehow a configuration way, adidiotnally to what you gave. I had it already installed , although
kbluetooth (I'm running KDE 3.x) does all this for me:
A bluetooth icon on my panel.
R-click it -> Configuration -> obex server -> Yes
R-click it -> Adapter -> Mode = discoverable | off | connectable.
It all "just works"(TM). But as I don't have a mobile phone it is mostly useless to me. Interesting to watch people with mobile phones walk past in the street though. Yes, it sends & receives files.
Even if you are running gnome you can still install kbluetooth and run it (a load of dependencies will need to be installed, but, who cares?). Give it a try.
I only bought the BT USB micro-dongle because it was almost free, and I thought it might be fun to get working with linux over a weekend. I plugged it in, and it "just worked".
kbluetooth (I'm running KDE 3.x) does all this for me:
A bluetooth icon on my panel.
R-click it -> Configuration -> obex server -> Yes
R-click it -> Adapter -> Mode = discoverable | off | connectable.
It all "just works"(TM). But as I don't have a mobile phone it is mostly useless to me. Interesting to watch people with mobile phones walk past in the street though. Yes, it sends & receives files.
Even if you are running gnome you can still install kbluetooth and run it (a load of dependencies will need to be installed, but, who cares?). Give it a try.
I only bought the BT USB micro-dongle because it was almost free, and I thought it might be fun to get working with linux over a weekend. I plugged it in, and it "just worked".
Awesome, but no puzzles to solve
everything is grey under kbluetooh icon
I run now fluxbox
Ok, i found a way to transfer the photos to my pc.
All I had to do is open the photo on my phone. And from the menu select "send via bluetooth". I select my bluetooth adapter and it sends an incoming file to my linux box.
Regards
Aubrey.
Blueman is a GTK based Bluetooth manager
with gnome blueman project runnnig, then an icon ask you to receive your pic. ok.
the rest, console modes, forget
that is impossible for pairing.
luckily we have kde and gnome, if one fails, the other one goes
so I installed all those packages, and the pairing works with gnome, forget kbluetooth.
type:
Quote:
blueman-manager
you cannot browse with nautilus. It doesnt work, cuz obex isnt handled by nautilus. well select pics from your nokia, and send to ur pc. It is very long. but well, better than nothing.
Its linux, get used. Wait in 5years, softwares will be better. The community is growing, and linux is the best.
and if you miss a packages, those are those installed
forget command line to install blue stack, it s made impossible to humans
Code:
$ dpkg -l | grep blue
ii blueman 1.21-1 A Graphical bluetooth manager
ii bluetooth 4.42-2 Bluetooth support
ii bluez 4.42-2 Bluetooth tools and daemons
ii bluez-alsa 4.42-2 Bluetooth ALSA support
ii bluez-cups 4.42-2 Bluetooth printer driver for CUPS
rc bluez-gnome 0.27-1 Bluetooth utilities for GNOME
ii bluez-gstreamer 4.42-2 Bluetooth GStreamer support
ii bluez-hcidump 1.42-1+b1 Analyses Bluetooth HCI packets
ii bluez-utils 4.42-2 Transitional package
ii gnome-bluetooth 2.27.5-1 GNOME Bluetooth tools
ii kdebluetooth 1.0~beta8-6+b1 KDE Bluetooth Framework
ii libbluetooth3 4.42-2 Library to use the BlueZ Linux Bluetooth sta
ii libgnome-bluetooth2 2.27.5-1 GNOME Bluetooth tools - support library
ii libkbluetooth0 1.0~beta8-6+b1 Bluetooth library for KDE
ii libpam-blue 0.9.0-2.3 PAM module for local authenticaction with bl
ii mplayer-skin-blue 1.6-2 blue skin for mplayer
ii python-bluez 0.17-1 Python wrappers around BlueZ for rapid bluet
Last edited by frenchn00b; 11-08-2009 at 02:07 PM.
Install blueman. I did it via Synaptic. In Ubuntu, when installation finished, you will find "blueman Bluetooth Manager" under menu System>Preferences, just underneath the "Bluetooth", with a bit bigger icon. Make sure Bluetooth adapter on your PC/Laptop is on before you activate blueman or you will get an error messages saying "bluez not running". You can turn your adapter on manually or by activate "bluetooth" from the menu and click "Turn Bluetooth on" button locating in the middle of the window. Unlike obexftp which relies on command line and usually works from the PC/laptop side, blueman can search for and send files to your mobile. I haven't try to browse my mobile the way I used to do with obexftp. However, if you send a file from your mobile while blueman is active you will be ask to accept the incoming file on your PC/laptop. If you accept it you will find the file in your home directory. That's all. I hope this will help.
Cheers,
wijit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.