Thanks Vince, I'll give it a go. Regards, Matthew
On 17 May 2012 14:49, Vincent Hoffman <[email protected]> wrote: > On 17/05/2012 17:13, Matthew Doughty wrote: > > Hi, thanks for your quick reply. > > > > Please could you explain how to do that? Or if you know a post that > > explains.... > > Its not that obvious but... > man 5 rc.conf > and have a look at the netwait_* variable options (particularly > netwait_enable) > Basically they pause the boot up process until a network connection is > available, (a user defined IP is pingable) > they should be added to your /etc/rc.conf. The default values are > > jhary@ostracod $ grep netwait /etc/defaults/rc.conf > netwait_enable="NO" # Enable rc.d/netwait (or NO) > #netwait_ip="" # IP addresses to be pinged by netwait. > netwait_timeout="60" # Total number of seconds to perform pings. > #netwait_if="" # Interface name to watch link state on. > netwait_if_timeout="30" # Total number of seconds to monitor link > state. > > Vince > > > > Thanks, > > Matthew > > > > On 17 May 2012 11:42, <[email protected]> wrote: > > > >> Matthew, > >> > >> netwait script is already implemented: > >> http://lists.freebsd.org/pipermail/svn-src-head/2011-June/028593.html > >> > >> So, you shuld just add netwit_* entries in your rc.conf file. > >> > >> 2012/5/17 Matthew Doughty <[email protected]>: > >>> Dear Jerermy, > >>> > >>> Whilst searching for a solution to a problem, I found your post: > >>> > >> > http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064350.html > >>> Please could you explain how I can implement the netwait script to > solve > >>> the problem? I'm new to freenas/BSD but am willing to try working from > >> the > >>> Cmd line. > >>> > >>> Best regards, > >>> > >>> Matthew > >>> > >>> > >>> PS: Here are the messages > >>> > >>> May 14 13:32:59 freenas kernel: SMP: AP CPU #1 Launched! > >>> > >>> May 14 13:32:59 freenas kernel: GEOM: da0s1: geometry does not match > >> label > >>> (16h,63s != 255h,63s). > >>> > >>> May 14 13:32:59 freenas kernel: GEOM: da0s2: geometry does not match > >> label > >>> (16h,63s != 255h,63s). > >>> > >>> May 14 13:32:59 freenas kernel: Trying to mount root from > >>> ufs:/dev/ufs/FreeNASs2a > >>> > >>> May 14 13:32:59 freenas kernel: WARNING: /data was not properly > >> dismounted > >>> May 14 13:32:59 freenas kernel: ZFS filesystem version 4 > >>> > >>> May 14 13:32:59 freenas kernel: ZFS storage pool version 15 > >>> > >>> May 14 13:33:00 freenas ntpd[1512]: ntpd 4.2.4p5-a (1) > >>> > >>> May 14 13:33:00 freenas root: /etc/rc: WARNING: failed precmd routine > for > >>> vmware_guestd > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > >>> 0.freebsd.pool.ntp.org > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > >>> 0.freebsd.pool.ntp.org', giving up on it > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > >>> 1.freebsd.pool.ntp.org > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > >>> 1.freebsd.pool.ntp.org', giving up on it > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > >>> 2.freebsd.pool.ntp.org > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > >>> 2.freebsd.pool.ntp.org', giving up on it > >>> _______________________________________________ > >>> [email protected] mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >>> To unsubscribe, send any mail to " > [email protected] > >> " > >> > > > > > > -- * Matthew Doughty * * *Director Comercial Cel: +56 (9) 82366003 Fijo: +56 (2) 9484196 www.b12.cl _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
