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.
Maybe one of you networking guru's out there can help me, I am having problems with my network, it is a peer to peer network with the desktop (win XP), my laptop (win xp) and my second desktop (Red Hat 7.2), I cannot get the win box to ping the Linux box or vice versa. I'm not sure where in the network is the problem, here is my setup info.
my 'route' displays this ....
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
Default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
When i type /sbin/route add host dev eth0 ---- it replies
"host: Host name lookup failure"
My NIC's are configured with a static IP
My windows box has the folliwing settings
ip - 192.168.0.165
subnet mask - 255.255.255.0
default gateway - 192.168.0.1
the windows box is settup using DHCP, i use ICS / DSL so I can't set a static ip on my two windows box's
Can you ping the linux box from the linux box? Can you do the same from the win boxes? Are you using a hub/switch to connect the boxes together and have you checked the cable connections. I know these seems like trival questions but sometimes *not*overlooking the trivial stuff can save hours of headaches later on.
Could you also describe your network in a little more detail (i.e. layout, how many NIC's, etc). If your still having problem then we can isolate the problem.
Yes the computers can be pinged from their terminals. I am not using a hub, My win XP box and My linux box both have two NIC's in them, My Win XP network is already up n running, I am just trying to add the Linux box in the middle. The Win XP desktop is hosting the DSL, my laptop is the ICS client for it, hence I have to use DHCP to assign ip's to them. The two NIC's in the linux box have static ip's. The cableing is all correct
I assume if your not using a hub or switch then you are using crossover cables between your machines.
Do ifconfig on eth0 and eth1 to double check their IP's and make sure that they are on the same network address and netmask. I'm not to familiar with route, but it appears that it only gives out network addresses. Also, try to configuring DHCP on your linux box. That way you don't have to worry configuring IP's and netmask.
Ok, I set up DHCP on eth0 ion my Linux box and that works fine, I can ping windows box 1 and access the internet, I can't use DHCP on eth1 so I'm assuming that I can staicly set eth1 with an ip/mask/gateway and then my 2nd windows box which is the last computer in the network will be able to recieve DHCP settings. Is this correct?