Hi Gardo,
I configured pppd using linuxconf, although control panel could also be
used. Just type "linuxconf" at the prompt and click on PPP/SLIP/PLIP. After
putting in the basic information such as phone numbers, modem ports, chat
commands etc. I put the word "demand" in PPP Options.
Regarding connecting to my ISP, mine has a dynamic address and also assigns
me a dynamic address. What I did was assign a duff (pick an IP number)
remote IP address (192.168.0.1) and a local IP address (192.168.0.13) in
the lines where this information was required. This I understand is how
diald also works. I put an X in defaultroute.
I just have the following lines in my etc/ppp/options file:
ipcp-accept-remote
ipcp-accept-local
holdoff 10
idle 30
lock
The above ensures local and remote IP-addresses are changed to what my ISP
wants them to be.
I would not vouch for the idle and holdoff settings, I just picked numbers
(of seconds)and am checking them out.
To fire up pppd you have 3 options.
1. Just put an X where it asks to start up the interface at boot time. This
will dial-out and connect to your ISP as soon as you reboot.
2. Just click "Connect" at the bottom of your screen. This will immediately
dial out and connect to your ISP.
3. CD /etc/sysconfig/network-scripts and give the command
./ifup-ppp ifcfg-ppp0 & (To connect) or
./ifdown-ppp ifcfg-ppp0 & (To disconnect)
After your connection times out do a telnet to check if it fires up again.
There was really nothing else required to set up demand dialing on my
machine :-). Good luck.
By the way, you can check how everything is working by doing a cat
/var/log/messages.
Regarding your question on where to get the latest pppd, mine already came
compiled in the kernel with Redhat 6.0 Publisher's edition Kernel 2.2.5-15.
You should see ppp(demand dial version) or something similar when you cat
/var/log/messages. If you just want the rpm package (in fact any rpm
package)you could download it from
fr.rpmfind.net/linux/RPM/PByName. My rpm file is ppp-2.3.7-2. You can check
yours by giving the command rpm -qa at the prompt.
Regards
Rajiv
At 03:30 PM 8/24/99 -0800, you wrote:
>hi rajiv,
>can you tell me how you made your demand on pppd work in redhat6. i
>cant seem to make mine work. how do you connect to your isp. im
>connecting via control-panel. i click the netconfig then the interfaces
>then the ppp0. i cant make mine work even though ive put the demand on
> the options tab.
>
>
>>>
>>> Hi Ken,
>>> I am new to diald and to this mailing list but reading through all
>the
>>> recent mail it seems Redhat 6.0 and diald don't exactly work
>together. I
>>> tried diald using the latest rpm version and it gives all sorts of
>>> problems, including the process dying out for no reason. However, I
>tried
>>> using the latest pppd on Redhat 6.0 which has demand dialing. I just
>>> inserted the word "demand" in my existing ppp options file and viola
>it
>>> worked the first time. There were some additional options which you
>may
>>> need depending on how the IP addresses are allocated by your ISP and
> the
>>> timeout durations but they are explained in the new pppd man page. As
> I
>>> only had a day to try it out I have not found any bugs to report.
>Only
>>> minor problem is that when I first fire up pppd, it connects to my
>ISP. I
>>> then wait for it to time out, after which it waits for a demand from
>you.
>>> Try a telnet and it fires up again !
>>> Has anyone else given it a try or have any comments about this
>approach?
>>> Hope it helps.
>>> Regards
>>> Rajiv
>>>
>>> >
>>> >I had the old version of daild. It would dial but wasn't logging in
> to
>>> >my ISP. I got the new version. Now it doesn't do anything. I
>tried
>>> >the little graphical interface. Where do I start? I have typed
>daild
>>> >at the command line and started it from a daemon tool. When I start
>
>>> >something that should bring up the connection, I just get netowork
>>> >message error.
>>> >--
>
>__________________________________________________________
>Get your FREE private multi-lingual web e-mail @ http://www.ParsMail.com
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]