Internet in Linux via Mobile GPRS thru Bluetooth

Status
Not open for further replies.

ThinkFree

Technomancer
When using in Opensuse, I have to give the following command after every restart
rfcomm bind 0 00:21:09:D2:7B:75 1
Please tell how to ensure I don't need to enter it before using wvdial

Don't blame me for putting the smiley, It's digit forum's fault. I typed
rfcomm bind 0 00:21:09:[NoSpaceThere] D2:7B:75 1
 
Last edited:

QwertyManiac

Commander in Chief
Any commands you wanna auto-run, put it in either the startup-manager of your DE or place it in .bashrc.

Alternatively, edit the /etc/bluetooth/rfcomm.conf to your preferences ;)
 

gary4gar

GaurishSharma.com
I also have some problem in Pairing Nokia 2630 with ArchLinux.

hcid.conf
rfcomm.conf
wvdial.conf

I tried following the Guide given on First page here is a Result.

The mobile is found, even my Mobile can find my PC.
Code:
root  /etc/bluetooth  #   hcitool scan
Scanning ...
        00:1D:98:C5:F6:27       Ronak

Code:
root  /etc/bluetooth  #   sdptool browse 00:1D:98:C5:F6:27
Failed to connect to SDP server on 00:1D:98:C5:F6:27: Function not implemented

Code:
root  /  #   ls /dev | grep rfcomm                                                                                                             
rfcomm0
root  /  #   hcid cc 00:1D:98:C5:F6:27
root  /  #   hcid auth 00:1D:98:C5:F6:27
root  /  #   wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/rfcomm0: No such file or directory
--> Cannot open /dev/rfcomm0: No such file or directory
--> Cannot open /dev/rfcomm0: No such file or directory
the device file rfcomm exists in /dev dir, still Wvdial says it not there:eek:
Using Airtel Mobile Office

Please help

{Update}
I managed to get my Mobile paired but still there is a Error creating a Connection.the error is given on Phone screen "Subscribe to packet data first". however it is to be noted that i have already subscribed to MO.

gaurish ~ $ sudo nano /etc/wvdial.conf
gaurish ~ $ sudo wvdial GPRS
Password:
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 29 17:51:51 2008
--> Pid of pppd: 4905
--> Using interface ppp1
--> Disconnecting at Mon Sep 29 17:51:55 2008
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds

[Modem0]
Modem = /dev/rfcomm0
Baud = 230400
SetVolume = 0
DialCommand = ATDT
FlowControl = Hardware(CRTSCTS)
Stupid Mode = 1

[Dialer GPRS]
Username = 1
Password = 1
Phone = *99***1#
Mode = 1
Inherits = Modem0

[Dialer Defaults]
Modem = /dev/rfcomm0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99***1#
Username = a
Password = b
Its not a network problem as i can open them in my mobile phone
 
Last edited:

danishlive

Broken In
Thanks a lot for this thread guys:). After toiling for the whole weekend, i finally managed to connect to the internet in my ubuntu. Many many thanks.
I had to connect via bluetooth. When i connect my phone via usb cable, and issue the command 'sudo wvdialconf /etc/wvdial.conf' it says 'no modem detected'. But anyway, net is working through bluetooth and i am happy.:p
 

ThinkFree

Technomancer
I got the same error, of Phone not responding.
anyone else help?

This wvdial.conf solved my problem(This is for bluetooth, but worked with data cable as well).
[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
FlowControl = Hardware(CRTSCTS)
Dial Command = ATDT
SetVolume=0
Baud = 460800
New PPPD = yes
Modem = /dev/rfcomm0
ISDN = 0
Phone = *99***1#
Mode = 1
Password = none
Ask Password = 0
Username = none
stupid mode = 1
Compuserve = 0
Idle Seconds = 500
Auto DNS = 1
 

gary4gar

GaurishSharma.com
That the problem with Ubuntu, Bluetooth pairing never works for me.
I tried on arch Linux and there was a command called "passkey-agent". by which pairing was sucessfull.

can anyone tell me any working method of bluetooth pairing in Linux mint 5XFCE which is based on Ubuntu 8.04?
 

anantkhaitan

Burning Bright
@gary4gar

Ubuntu 8.04 has sorted out this pairing bug.. I have tried it myself.. as for Linux Mint I cannot comment, so you can you can go through this [post=528170]post[/post] of mine, if it by any chance helps!
 

gary4gar

GaurishSharma.com
Anyone tried BlueSoeil linux version?

Looks good, but the downside is its a evaluation version with file transfer limit of 5MB. anyways wonder if i would be capable of easy pairing.
@gary4gar

Ubuntu 8.04 has sorted out this pairing bug.. I have tried it myself.. as for Linux Mint I cannot comment, so you can you can go through this [post=528170]post[/post] of mine, if it by any chance helps!
nopes, it didn't help. get pairing failed, i tried with 1234,000 and other such common pins. but it does not seem to take the pin defined in /etc/hcid.conf seems its missing a pin_helper program. also this passkey-agent is not present.
 
Status
Not open for further replies.
Top Bottom