Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
So I have SBC DSL and I want to use a linux box as a router with two NICs and a simple iptables script. Everything was working great untill it stopped working for no reason.
I had set the DSL up with a windows box and then I plugged the linux box between the DSL modem and the network and I was sharing the connection with my wife like none other.
I have the speed stream 4100 modem that is 192.168.0.1 and you just need to use that as a gateway so the external address of my linux box is 192.168.0.2, and if you hook it up to a windows box you need to go to http://192.168.0.1 and enter your username and password.
I don't have X on the box I want to use for a router, because I want to use it headless, so when I ssh into it and I try "lynx 192.168.0.1" it doesn't work also "lynx http://192.168.0.1" doesn't work either.
I am sure there is something simple I am overlooking. But it is strange that it was working for a while and then stopped working and now I can't get it to work again. Even if I set it up and connect with a windows box and quickly put the linux box between.
I dont really know DSL, never used it or seen it setup, but did you check to see if your external IP from your provider didnt change. If it did your script wont, unless you have your script setup for dynamic external IP's, i think it is refered to IP Masquerading(yes yes, i know i can spell like a champ.
on another not i noticed after reading your post again that you said that your modem has an IP of 192.168.0.1. Well your modem should have an IP like 69.25.255.255, and than your router should be your gateway at 192.168.0.1. Correct me if I am wrong.
Last edited by tshontikidis; 08-23-2005 at 08:51 PM.
You're not wrong, you're correct. The internal gateway of the DSL modem never changes, which should make this very easy.
The problem is I cannot do
lynx http:192.168.0.1
when I need to kickstart the DSL modem. I can not even ping it, I can ping it with a windows machine directly connected to it, could it be biased of my operating system? Maybe I have a bad NIC and I'm beating myself to death.
I actually called technical support and they said they only supported mac and windows, then I told them that they are the loose.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.