LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Bluetooth DUN (Dial Up Network) + Bluedevil & Blueman. (https://www.linuxquestions.org/questions/slackware-14/bluetooth-dun-dial-up-network-bluedevil-and-blueman-906416/)

cwizardone 10-04-2011 01:35 PM

Bluetooth DUN (Dial Up Network) + Bluedevil & Blueman.
 
Typing this via XP running in VirtualBox as I can't get a bluetooth DUN setup in Slackware64-current.
Bluedevil in KDE 4.7.1 doesn't even offer the option. I've tried the bluetooth manager in Xfce 4.6.2 (and can do the same in KDE) and it finds the cellphone and says it is set up to be used by the "Network Manager," but there is nothing to be found in Network Manager or anywhere else for that matter. It evens says it has made a connection, but I don't know to what as I can't get to the Internet.
It is slow, but I'm on the road and find myself in a hotel without, believe it or not in this day and age, wifi, so this is the ONLY OPTION.
Any help in getting this to run in Slackware would be greatly appreciated. (And, yes, I've searched the forum.)
:hattip:

zk1234 10-05-2011 03:16 PM

http://bluemodem.sourceforge.net/

cwizardone 10-05-2011 07:32 PM

While searching for a solution to this problem I've come across references to plug-ins for Blueman to provide PAN and DUN support via NetworkManager, but haven't actually found said plug-ins. Does anyone know if they exist and/or are there similar plug-ins for Bluedevil?
Thanks.
:hattip:

stormtracknole 10-05-2011 10:38 PM

I remember getting this to work with gnome-bluetooth and NetworkManager. I believe I needed to build ModemManager also. I'll see if I can dig out my notes on how I did this, but I remember taking quite a bit of time to get to work.

ReaperX7 10-06-2011 12:00 AM

ModemManager should work for these devices, but you should get NetworkManager too just in case.

cwizardone 10-06-2011 07:59 AM

Quote:

Originally Posted by ReaperX7 (Post 4491290)
ModemManager should work for these devices, but you should get NetworkManager too just in case.

Thanks, but both were installed long before this problem and, as mentioned in the first post, no joy, i.e., there is no provision, using the NetworkManager applet to set up a Bluetooth connection.

stormtracknole 10-06-2011 08:57 AM

Quote:

Originally Posted by cwizardone (Post 4491503)
Thanks, but both were installed long before this problem and, as mentioned in the first post, no joy.

If I remember right, I had to install gnome-bluetooth first, then rebuild NetworkManager and ModemManager (dependencies included) so it could link to the new gnome-bluetooth libraries.

cwizardone 10-06-2011 06:34 PM

Quote:

Originally Posted by stormtracknole (Post 4491540)
If I remember right, I had to install gnome-bluetooth first, then rebuild NetworkManager and ModemManager (dependencies included) so it could link to the new gnome-bluetooth libraries.

Thanks. I found the source code and a script for gnome-bluetooth and tried to build it, but it wants gtk+3 and a couple of other things.
:banghead:

stormtracknole 10-06-2011 07:56 PM

Quote:

Originally Posted by cwizardone (Post 4491991)
Thanks. I found the source code and a script for gnome-bluetooth and tried to build it, but it wants gtk+3 and a couple of other things.
:banghead:

Grab one of the older versions. The gsb folk already have a SlackBuild for it.

cwizardone 10-07-2011 01:20 PM

zk1234,
Bluemodem has been configured, made and installed, but very command ends in a "segmentation fault" error message. I'll keep trying.

stormtracknole,
Found gnome-bluetooth and installed it and rebuilt networkmanager, but no joy. Oh, well, by the time this gets solved maybe I'll have moved on to a hotel with wifi. :) In the meantime it is VirtualBox, Xp and Bluesoleil. :)

Thanks to you both.
:hattip:

stormtracknole 10-07-2011 02:04 PM

Quote:

Originally Posted by cwizardone (Post 4492621)
zk1234,
Bluemodem has been configured, made and installed, but very command ends in a "segmentation fault" error message. I'll keep trying.

stormtracknole,
Found gnome-bluetooth and installed it and rebuilt networkmanager, but no joy. Oh, well, by the time this gets solved maybe I'll have moved on to a hotel with wifi. :) In the meantime it is VirtualBox, Xp and Bluesoleil. :)

Thanks to you both.
:hattip:

Did you make sure to configure your phone first with gnome-bluetooth? It has to be configured first and the application must be running before you move on to NetworkManager.

cwizardone 10-07-2011 04:06 PM

OK, I was digging around in /usr/bin and found "bluedevil-network-dun." I tried to run it and a small box flew by too fast to read what was going on. It doesn't appear to be connected to Bluedevil, i.e., one does not see the other. Is there anyway to make them work together?
Ditto, Blueman. I've looked around and can't find any of the the so called Blueman plug-ins for NetworkManager.

stormtracknole 10-07-2011 05:34 PM

Quote:

Originally Posted by cwizardone (Post 4492688)
OK, I was digging around in /usr/bin and found "bluedevil-network-dun." I tried to run it and a small box flew by too fast to read what was going on. It doesn't appear to be connected to Bluedevil, i.e., one does not see the other. Is there anyway to make them work together?
Ditto, Blueman. I've looked around and can't find any of the the so called Blueman plug-ins for NetworkManager.

Ok, I was able to dig some notes. Go ahead and build obexd from Robby's mirror. Then, build gnome-bluetooth --> mobile-broadband-provider-info --> ModemManager --> libtasn1 --> ORBIT2 and GConf (both now on extra) --> libgnome-keyring --> gnome-keyring --> NetworkManager --> network-manager-applet.

After all of this, make sure that rc.bluetooth is running. Configure your phone through gnome-bluetooth. After that, the phone "should" show up on NetworkManager.

cwizardone 10-07-2011 06:27 PM

Quote:

Originally Posted by stormtracknole (Post 4492718)
Ok, I was able to dig some notes. Go ahead and build obexd from Robby's mirror. Then, build gnome-bluetooth --> mobile-broadband-provider-info --> ModemManager --> libtasn1 --> ORBIT2 and GConf (both now on extra) --> libgnome-keyring --> gnome-keyring --> NetworkManager --> network-manager-applet.

After all of this, make sure that rc.bluetooth is running. Configure your phone through gnome-bluetooth. After that, the phone "should" show up on NetworkManager.

Good stuff. Thanks. All your help has been greatly appreciated!
One more dumb question, if I might? I'm not sure what you mean by "configure your phone through gnome-bluetooth." Can you give more detail?
Again,
Many Thanks.
:hattip:

stormtracknole 10-07-2011 07:06 PM

Quote:

Originally Posted by cwizardone (Post 4492739)
Good stuff. Thanks. All your help has been greatly appreciated!
One more dumb question, if I might? I'm not sure what you mean by "configure your phone through gnome-bluetooth." Can you give more detail?
Again,
Many Thanks.
:hattip:

Well, make sure that your phone bluetooth is capable of being used for data. Not all phones can. It's been a while since I used gnome-bluetooth, but this link looks like it will walk you through it.

cwizardone 10-07-2011 08:14 PM

Quote:

Originally Posted by stormtracknole (Post 4492756)
Well, make sure that your phone bluetooth is capable of being used for data. Not all phones can. It's been a while since I used gnome-bluetooth, but this link looks like it will walk you through it.

So, you are saying gnome-bluetooth replaces bluetoothd without changing the name of the file?

stormtracknole 10-07-2011 09:31 PM

Quote:

Originally Posted by cwizardone (Post 4492785)
So, you are saying gnome-bluetooth replaces bluetoothd without changing the name of the file?

No, no. gnome-bluetooth is just an application that uses the bluetooth deamon. It won't actually replace it. It's just like blueman uses bluetoothd.

cwizardone 10-07-2011 10:28 PM

Quote:

Originally Posted by stormtracknole (Post 4492809)
No, no. gnome-bluetooth is just an application that uses the bluetooth deamon. It won't actually replace it. It's just like blueman uses bluetoothd.

At first that is what I thought, but after installing it I couldn't get it to run. I finally took a look at the .txz file with "Ark" and tracked the different executables and only bluetooth-wizard would run, but not work, that is, it couldn't find the device. So I then started reading all the doc files, which, for the most part, are worthless, but came across this,

Quote:

The core of GNOME Bluetooth is two packages: gnome-bluetooth, which provides desktop level support for Bluetooth devices, and libbtctl, which provides a GLib style library of application support for accessing Bluetooth under Linux.
Everything else required is installed, so I guess it is off to find, libbtctl.

stormtracknole 10-07-2011 11:49 PM

Quote:

Originally Posted by cwizardone (Post 4492838)
At first that is what I thought, but after installing it I couldn't get it to run. I finally took a look at the .txz file with "Ark" and tracked the different executables and only bluetooth-wizard would run, but not work, that is, it couldn't find the device. So I then started reading all the doc files, which, for the most part, are worthless, but came across this,



Everything else required is installed, so I guess it is off to find, libbtctl.

What version of gnome-bluetooth did you download? I don't remember having to build that package. In fact, the version that I built was 2.28.6.

cwizardone 10-08-2011 06:39 AM

2.28.3.
It is 4:30 a.m. here and I'm nowhere closer to solving the problem than I was four days ago.
It is this sort of nonsense that confirms what I've been saying for years, i.e., when it comes to having to get business done, I might as well just run Xp and keep Linux in a small partition as a "hobby."
If I want to scan, which I have to do daily, with any speed and quality, I have to do it in Xp as Xsane gives very inferior results (and, yes, if you add up all the time I've spent tweaking Xsane it would come to several days, if not a week or so).
Ditto, printing. I can show you documents, especially those with graphics, printed in LibreOffice/OpenOffice and the quality is just not as good, the colors not as bright, or correct, when compared to those printed in ms-word. Fortunately, I have been able to get ms-word to run on the Xfce or KDE desktop via WINE.
Bluetooth, same thing. Somethings work in Linux, some do not, but they all work in Xp.
Might as well buy a copy of winblows 7 and get it over with.
The critics are right. Linux is not ready for the desktop. Well, maybe for certain specific applications, but if you are trying to run a business and need ONE operating system that can get a variety of things done, Linux is not the operating system of choice.
OTOH, I'll probably keep using Linux and beating my head against the wall because of my dislike of mickeysoft.... Sounds like a definition for being mentally ill?
:)
stormtracknole, thanks for all your help, but I'll just use XP and BlueSoleil and chalk this up to just another bad Linux experience. Well, not as bad as KDE 4.x, but close. :)
Thanks, again for all your help.
:hattip:

stormtracknole 10-08-2011 07:37 AM

Quote:

Originally Posted by cwizardone (Post 4493049)
2.28.3.
It is 4:30 a.m. here and I'm nowhere closer to solving the problem than I was four days ago.
It is this sort of nonsense that confirms what I've been saying for years, i.e., when it comes to having to get business done, I might as well just run Xp and keep Linux in a small partition as a "hobby."
If I want to scan, which I have to do daily, with any speed and quality, I have to do it in Xp as Xsane gives very inferior results (and, yes, if you add up all the time I've spent tweaking Xsane it would come to several days, if not a week or so).
Ditto, printing. I can show you documents, especially those with graphics, printed in LibreOffice/OpenOffice and the quality is just not as good, the colors not as bright, or correct, when compared to those printed in ms-word. Fortunately, I have been able to get ms-word to run on the Xfce or KDE desktop via WINE.
Bluetooth, same thing. Somethings work in Linux, some do not, but they all work in Xp.
Might as well buy a copy of winblows 7 and get it over with.
The critics are right. Linux is not ready for the desktop. Well, maybe for certain specific applications, but if you are trying to run a business and need ONE operating system that can get a variety of things done, Linux is not the operating system of choice.
OTOH, I'll probably keep using Linux and beating my head against the wall because of my dislike of mickeysoft.... Sounds like a definition for being mentally ill?
:)
stormtracknole, thanks for all your help, but I'll just use XP and BlueSoleil and chalk this up to just another bad Linux experience. Well, not as bad as KDE 4.x, but close. :)
Thanks, again for all your help.
:hattip:

I totally understand. Linux can be frustrating at times, just like Windows too though. ;) I have found though that Fedora and Ubuntu are more plug and play ready for certain things, like bluetooth for example. Yes, I agree that scanning on Linux can be a pain.

I'm sorry I couldn't help you to get your problem resolved.

cwizardone 10-29-2011 08:27 AM

This is not solved, but I have, just several minutes ago, finally been able to make the connection direct from Slackware and not via Xp running in VB.
I've been re-reading the 10 or so pages of information on the subject I printed off the Web a few weeks ago and tried a couple of different ways of going about it.
I had already edited /etc/bluetooth/rfcomm.conf and that did result in a rfcomm0 device in /dev, but it wouldn't work properly. This time I opened a terminal as root, issued the command,
Quote:

rfcomm bind 0 mycellphoneaddress channel#
then setup the "modem" (which I've tried before, but didn't work) in KPPP and Bingo!, it worked. Pain in the a**, but it works.
:)
Now to find an easier way.
:)

zasavage 10-29-2011 04:33 PM

@cwizardone

Ok read your post and decided what the heck lets see what it takes to use DUN wit bluetooth , connecting via GPRS
I got it to work first time using this ..

"hcitool scan "to find device

and

"sdptool search --bdaddr 00:19:79:89:13:8E DUN " substitute 00:19:79:89:13:8E with your phone's MAC
to get the channel

edit /etc/bluetooth/rfcomm.conf

bind yes;
device 00:19:79:89:13:8E; ---- again substitute 00:19:79:89:13:8E with your phone's MAC
channel 3; ------substitute with the channel you found previous
comment "GPRS dialup";

restart bluetooth
check rfcomm
"ls -l /dev/rfcomm0 "
should get answer like this --- crw-rw---- 1 root tty 216, 0 2007-08-10 21:32 /dev/rfcomm0

I just used the bluetooth manager to connect and it connected first time

Regards
Lawrence

cwizardone 10-29-2011 07:23 PM

My did you know that off the top of your head or did you have to look it up on the Internet like I did?

That is almost word for word from the "Bluetooth GPRS Howto" from the Arch Wiki. However, as it is now
2011 and almost 2012, what is important is the last section on the last page that says, "As of blueman
1.02-1 and networkmanager 0.70-1, there is no need to edit any configuration files anymore, so that we
can easily set up bluetooth GRPS dialup purely in GUI..."
What a joke that is...... at least with Slackware.

zasavage 10-30-2011 02:52 AM

If you dont want help then say so
You have on many occasions insulted people on this forum
My post is from Arch how to , but I did try every step on my HP laptop and know it will work
You are fast to blame slackware when in fact you don't want to follow simple instructions.
I again just followed the instructions and used my daughters Samsung phone and was connected in 5 minutes ..
Anyway dont expect any help from me no more :tisk:

Regards

LAwrence

cwizardone 10-30-2011 07:22 AM

Maybe I should have put a smiley at the end of the first line?
I wouldn't call what you posted "help," but a "look how smart am I" post.

I've gone through all that almost a month ago trying to get it to work with Networkmanager and nothing
worked that was suppose to work.
"hcitool scan" didn't work, by the way. Neither did "spdtool search." I found most of what I needed in the
Bluesoleil setup in XP. The correct channel was found by trial and error.

But, again, the point being I wasn't trying to do it by writing scripts, which I was happy to do BACK IN 1995. I think I still have some of the old PPP scripts I had to write back then in a backup somewhere. It is this, "gee, why don't you write a script and/or compile a few applications" attitude in 2011, that is pulling Slackware farther and farther down the list of popular Linux distributions. Keep it up and all of you "hobbyist" will eventually put Slackware out of business.


All times are GMT -5. The time now is 09:39 PM.