MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently installed Mandrake 10 and have problems with pinging my network card as well as localhost. It can't seem to reach either one. There isn't anything wrong with my network card as it works fine with Red Hat. I thought it may have been iptables or shorewall firewall rules so I shut them down and tried pinging again however to no avail. Can someone please tell me what is wrong and what I can do to rectify it?
Yes it is up and I did run ifup eth0. Now the strange thing is having gone through various other forums, I managed to find the source of the issue. It was the sysctl.conf file. It was blocking all icmp requests so I changed the value to 0 rather than 1. Now I can ping both the localhost and eth0. I am however unable to ping any other PC on the network. What would prevent that from occuring?
The details from route -n are noted below:
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
It seems that you don't have a default gateway. What does your network topology look like? Is there a DHCP server on your network? What device is connected directly to the network card of your computer?
The reason I don't have a Gateway is because I don't require one. I have a cross over cable attached to the PC running Mandrake adjoining another PC. They are on the same network address i.e. 192.168.0.0 and subnetmask.
That is correct. Neither computer can ping one another. I'll try ping -r <IP address> but don't see how that would help as it only counts the number of hops. I think it has to do with msec blocking outgoing and incoming icmp requests. Would you know how to configure msec? Mandrake's documentatiion is hopeless.
-r Bypass the normal routing tables and send directly to a host on
an attached network. If the host is not on a directly-attached
network, an error is returned. This option can be used to ping a
local host through an interface that has no route through it
(e.g., after the interface was dropped by routed(8)).
Maybe yours is different to mine. I've noticed differences before like some people (Red Hat, I think) having a "-b" switch which I don't.
Well one's a broadcast, the other isn't. The non-broadcast one will be addressed to a specific node on the network. The broadcast will be addressed to a range of nodes but no one in particular. Does that clear it up for you? Feel free to ask if you need more info.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.