On Mon, 23 Feb 1998, Terry Dawson wrote:
> Karl F. Larsen wrote:
> >
> > Hi Terry, as you may have forgotton, when you reboot linux the
> > kernel puts all defaults found in some file somewhere that is not under
> > /proc/sys/net/* as you say. I have verified they return to "default" with
> > every reboot.
> >
> > So I have your fix in rc.local that goes:
> > $ echo 234 > /proc/sys/net/ax25/ax0/packet_length > /dev/null
> >
> > And in this way when I reboot, not often, it resets them AFTER the kernwl
> > changes them again...:-)
>
> Yes, the 'file' is /vmlinuz.
>
> The truest defaults are compiled into the kernel. '/proc/sys/*' is
> what you use to set the system defaults at boot time, as you have done,
> which is the 'correct' solution, although I'd have been inclined to have
> included those commands into the rc file that configures your network
> to ensure it gets set at the right time, but presuming you are starting
> your AX.25 networking from your rc.local file then that would be fine
> for you.
>
> regards
> Terry
>
Best wishes
- Karl F. Larsen, 3310 East Street, Las Cruces,NM (505) 524-3303 -