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.
I have two computers. One has windows XP and the other one is running linux RH7.2. Now I'm trying to configure my linux so that my winXP can access internet through it.
I have two network cards on my linux and the other one is working fine and I can access Internet. What doesn't work is connection with my linux and winXP. There's no response when I try to ping my winXP from linux.
When I run ifconfig there's a line in eth1:
TX packets:0 errors:4....
What are these TX packets and could it be the reason why my two computers won't communicate? I think I've made everything right but it still doesn't seem to work. Any suggestions?
What IP addr are u using between XP and linux? When u type ifconfig does it give u a IP addr or not? It maybe that your interface is down. Is Linux DHCP server or are the IP fixed? Need more info to help......
Data that is transmitted between computers is called a packet. TX - transmit i.e. the packets that are outgoing by the linux PC. RX - Receive i.e. the packets that are incoming to the linux PC. TX errors would mean they are not be sent correctly.
If you have link lights on your network cards are they illuminated?
If not then check your cable. If yes then check the settings of the card in windows and make sure it is setup for auto mode for link speed and mode.
If the link lights are on then ping the XP box from the linux box. Do you see the transmit lights blink?
In linux the tools are mii-tools or ethtool. Not sure which one RH installs. You should be able to tell what speed and mode the llinux PC is setup for.
Are you running a firewall on your windows PC or linux box? If so try disabling it.
The problem u have is that there might be a problem with your ip settings. Your IP on XP 192.168.0.2 and your Linux has IP 192.168.1.1. This will never work as they are both represent diffent networks and will not be able to see one another change the linux IP address to 192.168.0.1 with this cmd: ifconfig eth1 192.168.0.1.
I also noticed that u had a second network card installed eth0 remember to connect the cable to the correct NIC in this case eth1
When u ping NIC on XP does it respond? When u ping NIC on Linux does it respond? If in both cases yes then your NIC s are fine it might be problem with the cable and remember to check if the cable is connected to the right NIC on your linux box.
Another option try and remove the eth0 NIC on you linux box and see what happens.
OK, this is what I did. I changed the ip on eth0 to 192.168.1.1 and made the eth1 acces the internet. Now the connection between XP and eth0 in linux works fine and they can ping to each other. The problem seems to be the eth1-card!!? In linux I can ping to my eth1 but it still doesn't seem to send or receive any data, any suggestions??
U said that eth0 has ip 192.168.1.1 and is able to ping XP and everywhere on the internet therefore I assume that it is working the way u want.
what is the ip addr for eth1 ? I remember that in one of the post u said that u had a crossover cable. that means u are only able to connect one NIC at atime therefore if u want to use eth1 then u have to change over your cable from eth0 eth1 for it work please do not flame me for this just trying to help....