This is a list of other odds and ends associated with configuring and running a wireless network.
# chkconfig: 2345 47 68to
# chkconfig: 2345 75 89
Now run the command chkconfig --add ipsec to set the new ordering. Note that the shutdown order is also changed, since the IPSEC link is best not broken until all the network traffic is stopped.
This change will move IPSEC initialisation after the PCMCIA card startup (and allows some time for the link to be established). It also moves IPSEC shutdown to just before network shutdown, and long before PCMCIA cards are stopped.
RESTORESERVICES="named"to
RESTORESERVICES="network ipsec named netfs autofs"
The named entry may not be required if you are not running a nameserver; it was in the file, so I left it in. The additions restart the network, which will include requesting a new DHCP lease if required, and also restarts the IPSEC channel and remote file systems. Other entries may be required if you use other facilities.