natd not starting on boot-up

Nick Withers nick at nickwithers.com
Wed Jun 7 06:41:25 UTC 2006


On Wed, 07 Jun 2006 12:13:29 +0700
Roger Merritt <mcrogerm at stjohn.ac.th> wrote:

> I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD system to 
> a new hard drive. Through laziness I didn't follow the instructions and had 
> to make a completely new install. Everything now seems to be working the 
> way it should, Apache, MySQL, PHP, syslog, Samba -- except natd. Everything 
> starts on boot-up as it should -- except natd. I can start it manually from 
> the command line after booting up and logging in and it works fine, but I 
> can't tell what's going on that it's failing to start.
> 
> My /etc/rc.conf contains the following:
> 
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="203.151.134.1"
> gateway_enable="YES"
> hostname="poppy.international.stjohn.ac.th"
> ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
> ifconfig_ed1="inet 203.151.134.104  netmask 255.255.255.0"
> router_enable="YES"
> firewall_enable="YES"
> firewall_type="OPEN"
> firewall_quiet="YES"
> natd_enable="YES"
> natd_interface="ed1"
> ipv6_enable="YES"
> linux_enable="YES"
> moused_enable="YES"
> moused_port="/dev/sysmouse"
> moused_type="auto"
> screen="daemon"
> nfs_client_enable="YES"
> sshd_enable="YES"

That looks alright to me...

> What can I do to get some indication of where the problem is?

Are there any error messages relating to IPFW / natd on boot?
What version of FreeBSD are you running? What's the command
you're running that _does_ launch natd successfully? What's the
output of "ls -l /etc/rc.d/natd"?

> -- 
> Roger
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


-- 
Nick Withers
email: nick at nickwithers.com
Web: http://www.nickwithers.com
Mobile: +61 414 397 446


More information about the freebsd-questions mailing list