I tryied it and now it works fine Thanks for your help Girolamo -----Messaggio originale----- Da: Bob Chiodini <[EMAIL PROTECTED]> A: Girolamo Cavalcante <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Data: 14 January 2000 01:44 Oggetto: Re: pppd troubles >Girolamo Cavalcante wrote: > >> When diald makes the connection pppd doesn't add the default gateway to my >> routing table. >> What can I do to make pppd add this routing entry? >> Girolamo > >I had the same problem when I upgraded to RedHat 6.1. Apparently using the dev >option to add route when specifying the default gateway no longer works. I >could not get 'route add default gw dev ppp0' to work from the command line. >Which I suppose is what diald does. To solve the problem, I added an ip-up >script to the diald.conf file. The script is as follows: > >#! /bin/bash >/sbin/route add -net 0.0.0.0 dev $1 > >BTW, the route command changed between RH 6.0 and RH 6.1, but so did the >kernel. > >I hope this helps. > >Bob... > >-- >-------------------------------------------------------- >Bob Chiodini [EMAIL PROTECTED] >-------------------------------------------------------- > - To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]
