| Author |
Message |
tempestuous
Joined: 10 Jun 2005 Posts: 4950 Location: Australia
|
Posted: Sat 23 Dec 2006, 04:04 Post subject:
|
|
debernardis,
You have done some good troubleshooting. From a more recent forum thread, it appears that the problem may be due to Puppy not having ALL bluetooth modules (and maybe firmware, too).
I have just supplied the full set of modules/libs/utils/firmware here http://www.murga-linux.com/puppy/viewtopic.php?p=85384#85384
Maybe you will have more success with these installed?
|
|
Back to top
|
|
 |
daemon
Joined: 29 Dec 2006 Posts: 26 Location: Vladivostok, Russia
|
Posted: Fri 29 Dec 2006, 22:32 Post subject:
SOLVED |
|
I have solved that problem with Bluetooth!!
The hcid didn't start because it has some problems with dbus. (try hcid -n ).
While trying to fix this problem i have found out that old versions of bluetooth-utils didn't require dbus, it's optional there. So, I have found libs and utils version 2.10 (instead of 3.8.), compiled them, and it WORKS (I had previously uninstalled dbus, libs3.8 and utils3.8.). It has some problems with pin helper, but with fixed pin IT WORKS. Now i can connect to gprs, and use bluetooth LAN!.
I have used puppy 2.12 (upgraded from 2.02 especially for bluetooth, in 2.02 there is no rfcomm.ko module) and modules from previous post (i didn't use zdrv.sfs because of VERY expensive traffic)
Here is my bluetooth startup script and OLD versions of libs and utils (they are very hard to find)
p.s. Sorry for bad english!
| Description |
My bluetooth startup script.
|

Download |
| Filename |
bt2.sh.gz |
| Filesize |
244 Bytes |
| Downloaded |
1690 Time(s) |
| Description |
|

Download |
| Filename |
bluez-libs-2.10.tar.gz |
| Filesize |
261.5 KB |
| Downloaded |
1707 Time(s) |
| Description |
|

Download |
| Filename |
bluez-utils-2.10.tar.gz |
| Filesize |
283.57 KB |
| Downloaded |
2591 Time(s) |
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 171
|
Posted: Sat 30 Dec 2006, 02:46 Post subject:
|
|
I'll try ASAP
|
|
Back to top
|
|
 |
DrDeaf
Joined: 30 Dec 2006 Posts: 33
|
Posted: Sat 30 Dec 2006, 11:09 Post subject:
|
|
Hello all.... I am a noob.pup but the Bluetooth connectivity would be huge for me. I currently use a Bluetooth LG CU500 GPRS phone with a Nokia 770, but if the Bluetooth info could be put into a "HowTo" and a straightforward file download that I could follow I'd be a happy (desktop) camper.
Cheers!
D
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 171
|
Posted: Tue 02 Jan 2007, 03:05 Post subject:
|
|
Hello Daemon,
I suspect that on your machine there are remnants of previous trials to make BT work, because following your instructions I am stuck to the creation of /dev/rfcomm0.
Follow me please:
I have downloaded and installed the BT modules dotpup;
I have downloaded the old versions of bluez-libs and bluez-utils;
./configure - make - make install for both
I have opened your script and executed the single lines
All the 4 insmod are OK;
hciconfig hci 0 up gives no output as it should I guess; then i give
hciconfig and I see my interface;
I gave also the commented out hciconfig cc my-address
and a hciconfig auth my-address in order to pair - and pairing was OK
Then:
you give rfcomm bind 0 my-address my-channel (for my phone channel is 2)
I give the command, seems OK
in fact when I give rfcomm show I get rfcomm0: my-address channel 2 clean
Good? No
going on with hcid, sdpd
but when I look for /dev/rfcomm0, there is
no /dev/rfcomm0 so nothing to link to /dev/modem and going on no joy with the following instructions.
So my problem is to create rfcomm0
Look at https://help.ubuntu.com/community/BluetoothDialup :
this says he creates rfcomm0 by issuing sudo /etc/init.d/bluez-utils restart (but we haven't that in our setting).
So what next? How did you get to have /dev/rfcomm0
Thanks
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 171
|
Posted: Tue 02 Jan 2007, 08:11 Post subject:
|
|
I am going on learning.
And I learned that I have to create the /dev/rfcomm0 node,
and I should do it this way:
| Code: | | mknod -m 666 /dev/rfcomm0 c 216 0 |
I'll do it
Last edited by debernardis on Wed 03 Jan 2007, 01:23; edited 1 time in total
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 171
|
Posted: Tue 02 Jan 2007, 09:14 Post subject:
Whoa! |
|
It did work, by following step by step this: http://www.artm-friends.at/rm/bluetooth-gprs-rm-HOWTO.txt
and I'm presently posting through a gprs connection
Now I'll prepare a dotpup and a howto - somebody please get it and make a wizard... we'll have a BT puppy soon. Next step - obex!
|
|
Back to top
|
|
 |
daemon
Joined: 29 Dec 2006 Posts: 26 Location: Vladivostok, Russia
|
Posted: Tue 02 Jan 2007, 10:55 Post subject:
|
|
Sorry, i have read a lot of FAQ's, HOWTO's, etc while getting this to work, and i have forgotten some steps i made...
Now i have 2 problems:
1. I cannot initiate LAN connection from my laptop. I only can run listening daemon on laptop(puppy) and then connect from pc(Windows Vista). Have anyone any idea?
2. My GPRS Provider is a bit buggi, when i connect in windows i have to wait about 1 minute while windows says "Loging in to network...". In linux it causes BIG problems. When i try to connect to GPRS pppd successfully creates ppp0, then waits a bit (20-30 seconds) and dies because of timeout. After 5-6 retries it finally connects. Where can i increse this timeout?
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 171
|
Posted: Wed 03 Jan 2007, 03:58 Post subject:
|
|
Daemon: sorry at the present time I am unable to help you! But eventually I'll learn.
For an experimental howto on gprs bluetooth connection go see http://puppylinux.org/wikka/ExperimentalBT and report your experiences and thoughts
|
|
Back to top
|
|
 |
daemon
Joined: 29 Dec 2006 Posts: 26 Location: Vladivostok, Russia
|
Posted: Sun 07 Jan 2007, 01:04 Post subject:
|
|
I have solved my problem with gprs!
Now it connects 100%
I think speed does not matter, so may be returned to 115200, i made it 56700 just for safety.
Here are my pppd config files:
Peers:
| Code: | noauth
connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/akos"
/dev/rfcomm0
#115200
57600
defaultroute
#noipdefault
user
usepeerdns
nodetach
debug
#xonxoff
crtscts
receive-all
novj
nodeflate
noccp |
Chatscript:
| Code: | ABORT ERROR
ABORT RING
ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIALTONE"
ABORT "NO ANSWER"
REPORT CONNECT
"" "ATZ"
OK ATDT*99#
TIMEOUT 60
CONNECT \c
|
I was editing scripts, originally created by kppp (i edited only peer script).
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 171
|
Posted: Tue 23 Jan 2007, 02:01 Post subject:
Call for scripting Subject description: (is there a man of good will?) |
|
Friends,
is there anybody who's got time and will to convert my howto in
http://puppylinux.org/wikka/ExperimentalBT
to a script (shell or puppybasic or whatever) to automate connection?
At present I have no time and also I'm clueless at scripting but that could be useful for everybody.
|
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1089 Location: Sweden
|
Posted: Tue 23 Jan 2007, 04:31 Post subject:
Re: Call for scripting Subject description: (is there a man of good will?) |
|
| debernardis wrote: | Friends,
is there anybody who's got time and will to convert my howto in
http://puppylinux.org/wikka/ExperimentalBT
to a script (shell or puppybasic or whatever) to automate connection?
At present I have no time and also I'm clueless at scripting but that could be useful for everybody. |
BT would also be useful to me, but at present I'm busy with other projects and don't have the time to help you
Perhaps later, if no one else volunteers.
Paul
_________________ Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart 
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 171
|
Posted: Tue 23 Jan 2007, 14:57 Post subject:
|
|
I have put together kinda of a script to automate gprs connection.
In order to make it work you must have:
1) mac address and dun channel of your phone (to be hardcoded into the script);
2) gprs connection scripts for pppd for your telco.
Everything is described in the wiki page; the script is attached in this message.
Please testers let me know their results!
In next step I would like to automate phone selection. Then, going on, there is obex to be added, maybe from http://openobex.triq.net/ - and phone filesystem mounting (p3nfs ?).
Help is really welcome
EDIT 24-1-07 uploaded new version of the script, modified the wiki accordingly
| Description |
|

Download |
| Filename |
gprs-connect.gz |
| Filesize |
352 Bytes |
| Downloaded |
1019 Time(s) |
|
|
Back to top
|
|
 |
daemon
Joined: 29 Dec 2006 Posts: 26 Location: Vladivostok, Russia
|
Posted: Wed 31 Jan 2007, 20:07 Post subject:
|
|
I have some free time to try OpenObex, but I am not sure if it supports my phone (Samsung E900). May be somebody know this? I dont want to spend time doing useless things...
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Fri 08 Feb 2008, 19:59 Post subject:
|
|
daemon,
Your phone supports bluetooth and USB.
So you should be able to do things.
ObexFTP via bluetooth f.e.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
|