LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Any ideas how to download pictures, from Nokia mobile phone, with bluetooth ? (https://www.linuxquestions.org/questions/linux-general-1/any-ideas-how-to-download-pictures-from-nokia-mobile-phone-with-bluetooth-766305/)

frenchn00b 11-02-2009 02:49 PM

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?

MS3FGX 11-02-2009 05:31 PM

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".

DJ Shaji 11-02-2009 07:29 PM

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.

frenchn00b 11-04-2009 01:13 PM

Quote:

Originally Posted by DJ Shaji (Post 3741985)
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 (Post 2480499)
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 :(

frenchn00b 11-04-2009 01:32 PM

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

frenchn00b 11-08-2009 12:29 PM

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?

frenchn00b 11-08-2009 12:42 PM

the trick is that one has to run in paralelle

Code:

bluetooth-agent 1234 &


All times are GMT -5. The time now is 12:40 PM.