Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 15:47:10 -0500
From:      dorqus <dorqus@bsdfreek.com>
To:        mobile@freebsd.org
Subject:   Re: 5.1R, cron job "system-entropy" sending error email every 11 minutes
Message-ID:  <20040112204710.GH20470@freek.com>
In-Reply-To: <Law9-F82XP9ww1WySvX0001ec09@hotmail.com>
References:  <Law9-F82XP9ww1WySvX0001ec09@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Carter wrote...
> The error email contains "ifconfig: not found" four times;  running 
> system-entropy in trace mode I can see it executing commands from 
> /etc/rc.conf and ifconfig is bombing on these:
> 
>   + ifconfig wi0 ssid WAP1
>   ifconfig: not found
>   + ifconfig wi0 stationname x200
>   ifconfig: not found
>   + ifconfig wi0 wep
>   ifconfig: not found
> 
> What is further odd is that these commands work fine when the system boots 
> and if I execute them from my shell.
> 
> Any suggestion?

Yes.  Put the path to ifconfig into your shell script/cronjob/whatever.

That will solve you problem.

-- 
josh
	There are 10 types of people.  Those that understand binary, 
	and those that don't.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040112204710.GH20470>