Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I'm having trouble connecting to the internet through my router. I used slackware 9.1 a little while back and was able to set up everything correctly. I thought I had everything i needed when i switched to slackware 10 but apparently i'm forgetting something and I can't figure out what it is.
My network card eth0 is set up correctly. I can even log into my router ( 192.168.0.1 ) through the browser, but my browser won't connect to internet for some reason.
I set up in /etc/rc.d/rc.4 eth0 as such
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 up
That seems to work fine since I get the eth0 and loopback device on ifconfig command set up as they should be.
Is IP_FORWARD turned on so that packets are forwarded? Also, is this really a router? Most normal router configs have two NIC's I thought. One for LAN and one for WAN. Are all the right interfaces up? Just a couple thoughts. Good luck!!
**EDIT - I think I completely misunderstood. You're not using the Slack box as a router are you? What kind of router do you have?
Last edited by AUSanders79; 12-21-2004 at 04:48 PM.
I wonder why we have to specify the nameserver though. Shouldnt this be transparent to linux?? My router takes care of the connecting to the ISP part ( I had to specify the account number and password and such to connect to my DSL account and also the DNS IP's in my router already so it can connect to my service properly ). Why does linux need the nameserver IP addresses? All it needs to know is that its talking with the router; the router does the rest....isnt this how this works?
Thanks a bunch for the help everybody but mostly masand .
your computer has to do DNS lookups. In Windows, DHCP will set the DNS server for (basically like adding a nameserver in resolv.conf on linux). so you have to add a nameserver to every linux box in resolv.conf or else your PC doesn't know where to go to send DNS lookups. Your router just provides internet connection. Now it may can act as a DNS server and you maybe able to just put 192.168.0.1 in your resolv.conf, but every PC has to have a DNS server specified. Glad you got it worked out!