LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-02-2009, 02:49 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 51
Any ideas how to download pictures, from Nokia mobile phone, with bluetooth ?


Hello,

after bluetooth install using apt-get install, the kbluetooth says nothing and the kbluetooth is too absent of any positive seens nokia guy.

On the other side, iwlist scan
does not list any bluetooh nokia gsm.

any ideas?
 
Old 11-02-2009, 05:31 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
iwlist is for WiFi devices, not Bluetooth.

Start by putting the phone into discoverable mode (by default, a Nokia generally won't be discoverable) and run the command "hcitool scan".
 
Old 11-02-2009, 07:29 PM   #3
DJ Shaji
Member
 
Registered: Dec 2004
Location: India
Distribution: Debian Squeeze, Fedora 17
Posts: 434
Blog Entries: 15

Rep: Reputation: 80
What distro ? Moreover, pre or post 2006 ?

I use bluetooth to connect my fedora core 4 to the internet via GPRS - that's how I'm posting this right now. Nice.

For older Linux distros:
Start the bluetooth service: service bluetooth start

create the file /etc/bluetooth/pin and put in it a PIN code you would like to use: echo 1234 > /etc/bluetooth/pin

From your Nokia handset look for bluetooth devices and pair with your linux system using the above PIN.

With the command "hcitool scan" find your your devices' bluetooth MAC address, and then finally, to send files, use the command
obexftp -b <your mac address> -p <files to send>

or to recieve files:
obexftp -b <your mac address> -g <files to get>

On newer distros, you can simply go through the above steps, but instead of editing files yourself, the system will ask you for a PIN and confirmation through d-Bus.
 
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,546

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by DJ Shaji View Post
What distro ? Moreover, pre or post 2006 ?

I use bluetooth to connect my fedora core 4 to the internet via GPRS - that's how I'm posting this right now. Nice.

For older Linux distros:
Start the bluetooth service: service bluetooth start

create the file /etc/bluetooth/pin and put in it a PIN code you would like to use: echo 1234 > /etc/bluetooth/pin

From your Nokia handset look for bluetooth devices and pair with your linux system using the above PIN.

With the command "hcitool scan" find your your devices' bluetooth MAC address, and then finally, to send files, use the command
obexftp -b <your mac address> -p <files to send>

or to recieve files:
obexftp -b <your mac address> -g <files to get>

On newer distros, you can simply go through the above steps, but instead of editing files yourself, the system will ask you for a PIN and confirmation through d-Bus.
http://www.linuxquestions.org/questi...ssword-496013/

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, 01:32 PM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 51
there is no info in the man
http://www.handhelds.org/moin/moin.cgi/BluePinHelper

well it seems impossible.

They could really coded a better packages. i mean thousand person have the problem.It works under xp with hte same pc


http://ubuntuforums.org/showthread.p...ftp+pin&page=2

Last edited by frenchn00b; 11-04-2009 at 02:14 PM.
 
Old 11-08-2009, 12:29 PM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 51
Quote:
$> sdptool browse
Inquiring ...
Browsing 00:1C:9A:40:CB:BB ...

[...]

Service Name: Dial-Up Networking
Service RecHandle: 0×10017
Service Class ID List:
“Dialup Networking” (0×1103)
Protocol Descriptor List:
“L2CAP” (0×0100)
“RFCOMM” (0×0003)
Channel: 3
Language Base Attr List:
code_ISO639: 0×454e
encoding: 0×6a
base_offset: 0×100
Profile Descriptor List:
“Dialup Networking” (0×1103)
Version: 0×0100
[...]

Okey, now lets pair both devices (here is where I found most of my problems) as none of the pages I found showed how to do it. Pairing means allowing a connection from PC to mobile phone or vicebersa.

Edit your ‘/etc/bluetooth/rfcomm.conf’ to assign a device (MAC) and channel, use which you get in the previous step.

Mirage:/home/kets# cat /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#

rfcomm0 {
# Automatically bind the device at startup
bind no;

# Bluetooth address of the device
device 00:1C:9A:40:CB:BB;

# RFCOMM channel for the connection
channel 3;

# Description of the connection
comment “DUN to use N70 as modem”;
}

it works to put but not to get

how to get a whole folder?
 
Old 11-08-2009, 12:42 PM   #7
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 51
the trick is that one has to run in paralelle

Code:
 bluetooth-agent 1234 &
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia Phone + Bluetooth - trying to start a GRPS connection suse_nerd Linux - Hardware 0 06-12-2009 10:47 AM
how does one bluetooth to the Internet with Nokia tablet & phone? vees Linux - Laptop and Netbook 2 04-22-2007 01:47 AM
Which software for my nokia mobile phone dannyboy@kubuntu Ubuntu 4 11-16-2006 02:33 PM
Bluetooth remote control with nokia S60 phone doesn't work rahilrai Linux - Newbie 1 12-18-2005 06:11 AM
How to transfer data from Nokia mobile phone to slack10.2 fireedo Slackware 2 10-10-2005 10:51 PM


All times are GMT -5. The time now is 10:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration