/dev/ttyUSB0 and PPP
Rick Stevens
rstevens at vitalstream.com
Fri Feb 24 19:07:02 UTC 2006
On Thu, 2006-02-23 at 20:56 -0800, Harold Hallikainen wrote:
<snip>
> >
> > Try changing the "Modem = /dev/ttyUSB0" to "MODEM = /dev/ttyUSB0" and
> > see. Shell variables are case sensitive. Since the error message is
> > bitching about "$MODEM", my guess is that it's looking for "MODEM = "
> > and not "Modem = ".
> >
> > And if that fixes it, send a Bugzilla report about it. That's nasty!
>
> Well, that didn't fix it! Here's a the config file:
>
> [Modem0]
> MODEM = /dev/ttyUSB0
> Baud = 19200
> SetVolume = 0
> Dial Command = ATDT
> Init1 = ATZ
> Init3 = ATM0
> Modem = /dev/modem
> FlowControl = CRTSCTS
>
> [Dialer home]
> Area Code = 805
> Username = ******
> Password = **********
> Phone = *** ****
> Dial Prefix = 1
> Stupid Mode = 1
> Init1 = ATZ
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> Inherits = Modem0
> [Dialer home0]
> Init1 = ATZ
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> Inherits = Modem0
>
> And here's what comes out the log:
>
> Feb 23 20:00:48 hhlaptop pppd[4049]: Starting link
> Feb 23 20:00:49 hhlaptop wvdial[4610]: WvDial: Internet dialer version
> 1.54.0
> Feb 23 20:00:49 hhlaptop wvdial[4610]: Initializing modem.
> Feb 23 20:00:49 hhlaptop wvdial[4610]: Sending: ATZ
> Feb 23 20:00:54 hhlaptop wvdial[4610]: Sending: ATQ0
> Feb 23 20:00:54 hhlaptop wvdial[4610]: ATQ0
> Feb 23 20:00:54 hhlaptop wvdial[4610]: OK
> Feb 23 20:00:54 hhlaptop wvdial[4610]: Re-Sending: ATZ
> Feb 23 20:00:54 hhlaptop wvdial[4610]: ATZ
> Feb 23 20:00:54 hhlaptop wvdial[4610]: OK
> Feb 23 20:01:00 hhlaptop wvdial[4610]: stdin not read/write and $MODEM
> not set
> Feb 23 20:01:00 hhlaptop pppd[4049]: Connect script failed
>
>
> So... I guess it's time for me to spend the weekend on Google! I'll also
> check the linux networking newsgroup. THANKS Rick!
Hmmm. Well, there's one more thing to try...
$ MODEM=/dev/ttyUSB0;export MODEM
and try it again.
(this is weird!)
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- To err is human, to moo bovine. -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list