Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Sep 2017, 03:51
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
How to use a Nokia phone as modem?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
firepup

Joined: 24 Apr 2007
Posts: 23

PostPosted: Tue 24 Apr 2007, 18:15    Post subject:  How to use a Nokia phone as modem?
Subject description: Nokia 3220 and a DKU 50 cable to connect to the internet
 

I've a nokia 3220 and a DKU 50 cable to connect it to PC. When I use win XP, I can easily connect to the internet using the nokia pc suite. I'm an absolute newborn to Linux and in fact puppy is my first Linux distro. I downloaded 2.14 and want to access internet using my hardware. Please help me as I'm trying to spread the word about Linux and open source among my tech deprived fellow people.
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Tue 24 Apr 2007, 19:41    Post subject:  

Search this forum for CDMA and GRSM (or GSM).

You'll have to figure out what type of phone network your phone supports and then try some of the stuff in there.

This post and the one just below it are examples of how you 'might' do it:
http://www.murga-linux.com/puppy/viewtopic.php?p=112361#112361

I'm at the point where I can dial but not get a network myself. I have to tweak my /etc/ppp/options file somehow.

Gkdial seems like the friendliest app for dialing like this. It's under "network" in the menu.
Back to top
View user's profile Send private message 
firepup

Joined: 24 Apr 2007
Posts: 23

PostPosted: Thu 26 Apr 2007, 18:43    Post subject:  Confused...  

I'm confused at all this. I tried what you suggested but the fact is that I'm from windows world and I can't understand the output of dmesg and other commands as well. I'm giving here all the details possible. Please, please, please help me.
Device - Nokia 3220
Type - GSM
Connection - DKU 50 usb cable
port - com4(as win XP tells)
network conn - GPRS
Access point - airtelgprs.com
Nothing in puppy is recognizing the phone. I've tried GKDIAL, WVDIAL as well as XEZNET.
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Thu 26 Apr 2007, 23:06    Post subject:  

You're going to have to do something like this:

1-Plug in the phone with USB Cable, Make sure the phone is in the correct mode and on.

2- 'modprobe usbserial' <- Type that at a shell (commandline) (no 's). You shouldn't see anything happen. It should just load.

3- 'mknod /dev/usb/ttyUSB0 c 166 0' <- You probably have to make a device like this. I have no idead if this is the right name for you.

4- 'chmod go+w /dev/usb/ttyUSB0' <- This is to give read writer permissions to the device node. Use whatever name you have to use above.

5- 'ln -s /dev/usb/ttyUSB0 /dev/modem' <- link the node you made to /dev/modem so you can do a ppp connection to it as a modem.

6- Open Gkdial, hit Preferences->Add Modem
Select /dev/modem
Setup your connection by hitting "Add" button.

7- Edit:

/etc/ppp/options

and

/etc/ppp/ip-up
*see /etc/ppp/ip-up-EXAMPLE.

In 'options' make sure you have 'usepeerdns' listed. That sets up dns requests to their servers when the ppp is set up.

Let me know how far you get. I'm going to try again to get mine going tonight. I'll make sure to clarify anything here if I find out anything new.
Back to top
View user's profile Send private message 
firepup

Joined: 24 Apr 2007
Posts: 23

PostPosted: Fri 27 Apr 2007, 03:10    Post subject:  Tried but failed...
Subject description: Now starting to understand things a bit.
 

Now I'm starting to understand things. In the mknod step, it says file exists for ttyUSB0. I assume this as the name of the com ports on windows. So I tried ttyUSB0 to ttyUSB3 in which first 2 said file exists. The others worked, at least in this step. Now, about editing the /etc/ppp/options file, I didn't get anything to edit as it had the segment you said. There wasn't any ip-up file although it had the EXAMPLE file. In GKDIAL, I added the modem and the connection with dialing number as *99# which I figured out from windows. I set the connection type as PAP. After all this juggling, I simply get connection lost.
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Fri 27 Apr 2007, 13:05    Post subject: Re: Tried but failed...
Subject description: Now starting to understand things a bit.
 

firepup wrote:
... it says file exists for ttyUSB0. I assume this as the name of the com ports on windows. So I tried ttyUSB0 to ttyUSB3 in which first 2 said file exists. The others worked, at least in this step.


hold up. Forget the com3 thing. You can use windows to peak at some hardware info for use in linux, but com3 doesn't translate to linux.

/dev/ttyS0

represents the first serial device in linux

/dev/ttyS1 would be two
/dev/ttyS2 three...etc

Like drives and partitions.

Since you are doing a usb serial connection, it's like this:

/dev/usb/ttyS0

If it's already there, then link that device to /dev/modem and continue.


firepup wrote:
Now, about editing the /etc/ppp/options file, I didn't get anything to edit as it had the segment you said.


Good, that might be fine.

firepup wrote:
There wasn't any ip-up file although it had the EXAMPLE file.


Copy it to ip-up.

firepup wrote:
In GKDIAL, I added the modem and the connection with dialing number as *99# which I figured out from windows. I set the connection type as PAP. After all this juggling, I simply get connection lost.


Tweak up that link above and see what happens. PAP sounds like a good pick. You may want to contact your service provider and ask if they use PAP just to get that variable out of the way.

Still haven't gotten any further myself. I'm busy finishing up some other things.
Back to top
View user's profile Send private message 
firepup

Joined: 24 Apr 2007
Posts: 23

PostPosted: Fri 27 Apr 2007, 16:17    Post subject:  Re: Tried but failed...
Subject description: Now starting to understand things a bit.
 

Same reply of GKDIAL i.e. Connection lost. There is still one confusion, is ttyS0 equivalent to ttyUSB0. I've the ttyUSB0 in /dev/usb while modem wizard and in yr reference it is somewhere ttyS0 also. I think the phone is recognized after the above procedure as it reset the date on my phone to 5/5/2005. Btw, how do I change date and time in puppy. I don't see any wizard or control panel for that.
Back to top
View user's profile Send private message 
firepup

Joined: 24 Apr 2007
Posts: 23

PostPosted: Sat 28 Apr 2007, 17:47    Post subject:  One question plz...  

I have a question. How do I confirm that my phone is recognized as device on ttyUSB0 after doing all the steps you suggested ? Also, I've got the modem initialization string which I got from the win XP modem properties dialog. Here is it:

AT+CGDCONT=,,"airtelgprs.com"<cr>

Does this have any use in the solution to my problem ?[/b]
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 12470
Location: Mer méditerrannée (1 kms°)

PostPosted: Fri 10 Jun 2016, 04:00    Post subject: the secret how to do
Subject description: Nokia C2 at home
 

people speaking french are welcome on francophon forum topic.. Several colleagues use the process, but they did not reveal the secret on how to do.
Summer and sun are here, if i can use my laptop where my phone is linked, it would be really nice to go outside and study the Linux of Puppy.
nokia phone.jpg
 Description   Tahrpup even does not list Nokia C2
 Filesize   71.98 KB
 Viewed   63 Time(s)

nokia phone.jpg


_________________
Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0815s ][ Queries: 13 (0.0099s) ][ GZIP on ]