start/stop network services on a Laptop

michel Junger michel.junger at
Fri Mar 21 03:17:10 PDT 2008


First, my question:
Is there a standard way to boot without network services and then to
start them all later ?

Second, the situation:
I've got a laptop running FreeBSD 7 fine. By default it boots without
enabling network interface, later I manually run 
/etc/rc.d/netif start ath0 and /etc/rc.d/routing start if needed.

I've got this lines in /etc/rc.conf:
ifconfig_ath0="inet 192.168.X.Y  netmask ssid thessid"
ntpdate_flags="-4 -b"

There's two problems with this configuration:
- At boot time ntpdate try to contact the ntpd-server but naturaly it
fails (no network).
- sshd always runs even if there's no network.

So must I re-invent the wheel or is there a better way to do it.
Thanks in advance for any help.



More information about the freebsd-questions mailing list