Hi Nicolas,
Thanks for the tip. I have checked the var/log/messages and there does not
appear to be anything strange there. It shows the chat script worked,
followed by connected and finally IP address allocation.
To connect to my ISP I use the command ./ifup-ppp ifcfg-ppp0 &
The Linux box dials out, chat script executes and I get connected with
remote and local IP address allocated dynamically. I then deliberately do
nothing until the connection times out and disconnects after a few minutes.
At the prompt I then telnet any site on the internet and the dialer fires
up again, makes the connection again to my ISP. So demand dialing works fine.
My question is: Is this the normal way that demand dialing is supposed to
work ?
Why cant I just telnet at the prompt to fire up the connection the first
time ?
The second option I mentioned is that I activate the PPP interface at boot
time (from selecting the relevant ppp settings in linuxconf). As the linux
box boots up the machine dials out and connects to the internet. I wait a
few minutes until the connection times out and try a telnet. It fires up
again.
It seems to me that for ppp demand dialing to work an initial connection
must be made to the ISP (or other ppp link) manually after booting the
system or automatically at bootup. Is this correct ?
There is no LAN involved here. Just a standalone linux box at this time.
What I did notice in both cases is that after doing a dialout and timeout
the pppd daemon is still running when I check the process list using ps ax.
Is there a way to get the pppd daemon running in demand dialing mode at
boot up without actually dialing out ?
Has anyone else run into the same problem ?. I saw on the diald mailing
list that several people had this problem using diald but no one posted a
solution. Perhaps they just leave the machine on 24hrs a day so it doesnt
really matter wasting a few minutes of access time during bootup.
Regards
Rajiv
At 06:32 PM 9/26/99 +0400, you wrote:
>On 25 Sep, Rajiv Ghai wrote:
>> Hello Everyone,
>> I am using RH6.0 with the ppp option of demand dialing. I find that in
>> order for demand dialing to work I have to first dial-out manually to my
>> ISP and then wait for the connection to time out. After that demand dialing
>> works fine. The alternative is to active the interface at boot-up and again
>> wait for the connection to time out.
>> Has anyone figured out how to work around this problem ?. I believe diald
>> also has this problem.
>> Thanks and regards
>> Rajiv
>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
>> the body of a message to [EMAIL PROTECTED]
>First i think that you have to increase debug level either in your
>diald.conf file (debug 24 for example) or in your ppp-on file if you
>don't use diald and then have a look at your /var/log/message file.
>
>Come back on the list then ...
>
>Ciao
>
>
>