LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   usb edge modem configuration in wvdial.conf (https://www.linuxquestions.org/questions/linux-networking-3/usb-edge-modem-configuration-in-wvdial-conf-621800/)

enth 02-17-2008 11:04 AM

usb edge modem configuration in wvdial.conf
 
hi, i want to configure usbedge modem in pclinuxos.
here is what i have written in wvdial.conf
{Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","gpinternet"
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyUSB0
Username = xyz
Password = xyz
Baud = 460800

the problem is when i write wvdial in the terminal, it says:
--> Wvdial: Internet dialer version 1.54.0
--> cannot open /dev/ttySUSB0: no such file or directory
--> cannot open /dev/ttySUSB0: no such file or directory
--> cannot open /dev/ttySUSB0: no such file or directory

When i replace ttyUSB0 by ttyS0, it says:

--> Wvdial: Internet dialer version 1.54.0
--> cannot open /dev/ttySUSB0: input/output error
--> cannot open /dev/ttySUSB0: input/output error
--> cannot open /dev/ttySUSB0: input/output error

Can anyone please help me with this..

swampdog2002 02-17-2008 01:39 PM

In this line within your wvdial.conf file:
Code:

Modem = /dev/ttyUSB0
This does not appear to be consistent with what the output of wvdial is informing you of, which is:
Code:

--> cannot open /dev/ttySUSB0: no such file or directory
I would suggest ensuring that the line within your wvdial.conf file matches what the wvdial program is looking for first. Or, you can create a symbolic link to this /dev/ttySUSB0 and see if this has an effect.

enth 02-17-2008 08:49 PM

sorry typing mistake, for
Modem = /dev/tttyS0
it was this:
--> Wvdial: Internet dialer version 1.54.0
--> cannot open /dev/ttyS0: input/output error
--> cannot open /dev/ttyS0: input/output error
--> cannot open /dev/ttyS0: input/output error


All times are GMT -5. The time now is 09:13 PM.