LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to connect Nokia C3-00 in Fedora 15? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-connect-nokia-c3-00-in-fedora-15-a-898053/)

theashishmishra 08-18-2011 07:20 AM

How to connect Nokia C3-00 in Fedora 15?
 
Hi..
I am using Fedora 15 since last 5 days and its been running awesome...I recently found solution to its wireless driver all thanks to sycamorex...However there's one thing that I am stuck into is how to connect my Nokia C3-00 to Fedora 15.Nokia C3-00 uses ovi suite for its default connection where as old Nokia phones uses PC suite..PC suite is easier to connect to Fedora 15 but Ovi suite is giving me troubles..can anyone help me in connecting my cell phone to Fedora 15??
I tried lsusb and here is the output of lsusb
[abhijeet@Illuminati ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04f2:b1c1 Chicony Electronics Co., Ltd
Bus 005 Device 002: ID 0489:e00d Foxconn / Hon Hai
Bus 003 Device 002: ID 0421:0399 Nokia Mobile Phones

Help me out please..

TB0ne 08-18-2011 10:55 AM

Quote:

Originally Posted by theashishmishra (Post 4446580)
Hi..
I am using Fedora 15 since last 5 days and its been running awesome...I recently found solution to its wireless driver all thanks to sycamorex...However there's one thing that I am stuck into is how to connect my Nokia C3-00 to Fedora 15.Nokia C3-00 uses ovi suite for its default connection where as old Nokia phones uses PC suite..PC suite is easier to connect to Fedora 15 but Ovi suite is giving me troubles..can anyone help me in connecting my cell phone to Fedora 15??
I tried lsusb and here is the output of lsusb
[abhijeet@Illuminati ~]$ lsusb
Bus 003 Device 002: ID 0421:0399 Nokia Mobile Phones
Help me out please..

You should only have to run wvdialconf, and get it to detect the modem in your phone. There are lots of docs and how-tos on Google about how to do this...this one should get you started.
http://ernstagn.home.xs4all.nl/GPRS-...S-HOWTO-6.html

Start with running wvdialconf (man page here: http://linux.about.com/library/cmd/b...wvdialconf.htm), which will generate the /etc/wvdial.conf file. You will have to edit it (see first link), to put in your credentials/passwords for your GPRS carrier.

theashishmishra 08-18-2011 12:48 PM

I am posting the output of wvdialconf..it said no modem was detected
[abhijeet@Illuminati ~]$ wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<Info>: Device or resource busy
Modem Port Scan<*1>: S0
ttyS1<Info>: Device or resource busy
Modem Port Scan<*1>: S1
ttyS2<Info>: Device or resource busy
Modem Port Scan<*1>: S2
ttyS3<Info>: Device or resource busy
Modem Port Scan<*1>: S3
ttyACM0<Info>: Device or resource busy
Modem Port Scan<*1>: ACM0


Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?

What I should do now??

theashishmishra 08-18-2011 12:56 PM

I tried wvdial as root and I got this message and I don't know what to do next and how to edit /etc/wvdial.conf file..that was my output

[root@Illuminati abhijeet]# 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.
Modem configuration written to /etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

theashishmishra 08-18-2011 01:16 PM

What to do after editing the /etc/wvdial.conf
that first link u have posted is a bit different..MY /etc/wvdial.conf reads like this after editing
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET "
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
; Phone = *99***1#
ISDN = 0
; Password =
; Username =
Modem = /dev/ttyACM0
Baud = 460800

TB0ne 08-18-2011 01:45 PM

Quote:

Originally Posted by theashishmishra (Post 4446916)
What to do after editing the /etc/wvdial.conf
that first link u have posted is a bit different..MY /etc/wvdial.conf reads like this after editing
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET "
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
; Phone = *99***1#
ISDN = 0
; Password =
; Username =
Modem = /dev/ttyACM0
Baud = 460800

Spell out your words.

Again, you need to edit the wvdial.conf file to put in YOUR credentials. Username/password, phone #, etc. all need to match what YOUR PROVIDER needs. After you get everything in, as the link says, you type in "wvdial", press ENTER, and that's it.

theashishmishra 08-18-2011 02:02 PM

This is what my terminal looked like after wvdialconf command and editing the necessary credentials for my internet provider
[abhijeet@Illuminati ~]$ sudo wvdialconf
[sudo] password for abhijeet:
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.
Modem configuration written to /etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
[abhijeet@Illuminati ~]$ sudo gedit /etc/wvdial.conf

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-CRITICAL **: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:2615): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gedit:2615): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:2615): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.0JL9ZV': No such file or directory

(gedit:2615): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2615): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.0G50ZV': No such file or directory

(gedit:2615): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2615): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.AQHD0V': No such file or directory

(gedit:2615): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
[abhijeet@Illuminati ~]$

even after saving wvdial.conf and closing it..nothing happened..

TB0ne 08-18-2011 02:36 PM

Quote:

Originally Posted by theashishmishra (Post 4446970)
This is what my terminal looked like after wvdialconf command and editing the necessary credentials for my internet provider
[abhijeet@Illuminati ~]$ sudo wvdialconf
[sudo] password for abhijeet:
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.
Modem configuration written to /etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
[abhijeet@Illuminati ~]$ sudo gedit /etc/wvdial.conf

even after saving wvdial.conf and closing it..nothing happened..

Ok...AGAIN, you need to first run wvdialconf. You've done this now TWICE. Now, AFTER you run it, you then need to EDIT the wvdial.conf file. The error(s) you posted are because you're trying to run GEdit as root, and tell us NOTHING about what you actually put into the file. And even if you DO post the wvdial.conf file...there is NOTHING WE CAN TELL YOU ABOUT IT. YOU have to call your provider, and get the information that you need. You can even probably find it via a Google search..put in your provider name and GPRS modem, and you'll probably find it.

And AGAIN...AFTER you edit the file, all you have to do is run wvdial. That's it.

theashishmishra 08-18-2011 02:45 PM

I am putting this in my wvdial.conf
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET "
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
; Phone = *99***1#
ISDN = 0
; Password =
; Username =
Modem = /dev/ttyACM0
Baud = 460800

This is all my service provider requires..
And if I don't open /etc/wvdial.conf as root its opening in read only mode..I can only "save as" that file..

TB0ne 08-18-2011 03:59 PM

Quote:

Originally Posted by theashishmishra (Post 4447020)
I am putting this in my wvdial.conf
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET "
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
; Phone = *99***1#
ISDN = 0
; Password =
; Username =
Modem = /dev/ttyACM0
Baud = 460800

This is all my service provider requires..
And if I don't open /etc/wvdial.conf as root its opening in read only mode..I can only "save as" that file..

Ok, so what are you not getting?? If you're wvdial.conf file has the right things in it, then type in wvdial. That's it. Otherwise, EDIT THE FILE, save it (however you want to do it, that's up to you), THEN run wvdial.

theashishmishra 08-19-2011 02:22 AM

I tried to run wvdial and I am getting this error message
[abhijeet@Illuminati ~]$ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> 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","TATA.DOCOMO.INTERNET"
AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET"
OK
--> Modem initialized.
--> Configuration does not specify a valid phone number.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.

I am putting the right phone number as *99***1#
and I am leaving the username and password blank..where its getting stuck??

theashishmishra 08-19-2011 02:29 AM

If I run wvdial without being root...I get this error message
[abhijeet@Illuminati ~]$ wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyACM0: Device or resource busy
--> Cannot open /dev/ttyACM0: Device or resource busy
--> Cannot open /dev/ttyACM0: Device or resource busy

theashishmishra 08-19-2011 02:47 AM

It solved somewhat but I got stuck on this..would you please help me out??
after connecting..I got this message on my terminal
[abhijeet@Illuminati ~]$ sudo wvdial
[sudo] password for abhijeet:
--> WvDial: Internet dialer version 1.61
--> 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","TATA.DOCOMO.INTERNET"
AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!};} }2}!}$}%\}"}&} }*} } }#}$@#cb~
--> PPP negotiation detected.
--> Starting pppd at Fri Aug 19 13:07:48 2011
--> Pid of pppd: 2953
--> Using interface ppp0
--> pppd: �� 8�� ���
--> pppd: �� 8�� ���
--> pppd: �� 8�� ���
--> pppd: �� 8�� ���
--> pppd: �� 8�� ���
--> local IP address 14.194.180.98
--> pppd: �� 8�� ���
--> remote IP address 0.194.180.98
--> pppd: �� 8�� ���
--> primary DNS address 121.242.190.181
--> pppd: �� 8�� ���
--> secondary DNS address 121.242.190.210
--> pppd: �� 8�� ���

theashishmishra 08-19-2011 03:10 AM

I edited /etc/resolv.conf and put the two DNS server address even then it can't connect..in my cell phone I got this message that "connection established" and It was showing the sign of edge E but my lap is unable to get connected to net.When I tried to ping,my terminal showed this error message
[abhijeet@Illuminati ~]$ ping google.com
ping: unknown host google.com

TB0ne 08-19-2011 09:34 AM

Quote:

Originally Posted by theashishmishra (Post 4447474)
I tried to run wvdial and I am getting this error message
[abhijeet@Illuminati ~]$ sudo wvdial

I am putting the right phone number as *99***1#
and I am leaving the username and password blank..where its getting stuck??

As said several times in the past...you are going to have to put the correct phone #, user name and password, into your wvdial.conf.
Quote:

Originally Posted by theashishmishra
If I run wvdial without being root...I get this error message
[abhijeet@Illuminati ~]$ wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyACM0: Device or resource busy

Check the permissions on /dev/ttyACM0, and modify them as needed. Perhaps a "chmod 666" as root?
Quote:

Originally Posted by theashishmishra
It solved somewhat but I got stuck on this..would you please help me out??
after connecting..I got this message on my terminal
[abhijeet@Illuminati ~]$ sudo wvdial
...........

It's running PPPD. This thread http://www.linuxquestions.org/questi...ternet-893131/ has some information that may help you, as far as the init string for your modem goes. There are other PPPD dialers you can use...what desktop environment are you in?
https://wiki.archlinux.org/index.php/USB_3G_Modem
https://help.ubuntu.com/community/Di...edirect=wvdial


All times are GMT -5. The time now is 11:41 AM.