LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Access bluetooth modem on SUSE 10.0 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/access-bluetooth-modem-on-suse-10-0-a-390467/)

fitfeet 12-08-2005 06:12 AM

Access bluetooth modem on SUSE 10.0
 
I have tried for days now to get suse 10.0 to access my bluetooth modem. It sees it but I have no way of using it to dial up. I have attempted to alter the wvdial file, with no success, as everytime Yast over rides what I put in it. I have manually configured Yast and still no success. I have ensured that all bluetooth services are running, And yet I have used Knoppix 4.2 live distro and it not only sees the modem but also it is a doddle to set up and use DUN. Can anyone assist me or provide a pointer where I might be able to find out this information.
I currently dual boot my system with XP/Suse and sometimes use Knoppix. However I want to get rid of XP completely, however XP works well with the bluetooth modem, hence using XP for this post!
Thanks in advance.
FF

cs-cam 12-08-2005 06:31 AM

You should post what kind of phone it is etc, then we can help you better.

Try reading this site, it has a lot of info on this topic, even if it doesn't list your exact distrobution or phone model don't worry, Suse 9.x is close enough to Suse 10 and sometimes close phone models from the same manufacturer run the same firmware so the instructions would be the same :)

fitfeet 12-08-2005 06:45 AM

Thanks for your quick response. Yes and sorry for forgetting to give a description of the modem.
The modem is not a phone, it is in fact a conceptronic bluetooth/serial modem. I use it in its bluetooth mode. Do you have any suggestions as to how I may find a solution. I have seen your replies to lots of other questions regarding Bluetooth and mobile phones, and I have attempted to use some of those ideas myself, but with no luck. Thanks
FF

cs-cam 12-08-2005 07:48 AM

Hmm, tougher question then. I've never encountered one of those before, challenges are fun :D I only installed linux after upgrading to broadband so forgive me for not knowing all the PPP lingo, you'll need to use 'hcitool scan' to get an address for the modem and then use 'sdptool browse <bdaddr>' to get a list of services the device offers. From that list, you'll need to find the RFCOMM channel for Serial Port 1 (probably channel 1, post the output if you get stuck) and then setup a connection with rfcomm:
Code:

# <bdaddr> == device address
# <rfchan> == rfcomm channel
rfcomm bind /dev/rfcomm0 <bdaddr> <rfchan>

And then dialing should be as simple as telling wvdial that the modem is at /dev/rfcomm0 rather than /dev/tty0 or wherever your average serial modem goes. When you're done, rfcomm release /dev/rfcomm0 will close the connection to the modem (after you've disconnected with wvdial of course!) and there you go!

Try that and see how you go :)

fitfeet 12-09-2005 02:41 AM

Thanks for your assistance, I followed your commands to the letter.
Here is the answer to the use of the sdptool browse
Browsing 00:60:29:C5:C3
Sdptool browse bdaddr
Failed to connect to sdp server on DD:00:00:00:00:00 Host is down
Sdptool browse rfchan
Failed to connect to sdp server on 00:00:00:00:00:00 Host is down
So I tried sdptool search dun and as a result I got
Searching for dun on 00:10:60:29:C5:C3 …
Service Name: Dial-up Networking
Service RecHandle: 0x10000
Service Class ID List:
“L2CAP” (0x0100)
“RFCOMM” (0x0003)
Channel: 1
Profile Descriptor List:
“Dialup Networking” (0x1103)
Version: 0x0100
And then I tried for sdptool get 00:10:60:29:C5:C3 …
Service Name: SDP Server
Service Description: Bluetooth service discovery server
Service Provider: Bluez
Service RecHandle: 0x0
Service Class ID List:
“SDP Server” (0x1000)
Protocol Descriptor List:
“L2CAP” (0x0100)
PSM: 1
Version: 0x0001
Language Base Attr List:
Code_ISO639: 0x656e
Encoding: 0x6a
Base_offset: 0x100
Any thoughts on what to do next? Thanks in advance. The computer with bluetooth dongle is located some distance from the modem, but this dongle has worked under Windows XP and Knoppix 4.2.
FF

fitfeet 12-13-2005 04:10 AM

I have tried to sort this out by installing suse on to my dell laptop, then moving closer to the modem, thus ensuring communication is not hindered by distance, but still the same problems. I can connect to the modem, but I cannot dial out through the modem, perhaps I am not configuring wvdial correctly?
Thanks
FF

cs-cam 12-14-2005 03:49 AM

I couldn't tell you about wvdial, never used my phone as a modem. Download minicom and then bind the modem to a RFCOMM device like before. Once you've done that, as root run 'minicom -s'. When the menu comes up you'll need to configure it to access the rfcomm device. Go to Serial port setup and then press 'A' to change the Serial Device value to /dev/rfcomm0. Press escape twice and it should say Initializing Modem and then display an intro and an AT string. Just type 'AT' here (no quotes) and press enter. If you get an OK back then the problem is with the configuration of wvdial, the modem and the Bluetooth connection are working fine. If you don't get an OK then let me know what you do get or where what is on your screen differs from what I've written and we'll see how we go from there :)

marika 01-27-2006 10:38 PM

fitfeet - did you ever get this sorted out? i also have a bluetooth modem (sounds similar to yours) which i can not get to work with linux (im also up to suse 10 after tring redhat 9, fedora core 3, suse 9). im getting closer though! linux does detect the device, it just wont dial with it?!?! i know the device works because im using it now via windows to access this website.

fitfeet 01-30-2006 02:48 AM

No I never did get it working. It works under Knoppix, but of course that really is a live distro. But under suse 10 it is reconized, it accepts the pin, but there is no interface (front end) to use (like you). The modem works well under Windows, but under suse it just will not do the job. In fact I have given up on it, which is a great shame as I liked the way suse works and behaves.
Regards
FF

crazibri 03-10-2006 09:39 PM

I just wanted to post a thank you to you guys.
I installed kppp and used this command:

rfcomm bind /dev/rfcomm0 <bdaddr> <rfchan>

Worked great! I'm online through my VX8100 LG phone. :D

Only thing is my device pairing only lasts for a few minutes and I have to re-pair the device.
Other than that looks good.

I also just tried Kinternet instead of kppp because kppp would disconnect me after a few minutes.

Kinternet works as long as I dont have netapplet running :)

fortezza 06-12-2006 12:47 AM

Quote:

Originally Posted by crazibri
I just wanted to post a thank you to you guys.
I installed kppp and used this command:

rfcomm bind /dev/rfcomm0 <bdaddr> <rfchan>

Worked great! I'm online through my VX8100 LG phone. :D

Only thing is my device pairing only lasts for a few minutes and I have to re-pair the device.
Other than that looks good.

I also just tried Kinternet instead of kppp because kppp would disconnect me after a few minutes.

Kinternet works as long as I dont have netapplet running :)


When you say that you are online through you phone, do you mean that you are dialing an ISP through it? Or do you mean you have purchased a data connection for your phone, and that you are connecting your Linux computer to that service via bluetooth? My phone has a data connection for surfing/email/etc, and it would be cool just to share that with my Linux laptop.

locksoflove 08-07-2007 07:54 AM

Dear all,
thanks to your effort, I am able to use a bluetooth modem on linux (xubuntu 7.04 on a Thinkpad x60s).

The modem is an Acer Modem 56 Surf Bluetooth 100m and these are commands required to get it running:
# hcitool scan
(this provides me with the modem's MAC (although it's written down on the modem as well)

# sdptool search dun
(using this I got more information on the service dun:
Service Name: Dial-up Networking
Service RecHandle: 0x10000
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100

What is important is the RFCOMM-Channel)

Then, all I had to do was:
# sudo rfcomm bind /dev/rfcomm0 00:03:2F:A3:05:9B 1

I use the BongoSurfer (least cost router). I had to tell it where the modem is (/dev/rfcomm1 instead of /dev/ttyS0). Oh, at one point, the Bluetooth applet required the code of the modem...)

All I have to do is enter the last command (rfcomm bind ...) after every reboot. Does anybody know a fine solution to that? Where should I put that in a script so that the command is executed (as root) everytime I startup?

So thanks to you all. Obviously, only few people use these kinds of
modems. They are kind of poor people's WLAN. But I like it.

Cheers,
Locksoflove

dhanki_a 11-20-2007 02:33 PM

How to Create dial-up vai bluetooth
 
Hi

Anyone can help me?


i want to use internet vai bluetooth modem using dailup connection form using Nokia 6233.

How to Create dial-up vai bluetooth in Fedora, redhat & SUSE one of them.

How can i do & what is the command to connect internet vai bluetooth dailup.

Just like i connect internet in windows by support of Nokia PC Suite.

plzzzzzzzz............


All times are GMT -5. The time now is 12:17 AM.