LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-24-2014, 07:10 PM   #1
Sharks
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
Cannot connect a serial modem with wvdial


Hi, I am new to linux and enjoying the experience so far. Attempting to connect a serial modem I have run wvdialconf and got the following.

Code:
steve@steve--E5510:~$ wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

WvModem<*1>: Cannot set information for serial port.
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   S4   S5   S6   S7   S8   
Modem Port Scan<*1>: S9   S10  S11  S12  S13  S14  S15  S16  
Modem Port Scan<*1>: S17  S18  S19  S20  S21  S22  S23  S24  
Modem Port Scan<*1>: S25  S26  S27  S28  S29  S30  S31  


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

Please read the FAQ at http://alumnit.ca/wiki/?WvDial
I then tried to run setserial and got.

Code:
steve@steve--E5510:~$ sudo setserial -G /dev/tty
[sudo] password for steve: 
Cannot get serial info: Inappropriate ioctl for device
run dmesg on the serial port returns.


Code:
steve@steve--E5510:~$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    2.562395] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
From GtkTerm (serial port terminal) I can connect and run all at commands including the following.

AT command returns OK
AT+IPR? returns +IPR: 9600
I can dial with ATD<my phone no.>

I should add that before running wvdialconf I manually edited wvdial.conf with the correct settings for the modem. Also I checked that I was a member of the dialout group.
I am using ubuntu 13.10 and have also loaded and tried 14.04 just to see if it may have been version specific.

As noted earlier I am new to Linux but have connected many modems of all types over the years.
Any ideas and help will be very appreciated.
 
Old 03-24-2014, 07:22 PM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,900

Rep: Reputation: 261Reputation: 261Reputation: 261
Maybe making a link with /dev/modem the following will help:
Code:
ln -sf /dev/ttyS0 /dev/modem
 
Old 03-24-2014, 09:16 PM   #3
Sharks
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Maybe making a link with /dev/modem the following will help:
Code:
ln -sf /dev/ttyS0 /dev/modem
Thanks for the quick response colorpurple21859, I tried your sugestion which added this line to the to the output of wvdialconf.

Code:
Modem Port Scan<*1>: Scanning ttyS0 first, /dev/modem is a link to it.
however still cannot connect.
 
Old 03-24-2014, 11:06 PM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,900

Rep: Reputation: 261Reputation: 261Reputation: 261
Have you tried this:
http://www.tldp.org/HOWTO/Modem-HOWTO-18.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
serial GPRS modem + wvdial + fix APN + big headache galrub Linux - Networking 2 12-01-2009 04:35 AM
how to connect modem in ttyS serial port amitk_m Slackware 3 06-30-2009 10:14 AM
can't connect to internet with serial modem! ardelite Puppy 7 04-12-2007 09:59 AM
cannot connect with serial modem on fc6 axelmang Linux - Networking 3 03-22-2007 05:22 PM
Can only get serial modem to connect at 9K ajsheridan Linux - Hardware 2 05-14-2006 12:38 PM


All times are GMT -5. The time now is 02:12 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration