DimmO Posted August 24, 2004 Report Share Posted August 24, 2004 (edited) Shorewall is failing at boot - note that it starts before the network is started: boot.log Aug 23 23:13:22 linuxo shorewall: Error: Unable to determine the routes through interface Aug 23 23:13:31 linuxo network: Bringing up interface eth0: succeeded Aug 23 23:13:37 linuxo network: Bringing up interface eth1: succeeded i found this: chkconfig --list network 0:off 1:off 2:on 3:on 4:on 5:on 6:off shorewall 0:off 1:off 2:on 3:on 4:on 5:on 6:off Once i'm logged into X, I can open a terminal, su and then start shorewall manually (now that network is up) How can I get shorewall to start after the network is up? should shorewall be started at init 2 or 3? how would I go aboot fixing this? thanks in advance. Edited August 24, 2004 by DimmO Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted August 24, 2004 Report Share Posted August 24, 2004 (edited) Yeah, in MDK 10.0 they screwed up the order. In /etc/rc.d/rc3.d/ (and all the other rc#.d's) change the name of shorewall so that it is a larger number than the network link. Open a console and do this (anything you see inside of <<>> is a comment or action, don't actually type it): su <<type in your root password and hit enter...you won't see it being typed>> cd /etc/rc.d/rc3.d ls <<this is to see what shorewall's and network's symlinks are called>> <<my network symlink is s10network...you'll see the @ symbol, but that's not really part of the name, it is just a symbol to show it is a symlink, so I want shorewall to have a bigger number>> mv <<name of current shorewall link>> s15shorewall Do the same for /etc/rc.d/rc2.d, /etc/rc.d/rc4.d, and /etc/rc.d/rc4.d Edited August 24, 2004 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
DimmO Posted August 25, 2004 Author Report Share Posted August 25, 2004 mv <<name of current shorewall link>> s15shorewall Do the same for /etc/rc.d/rc2.d, /etc/rc.d/rc4.d, and /etc/rc.d/rc4.d <{POST_SNAPBACK}> done. Out of curiosity, is it K for kill (rc0.d and rc6.d) and s for start (in the others)? thanks for your help. I'll reboot one day and test it out. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.