Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] How to create a shortcut for connecting to internet
@ 2005-04-09 17:32 adil  fulara
  2005-04-09 17:39 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: adil  fulara @ 2005-04-09 17:32 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

  
hullo group,

 i have been using internet successfully over the last couple of months by typing the following commands.

1) hcitool scan

  ==>which gives me the <b-addr>

2) rfcoomm bind 0 <b-addr> 7

3) wvdial GPRS
 
  ==> GPRS being some file i wrote as directed by a pdf which i used as 
      guidance.

Que)Can any1 tell me how to automate these 3 steps so that i donot have to do this every time i want to connect. My friends tell me i have to write a executable file. I have very limited knowledge of linux-programming (scripting if thats what u call it!!!), so please if any1 understands what that means..???

Please advice.....!!!!


Thanx....


Adil


[-- Attachment #2: Type: text/html, Size: 1074 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] How to create a shortcut for connecting to internet
  2005-04-09 17:32 [Bluez-users] How to create a shortcut for connecting to internet adil  fulara
@ 2005-04-09 17:39 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-04-09 17:39 UTC (permalink / raw)
  To: bluez-users

Hi Adil,

> i have been using internet successfully over the last couple of months
> by typing the following commands.
> 
> 1) hcitool scan
> 
>   ==>which gives me the <b-addr>
> 
> 2) rfcoomm bind 0 <b-addr> 7
> 
> 3) wvdial GPRS
> 
>   ==> GPRS being some file i wrote as directed by a pdf which i used
> as 
>       guidance.
> 
> Que)Can any1 tell me how to automate these 3 steps so that i donot
> have to do this every time i want to connect. My friends tell me i
> have to write a executable file. I have very limited knowledge of
> linux-programming (scripting if thats what u call it!!!), so please if
> any1 understands what that means..???

if you know the BD_ADDR then you can use the rfcomm autobind feature to
create the /dev/rfcomm0 device. Check /etc/bluetooth/rfcomm.conf and
make sure that the init script executes "rfcomm bind all" at some point.
After that you only have to call "wvdial GPRS" to be happy.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-09 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09 17:32 [Bluez-users] How to create a shortcut for connecting to internet adil  fulara
2005-04-09 17:39 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox