Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The VPN gatewate is firewalled so that it only lets VPN packets through, and everything works fine with my setup but the Fedora Core 1 Linux box I have as a client takes forever to boot up, and gets service failure notice ( such as NTP time sync ) when it boots up. Before I firewalled off the wireless network, it took about 1 minute to boot up into graphical mode, now it takes about 20 minutes.
The problem is ( I think ) is that network services are starting before the VPN tunnel is created, caused the delay as they try to do things like synchronize time, query DNS, etc. In fact I had to move the command to mount SMB shares all the way up to the user login script, or else I wouldn't even get to the Graphical Logon screen!
Now, the current setup on the wireless client is start network services normally, and then start the VPN tunnel service ( IPSEC is the service name, Freeswan is the software I am using ) in rc.local , and then mount shares, etc. I used to have the service start at bootup using the Redhat service config tool, but it never worked at all that way.
So, what I see as a solution to the problem is order the service startup so that network-related services do not start until after the VPN tunnel has been created, or perhaps I can had all the network service start in rc.local? The dilemma with the VPN tunnel not being created before network services start would still be an issue, in that case.
Hopefully my conumdrum made sense, I think if I can set the order services start, then my problem will be solved. Any ideas on how to do that? Oh, of course I can loosen the firewall rules on the VPN Gateway, let the wireless client boot, and then retighten them, but that ruins security plus would be a pain to automate.
It worked like a charm, I used the Redhat services config tool to set IPSEC to start on bootup, then renamed its shortcut file to have it start directly after network ( in my case network was 10, and I made IPSEC number 11 ). After rebooting to test it, I am happy to say it comes up super-fast with no errors with network services.