Results 1 to 8 of 8
Hi
I have two machines
M1 has XP SP1 installed and connected to the internet via sattelite.
M2 has mandrake 10 installed.
I have a network card in each machine.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-12-2004 #1Just Joined!
- Join Date
- Jun 2004
- Posts
- 3
Connecting linux and windows
Hi
I have two machines
M1 has XP SP1 installed and connected to the internet via sattelite.
M2 has mandrake 10 installed.
I have a network card in each machine.
They are connected using a small switch.
I gave each machine a static IP and made the ip of M1 the default gateway in M2.
I could not get the network up.
When I ping M2 from the M1 I get a time out response.
The same when I ping M1 from M2 I get this:
Destination Host Unreachable
Let me describe what I did exactly.
1- I went to hardDrake
2- I clicked on the network card then on run config tool
3- CHose lan network
4- I did not choose the manual choice
5- manual configuration
6- in the Ip address I entered 192.168.0.2
the netmask was 255.255.255.0
network hotplugging and start at boot are checked
7- Host name empty
DNS server 1 is automatically filled with 192.168.0.2
DNS server 2 empty
DNS server 3 empty
serach domain also empty
Gateway 192.168.0.1 which is the IP of the windows XP machine
zeroconf host name is also empty "I don't know what the hell it means"
Thats exactly what I did.
eth0 Link encap:Ethernet HWaddr 00:08:A1:3F:09:94
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:14 errors:1507 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2730 (2.6 Kb) TX bytes:504 (504.0 b)
Interrupt:5 Base address:0xe400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:166 errors:0 dropped:0 overruns:0 frame:0
TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11856 (11.5 Kb) TX bytes:11856 (11.5 Kb)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
The content of resolve.conf is:
nameserver 192.168.0.2
# ppp temp entry
______
The ping of linux machine from linux itself
[root@localhost nawi]# ping -c 4 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.069 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.058 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.057 ms
64 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=0.057 ms
--- 192.168.0.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.057/0.060/0.069/0.007 ms
The ping of the windows XP from linux box:
[root@localhost nawi]# ping -c 4 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
From 192.168.0.2 icmp_seq=3 Destination Host Unreachable
From 192.168.0.2 icmp_seq=4 Destination Host Unreachable
--- 192.168.0.1 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3000ms
, pipe 3
Windows XP pinging its own IP
Pinging 192.168.0.1 with 32 bytes of data:
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
When I ping the linux IP, I always get time out response
- 06-12-2004 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
have you got a firewall on the XP machine turned on?
This would include the inbuilt XP firewall, and any external products like Norton "Internet Security" (ha!), etc
Jason
- 06-12-2004 #3Just Joined!
- Join Date
- Jun 2004
- Posts
- 3
No
The windows XP firewall is disabled. I don't have any other firewall software.....
- 06-12-2004 #4Just Joined!
- Join Date
- Jun 2004
- Location
- Milwaukee, WI, USA
- Posts
- 21
linux / windows /switch
if you make the switch your gateway, can the mandrake box get internet?
- 06-13-2004 #5Just Joined!
- Join Date
- May 2004
- Location
- Frederick, MD, USA
- Posts
- 93
Have you turned on Internet Connection Sharing on XP?
Have you turned on Internet Connection Sharing on XP? Do you want to use XP as the gateway because the satellite receiver only works with Windows?
- 06-13-2004 #6Just Joined!
- Join Date
- Jun 2004
- Posts
- 3
I don't know how to do that...if you make the switch your gateway, can the mandrake box get internet?
1- Not yet.Have you turned on Internet Connection Sharing on XP? Do you want to use XP as the gateway because the satellite receiver only works with Windows?
2- Yes.
- 06-13-2004 #7Just Joined!
- Join Date
- May 2004
- Location
- Frederick, MD, USA
- Posts
- 93
Turn on XP Internet Connection Sharing
You have to turn on Internet connection sharing. I have not used it, so I cannot add much at this point. My guess is that it is not friendly to linux.
- 06-15-2004 #8Linux User
- Join Date
- Jan 2003
- Location
- Cardiff, Wales
- Posts
- 478
pinging
check the firewall settings on the linux box.
then disconnect the windows machine from the internet and try pinging the linux box.
you should be able to ping between these two machines. without the gateway settings.No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.


Reply With Quote
