Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
Ok, before I start, everyone have a damned good giggle!
Yes, I fell into the trap of not documenting / backing up....! :O
Right, now to my problem / question...
My LFS6.0 was working fine until about 2 weeks ago when a power outage caused curruption to the primary partition. I had been trying for some time to get some stuff working, so I figured it was a good time to upgrade.
1 LFS6.2 CD (latest live install version) and a lot of sitting hunched up over the server later and it is up and running. Some nice things too!
Anyway, the box acts as, amongst other things, my internet firewall / router.
eth0 is my internal network. 192.168.1.253
eth1 is connected to my ADSL router 192.168.2.2 (ADSL router is doing NAT and is 192.168.2.1)
From linux box - can PING anything I want / need to.
From internal network can ping both eth0 and eth1 on linux box. I can't ping the ADSL router (or beyond) though.
I'm assuming that my box isn't routing / forwarding packets. (I never did understand why, in this situation I can ping the other interface on a box, but there you go!)
Where to now? I used to use route to set up a default route, but this seems to have been replaced by ip route .... which I can't figure out.
(as a side issue, I never did manage to figure out where to put the route command in the startup scripts and have always resorted to manually setting it up when the box is rebooted, so if I can fix this too!!!)
Can anyone provide me with a step-by-step guide on how to get this working before I go insane or am murdered by my frustrated family who can't get their daily internet fix? (Yes, it's open warfare amongst the kids fighting for the one PC I can connect directly to the 'net!!!!)
I have tried Googling, but the HOWTOS all seem to either be "How to set up an amazingly complicated router with 5 ISP links and policies for individual users traffic shaping" or "How to use the GUI on redhat to tick the right boxes."