jtd wrote:
> On Sunday 10 Aug 2008 17:36, km wrote:
> 
>>> route del default gw 192.168.whatever .
>>>  route add defalut gw <ip of ppp0>
> 
>> AFAIR, after doing a
>> # route del default gw
>> I did not find the /etc/network/interfaces file in place; it just
>> disappeared! (is this expected? could not understand that from the
>> man page on route`.)
> 
> No. route addition / deletion does not affect the interface file or 
> the current ip.
> 
>> However, I had a backup copy (incidentally a much older, cleaner
>> backup :P ) of the interfaces file that i restored. And things
>> seemed workable henceforth.
>>
>> Although, this seems to be a pretty dirty way of getting around a
>> problem and i am still foxed as to what was a proper systematic
>> approach to solve it. I am reading up on this, and will surely
>> catch up pretty soon.
> 
> usually in pppconfig there is an Advanced - Defaultroute option. you 
> should enable defaultroute.
> Or simply edit /etc/ppp/peers/<your ppp config-name file> and add a 
> the word defaultroute on a new line.
> 
> One can of course do all sorts of things by adding appropriate scripts 
> in /etc/ppp/ip-up.d/ and /etc/ppp/ip-down.d/
> 
> 
> 
Thanks, thats helpful. Is this also applicable to wvdial as i use that
to connect?

-- 
Regards
kamal
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to