LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2011, 04:56 AM   #1
crrail
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Rep: Reputation: 0
Having problem with wvdial


I have Micromax mmx300 usb modem. It works on XP. But when I tried to use it on Fedora 14, this is what happens:

Code:
[root@localhost Prashant]# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3   
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB1<*1>: Modem Identifier: ATI -- Manufacturer: AD
ttyUSB1<*1>: Speed 9600: AT -- OK
ttyUSB1<*1>: Max speed is 9600; that should be safe.
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: AD
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB1.
Modem configuration written to /etc/wvdial.conf.
ttyUSB1<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

[root@localhost Prashant]# 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
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
^HRSSILVL:60
^MODE: 8
^DSDORMANT:0
^DSDORMANT:1
^CCaught signal 2:  Attempting to exit gracefully...
--> Disconnecting at Tue Jan 18 16:04:26 2011

[root@localhost Prashant]# wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
AT+GCAP
+GCAP: +CIS707-A, CIS-856, +MS, +ES, +DS, +FCLASS
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#777
--> Waiting for carrier.
^RSSILVL:40
^MODE: 2
^HRSSILVL:60
^MODE: 8
^DSDORMANT:0
^RSSILVL:60
^DSDORMANT:1
^DSDORMANT:0
~[7f]}#@!}!}!} }3}#}%B#}%}%}&} udA}'}"}(}"mK~~[7f]}#@!}!}"} }3}#}%B#}%}%}&} vt}'}'}"}(}"[13]_~~[7f]}#@!}!}#} }3}#}%B#}%}%}&} v}>Z}'}"}(}"] ~~[7f]}#@!}!}$} }3}#}%B#}%}%}&} v-y}'}"}(}":L~~[7f]}#@!}!}%} }3}#}%B#}%}%}&} v}#[14]}'}"}(}"}-_~
^DSDORMANT:1
--> Timed out while dialing.  Trying again.
--> Sending: ATDT#777
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT#777
--> Waiting for carrier.
^DSDORMANT:0
~[7f]}#@!}!}!} }3}#}%B#}%}%}&} v}^$}'}"}(}"-} ~~[7f]}#@!}!}"} }3}#}%B#}%}%}&} v;I}'}"}(}"Q@~~[7f]}#@!}!}#} }3}#}%B#}%}%}&} v}(W}'}"}(}"c&~~[7f]}#@!}!}$} }3}#}%B#}%}%}&} vR@}'}"}(}"R;~~[7f]}#@!}!}%} }3}#}%B#}%}%}&} v0m}'}"}(}"bZ~
^DSDORMANT:1
^RSSILVL:40
^CCaught signal 2:  Attempting to exit gracefully...
--> Disconnecting at Tue Jan 18 16:09:02 2011
[root@localhost Prashant]#
 
Old 01-19-2011, 04:20 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, I use a 3G usb modem, I have 2, but use only one.

When I started wvdial was recommended, it never worked for me. (No offence intended, it obviously works well for many, as I have read.)

I wonder, are you able to get the dns addresses, gateway address, speed (etc) for your device and ISP?
(also the kernel module-name required) mine uses the option module.

if so you may be able to set up the device without wvdial.

The config files are in
/etc/resolve.conf (for dns's)
/etc/sysconfig/network-scripts (for ifcfg-ppp0, chat-ppp0, ifup-ppp0 script pin-ppp0 (password, empty on my system as it is governed by the sim card)/etc/ifplugd/ifplugd.conf, /etc/sysconfig/network, /etc/ppp/peers/ppp0)

I was fortunate to have a version of M$win and was able to check the config files there, like netstat /an (-an for unix like systems) and route -n (/n for M$win) and a bit of web searching came up with the goods, But I had to load it from /etc/rc.local to initialise it at boot.

I hope this give you an avenue to search for, I have no idea about your type of modem, but if you'd like to see these config files I have listed, just ask.

Regards Glenn
 
Old 05-04-2011, 09:43 AM   #3
retxed
Member
 
Registered: Sep 2009
Location: Chennai
Distribution: Ubuntu 11.10 and back track 4
Posts: 45

Rep: Reputation: 9
can give following blog-entry method a try......but it is for Ubuntu.
can try the script it uses in the following blog

http://linuxzeal.blogspot.com/2011/0...tu-debian.html
 
  


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
Help with wvdial. Have wvdial not dial and wait till handshake. dragos240 Linux - Networking 2 01-14-2011 08:04 AM
[SOLVED] Adding wvdial to start menu/desktop, running wvdial without shell. Mogget Linux - Desktop 1 08-07-2009 02:08 AM
Problem with wvdial Boogieman Linux - Software 9 02-27-2004 04:56 PM
wvdial problem Nik0s Linux - Newbie 5 02-04-2004 02:55 PM
WvDial Problem Nauseous Linux - Networking 5 04-08-2003 01:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration