-->

..:: seize the day ::..

December 31, 2008

Workaround for bluetooth problem in openSUSE 11.1 (well, partially)

Filed under: IT stuff

Another problem in openSUSE 11.1 is the broken of kbluetooth service. It is mentioned in bugzilla. If someone use the bluetooth keyboard and/or mouse in their PC it will be difficult for him/her to use the computer :-P . I only need the bluetooth to connect my cellphone Nokia E51 to my laptop. And I’m doing this only  if I’m out of office and cannot get the wireless or ethernet cable around to connect to the internet (I have another workaround here, which is enable you to transfer the file with bluetooth on openSUSE 11.1)

You will feel that there is a problem if you point the mouse arrow to bluetooh applet in the panel/systray. It will return the line "No Bluetooth Adapter". If you click the kbluetooth aplet it will return

 bluetooth-err

Well, actually I don’t use bluetooth for transfer the file from my cellphone, so I can live with that. However the "hcitool scan" is working and the bluetooth service can scan and find another bluetooth device without problem, this is a good news :-)

 hcitool-scan

Basically, I open the bluetooth in my Nokia E51, then running "hcitool scan" in my laptop, and it can find it. Try it in your laptop/PC also.

I try to do the pairing between my Nokia E51 and the laptop through the cellphone menu but it cannot find the bluetooth on my laptop. So I download simple-agent file from git.kernel.org. Just right-click to the "raw" next to simple-agent save link as a file in your harddisk, you should rename it as simple-agent. It is a python script.

Go to the directory you save the file and give "chmod +x simple-agent" to give you the execution right for the file. Then run the script to see if it works. In my case it looks like this one (change the address with your cellphone address you have from "hcitool scan")

~ ./simple-agent hci0 00:1D:FD:EE:79:96 

and the result is 

RequestPinCode (/org/bluez/4871/hci0/dev_00_1D_FD_EE_79_96)
Enter PIN Code: 1234 –> fill it with PIN code and the same PIN in cellphone
Release
New device (/org/bluez/4871/hci0/dev_00_1D_FD_EE_79_96)

Don’t affraid to retry this command several times until it success. I try 3 times before I can connect to the cellphone.

Now I can easily use the cellphone to connect to 3G internet provider for the internet connection with "sudo wvdial E51". (You can read my other posting here). It looks like everything is ok but….. wait.

dns-err 

argh…. no nameserver.  I understand this problem and actually easy to solve. I use knetworkmanager to connect to my office access point. Now when I’m trying to connect to the internet using my cellphone, then networkmanager doesn’t write the nameserver from different provider to the /etc/resolve.conf. I go to yast - network device - network setting, go to global options tab and select Traditional Network with ifup on the Network Setup Method. In short, I use ifup instead of networkmanager for this connections. Hmm…. this might be a problem for people traveling alot :-P , searching to bugzilla there is at least one people already reported.

After changing the network connection method with ifup now everything run perfectly :-)

wvdial 

Ok folks that’s it for now. Till then keep safe and stop global warming

Have a lot of fun

1 Comment »

The URI to TrackBack this entry is: http://medwinz.blogsome.com/2008/12/31/workaround-for-bluetooth-problem-in-opensuse-111-well-partially/trackback/

  1. I fixed that by uninstalling kbluetooth and installing kbluetooth4 (for KDE4), so I can send/receive files with this applet. (OpenSuSE 11.1, HP Pavillion DV4-1212LA)

    Comment by ctqeo — May 13, 2009 @ 9:48 pm

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.