Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old September 14th, 2006   #1
mukherjee.siddhartha
5 Cups of Ubuntu
 
mukherjee.siddhartha's Avatar
 
Join Date: May 2005
Location: Kolkata
Beans: 18
Ubuntu 7.10 Gutsy Gibbon
Send a message via AIM to mukherjee.siddhartha Send a message via MSN to mukherjee.siddhartha Send a message via Yahoo to mukherjee.siddhartha Send a message via Skype™ to mukherjee.siddhartha
Configure Airtel GPRS/EDGE via Bluetooth

I AM RE-POSTING HERE BECAUSE, I TRIED TO POST IN HOWTO SECTION, BUT IT DID NOT APPEARED, I DONT KNOW WHY!

How to configure internet access through GPRS/EDGE, using bluetooth connection with your GSM phone.

I am using ubuntu and Nokia 6630 phone with Airtel Connection, but this will work with any distribution and any bluetooth capable phone..

* Requirements:

1) GPRS/EDGE Enabled Phone (Here Nokia 6630)
2) GPRS Connection (Here Airtel, Kolkata, India)
3) BlueTooth Dongle
4) bluez-utils
Quote:
sudo apt-get install bluez-utils

5) openobex
Quote:
Download here and compile,
You need gawk and gcc,
sudo apt-get install gawk
sudo apt-get install gcc

6) ppp
Quote:
sudo apt-get install ppp

7) latest 2.6 kernel

* Now the simple easy steps:


Step 1.
Plugin The bluetooth dongle and activate the bluetooth on your mobile
Step 2.
Kernel Configuration
You may ignore this part if your hardware is recognised, Ubuntu Magic
Quote:
CONFIG_BT=y
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m
## Bluetooth device drivers
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIDTL1=m
CONFIG_BT_HCIBT3C=m
CONFIG_BT_HCIBLUECARD=m
CONFIG_BT_HCIBTUART=m
CONFIG_BT_HCIVHCI=m
## PPP
CONFIG_PPP=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPP_MPPE=m
Step 3.
Issue this command
Quote:
hcitool scan
It will give you an output like this
Quote:
Scanning ...
00:11:9F1:05:A4 Nokia 6630
Note/Copy the address "00:11:9F 1:05:A4" somewhere.
This is the bluetooth address of the phone.

Step 4.
Issue this command
Quote:
sudo vi /etc/bluetooth/pin-helper
Put this on that file and save
Quote:
#!/bin/sh
echo -n "PIN:" cat /etc/bluetooth/pin
also remember to check the file "/etc/bluetooth/pin"
which should have something like this "1234", If it is not there create that files and put "1234"


Step 5.
Issue this
Quote:
sudo vi /etc/bluetooth/rfcomm.conf
Put this
Quote:
rfcomm0 {
bind yes;
device 00:11:9F1:05:A4;
channel 1;
comment "Nokia";
}
Remember to replace this "00:11:9F1:05:A4" with the address you copied in step 3.

Step 6.

Create a file
Quote:
sudo vi /etc/ppp/peers/airtel
Put this
Quote:
/dev/rfcomm0 115200
connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
crtscts
modem -detach
noccp
defaultroute
usepeerdns
noauth
ipcp-accept-remote
ipcp-accept-local
noipdefault
Step 7.
Create a file
Quote:
sudo vi /etc/ppp/chat-gprs
Put this
Quote:
'' ATZ OK
AT+CGDCONT=1,"IP","airtelgprs.com"
OK "ATD*99***1#"
CONNECT ''
You need to ask your service provider and replace the " airtelgprs.com"
and "*99***1#", these are the IP/host name of gprs provider and dialup no.
Step 7.
YOU ARE DONE! THATS IT? YEAH....
just issue this command
Quote:
pppd call airtel
Thanks..Enjoy Ubuntu.
__________________
Life Is Linux.
mukherjee.siddhartha is offline   Reply With Quote
Old September 14th, 2006   #2
mukherjee.siddhartha
5 Cups of Ubuntu
 
mukherjee.siddhartha's Avatar
 
Join Date: May 2005
Location: Kolkata
Beans: 18
Ubuntu 7.10 Gutsy Gibbon
Send a message via AIM to mukherjee.siddhartha Send a message via MSN to mukherjee.siddhartha Send a message via Yahoo to mukherjee.siddhartha Send a message via Skype™ to mukherjee.siddhartha
Re: Configure Airtel GPRS/EDGE via Bluetooth

Sorry for duplicate post
http://ubuntuforums.org/showthread.php?t=257091

The moderator may delete this one.
And let it be at HOW TO section.
__________________
Life Is Linux.
mukherjee.siddhartha is offline   Reply With Quote
Old May 25th, 2007   #3
mthakur2006
Way Too Much Ubuntu
 
mthakur2006's Avatar
 
Join Date: Apr 2006
Beans: 245
Ubuntu 8.04 Hardy Heron
Re: Configure Airtel GPRS/EDGE via Bluetooth

does this work on fiesty?
__________________
Ubuntu Hardy
512 MB RAM, Pentium 4 HT 3 Ghz, ATI Radeon X300SE, 160 GB HDD, Dual boot with windows xp home +
creative live! webcam im pro which doesn't work on ubuntu.
mthakur2006 is offline   Reply With Quote
Old August 3rd, 2007   #4
deepakprasad
First Cup of Ubuntu
 
Join Date: Jul 2007
Beans: 1
Re: Configure Airtel GPRS/EDGE via Bluetooth

hi guys, have tried every trick in the book to connect using gprs (Airtel) on nokia 9300 with bt & cable. it works fine on my winxp desktop, but am unable to do so in my laptop Ubunto 7.04. with cable i get error code 16. A modem hung up the phine and have not been able to pair my phone with laptop. pls. need help urgently. using a compaq presario c303tu, intel corfe solo, 760 mb ram .
thanks in advance
Deepak Prasad
deepakprasad is offline   Reply With Quote
Old September 7th, 2007   #5
fazillatheef
Just Give Me the Beans!
 
fazillatheef's Avatar
 
Join Date: Nov 2006
Location: Ariyanoor,Kerala
Beans: 63
Ubuntu 9.04 Jaunty Jackalope
Send a message via Yahoo to fazillatheef
Re: Configure Airtel GPRS/EDGE via Bluetooth

In Ubuntu 7.04 just install the application gnome-bluez and before doing the command



Just pair the device (and do that from the Phone ,that worked for me) and authorize the device.
After that

Quote:
pppd call airtel
fazillatheef is offline   Reply With Quote
Old October 5th, 2007   #6
suniltr77
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 1
Re: Configure Airtel GPRS/EDGE via Bluetooth

Give link to the bluez utilities. If there is any alternative for going the command line , describe.
I am a newbe to Linux.Just switched over from Windows.
Help me Suniltr77@yahoo.com
suniltr77 is offline   Reply With Quote
Old October 23rd, 2007   #7
sumesh
First Cup of Ubuntu
 
Join Date: Sep 2007
Beans: 3
Re: Configure Airtel GPRS/EDGE via Bluetooth

Thank u very much....dear friend...
I solved the problem...with ur help...but with a slight change....
I am using USB for connection...so first configure usb..modem with
lsusb first
then..
sudo /sbin/modprobe usbserial vendor=0x421 product=0x43a...
then
wvdialconf create
then
sudo gedit /etc/wvdial.conf
in that text window add ur gprs configaration
for airtel it is airtelgprs.com
thanks...
sumesh
sumesh is offline   Reply With Quote
Old October 23rd, 2007   #8
sumesh
First Cup of Ubuntu
 
Join Date: Sep 2007
Beans: 3
Re: Configure Airtel GPRS/EDGE via Bluetooth

Those who are using USB and AIRTEL...try the following
Connect your phone via datacable
open terminal & type

lsusb

now u will get the following output

owais@owais-desktop:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0421:0445 Nokia Mobile Phones
Bus 001 Device 002: ID 046d:092f Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
owais@owais-desktop:~$


it is on my compter,ur will not be exactly the same...

Now note the line in which NOkia Mobile Phones is written...it has two number one is 0421 & other is 0445...we'll take these numbers as 0x421 & 0x445

0421 is the Vendor ID & 0445 is the Product ID

Now enter this comand.

sudo /sbin/modprobe usbserial vendor=0x(vid) product=0x(pid)

eg, in my case::: sudo /sbin/modprobe usbserial vendor=0×421 product=0×445

Now enter this command

wvdialconf create
u'll get a long output which will be like

Scanning your serial ports for a modem.
Port Scan: S0 S1 S2 S3
WvModem: Cannot get information for serial port.
ttyACM0: ATQ0 V1 E1 — OK
ttyACM0: ATQ0 V1 E1 Z — OK
ttyACM0: ATQ0 V1 E1 S0=0 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyACM0: Modem Identifier: ATI — Nokia
ttyACM0: Speed 4800: AT — OK
ttyACM0: Speed 9600: AT — OK
ttyACM0: Speed 19200: AT — OK
ttyACM0: Speed 38400: AT — OK
ttyACM0: Speed 57600: AT — OK
ttyACM0: Speed 115200: AT — OK
ttyACM0: Speed 230400: AT — OK
ttyACM0: Speed 460800: AT — OK
ttyACM0: Max speed is 460800; that should be safe.
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
Found an USB modem on /dev/ttyACM0.
Modem configuration written to create.
ttyACM0: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0?

NOw.. notice the output says that there is a modem at /dev/ttyACM0 & max speed is 460800

now enter this command

sudo gedit /etc/wvdial.conf

A file will open in text editor...now delete everything in that file & paste the following there

It must look like this:-
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","orangeinternet"
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99 ***1#
Password = orange
Username = orange

Then launch the connection with:-
$ wvdial

And close the connection with:-
Ctrl^C

save the file & you are done


NOw whenevr u need to connect...open terminal & type wvdial,,wait till some sort of IP adress is displayed like

pppd: ?[06][06][08]` [06][08]
primary DNS address 218.248.240.135
pppd: ?[06][06][08]` [06][08]
secondary DNS address 218.248.240.79
pppd: ?[06][06][08]` [06][08]

Now you are connected....hit cntrl+c to dissconnect...
sumesh is offline   Reply With Quote
Old October 23rd, 2007   #9
sumesh
First Cup of Ubuntu
 
Join Date: Sep 2007
Beans: 3
Re: Configure Airtel GPRS/EDGE via Bluetooth

Sorry I have posted it for orrange net work
use airtelgprs.com insted og orrange....
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","airtelgprs.com"
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *991#
Password = airtel
Username = airtel

Then launch the connection with:-
$ wvdial

And close the connection with:-
Ctrl^C

Okay....
sumesh is offline   Reply With Quote
Old October 25th, 2007   #10
cdinz
Spilled the Beans
 
cdinz's Avatar
 
Join Date: Jan 2006
Location: Hyderabad, India
Beans: 14
Ubuntu 9.10 Karmic Koala
Send a message via AIM to cdinz Send a message via Yahoo to cdinz Send a message via Skype™ to cdinz
Re: Configure Airtel GPRS/EDGE via Bluetooth

Quote:
Originally Posted by sumesh View Post
Sorry I have posted it for orrange net work
use airtelgprs.com insted og orrange....
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","airtelgprs.com"
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *991#
Password = airtel
Username = airtel

Then launch the connection with:-
$ wvdial

And close the connection with:-
Ctrl^C

Okay....

Tried the same settings but I am not able to connect.... Its opening the port and dialing but not able to get an IP address.....
cdinz is offline   Reply With Quote

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

Forum Jump


All times are GMT -4. The time now is 08:46 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry