LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Using Nokia N73 as a modem for internet (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/using-nokia-n73-as-a-modem-for-internet-635611/)

salvadorsing 04-15-2008 07:34 PM

Using Nokia N73 as a modem for internet
 
I'm currently using ubuntu 7.04 dual boot with a XP on my Dell Inspiron 640m. Before this i have a dsl connection at home so this wasn't really a problem. But recently i was sent outstationed. so i need to start using my N73 as my modem.
Using it with my XP with PC suite is totally no problem. But using Ubuntu with no PCsuite is a pain. But i found out something like wvdialconf and wvdial and it seems that there is a hope. but it kept showing things like this:-

salvador@sal02:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- Nokia
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Segmentation fault (core dumped)
salvador@sal02:~$ sudo wvdial
Segmentation fault (core dumped)


I just kept showing this error msg "Segmentation fault (core dumped)" don't know what's really about. can anyone help me on this or teach me how to crack down this error? For your info, i tried switching all the usb ports to see whether it is the cause, still same problem.

salvadorsing 04-16-2008 06:12 AM

Does anyone has any advise on this?

AndrzejL 06-25-2008 10:02 PM

Ok I am new here but i think i might help at least a bit.

First of all i am using nokia n73 as a modem under windows XP to connect to irish network three.ie (first via nokia pc suite and then when it added a connection to my network connectins deleted regedit entry for starting up with nokia pc suite and since then using reconnect software to start connecton right after windows boots up). Not using Ubuntu but PC LOS 2007 and I found my solution as temporary but... maybe togeother we can try to get this somewhere as 2 heads are better then 1.

What I did was instead of wvdialconf i have used kppp. It goes like that:

Since You already know that your modem is named ttyACM0 (same thing with mine) all you have to do is run a command kppp under kde (not sure will it originally would be builded in ubuntu as it uses gnome as default).

and settings for me were

Username = 3
Password = 3

But was trying without this and should work as well.

you can change the modem init strings below under
modems > edit > modem > modem commands

Init string 1 = ATZ
Init string 2 = AT+CGDCONT=1,"IP"

Phone number = *99# (this gives the phone a sign to dial the default connection. You can add a different phone numbers as well for example *99***2# or *99***3# for connections 2 and 3 in the queue)

Auth = pap/chap

And it works but temporarily as I wrote before. Why? It dials the connecton and connects as many times as I want to under 1 condition... NO REBOOTS... After that it hangs, till i will not disconnect usb plug for nokia.

I have heared and read about using nokia under linux as bluetooth modem. I was doing it under winxp but it gives me half the speed. Once succeded with linux. Keeps loosing phone pairing. Got sick of it.

Let me know how this worked out for you. Maybe you are far ahead by now and want to publish your success and let us know how to?

Good Luck

Andy

salvadorsing 06-26-2008 05:58 AM

sorry it took so long...

actually i reinstalled my ubuntu and did the same configuration. and it worked!

i also don't know wat happened. it just worked when i reinstalled my ubuntu. now i am using Linux mint, and it also worked out.

Just like to share my steps.

1) plug in your nokia phone(mine is N73)

2) type "sudo wvdialconf"
this will let it configure the basic settings for you

3) edit the configuration file at /etc/wvdial.conf by typing "sudo gedit /etc/wvdial.conf"

4) make sure u DON change ANYTHING except adding the following:-

Init3 = AT+CGDCONT=1, "IP","type ur service provider name in here"<--normally it can be found at ur phone-> setting-> connection-> access points. this is n73.

phone = *99# <--this shud be like this.

remember to save the file

5)type "sudo wvdial"
6)connection done.

AndrzejL 06-26-2008 07:48 AM

OK. So this could be the end of this section. But we might as well keep it open as someone might have a questions in this matter with different distro or model of Nokia. I might try ubuntu or kubuntu myself + will try to write how to do it with bluetooth later on as this seems to be a good idea for a person lacking usb cable / socket but with working bluetooth on board of their laptop. What is the kernel version that goes with 7.04?

This might be a interesting disscussion :).

All the best

Andy

kraghav 06-29-2008 02:32 PM

hi
i have a n73,vodafone india and i am using opensuse10.3...nd i did all that salvadorsing posted....and here's what i get...

linux-t1d0:/etc # wvdial
--> WvDial: Internet dialer version 1.56 (abuild@mandelbrot)
--> 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
--> Sending: AT+CGDCONT=1, "IP","portalnmms"
AT+CGDCONT=1, "IP","portalnmms"
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Configuration does not specify a valid login name.


so what am i doing wrong here?
anyone can advice on this?

AndrzejL 06-29-2008 08:31 PM

Try editing /etc/wvdial.conf and change login to 3 or leave it blank and same with password line. Can you connect to the net using pcsuite under m$? If yes check settings there and use same ones under lnx. Have you tried kppp?

Let us know how this works out for you.

papseddy 09-21-2008 04:00 PM

hi
all the above member do i do same thing but i got these msg from my terminal
i am using N73 and fedora 7 and my connection is airtel (u.p) in India
connect it with usbcable
plz tell me wat happen with all these thing
help me


--> WvDial: Internet dialer version 1.54.0
--> 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#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 22 00:11:44 2008
--> pid of pppd: 3868
--> Using interface ppp0
--> Disconnecting at Mon Sep 22 00:11:53 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
--> 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.
--> 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#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 22 00:11:59 2008
--> pid of pppd: 3888
--> Using interface ppp0
--> Disconnecting at Mon Sep 22 00:12:26 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 10 seconds
--> 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.
--> 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#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 22 00:12:37 2008
--> pid of pppd: 3910
--> Using interface ppp0
--> Disconnecting at Mon Sep 22 00:13:05 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 20 seconds
--> 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.
--> 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#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 22 00:13:26 2008
--> pid of pppd: 3930
--> Using interface ppp0
--> Disconnecting at Mon Sep 22 00:14:00 2008
--> The PPP daemon has died: PPP negotiation failed (exit code = 10)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 10)

AndrzejL 09-22-2008 06:01 PM

10 The PPP negotiation failed, that is, it didn't reach the
point where at least one network protocol (e.g. IP) was
running.

Can You connect from your nokia handset to the internet? I never used wvdial but kppp instead. Maybe try this one/ I am still using it. Laptop (KBluetooth + Kppp) >>> Nokia N73 >>> Inet :)


All times are GMT -5. The time now is 02:04 AM.