Ryan - yes & yes ....
At 07:50 AM 9/02/2000 +1100, Ryan McBride wrote:
>could anyone recomend a script for making PPP0 autodial/connect on boot. I
have tried changing /etc/sysconfig/networking-scripts/ifcfg-ppp0 and
changing the onboot option to yes but for some reason it doesnt work. It
dials and connects but you cant access the internet unless u dial with KPPP
through xwindoz.
Ryan, I don't use kppp, but in RH5 & RH6 linuxconf has a tickbox for
connect on boot, also for autoredial on disconnect. This is aimed at
a pseudo permanent link.
>
>What about dial on demand??
In RH5.2 pppd has the "demand" option, but the kernel does not support
dial on demand, you have to use the separate "diald" package, which I
never got compiled due to a header file missing problem, but others have
used successfully.
In RH6.0 the kernel does support demand dialing, in fact I just got it working
yesterday. Like most things, it only took 5 mins, (after installing a bigger
disk, to install RH6.0 on, & reconfiguring everything), then it only took
5 mins to change from manual dial (ifup ppp0, ifdown ppp0) to dial on demand.
a - in linuxconf under ppp options - enter "demand idle 600" where demand
activates demand dialling, and 600 secs (10 mins or whatever) is the idle
timeout to drop the link after inactivity.
b - dial on demand requires the destination IP address to be specified,
somewaht against the grain of dynamic IP addresses alloacted by an ISP.
Either arrange a fixed IP address, or (what I did & its working) just enter
an IP address in the range normally allocated by your ISP e.g. x.y.z.1
This fools it into supporting dial on demand to the nominal IP addr,
& on DHCP allocation from the ISP, it changes the local IP addr to suit.
This is working so far. IMHO this is a config wanted by many,
e.g. linux as router/gateway to ISP, dial-on-demand, other boxes
(linux, win, whatever) point gateway to linux router box, then all boxes
can web browse without any admin action, sharing the modem connection.
(Ironically man pppd recommends not to mix dial on demand with dynamic IP
addr,
but that is exactly what I want.)
I have never seen these steps described anywhere, nor any confirmation
that any particular release does or does not support this config.
There is lots of info in "man pppd", on mail lists (SLUG), on linux websites,
in howto's etc, but most info is still nuts & bolts bottom up oriented,
and there needs to be more top down end result oriented approach in
both documentation & configuration utilities.
(except that a 3 way choice of Workstation/Server/Custom is going too far
the other way !).
Brian
----------------------------------------------
Brian Martin, [EMAIL PROTECTED]
Future Software Pty Ltd, Sydney, Australia.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text