Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
/dev/ttyUSB0 and PPP

/dev/ttyUSB0 and PPP

2006-02-25       - By Rick Stevens

 Back
Reply:     <<     11     12     13     14  

On Sat, 2006-02-25 at 15:24 -0800, Harold Hallikainen wrote:
> > 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!)
> >
>
>
> Well... Weird it is. Now and then it would dial out, most of the time it
> would not. It would say active in the network configuration window even
> when it was not connected. Very difficult to figure out! Anyway, one my
> books makes mention of kppp, which happens to be on this laptop. The book
> says you can use kppp or the internet configuration wizard, then goes on
> to describe the wizard and never mentions kppp again. So, I tried kppp. It
> works great! It had trouble dealing wity ttyUSB0, but works fine on
> /dev/modem. This email is being sent from my laptop through my cellphone
> calling my server at home. It works!!!!!! Now I can use this machine more
> on my hour bus commute!
>
> Thanks Rick, and everyone!

Glad you got it working.  Now I'll have to dig into wvdial and see just
what the kapok is going on.  You've piqued my curiosity, damn you!

Like I didn't have enough to do already!  :-D

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
- Do not taunt the sysadmins, for they are subtle and quick to anger -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe