Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 16-09-2006, 09:44 AM   #1 (permalink)
sariq
Guest
 
Posts: n/a
Default Tutorial - internet through airtelgprs in Ubuntu


source: https://help.ubuntu.com/community/BluetoothDialup
edited by me at some steps, as steps were not working. here is the steps which actually worked on aitel gprs:-

1.Make your phone Bluetooth discoverable.
Run the following at a shell prompt:
Code:
$ hcitool scan
Copy the MAC address (the text with the capital letters, numbers, and ':'s) somewhere convenient. You'll need it many times. in my case it was 11:11:11:11:11:11

2.Pairing : search from your device, it will find your computer with the name ubuntu-0, pair it use pin 1234

3.Get the channel number for your phone's dialup service by running the following, replacing your-phone-mac-address with the proper data
Code:
$ sdptool browse your-phone-mac-address
* Look under "Service Name: Dial-up Networking"
* Under "Protocol Descriptor List:" and "RFCOMM", there should be a number after "Channel:"
* Remember that number; you'll need it for the rfcomm configuration, in my case it was 1

4.Edit file /etc/bluetooth/rfcomm.conf
Code:
$ gksudo gedit /etc/bluetooth/rfcomm.conf
* Paste the following into the file, replacing your-phone-mac-address and your-phone-rfcomm-channel with appropriate values
Code:
rfcomm0 {
bind yes;
device 11:11:11:11:11:11;
channel	1;
comment "Bluetooth PPP connection";
}
* Save and close the rfcomm.conf file

5. Restart bluetooth services. This will create the rfcomm0 device (and rfcomm1, rfcomm2 if configured)
Code:
$ sudo /etc/init.d/bluez-utils restart
6. Create a peers file for the connection
Code:
$ gksudo gedit /etc/ppp/peers/BluetoothDialup
* Paste the following into the file (the file should start out blank)
Code:
debug
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup"
usepeerdns
/dev/rfcomm0 115200
defaultroute
crtscts
lcp-echo-failure 0
* Save and close the BluetoothDialup file

7. Create a chatscript for the connection
Code:
$ gksudo gedit /etc/chatscripts/BluetoothDialup
* Paste the following into the file (the file should start out blank).
Code:
TIMEOUT	35
ECHO	ON
ABORT	'\nBUSY\r'
ABORT	'\nERROR\r'
ABORT	'\nNO ANSWER\r'
ABORT	'\nNO CARRIER\r'
ABORT	'\nNO DIALTONE\r'
ABORT	'\nRINGING\r\n\r\nRINGING\r'
''	\rAT
OK	'AT+CGDCONT=1,"IP","airtelgprs.com"'
OK	ATD*99***1#
CONNECT	""
* Save and close the BluetoothDialup file

8. Dialing permission

* Add the user who wants dialing permission to the 'dialout' group
Code:
$ sudo adduser your-username-here dialout
You can also do this from GUI, System->Administration->Users & Groups. Check for user permissions and make sure that Allow to use modem checkbox is checked.

9. using the connection in subsequent connections

* Start the connection using pon command
Code:
$ pon BluetoothDialup
* End the connection using poff command
Code:
$ poff BluetoothDialup
* After pon you can verify if the connection has started using plog command
Code:
$ plog BluetoothDialup

Last edited by sariq; 25-11-2006 at 08:10 AM.
 
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-09-2006, 11:35 AM   #2 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: Tutorial - inrenet through airtelgprs in Ubuntu

how to do this by a ca-42 cable instead of bluetooth??
gary4gar is offline  
Old 16-09-2006, 12:13 PM   #3 (permalink)
Beneath The Eyelids
 
The Outsider's Avatar
 
Join Date: Aug 2006
Posts: 289
Default Re: Tutorial - inrenet through airtelgprs in Ubuntu

same question^^ CA-42 & DKU-5
The Outsider is offline  
Old 16-09-2006, 12:48 PM   #4 (permalink)
sariq
Guest
 
Posts: n/a
Default Re: Tutorial - inrenet through airtelgprs in Ubuntu

try this
http://ubuntuforums.org/showthread.php?t=166617
 
Old 16-09-2006, 07:34 PM   #5 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: Tutorial - inrenet through airtelgprs in Ubuntu

thanx for link.
i will try & then report back
gary4gar is offline  
Old 16-09-2006, 11:38 PM   #6 (permalink)
Beneath The Eyelids
 
The Outsider's Avatar
 
Join Date: Aug 2006
Posts: 289
Default Re: Tutorial - inrenet through airtelgprs in Ubuntu

working fine here with N3220 + DKU-5

thanks
The Outsider is offline  
Old 17-09-2006, 08:47 PM   #7 (permalink)
Hey here is the aks
 
arunks's Avatar
 
Join Date: Jan 2006
Location: punjab
Posts: 805
Default Re: Tutorial - inrenet through airtelgprs in Ubuntu

how to do it on data cable on lg c2500
__________________
yours truly
arun
The aks!!

have a nice day
arunks is offline  
Old 10-11-2007, 06:48 PM   #8 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Default Re: Tutorial - inrenet through airtelgprs in Ubuntu

Quote:
Originally Posted by arunks
how to do it on data cable on lg c2500
Yep, same question here.
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:


Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium
(Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 (New :twisted:), Roland MicroCube Amp.
DeSmOnD dAvId is offline  
Old 11-11-2007, 12:34 PM   #9 (permalink)
din
Tribal Boy
 
din's Avatar
 
Join Date: Jun 2004
Location: Cochin , Kerala
Posts: 1,724
Default Re: Tutorial - inrenet through airtelgprs in Ubuntu

For Mobile phone + Cable + Airtel GPRS

I followed the instructions from here

With small modifications, it worked perfectly for me. Please give a try and post details.
din is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:16 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2