Forum Replies Created
-
AuthorPosts
-
verl810
ParticipantHere is what I have and it doesn’t seem to work, but I agree it should:
in /System/Library/StartupItems/
bash-3.2$ cat NetworkLocal
#!/bin/sh##
# Load network kernel modules
##. /etc/rc.common
StartService ()
{
ConsoleMessage “Loading Network Local”
route -nv add -net 172.24.38.0/24 -interface en0
}StopService ()
{
return 0
}RestartService ()
{
return 0
}RunService “$1”
bash-3.2$ cat StartupParameters.plist
{
Description = “Network Local”;
Provides = (“NetworkLocal”);
Requires = (“Network”);
OrderPreference = “None”;
}The author of the FAQ I got this from suggested also editing Localizable.strings in Resources/English.lproj. I didn’t change this in 10.4 so I left it. The rc changes I thought I made where for nfs and gone after updates of 10.4. I am not sure what update replaced them. The route add still works in Tiger 10.4.XX.
The command ‘sudo route -nv add -net 172.24.38.0/24 -interface en0’ works in 10.5 until restarted (as one would expect).
I could find somewhere to stick the command in a script after the network starts.
Thanks for the suggestion, maybe the syntax I have has changed, I haven’t found anything from Apple pointing out changes in their underlying Unix/Darwin. Other that a marketing statement about being more like Linux.
Best regards,
Rich -
AuthorPosts