LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-22-2008, 01:13 PM   #1
autophil
Member
 
Registered: Jun 2006
Location: Cirencester
Distribution: Slackware-12.2 + Salix-13.37
Posts: 120
Blog Entries: 1

Rep: Reputation: 15
Nokia cellphone as modem


Does anyone have any good leads on getting a Nokia cellphone hooked up to the usb port of a laptop to access the web via gprs?
The laptop uses Slackware (actually Zenwalk). The cellphone has 3 options Nokia mode for if you have nokia software on the pc (which of coure i dont) and then Printing and media. And then as a storage device, which works well but i need the "cellphone as modem" type of facility.
Any leads please. Im not too smart but very determined.
phil
 
Old 06-22-2008, 01:49 PM   #2
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Rep: Reputation: 30
I did the phone/gprs/modem thing on my phone the first time a week ago as well. In my case I used bluetooth so it took a simple rfcomm to connect the phone and a little tutorial at pppd to get it to dial out. Install pppd and try a simple google search for some tutorials. Best of luck.
 
Old 06-23-2008, 12:28 AM   #3
autophil
Member
 
Registered: Jun 2006
Location: Cirencester
Distribution: Slackware-12.2 + Salix-13.37
Posts: 120
Blog Entries: 1

Original Poster
Rep: Reputation: 15
OK Thanks for your reply. Im going to work on this.
Is there a way to have the two methods of connection so that there is an option when you connect?
So when out and about to connect through GPRS and when at home to plug into the router and connect via ADSL.
Maybe its possible.
Philip.
 
Old 06-23-2008, 03:12 AM   #4
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Rep: Reputation: 30
Everything's possible. I'd understand the need (of automatically selecting an interface) if you use bluetooth but since you use usb you have to connect it anyway to get online. Just make a little script that configures and dials everything after you've connected the phone. Then run it once you want to connect. That's at least what I would suggest.
 
Old 06-23-2008, 07:52 PM   #5
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
Hi,
I have this working, duno how right it is but it works for me so ill try to explain.

Create a file in /etc/ppp and add the following to it
Do not put a newline at the end of this file << this is questionable but i dunno if it actually affects the transmission or not.

File Name: /etc/ppp/chat-gprs

Code:
TIMEOUT		100
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		300
OK		ATE1
#OK		'at+cgdcont=1,"ip","myMTN"'
OK		'at+cgdcont=1,"ip","internet"'
#OK		ATD*99#
OK		ATD*99*#
CONNECT		""
Then create a new folder /etc/ppp/peers and add the following file to it

File Name: /etc/ppp/peers/gprs

Code:
/dev/ttyACM0 115200
connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
noauth
defaultroute
debug
nocrtscts
115200
local
usepeerdns
noipdefault
#passive
Then to connect type the following as root pppd call gprs and it should connect you

Regards
 
  


Reply


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 2115 USB modem Akintola Linux - Newbie 1 01-17-2008 07:48 AM
using a nokia 5110 as a modem kater0000 Mandriva 8 02-04-2004 03:49 PM
wvdial/ppp settings for cellphone modem cybern8 Linux - General 0 10-02-2001 09:13 PM


All times are GMT -5. The time now is 09:48 PM.

Main Menu
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