My question :
Is it possible to modify, for example, the "default" value of ip_broadcast_ttl
/kernel/drv/ip "object" file (like in /vmunix in SunOS ) ??
The easiest way to modify, for example, the ip_broadcast_ttl parameter of
ip driver at boot time is to use "ndd" :
ndd -set /dev/ip ip_broadcast_ttl <VALUE>
and to put this command in a script e.g. /etc/rcS.d/S99change_ip_broadcast_ttl !
another solution would be to set the good value in the /etc/system or
for example in /etc/system
set ip:ip_broadcast_ttl = <VALUE>
but "ip_broadcast_ttl" is not a variable of the ip driver (just a string
used by ndd ) and ip.conf is undocumented in the official Sun
maybe someone have useful documentation ?
... solution 1 (and maybe 2 ?) does'nt solve my problem :
What I want to do is to boot a diskless station "accross" a (cisco) router !
That worked find in SunOS (because ip_broadcast_ttl whas greater than 1)
but not with solaris 2.4 (default value is 1) !
Is it why I would like to modify this value in the /kernel/drv/ip "object" file
I got this information :
> Yes, in the ip module there is an aray called "lcl_param_arr"
> This array constists of structs of the form:
> u_long min, u_long max, u_long value, char * name;
> Search thsi array for the tuple where the fourth parameter is
> a pointer to the string "ip_broadcast_ttl" and change the u_long
> before that value.
... but I just can find it in the core file of the kernel :
# adb -k -w /dev/ksyms /dev/mem
adb > lcl_param_arr+0x160?DDDX
lcl_param_arr+0x160: 1 254 1
adb > fc17d0d0?s
.... not in the /kernel/drv/ip file (which is "relocatable" !?)
can someone help ?
thanks to :
--- Marc Fradin Marc.Fradin@enst-bretagne.fr ENST BRETAGNE Phone : (33) 99 12 70 24 B.P. 78 Fax : (33) 99 12 70 30 2 rue de la Chataigneraie Telex : 741 906 35512 CESSON SEVIGNE - FRANCE
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:18 CDT