nat---ipmasq

'Forum Post ulist at gs1.ubuntuforums.org
Mon Nov 14 01:55:45 UTC 2005


Vram Wrote: 
> Hi

> 

> 

> I am on a dial-up.

> 

> 

> Every four hours my ISP disconnects me..

> 

> I have persist so my modem just redials.

> 

> But, for some reason nat or ipmasq goes down and I have to manually

> restart that...

> 

> That is the problem.....

> 

> I would write a script to fix it...

> 

> But, what would I check to see if nat/ipmasq is running?

> 

> The /proc/sys/net/ipv4/ip_forward bit stays set?

> 

> I don't know what else to check...

> 

> Any ideas????

> 

> TIA

> 

> Vram

> 

> 

> -- 

> ubuntu-users mailing list

> ubuntu-users (AT) lists (DOT) ubuntu.com

> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users



If you are using ppp to connect, you can use the demand option to dial
on demand.  This way when you get disconnected, it will redial.  Also,
upon connection scripts in /etc/ppp/ip-up.d/ get run.  Perhaps that is
where you want to restart ipmasq?


-- 
azz




More information about the ubuntu-users mailing list