LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 06-12-2009, 11:47 AM   #1
suse_nerd
Member
 
Registered: May 2008
Distribution: SuSe
Posts: 50

Rep: Reputation: 15
Nokia Phone + Bluetooth - trying to start a GRPS connection


Seems this has turned from a question to a HOWTO guide...


HOWTO get your linux box to connect with your Nokia Phone on O2 in the UK.




I am using SuSE 11.0 on an HP 2133. My files will make reference to the network specific details which you may need to change for your service plan/network. There are sites with details of the other providers:

http://www.filesaveas.com/gprs.html
http://forums.mobileburn.com/archive...php/t-695.html
http://www.mphone.co.uk/mms_wap_settings_o2.html



1.

In the file below, you need to replace my bluetooth device address with your own. The following command should give you your bluetooth address

Code:
 hciconfig
Create/edit the file:
/etc/bluetooth/rfcomm.conf
Code:
#
# RFCOMM configuration file.
#

#rfcomm0 {
#       # Automatically bind the device at startup
#       bind no;
#
#       # Bluetooth address of the device
#       device 11:22:33:44:55:66;
#
#       # RFCOMM channel for the connection
#       channel 1;
#
#       # Description of the connection
#       comment "Example Bluetooth device";
#}

rfcomm0 {
         bind yes;

         device 00:1D:FD:C1:D5:A9;

         channel 1

         comment "Nokia";

 }

2.Create the files:
/etc/ppp/peers/gprs

Code:
/dev/rfcomm0 57600
connect '/usr/sbin/chat  -f /etc/ppp/peers/chat-gprs'
noauth
defaultroute
debug
/etc/ppp/peers/chat-gprs

Code:
TIMEOUT         5
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
TIMEOUT         12
OK              ATE1
OK              'AT+cgdcont=1,"IP","mobile.o2.co.uk"'
OK              atd*99***1#
CONNECT ""
You may need to change the last command starting atd and you will need to change mobile.o2.co.uk to your service provider if you are not using O2. See the links at the top/bottom for help on both of these issues. Note the last two lines of this file are vital and small changes stopped everything from working for me.

3. To start connection type the following (replacing my bluetooth device addess with yours:

Code:
rfcomm release 1
rfcomm bind 0 00:1D:FD:C1:D5:A9 1
pppd call gprs
4.For O2 use the following in /etc/resolv.conf
You may need to change this if you do not use O2.

Code:
nameserver 193.113.200.200
nameserver 193.113.200.201

5. I don't think you need to setup a proxy in firefox, the phone deals with the proxy I think, but I found it slightly quicker to use firefox's auto-detect setting, this could just be lucky.

For help with getting it working, thanks to
Thanks to

http://tinyurl.com/4dvy2m
http://tinyurl.com/n5djpt
http://www.teaparty.net/technotes/blue-gprs.html

Last edited by suse_nerd; 06-12-2009 at 03:16 PM. Reason: Changed to a HOWTO
 
  


Reply

Tags
bluetooth, connection, error, gprs, loop, loopback, mobile, phone, serial


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia N800 and dial up accounts with cell phone or bluetooth modem ton58 Linux - Software 2 04-07-2008 05:48 PM
Bluetooth dial-up connection with nokia 6600 in ubuntu 7.04 kaykay.mudgle Linux - Newbie 1 09-19-2007 05:18 PM
how does one bluetooth to the Internet with Nokia tablet & phone? vees Linux - Laptop and Netbook 2 04-22-2007 02:47 AM
gnubox : giving a nokia phone a bluetooth internet access riccisit Linux - Networking 5 03-27-2006 10:33 AM
Bluetooth remote control with nokia S60 phone doesn't work rahilrai Linux - Newbie 1 12-18-2005 07:11 AM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration