Page 2 of 2

Posted: Tue 02 Jan 2007, 12:11
by debernardis
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: Select all

mknod -m 666 /dev/rfcomm0 c 216 0
I'll do it :twisted:

Whoa!

Posted: Tue 02 Jan 2007, 13:14
by debernardis
It did work, by following step by step this: http://www.artm-friends.at/rm/bluetooth ... -HOWTO.txt
and I'm presently posting through a gprs connection :P

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! :P :P

Posted: Tue 02 Jan 2007, 14:55
by daemon
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?

Posted: Wed 03 Jan 2007, 07:58
by debernardis
Daemon: sorry at the present time I am unable to help you! :cry: 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 :idea:

Posted: Sun 07 Jan 2007, 05:04
by daemon
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: Select all

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: Select all

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

Call for scripting

Posted: Tue 23 Jan 2007, 06:01
by debernardis
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.

Re: Call for scripting

Posted: Tue 23 Jan 2007, 08:31
by pakt
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

Posted: Tue 23 Jan 2007, 18:57
by debernardis
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 8)

EDIT 24-1-07 uploaded new version of the script, modified the wiki accordingly

Posted: Thu 01 Feb 2007, 00:07
by daemon
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...

Posted: Fri 08 Feb 2008, 23:59
by Béèm
daemon,
Your phone supports bluetooth and USB.
So you should be able to do things.
ObexFTP via bluetooth f.e.

p3nfs

Posted: Sat 09 Feb 2008, 23:19
by steevieb
- and phone filesystem mounting (p3nfs ?)
Some addresses with some info about p3nfs below.
http://ocaoimh.ie/2003/05/10/linux-to-s ... fer-howto/
Note: from above webpage: Start Bluetooth services: /etc/init.d/bluetooth start
Puppy does not have this file on my machine. Or /etc/rc.d/init.d/bluetooth start
http://www.koeniglich.de/p3nfs.html - has .SIS files for phone.

Posted: Sun 10 Feb 2008, 00:01
by Béèm
Did anybody got the p3nfs working?

Posted: Fri 28 Mar 2008, 15:58
by Master_wrong
hi, I got myself "almost" connected with gprs, but my operator use username and password, how do I put username and password in the pppd script? I'm using puppy 3.01...


i browse around and find this...

# Username and password:
# If username and password are required by the APN, put here the username
# and put the username-password combination to the secrets file:
# /etc/ppp/pap-secrets for PAP and /etc/ppp/chap-secrets for CHAP
# authentication. See pppd man pages for details.
# Example, Radiolinja operator pap-secrets:
# "rlnet" * "internet" *
#user "rlnet"
#user "Orange"


from... http://www.bigsoft.co.uk/projects/bluetooth/

what is it mean ?
thank you

Posted: Sat 29 Mar 2008, 04:44
by tempestuous
The correct way to specify username and password for ppp connections is to add this line to both /etc/ppp/pap-secrets and /etc/ppp/chap-secrets

Code: Select all

MYUSERNAME * MYPASSWORD
Obviously, replace "MYUSERNAME" and "MYPASSWORD" with your true values, and don't forget the asterisk in the middle.

Another thing to try is wvdial, since the wvdial configuration file makes it obvious where to put the username and password. However, you would probably need to Google for all the other GPRS settings for wvdial. Do a Google search for "wvdial GPRS".

But I wouldn't assume that ppp chat scripts necessarily need to specify username/password. GPRS connections are not standard; different service providers use different login processes.
From the instructions provided by my Motorola K1 mobile phone, it appears that the phone holds data service settings, including username/passwords.
Forum members daemon and debernardis are the experts on this subject. They may have further information.

Posted: Sat 29 Mar 2008, 10:06
by Master_wrong
hi, thank you...

but
I have found one method which work for me, . I edit the file /etc/ppp/peers/gprs


I add these simple code :
user xxxx
password zzzz

(xxxx,zzzz are standart username and password from ISP)

it work without changing other thing, in fact I writing this on linux connection. :)
I thank you again...

File Transfers Via Bluetooth

Posted: Mon 23 Mar 2009, 04:30
by burgiuk
Hello

I'm using Puppy for a university project which also requires me to transfer files from a mobile phone via BlueTooth. I am a bit of a newbie when it comes to Linux so there was much gnashing of teeth and hair pulling to get the modules compiled and installed, but I think have them installed correctly now.

I've plugged in my bluetooth adapter but I am now clueless as to where to access the utilities to enable me to transfer files from my phone to my laptop (or vice versa). If anyone can shed any light on this or at least point me to some documentation that might help I'll be very grateful.

Thanks in advance!

Posted: Mon 23 Mar 2009, 08:24
by tempestuous
The bluetooth libraries in this post are the older type which do not have D-Bus as a dependency.

The more modern type of bluetooth libraries are now here
"Bluetooth & D-Bus, January 08"
http://www.murga-linux.com/puppy/viewtopic.php?t=25009
There you will find a HOWTO which includes file transfers to mobile phones.
burgiuk wrote:there was much gnashing of teeth and hair pulling to get the modules compiled and installed
All recent Puppy versions already contain the bluetooth kernel modules. There is no compiling necessary.

Posted: Mon 23 Mar 2009, 08:46
by burgiuk
Ah! Thanks for that! Google only brings up this thread in relation to Bluetooth on Puppy.

Its good to know I wasted my weekend doing the wrong thing (or maybe it saved me a lot of money...) :D

I'll give that other thread a good long read now. Thanks!