On Sun, 22 Mar 1998, Mike Acklin wrote: > At 10:51 AM 3/23/98 +1200, you wrote: > > >Do you use "defaultroute" in your pppd options? > >if you dont, try "route add default ppp0" after running pppd. > > > >IMHO, if your ISP does not use PAP auth. then I think it would probably be > >easier to set up the pon/poff scripts... but then, thats my opinion. > > > > > > Michael Beattie ([EMAIL PROTECTED]) > > > > Michael, > > I will try this. I have tried some other variations of route default. > Like I say: > > route add default > > and get: > > SIOCADDRT: network is unreachable > > Or I try: > > route add net > > and get > > Net: host name lookup failure
I am no expert, but I believe these two usages require a device parameter (i.e. ppp0) for example, route add default ppp0 works for me. I get the same errors you do by excluding a device parameter. An easy way is to pass pppd the "defaultroute" option. It then adds the default route automatically, and if the ppp device is different, it uses the correct device as well. (i.e. it could be ppp1 ppp2 ppp3..... etc) As for the "route add net.." one, I think/believe/whatever that it is for setting up access routes for specific networks. i.e. you could set up a route to the local (192.186.x.x etc) network through eth0 or something. anything that isnt matched by this is then sent to the "default" route to be resolved etc... so the key point to remember, is that the internet is not a network, but a network of networks... > The problem is I think is I am not running an network. I am not > connected to a network other than through PPP and my ISP. I get a good > connection and can stay connected just fine. The problem is I can not get > past the Host. When I try pinging I can ping my host but no where else. I sincerely believe this is a default route problem like you say. There should be no problem concerning not being on a network. The default route has to be created after connecting to your ISP, and there are two ways (that I know of) of doing this. 1) using the "defaultroute" option of pppd, and 2) using "route add default ppp0". > I did see in my plog, CCP: Timeout sending config-request. I have also > tried the "route -n" and get "no default route". Trying just "route" will give resolved names, and that includes the string "default" if it is created. I gather that you have resolv.conf, hosts and host.conf set up right? > I have printed out your other message and will try all that. Am having > to switch back and forth as under debain, I am unable to connect to > the net. So have to shutdown and boot up "the bad word" and see if I > can get any more help. But thanks for yours and Bill's help and the > others that have written. No probs... I believe thats what we are all here for... :) Michael Beattie ([EMAIL PROTECTED]) ------------------------------------------------------------------------------- WinErr: 017 This will end your Windows session. Do you want to play another game? ------------------------------------------------------------------------------- Debian GNU/Linux.... Ooohh You are missing out! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]