At 12:00 PM 7/28/2003, Bopolissimus wrote:
3) i actually prefer to call wvdial (or, pppd, i used to do that long ago,
when i didn't know about wvdial yet) from /etc/crontab.  what i do is,
i have a script that does something like:

#!/bin/bash
ps auxw | grep wvdial | grep -v grep
if [ $? != 0 ]
then
   wvdial

Just clarifying... I didn't know wvdial runs pppd DETACHED.
I changed your script so that it detects if PPPD (not wvdial) is running, and if not, it runs WVDIAL (not pppd).

I tried killing pppd and running wvdial, and I've solved the slow download problem.  At first I thought it was the modem init string, or the "stupid mode" setting, but when I didn't know how to load WVDIAL in the background (detached), I switched back to loading pppd instead of wvdial.  Then the downloads went slow again.  So I just refrained from loading pppd at startup, and let cron do the script every 3 minutes.

And now I'm a happy camper.

Thanks a lot to all those who tried to help!  Especiall to those who helped without groaning.  hehehehe...

Jose Victor A. Martin, Jr.
Network Admin
SFELAPCO, Inc.
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to