Re: gateway NAT settings lost

2008-09-27 Thread Colin Brace
Mel-15 wrote: The obvious a file in /, possibly a core dump. The less obvious, an open but deleted file. Even less obvious, a file in /tmp created in single user mode, without /tmp mounted. My money is on option 2: fstat -f / |sort -rnk 8|head OK, here is what that returns: $ sudo

Re: gateway NAT settings lost

2008-09-27 Thread Mel
On Saturday 27 September 2008 11:56:16 Colin Brace wrote: Mel-15 wrote: The obvious a file in /, possibly a core dump. The less obvious, an open but deleted file. Even less obvious, a file in /tmp created in single user mode, without /tmp mounted. My money is on option 2: fstat -f /

Re: gateway NAT settings lost

2008-09-26 Thread Mel
On Friday 26 September 2008 11:41:41 Colin Brace wrote: I recently ran out of diskspace on the root partition of my FreeBSD 7 box, which serves as a home server/gateway. As a result, when I went to edit my rc.conf file with nano earlier this moth, it couldn't save the changes and the file was

Re: gateway NAT settings lost

2008-09-26 Thread Colin Brace
Thanks Mel, gateway_enable was what I was missing. I usually use sudo for eding system files, but in this particular instant I was lazy and had set the permissions so I could edit rc.conf without it. :( As I mentioned, I got into this fix because my root partition is full. This is how my

Re: gateway NAT settings lost

2008-09-26 Thread Mel
On Friday 26 September 2008 15:14:21 Colin Brace wrote: Thanks Mel, gateway_enable was what I was missing. You're very welcome. For totals: $ sudo du -hc -depth=1 boot cdrom home lib libexec rescue sbin bin compat dist etc lib proc root 91Mboot 2.0Kcdrom 0Bhome 5.4M