LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-28-2004, 01:46 PM   #1
alex_zcb
Member
 
Registered: Sep 2004
Posts: 31

Rep: Reputation: 15
Networking XP with Linux (just two computers)


im a new linux user, so all of this is a bit new to me. basically im trying to network a windows xp professional pc to a mandrake linux pc. iv only used linux for about 2 days now so im still learning. im also trying to allow the linux os to connect to the internet through the network. Help on this would be really great.

I also noticed that on starting up linux during verbose mode eth0 interface is the only thing that reads failed whilst everything else reads ok....maybe thats the problem??? im not interly sure

Last edited by alex_zcb; 09-28-2004 at 01:48 PM.
 
Old 09-28-2004, 02:22 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
i don't know anything about mandrake, but i do know that once you get your network card working you will use samba to connect to your XP box.
 
Old 09-28-2004, 02:24 PM   #3
alex_zcb
Member
 
Registered: Sep 2004
Posts: 31

Original Poster
Rep: Reputation: 15
any suggestions on how i could get my network card working or even check that it is working correctly or not?
 
Old 09-28-2004, 02:28 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
try
ifconfig
at the command line
if you are using a gui then look through the menu, there might be something about network setup
 
Old 09-28-2004, 02:40 PM   #5
alex_zcb
Member
 
Registered: Sep 2004
Posts: 31

Original Poster
Rep: Reputation: 15
when i do that i get

etho link encap:thernet HWaddr 00:07:95:0F:9C:47
inet addr: 169.254.0.0 Bcast: 169.254.0.255 Mask 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1
RX packets:47 errprs:0 dropped:0 overruns:0 fram:0
TX packets:16 errprs:0 dropped:0 overruns:0 fram:0
collisions:0 txqueuelen:1000
RX bytes:8209 (8.0Kb) TX bytes:672 (672.0 b)
Interupt:5 Base address: 0xcc00

I dont know what that means....

by the way thanx alot for the help so far

Last edited by alex_zcb; 09-28-2004 at 02:43 PM.
 
Old 09-28-2004, 02:44 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
it means it tried to use DHCP to get an IP address but it couldn't find a DHCP server. So you will probably have to set a static IP address.
Good news is your network card appears to be working properly

Also, please explain how everything is connected in terms of cables, switches/hubs, router/dsl/cable ...
 
Old 09-28-2004, 03:10 PM   #7
alex_zcb
Member
 
Registered: Sep 2004
Posts: 31

Original Poster
Rep: Reputation: 15
ok, well the XP pc is connected to a bt voyager adsl broadband modem and the Linux computer is simply connected to the xp computer with an ethernet cable

network card for Linux ... silicon intergrated systems [SiS]|SiS900 10/100 Ethernet

Network card for XP .... Intel(R) PRO/100 M

Last edited by alex_zcb; 09-28-2004 at 03:15 PM.
 
Old 09-28-2004, 03:15 PM   #8
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
ok so your XP box has 2 network cards, 1 goes to the modem, the other is connected directly using a cable. <NOTE: you need a cross over cable to do this>

so you need to setup static IP address on the 2 NICs that are connected with the cross over cable. something like:
192.168.1.1
255.255.255.0
and
192.168.1.2
255.255.255.0
On the linux box you set the gateway to the XP IP: 192.168.1.1

If you enable internet connetion sharing on the XP box at this point you should get internet access on the linux machine.
 
Old 09-28-2004, 03:28 PM   #9
alex_zcb
Member
 
Registered: Sep 2004
Posts: 31

Original Poster
Rep: Reputation: 15
all that stuff you just wrote doesnt make sense to me, from static IP's and NICs to gateways. im really sorry but could u explain what i should do in more detail, this is the first time iv used linux and im still learning how to use it. had it running for 2 days.... dont know how to make static IP's or set gateways

also, i dont think i explained very well....my XP box only had one network card....the adsl modem is connected to the XP box via USB port. The network card in XP box is connected to the network card in the Linux box via ethernet cable

sorry to be a nuisance

Last edited by alex_zcb; 09-28-2004 at 03:29 PM.
 
Old 09-28-2004, 03:33 PM   #10
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
do the 2 network cards have green link lights when the cable is plugged in?
If so check out this link:
http://doc.mandrakelinux.com/Mandrak...onnection.html
 
Old 09-28-2004, 03:46 PM   #11
alex_zcb
Member
 
Registered: Sep 2004
Posts: 31

Original Poster
Rep: Reputation: 15
ok thanx....do u know how i find my gateway address thing?
 
Old 09-28-2004, 04:04 PM   #12
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
the gateway IP for the linux machine will be whatever you pick as your IP address on your XP machine.
 
Old 09-28-2004, 04:06 PM   #13
alex_zcb
Member
 
Registered: Sep 2004
Posts: 31

Original Poster
Rep: Reputation: 15
ok thanx alot for everything....i think everything has been setup...my XP box detects data being sent to and from the linux box. but i cant seem to surf the web on the linux computer. any suggestions?
 
Old 09-28-2004, 04:36 PM   #14
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
what does your ifconfig say now
 
Old 09-28-2004, 05:26 PM   #15
alex_zcb
Member
 
Registered: Sep 2004
Posts: 31

Original Poster
Rep: Reputation: 15
etho link encap:thernet HWaddr 00:07:95:0F:9C:47
inet addr: 169.254.0.0 Bcast: 169.254.0.255 Mask 255.255.255.0
inet6 addr: fe80: :207:95ff:fe0f:9c47/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1
RX packets:144 errprs:0 dropped:0 overruns:0 fram:0
TX packets:190 errprs:0 dropped:0 overruns:0 fram:0
collisions:0 txqueuelen:1000
RX bytes:22592 (8.0Kb) TX bytes:8988 (8.7 Kb)
Interupt:5 Base address: 0xcc00

there is a light when the ethernet cable is plugged in the XP box but there is no light where the cable is plugged in the Linux box. could that be the problem?

alos, whilst starting up linux during verbose mode eth0 interface is still the only thing that reads failed
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble networking two Linux computers (via crossover cable) lrt2003 Linux - Networking 3 06-29-2004 09:06 AM
Networking Two Home Computers !? SuseBoy Linux - Networking 4 08-20-2003 10:54 PM
Networking three computers srinuallada Linux - Networking 1 08-01-2002 04:31 PM
networking 2 computers Susan Linux - Networking 1 10-26-2001 03:23 PM
networking two computers dilberim82 Linux - Networking 6 05-21-2001 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration