Re: dialup woes wvdial, external v92 modem connected via usb/serial adapter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



It would appear that on Jun 4, Ross did say:

> If you are using a usb -> serial adapter I think your Modem should be
> something like /dev/ttyS0 (you could check on your system with "dmesg 
> |grep serial") instead of /dev/ttyUSB0

I would have thought so to. But unless I'm remembering wrong, isn't
/dev/ttyS[1-3] the linux equivalent of com[1-4]? In which case, if the
modem could be found on one of those wvdial wouldn't tell me:
--> Cannot get information for serial port.
just before it initializes the modem device specified in the
wvdial.conf file, would it??? And in any case, /dev/ttyUSB0 is where
wvdialconf identified my modem.

=> UnderTree =-> wvdialconf wvdial.cfg
=> Editing `wvdial.cfg'.
=> 
=> Scanning your serial ports for a modem.
=> 
=> Modem Port Scan<*1>: S0   S1   S2   S3   
=> WvModem<*1>: Cannot get information for serial port.
=> ttyUSB0<*1>: ATQ0 V1 E1 -- OK
=> ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
=> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
=> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
=> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
=> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
=> ttyUSB0<*1>: Modem Identifier: ATI -- Zoom V.92 Serial s110701 -C Z207
=> ttyUSB0<*1>: Speed 4800: AT -- OK
=> ttyUSB0<*1>: Speed 9600: AT -- OK
=> ttyUSB0<*1>: Speed 19200: AT -- OK
=> ttyUSB0<*1>: Speed 38400: AT -- OK
=> ttyUSB0<*1>: Speed 57600: AT -- OK
=> ttyUSB0<*1>: Speed 115200: AT -- OK
=> ttyUSB0<*1>: Max speed is 115200; that should be safe.
=> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
=> 
=> Found a modem on /dev/ttyUSB0.
=> wvdial.cfg<Warn>: Can't open 'wvdial.cfg' for reading: No such file or directory
=> wvdial.cfg<Warn>: ...starting with blank configuration.
=> Modem configuration written to wvdial.cfg.
=> ttyUSB0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
=> UnderTree =-> 

Still lets see what dmesg says:

=> UnderTree =-> dmesg|grep serial
=> usbcore: registered new interface driver usbserial
=> usbcore: registered new interface driver usbserial_generic
=> usbserial: USB Serial Driver core
=> UnderTree =-> ls -l /dev/ttyS*
=> crw-rw---- 1 root uucp 4, 64 Jun  5 00:11 /dev/ttyS0
=> crw-rw---- 1 root uucp 4, 65 Jun  5 00:11 /dev/ttyS1
=> crw-rw---- 1 root uucp 4, 66 Jun  5 00:11 /dev/ttyS2
=> crw-rw---- 1 root uucp 4, 67 Jun  5 00:11 /dev/ttyS3
=> UnderTree =-> ls -l /dev/ttyU*
=> crw-rw---- 1 root uucp 188, 0 Jun  5 00:11 /dev/ttyUSB0
=> UnderTree =-> vim  /etc/wvdial.conf 
=> UnderTree =-> wvdial
=> --> WvDial: Internet dialer version 1.61
=> --> Cannot open /dev/ttyS0: Input/output error
=> --> Cannot open /dev/ttyS0: Input/output error
=> --> Cannot open /dev/ttyS0: Input/output error
=> UnderTree =-> vim  /etc/wvdial.conf 
=> UnderTree =-> wvdial
=> --> WvDial: Internet dialer version 1.61
=> --> Cannot open /dev/ttyS1: Input/output error
=> --> Cannot open /dev/ttyS1: Input/output error
=> --> Cannot open /dev/ttyS1: Input/output error
=> UnderTree =-> vim  /etc/wvdial.conf 
=> UnderTree =-> wvdial
=> --> WvDial: Internet dialer version 1.61
=> --> Cannot open /dev/ttyS2: Input/output error
=> --> Cannot open /dev/ttyS2: Input/output error
=> --> Cannot open /dev/ttyS2: Input/output error
=> UnderTree =-> vim  /etc/wvdial.conf 
=> UnderTree =-> wvdial
=> --> WvDial: Internet dialer version 1.61
=> --> Cannot open /dev/ttyS3: Input/output error
=> --> Cannot open /dev/ttyS3: Input/output error
=> --> Cannot open /dev/ttyS3: Input/output error
=> UnderTree =-> vim  /etc/wvdial.conf 
=> UnderTree =-> 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 &C0 &D2 H1 +FCLASS=0
=> ATQ0 V1 E1 S0=0 &C0 &D2 H1 +FCLASS=0
=> OK
=> --> Modem initialized.
=> --> Sending: ATDT7340102
=> --> Waiting for carrier.
=> ATDT7340102
=> ERROR
=> --> Invalid dial command.
=> --> Disconnecting at Sat Jun  5 00:38:10 2010
=> UnderTree =-> 

Wvdial only finds the modem when I specify 'Modem = /dev/ttyUSB0' in
my wvdial.conf file...


-- 
|    ^^^   ^^^
|    <o>   <o>      Joe (theWordy) Philbrook
|        ^               J(tWdy)P
|       ___         <<jtwdyp@xxxxxxxx>>

       <sigh>




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux