Re: unable to connect with internal modem under Ubuntu

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

 



Devon,
Before I invest more effort, would you please remove (or disable by introducing a leading semicolon ; ) the Login line in /etc/wvdial.conf, and just start wvdial again? I have never seen that 'ppp' before, the Login line possibly caused (and revealed) a bug in wvdial.
Jacques

D Brewer wrote:
Jacques,

Thank you very much for your reply!

I thought I had edited the wvdial.conf file appropriately, but apparently I had not.  I fixed the error, and tried wvdial again.  It connected with the ISP but couldn't get past some prompts.  The ISP is free (NoCharge.com) and has a universal login/password.  I've appended below the output from wvdialconf, the contents of the wvdial.conf file, and the results from my latest attempt with wvdial.  Would the scanModem ModemData.txt output still be helpful for you to have?

Thanks again,

Devon
******************
wvdialconf output

Scanning your serial ports for a modem.

Modem Port Scan<*1>: Scanning ttySHSF0 first, /dev/modem is a link to it.
ttySHSF0<*1>: ATQ0 V1 E1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 Z -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySHSF0<*1>: Modem Identifier: ATI -- 56000
ttySHSF0<*1>: Speed 4800: AT -- OK
ttySHSF0<*1>: Speed 9600: AT -- OK
ttySHSF0<*1>: Speed 19200: AT -- OK
ttySHSF0<*1>: Speed 38400: AT -- OK
ttySHSF0<*1>: Speed 57600: AT -- OK
ttySHSF0<*1>: Speed 115200: AT -- OK
ttySHSF0<*1>: Speed 230400: AT -- OK
ttySHSF0<*1>: Speed 460800: AT -- OK
ttySHSF0<*1>: Max speed is 460800; that should be safe.
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Modem Port Scan<*1>: S1 S2 S3 SHSF1 SHSF2 SHSF3 SHSF4 SHSF5 Modem Port Scan<*1>: SHSF6 SHSF7
Found a modem on /dev/ttySHSF0, using link /dev/modem in config.
Modem configuration written to /etc/wvdial.conf.
ttySHSF0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
carolyn@carolyn-desktop:~$ sudo wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: Scanning ttySHSF0 first, /dev/modem is a link to it.
ttySHSF0<*1>: ATQ0 V1 E1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 Z -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySHSF0<*1>: Modem Identifier: ATI -- 56000
ttySHSF0<*1>: Speed 4800: AT -- OK
ttySHSF0<*1>: Speed 9600: AT -- OK
ttySHSF0<*1>: Speed 19200: AT -- OK
ttySHSF0<*1>: Speed 38400: AT -- OK
ttySHSF0<*1>: Speed 57600: AT -- OK
ttySHSF0<*1>: Speed 115200: AT -- OK
ttySHSF0<*1>: Speed 230400: AT -- OK
ttySHSF0<*1>: Speed 460800: AT -- OK
ttySHSF0<*1>: Max speed is 460800; that should be safe.
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Modem Port Scan<*1>: S1 S2 S3 SHSF1 SHSF2 SHSF3 SHSF4 SHSF5 Modem Port Scan<*1>: SHSF6 SHSF7
Found a modem on /dev/ttySHSF0, using link /dev/modem in config.
Modem configuration written to /etc/wvdial.conf.
ttySHSF0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

**************************
wvdial.conf file

carolyn@carolyn-desktop:~$ sudo nano /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Username = guest
New PPPD = yes
Login = guest
Phone = 495-1000
Modem = /dev/modem
Password = password
Baud = 460800

**************************
output from running wvdial

carolyn@carolyn-desktop:~$ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT495-1000
--> Waiting for carrier.
ATDT495-1000
CONNECT 460800 --> Carrier detected. Waiting for prompt.
CVX Access Switch.
Access is restricted to authorized users only.
login: --> Looks like a login prompt.
--> Sending: guest
guest
password: --> Looks like a password prompt.
--> Sending: (password)
Valid commands are:
   quit       Hang up and disconnect
   help       List valid commands
--> Hmm... a prompt.  Sending "ppp".
ppp
'ppp' is not a valid command.
Valid commands are:
   quit       Hang up and disconnect
   help       List valid commands
--> Hmm... a prompt.  Sending "ppp".
ppp
'ppp' is not a valid command.
Valid commands are:
   quit       Hang up and disconnect
   help       List valid commands
--> Hmm... a prompt.  Sending "ppp".
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Tue Dec 16 11:37:53 2008
--> Pid of pppd: 9011
--> Using interface ppp0
--> pppd: Ч[06][08]��[06][08]
--> pppd: Ч[06][08]��[06][08]
--> pppd: Ч[06][08]��[06][08]
--> pppd: Ч[06][08]��[06][08]
--> pppd: Ч[06][08]��[06][08]
--> Disconnecting at Tue Dec 16 11:38:24 2008
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds



--- On Tue, 12/16/08, Jacques Goldberg <Jacques.Goldberg@xxxxxxx> wrote:

From: Jacques Goldberg <Jacques.Goldberg@xxxxxxx>
Subject: Re: unable to connect with internal modem under Ubuntu
To: "D Brewer" <interscientific@xxxxxxxxx>
Cc: discuss@xxxxxxxxxxxxx
Date: Tuesday, December 16, 2008, 11:28 AM
The  right way to proceed is indeed to use wvdial but before
you use
wvdial you must configure it using wvdialconf

First you   sudo wvdialconf /etc/wvdial.conf
If your driver is correctly loaded wvdialconf will write a
skeleton file
/etc/wvdial.conf
You must edit that file where the line
;Username = <your username>  should become
Username = what_the_ISP_told_you
and the same for Password and Phone number
Note that the leading ; has to be removed.

Once this is done wvdial should establish the connection.

If you have any problem, please send us:
1-the scanModem output (see
http://linmodems.technion.ac.il#scanModem )
2-the file /etc/wvdial.conf AFTER ERASING YOUR REAL ISP
PASSWORD (this, because you certainly do not want to make
the password public...)

The error message " Configuration does not specify a
valid login name."
does unequivocally show that either you did not run
wvdialconf or you did not edit it or you forgot to remove
the ; at the beginning of the line ;Username (and possibly
the other: Password, Phone number, as well)

Jacques
D Brewer wrote:
I am new to Linux and Ubuntu. I recently took a
Pentium IV PC in very
good condition running Vista, and successfully
installed Ubuntu 8.04
to the whole disk (no partition with Vista). My final
task is to get
the internal modem working (I’m preparing this
machine for someone
who has dialup internet access only).

I’ve been unable to connect to the internet with the
modem, and I’m
posting to seek help. I’ve searched the Ubuntu
Forums Networking and
Wireless board for relevant threads and followed
various instructions
for configuring and running the modem.  Yesterday I
posted to the
Ubuntu Forums board but haven't received any
replies.
Here’s what I’ve done:

I know the phone jack and dialup ISP both work –
I’ve used both with
a Win XP machine’s internal modem (with very quick
configuration).
I first ran scanModem and found the necessary
precompiled drivers
(hsfmodem_7.68.00.14full_i386.deb) at linuxant.com. I
downloaded,
extracted, and installed the drivers.

I tried the Network Admin, wvdialconf/wvdial, and
pppconfig/pon
approaches described at

https://help.ubuntu.com/community/DialupModemHowto/SetUpDialer#head-f5120acdc3ef62fe7d37bfd3f0c9157ebe9c8ef
and

http://www.ubuntugeek.com/setting-up-dial-up-connection-in-ubuntu.html.

When I tried to connect with the Network Admin
approach (using the
network connection icon at the upper right of the
Ubuntu desktop >>
Dial-up connections >> Connect to ppp0 via
Modem), nothing happens.
When I tried connecting via “sudo wvdial” in the
terminal, I got this
error message: ~$ sudo wvdial --> WvDial: Internet
dialer version
1.60 --> Initializing modem. --> Sending: ATZ
ATZ OK --> Sending:
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1
S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized.
 Configuration does not specify a valid
login name.

The login name is accurate, because I used it
successfully on the
system running XP.

When I tried to connect via pon (after configuring
with pppconfig), I
got this error message: Dec 15 12:40:16
carolyn-desktop pppd[6450]:
pppd 2.4.4 started by carolyn, uid 1000 Dec 15
12:40:17
carolyn-desktop chat[6452]: Can't get terminal
parameters:
Input/output error Dec 15 12:40:17 carolyn-desktop
pppd[6450]:
Connect script failed Dec 15 12:40:18 carolyn-desktop
pppd[6450]:
Exit.

This is apparently the same problem that responder #11
in this thread
(http://www.ubuntugeek.com/setting-up-dial-up-connection-in-ubuntu.html)
had, but apparently there was no further discussion of
his problem.
I am at a loss for what to do. I can provide full
output from the
scanModem run and wvdialconf if that would help with
diagnosis. I’d
prefer a GUI for connecting because the person who
will use this
system has limited computer skills/experience. I was
able to download
gnome-ppp (apparently not in the Ubuntu repository)
but couldn’t get
it to be installed or operate.

The system is perfect except for this dialup problem.
Any help or
advice would be much appreciated.

Thank you!

Devon Brewer






[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux