Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help! Can't ping!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
schorsche
Apprentice
Apprentice


Joined: 27 Jan 2005
Posts: 230

PostPosted: Mon Jan 31, 2005 3:10 am    Post subject: Help! Can't ping! Reply with quote

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
Code:
iface_eth0="up"

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
View user's profile Send private message
macawgumbo
Apprentice
Apprentice


Joined: 28 May 2004
Posts: 165

PostPosted: Mon Jan 31, 2005 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
schorsche
Apprentice
Apprentice


Joined: 27 Jan 2005
Posts: 230

PostPosted: Mon Jan 31, 2005 12:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
cazze
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 155
Location: Brussels - Belgium

PostPosted: Mon Jan 31, 2005 1:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum