Find the answer to your Linux question:
Results 1 to 7 of 7
Hi, I'd like my 2 PCs to share files with one another; one is using Mandriva 2007and the other is using XP pro but i've been having trouble getting them ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! beaker15's Avatar
    Join Date
    Sep 2007
    Posts
    30

    ping problems


    Hi,

    I'd like my 2 PCs to share files with one another; one is using Mandriva 2007and the other is using XP pro but i've been having trouble getting them to communicate. Everything should be ok but I noticed they could'nt ping each other and i've just found out my Linux machine cannot ping the loopback address. It exists in /etc/hosts as localhost but i couldn't add it to the kernel routing table, it just says the device cannot be found. Any suggestions? i know it can't be good.

    thanks

  2. #2
    Just Joined! ianj001's Avatar
    Join Date
    Oct 2006
    Location
    Harrisburg, PA
    Posts
    29

    Cool Ping problems

    Can your Linux box get out to the Internet?

  3. #3
    Just Joined! beaker15's Avatar
    Join Date
    Sep 2007
    Posts
    30
    I haven't tried. its my first attempt at linux networking so i just wanted to make sure it would all run smooth with XP. I've just got the linux box and the XP machine connected to a hub and thats it

  4. #4
    Just Joined! beaker15's Avatar
    Join Date
    Sep 2007
    Posts
    30
    Ok, I've now just installed the same Mandriva version from the same disks onto a virtual machine on an XP pro box in work. Same ping problems but it CAN connect to the internet. a problem with the TCP/IP stack perhaps?

  5. #5
    Linux Enthusiast
    Join Date
    Apr 2004
    Location
    UK
    Posts
    682
    Can we get you to run these commands (as root) on the box that's giving you problems and post the output here. It will show us your network settings and give us an idea of the problem.

    Code:
    ifconfig -a
    route -n
    iptables -L
    It's very unlikely to be a problem with the TCP stack. Probably just a misconfiguration or a driver problem.

    Let us know how you get on,

    Chris...
    To be good, you must first be bad. "Newbie" is a rank, not a slight.

  6. #6
    Just Joined! beaker15's Avatar
    Join Date
    Sep 2007
    Posts
    30
    thanks for the reply but i think I'm ok now (maybe ). I just read here Linux Shortcuts and Commands that with linux, you need to cancel your ping or else it just keeps going. I though there was something wrong with mine because it was doing that

    cheers

  7. #7
    Just Joined! ianj001's Avatar
    Join Date
    Oct 2006
    Location
    Harrisburg, PA
    Posts
    29

    Cool

    Try the following:

    ping -c 10 Google

    It will ping google 10 times then stop. Maybe that is what you want.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •