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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
In addition to michaelk's post if you set up static ip's you'll probably need to edit /etc/resolv.conf and add you xp gateway as your nameserver in the following format.
nameserver xxx.xxx.xxx.xxx
Where xxx.xxx.xxx.xxx is the ip address of your xp machine.
good luck.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
If you're using static ip addresses, open a terminal and swich to su -, then use pico or some other editor to edit the file and save changes. It'll look something like this.
$su -
password:
#pico /etc/resolv.conf
Once it's open you'll need to add the other machine in this format.
nameserver xxx.xxx.xxx.xxx
Where xxx.xxx.xxx.xxx is the ip address of your xp machine.
good luck.
also, when i enter /etc/resolve.conf into the terminul under root it dispays the message "bash: /etc.resolv.conf: Permission denied"...what shall i do?
You should see a line that begins with "inet addr:". If not, you are not receiving an IP address either statically or through DHCP. Below is what mine looks like...
i have done everything that was requested and the status of the connection on the linux pc still displays "not connected"
on linux pc boot up it still displays that "bringing up interface eth0 - FAILED" whilst displaying in verbose mode. Is this the problem? How can i fix this?
Perhaps i should ask............ You say you have the network card of your XP box.. plugged into the one on your Linux box right?
Have you made sure your using a crossover cable and not a straight through network cable? - seems everyone failed to ask you that!
Best way to check is to take both ends of the network cable, and see if the colour sequenses match on each side, if they do you require a crossover cable!
what is a crossover cable? the colour sequence dont match up exactly. when i plug the wires back in the light appears on the xp box but not on the linux box
Some network cards will light up, others wont (well old ones) - if theres no light at all on the linux box it suggests that there is indeed an issue with either the driver, or the network card its self.
Have you tried changing what PCI port the card is in on the linux machine? (White ports... usually 4 to choose from), also ensure that PNP OS support is disabled under your bios.
..and one last one... you are attempting to perform these commands as the 'root' user yeah?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.