View previous topic :: View next topic |
Author |
Message |
schorsche Apprentice
Joined: 27 Jan 2005 Posts: 230
|
Posted: Mon Jan 31, 2005 3:10 am Post subject: Help! Can't ping! |
|
|
From my Linux console on my laptop, I can't ping the WinXP Desktop that is connected to it via eth0.
When I switch to WinXP on my Laptop(dual boot) it works fine!
I tried ping -I eth0 169.254.76.47
I have been struggling with this for six hours now and got frustrated.
There are basically two network adaptors running: WLAN (Pcmcia) = ra0
and eth0 (build-in Laptop)
in my /etc/conf.d/net there is a single line saying
So eth0 is connected to the WinXP machine via a crossed cable.
I'm starting up the other pcmcia wlan card using a script.
Through this device I access the internet.
My hosts look like:
Code: | 127.0.0.1 localhost
169.254.76.47 remote-pc.funwork remote-pc |
Any suggestions? |
|
Back to top |
|
|
macawgumbo Apprentice
Joined: 28 May 2004 Posts: 165
|
Posted: Mon Jan 31, 2005 3:15 am Post subject: |
|
|
I would think that a static ip should be specified for the desktop. WinXP (using bridging) can have its own mock DHCP server to give the comp an ip address. I would think that the iface_eth0="up" is wrong. Try looking in the installation handbook at setting up the network stuff. I can't remember off the top of my head. You might need to specify ip and gateway setting on the desktop. |
|
Back to top |
|
|
schorsche Apprentice
Joined: 27 Jan 2005 Posts: 230
|
Posted: Mon Jan 31, 2005 12:47 pm Post subject: |
|
|
I tried it with the iface_eth0="dhcp" option as well
but it didn't work out.
During the six hours I (wasted) I have tried pretty
much every possible option! |
|
Back to top |
|
|
cazze Apprentice
Joined: 26 Mar 2003 Posts: 155 Location: Brussels - Belgium
|
Posted: Mon Jan 31, 2005 1:09 pm Post subject: |
|
|
Well, Windows XP can take an ip addrss for it's own (in the 169.*.*.*) range, but cant' act as a DHCP server. As you are never sure of the address XP takes for himeself, the best thing to do is to give both machines a static ip address.
Take for example you XP box, give it a static 192.168.0.1 255.255.255.0 address and your laptop the 192.168.0.2 255.255.255.0 address.
you should now be able to ping from one host to another.
Your host file is only needed if you are going to ping to the hostname.
kammicazze _________________ Required: Windows 95 or better, so i installed Linux!!! |
|
Back to top |
|
|
|