LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot connect a serial modem with wvdial (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-connect-a-serial-modem-with-wvdial-4175499332/)

Sharks 03-24-2014 06:10 PM

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.

colorpurple21859 03-24-2014 06:22 PM

Maybe making a link with /dev/modem the following will help:
Code:

ln -sf /dev/ttyS0 /dev/modem

Sharks 03-24-2014 08:16 PM

Quote:

Originally Posted by colorpurple21859 (Post 5140596)
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.

colorpurple21859 03-24-2014 10:06 PM

Have you tried this:
http://www.tldp.org/HOWTO/Modem-HOWTO-18.html


All times are GMT -5. The time now is 01:58 AM.