LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with wvdial on ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-wvdial-on-ubuntu-431258/)

bugpolo 04-03-2006 05:22 AM

problem with wvdial on ubuntu
 
I have the problem with wvdial program in Ubuntu(last update). I don't know how to config this program. I tried to config it so several times But I cann't do it. Here are my problems. Kindly solve them for me. Thank you in advance.
1.when I typied this commman wvdialconf/etc/wvdial.conf
The system shown msg."not found the directory"
But when I typied this command wvdialconf/wvdial.conf
This command can work.
2. After I typied command vi wvdial.conf and send
this command wvdial &. The system shown msg"not found the dialer default" and cann't open the modem.

towy71 04-03-2006 05:58 AM

have a look here

bugpolo 04-03-2006 07:02 AM

Thank you for your advice. At the first,I am not login as root. So I will try again later.

Bazbo 04-12-2006 12:31 AM

Did that; didn't work
 
Quote:

Originally Posted by towy71
have a look here

I had run wvdial.conf before reading the post, and edited it to include the phone number, user name, and password. when I run wvdial, it says
"Warning: section [Dialer Defaults} does not exist in wvdial.conf
Cannot open /dev/modem: No such file or directory", but when I point a text editor at /etc/wvdial.conf, I see:
[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 2030400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = (my ISP's number)
Username = (correct username)
Password = (correct password)

so it is clearly there. When I type sudo ls /etc/wvdial.conf , I get "no such file or directory." What is going on and how do I correct it?

I am also running Ubuntu, version 5.10 for PPC on an old iMac G3 that was dialing in just fine on version 4.10 just days ago. I wanted to use Java, someone told me I needed to upgrade, I did, and now the computer's an elaborate paperweight :(

towy71 04-12-2006 01:58 AM

Did you actually type:
Code:

wvdialconf /etc/wvdial.conf
which is what that badly formatted page says to do? This then probes your serial ports for the modem and outputs the reply
Code:

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.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Port Scan<*1>: S2  S3  S4  S5  S6  S7  S8  S9
Port Scan<*1>: S10  S11  S12  S13  S14  S15  S16  S17
Port Scan<*1>: S18  S19  S20  S21  S22  S23  S24  S25
Port Scan<*1>: S26  S27  S28  S29  S30  S31  S32  S33
Port Scan<*1>: S34  S35  S36  S37  S38  S39  S40  S41
Port Scan<*1>: S42  S43  S44  S45  S46  S47  S48  S49
Port Scan<*1>: S50  S51  S52  S53


Sorry, no modem was detected!  Is it in use by another program?

As you can see because I connect via ADSL it could not find a modem but if I plugged one in it would be detected and then the only bit you have add is the phone number, username and password

Bazbo 04-12-2006 02:39 AM

wvdialconfig output
 
Hello,

Thanks for replying. I was reluctant to hand-type the entire output--since I must e-mail from a different (and even older) computer, I can't simply copy and paste. [My comments in brackets]. Here goes:

WvModem<*1> Cannot set information for serial port [I suspect that is the problem right there]
ttyS0<*1>:ATQ0 V1 E1 -- OK
ttyS0<*1>:ATQ0 V1 E1 Z -- OK
[Keeps doing this until]:
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: Modem Identifier: ATI -- 56000
ttyS0<*1>: Speed 4800 AT -- OK
[Keeps trying different speeds until]:
ttyS0<*1>: Speed 230400 AT -- OK
ttyS0<*1>: Max speed is 230400; that should be safe.
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem<*1>: Cannot set information for serial port.
ttyS1<*1>: ATQ- V1 E1 -- failed with 2400 baud, next try: 9600 baud
[Tries ttyS1 at other speeds, it fails, it gives up].
Found a modem on /dev/ttyS0.
Modem configuration written to /etc/wvdial.conf.
ttyS0<info>: Speed 230400; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

Then wvdial fails.

Any Ideas?

himanee 10-01-2009 04:36 AM

i think i have same problem as that of Bazdo. i have posted a new thread regarding the same("still problem with wvdial on ubuntu 9.04"). one may view details over there. somebody please help me.


All times are GMT -5. The time now is 10:35 PM.