LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-27-2006, 05:14 AM   #1
runa
LQ Newbie
 
Registered: May 2006
Location: Trondheim, Norway
Distribution: Debian Sid
Posts: 17

Rep: Reputation: 0
obexftp wants a password?


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.

Any help? :)
 
Old 10-27-2006, 05:48 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 10-28-2006, 04:01 AM   #3
runa
LQ Newbie
 
Registered: May 2006
Location: Trondheim, Norway
Distribution: Debian Sid
Posts: 17

Original Poster
Rep: Reputation: 0
I have tried setting the pin, but the phone gets an error saying the pin doesn't match.
 
Old 11-04-2009, 01:13 PM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by runa View Post
I have tried setting the pin, but the phone gets an error saying the pin doesn't match.
same problem here

anysolutions

i put
/etc/bluetooth/pin
the 1234

type it 1234 into the NOKIA and nokia tells wrong password
 
Old 11-04-2009, 03:19 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
options {
passkey "1234";
}
in /etc/bluetooth/hcid.conf?
 
Old 11-04-2009, 03:28 PM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by unSpawn View Post
options {
passkey "1234";
}
in /etc/bluetooth/hcid.conf?
so hcid.conf wasnt there

I just created it, as above

I restarted bluetooth service, and still same result
the password is rejected by Nokia


i type

obexftp -b "mymac" -l

the nokia reacts to my pc, but pwd problem
 
Old 11-05-2009, 04:26 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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?
 
Old 11-05-2009, 04:54 PM   #8
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by unSpawn View Post
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.
 
Old 11-06-2009, 10:56 AM   #9
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
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
 
Old 11-06-2009, 12:44 PM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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
 
Old 11-08-2009, 12:55 PM   #11
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by tredegar View Post
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
 
Old 11-08-2009, 01:06 PM   #12
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by abourke View Post
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
 
0 members found this post helpful.
Old 11-08-2009, 02:05 PM   #13
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
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.
 
Old 12-24-2009, 03:30 AM   #14
Sscheme
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Is there any fix available???
 
Old 01-04-2010, 10:14 PM   #15
wijit
LQ Newbie
 
Registered: Jan 2009
Location: BKK Thailand
Distribution: Ubuntu 9.10
Posts: 4

Rep: Reputation: 1
Smile

Quote:
Originally Posted by Sscheme View Post
Is there any fix available???
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.
 
0 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
Compare LDAP password with php crypt password coolamit78 Linux - Networking 1 01-30-2006 05:35 AM
bluetooth + obexftp littlemidget Debian 0 04-11-2005 01:28 PM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration