How to create a shortcut for connecting to internet
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
Marcel Holtmann
maintainerHi Adil,
Quoted 15 lines
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.
Quoted 5 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users