LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to use internet on linux using cell phone(bluetooth) as modem? (http://www.linuxquestions.org/questions/linux-general-1/how-to-use-internet-on-linux-using-cell-phone-bluetooth-as-modem-852950/)

piyusharora420 12-28-2010 11:17 PM

how to use internet on linux using cell phone(bluetooth) as modem?
 
hi everybody,
i have three type of linux distributions installed on vmware- centos 5.5 , rhel5, fedora14.i have installed centos 5.5 on a seprate hard disk.i want to use internet on linux using my nokia 2630 cell phone.how to connect my phone through bluetooth to use internet?
is it possible?i know nothing about it.
please help me

paulsm4 12-29-2010 12:04 AM

Hi -

You asked basically the same question last month:
http://www.linuxquestions.org/questi...ection-844297/

Frankly, I had no idea that you could use a cell phone as a modem. But, apparently, you can. Using Nokia's "PC Suite":

http://www.nokia-asia.com/support/do...y-and-download

Unfortunately, the Nokia 2630 is a "closed system". And also unfortunately, PC Suite is only for Windows. So it sounds like the answer is probably "No". If you want dial-up Internet access, you'll probably need to connect to a PC modem.

BUT....

I noticed this link. Maybe you CAN use your Nokia after all ... with "wvdial":

Quote:

http://ubuntuforums.org/showthread.php?t=378968

Re: Nokia PC Suite for Linux?
I did it on a nokia n80, n73, 6230(somethinsimilar..is a folder java phone), 7610, 6630 & 6680....

This is how to do it...

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=0421 product=0445

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

[Dialer Defaults]
Modem = Your Modem Name(eg, /dev/ttyACM0 in my case)
Baud = ur max speed(460800 in my case)
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99#
Username = username
Password = password
Stupid Mode = 1

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...



U can also create a laucher on desktop(application in terminal) & keep the command as wvdial..now double click it & u r connected
Good luck!

piyusharora420 12-29-2010 03:05 AM

but i dont have cable i have bluetooth device only.

piyusharora420 01-01-2011 01:06 AM

i have followed all above steps after buying a usb cable for my cell.my cell phone get connected but i am not able to open sites.what is wrong there?

TheIndependentAquarius 01-05-2011 12:27 AM

If you are not able to get the PC Suite work on Linux, you can install the VirtualBox on Linux and then install PCSuite on it!

piyusharora420 01-05-2011 11:21 PM

thank you very much mam. but i have heard first time in life about virtualbox.i have used wine to run windows software on linux.is it releated to wine?please tell me a brief about virtualbox.

TheIndependentAquarius 01-05-2011 11:32 PM

Read about VirtualBox here: http://en.wikipedia.org/wiki/VirtualBox

Download it from here: http://www.virtualbox.org/wiki/Linux_Downloads
From the above link, I personally prefer to download the last option i.e. All distributions, this will get you a .run file and will be easy to install on ALL distributions.

And after installing do not forget to install guest additions .

EDIT---------
and I didn't mention in my first post that you'll have to install Windows on the VirtualBox and then you can install PCSuite on it (I hope)

piyusharora420 01-05-2011 11:45 PM

thanx alot. i will download

piyusharora420 01-07-2011 12:39 AM

but,i am already using internet on windows 7.And i am using vmware on windows host and installed linux on vmware.the thing is i want to completely switch to linux.i dont have broadband connection so i am forced to use windows to get internet acces.

TheIndependentAquarius 01-07-2011 12:52 AM

Nokia PCSuite is NOT meant for Linux!

BTW, have you tried searching Goooooo with the following keywords?
Quote:

Connecting to internet through cell phone Linux

Preet khakh 01-07-2011 01:31 AM

Quote:

Originally Posted by piyusharora420 (Post 4206154)
hi everybody,
i have three type of linux distributions installed on vmware- centos 5.5 , rhel5, fedora14.i have installed centos 5.5 on a seprate hard disk.i want to use internet on linux using my nokia 2630 cell phone.how to connect my phone through bluetooth to use internet?
is it possible?i know nothing about it.
please help me

Did you try installing PCSuite on WINE and connect to the internet?

piyusharora420 01-07-2011 03:11 AM

ya i have tried but its not getting insalled.i have successfuly installed vlc and winrar using wine but nokia pc suite is not installed.

anisha there is a post by paulsm4 in this thread and i have followed it.i get connected to internet but not able to open sites.

TheIndependentAquarius 01-07-2011 03:23 AM

Try posting this question here:
http://discussions.europe.nokia.com/...e/bd-p/pcsuite

But be sure to use proper code tags and write a properly explained post, don't simply cross link this thread and move on.


All times are GMT -5. The time now is 11:58 PM.