Forum Home
Press F1
 
Thread ID: 34227 2003-06-07 22:19:00 Linux help ... SKT174 (1319) Press F1
Post ID Timestamp Content User
150703 2003-06-07 22:19:00 I've post before about sharing Internet with Mandrake and it still doesn't work. Anyway, before going any further, I thot I might as well test the network the simple way"ping" ... :)

Mandrake PC with IP set to 192.168.1.1 : 255.255.255.0
XP PC with IP set to 192.168.1.5 : 255.255.255.0

Regardless of whether sharing internet works, I should be able to ping these two PC .. but they don't seems to see each other ?:|

They don't have firewall installed and I tried to ping from Mandrake to XP and vice versa .. but failed...

Both NIC works fine. The NIC in Mandrake is started as eth0.

I'm new to Linux .. someone please give me some advice?
SKT174 (1319)
150704 2003-06-08 02:53:00 Can't help you with the Linux bit (see Yoper Distro) but. Did you have a network up and running before mandrake. What is your setup, hub/switch, shared internet via?, DHCP or specified IP addressing?

Pleas eexcuse if I'm going over old ground.

Cheers Murray P
Muzzer (238)
150705 2003-06-08 03:10:00 If you can't ping, there isn't a connection. On each machine, try "ping 127.0.0.1". If that works, you have the TCP/IP stack properly installed. (It doesn't use the actual NIC for that "localhost" loopback.)

If you haven't got a hub, you need[/] a crossover cable. If you're not sure it is a crossover, you should check it. (use the [b]Search here for "crossover cable" and Username "Graham L" --- the second ling there, headed "Re: Argh - setting up crossover" will tell you how.)

Of course, if you are old fashioned mile me and are using Thin Ethernet coaxial cable, you have to have the terminators for it to work. :D
Graham L (2)
150706 2003-06-08 03:13:00 Have you or can you use the XP box on another network? If you know one computer is working then leave it alone and focus on the other one.


It might pay to check the eth0 interface is up on linux. Open a terminal window as root and run 'ifconfig'.

It will print out a list of what interfaces are up (running) and their ip settings. You should get eth0 and lo (loopback).
bmason (508)
150707 2003-06-08 12:21:00 Both PC works fine and networked in Windows. As I install Mandrake on another hdd .. so when I plug the old hdd which has windows, they both works fine.

So .. I'm sure both PC h/w is fine.

I can ping 127.0.0.1 on both PC (Mandrake & XP)
I can ping 192.168.1.1 in Mandrake (it's own add)
I can ping 192.168.1.5 in XP (it's own add)
but I can't ping to either PC :(

when I type ifconfig in Mandrake I got the following ...

eth0 Link encap:Ethernet HWaddr 00:08:A1:18:0d:7D
inetaddr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:2 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:100
RX bytes:0 (0.0b) TX bytes:2982 (2.9kb)
Interrupt:10 Base address:0x9800

lo Link encap : Local Loopback
inetaddr:127.0.0.1 Mask:255.0.0.0
and the rest ....

is the mask 255.0.0.0 in Loopback normal?
SKT174 (1319)
150708 2003-06-09 01:03:00 Anyone ? :( SKT174 (1319)
150709 2003-06-09 03:15:00 Have you set the gateway on, say the mandrake PC, to the XP PC? That may help? Chilling_Silently (228)
150710 2003-06-09 03:26:00 Sorry ... I have not use Mankdrake b 4 .. how to set or start gateway?

most appreciated :D
SKT174 (1319)
150711 2003-06-09 05:07:00 The gateway setting is irrelevant: that defines a host to be used as the link to other networks. The problem here is making two computers become a network.

I don't like the transmit errors, or the dropped packets. The zero counters on the receive side are "suspicious" too. The machines aren't connected.

Are you using a hub? Do the two computers communicate with this exact configuration when both have Windows? If so, Linux should work.
Graham L (2)
150712 2003-06-09 05:30:00 Yes I am using a hub. I haven't try the exact configuration in windows because previously windows were running Internet Connection Sharing and it automatically set the ICS machine to 192.168.0.1 : 255.255.255.0 and will became a DHCP server so the other window machine will obtain an IP from it. And both worked fine.

Should I try the 192.168.1.1 : 255.255.255.0 on one PC and 192.168.1.5 : 255.255.255.0 on another PC in windows and see ?

Anyway .. I will do that when I go home tonight .. thanks
SKT174 (1319)
1 2