Computing.Net > Forums > Linux > Wvdial dial on demand on Redhat

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Wvdial dial on demand on Redhat

Reply to Message Icon

Name: tk808
Date: April 5, 2004 at 09:36:37 Pacific
OS: RH7.3
CPU/Ram: P3, 256Mb
Comment:

Hi
I am trying to configure dial on demand using wvdial and pppd on an RH 7.3 machine. I follwed the instructions given on wvdial site (www.davidpashley.com/tutorials/wvdial-pppd-dod.html) but the article was written for a Debian platform as it refers to two scripts , pon and poff, which I cannot find on Redhat.

Can anyone tell me how to get this to work on a Redhat platform, or if there are alternatives to pon and poff which I can use.



Sponsored Link
Ads by Google

Response Number 1
Name: Wolfbone
Date: April 5, 2004 at 19:06:07 Pacific
Reply:

Looking at the scripts pon and poff, pon does nothing much more than execute the 'pppd call xxx' command and 'touch' a file in /var/run/. poff basically just kills the pppd process and removes the touched file. If you don't want to write your own, I could email you the scripts, which you may need to modify slightly anyway - but you don't really *need* them.


0

Response Number 2
Name: Wolfbone
Date: April 5, 2004 at 21:05:53 Pacific
Reply:

...poff doesn't actually remove the file, but anyway - you can find a version of the scripts pon and poff to use as a starting point for your own in this tarball:

http://ftp.debian.org/debian/pool/main/p/ppp/ppp_2.4.2+20040202.orig.tar.gz


0

Response Number 3
Name: tk808
Date: April 5, 2004 at 23:53:56 Pacific
Reply:

Thanks. I'll give it a try and get back to you. I think my main problem is that doing a killall pppd is locking up the modem and I can't bring up the connection again without rebooting the machine.


0

Response Number 4
Name: 3Dave
Date: April 6, 2004 at 00:58:10 Pacific
Reply:

Some distros use pppup or ppp-up scripts....


0

Response Number 5
Name: Ronald
Date: April 18, 2004 at 07:21:00 Pacific
Reply:

I think on Redhat you do as root
# ifup ppp0 and then to disconnect you do
# ifdown ppp0


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Wvdial dial on demand on Redhat

dial on demand and printing www.computing.net/answers/linux/dial-on-demand-and-printing/20573.html

Oracle9i Installation on RedHat www.computing.net/answers/linux/oracle9i-installation-on-redhat-/14391.html

OPENING a .tar.gz file on redhat www.computing.net/answers/linux/opening-a-targz-file-on-redhat/12811.html