LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-03-2006, 06:22 AM   #1
bugpolo
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
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.
 
Old 04-03-2006, 06:58 AM   #2
towy71
Member
 
Registered: Oct 2003
Location: Carmarthen, Wales
Distribution: Ubuntu and whatever is new kid on the block
Posts: 70

Rep: Reputation: 18
have a look here
 
Old 04-03-2006, 08:02 AM   #3
bugpolo
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you for your advice. At the first,I am not login as root. So I will try again later.
 
Old 04-12-2006, 01:31 AM   #4
Bazbo
Member
 
Registered: Mar 2004
Location: Seattle
Posts: 72

Rep: Reputation: 15
Unhappy 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
 
Old 04-12-2006, 02:58 AM   #5
towy71
Member
 
Registered: Oct 2003
Location: Carmarthen, Wales
Distribution: Ubuntu and whatever is new kid on the block
Posts: 70

Rep: Reputation: 18
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
 
Old 04-12-2006, 03:39 AM   #6
Bazbo
Member
 
Registered: Mar 2004
Location: Seattle
Posts: 72

Rep: Reputation: 15
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?
 
Old 10-01-2009, 05:36 AM   #7
himanee
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Rep: Reputation: 0
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.
 
  


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
wvdial (modem) works w/ ubuntu not w/ others towsonu2003 Linux - Hardware 6 10-11-2005 12:13 PM
wvdial Problem... thmonkey Linux - Networking 5 05-17-2005 01:27 PM
wvdial problem simanyay Linux - Networking 5 06-25-2004 05:33 AM
wvdial problem Nik0s Linux - Newbie 5 02-04-2004 03:55 PM
WvDial Problem Nauseous Linux - Networking 5 04-08-2003 02:13 AM


All times are GMT -5. The time now is 03:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration