LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 05-29-2005, 06:26 PM   #1
bozoka45
LQ Newbie
 
Registered: May 2005
Posts: 7

Rep: Reputation: 0
Can't ping with XP, can't ping localhost


I'm a Linux newb running Mandriva 10.1 on two older machines, mostly for learning purposes. I'm able to access the internet fine with both of them, both were installed using FTP. On either of those two boxes, I'm able to ping my Windows XP SP 2 machine and even use rdesktop to remote desktop into XP. I'm now trying to use VNC to connect to the linux machines (although I'm a few steps away from that). Right now, I can't even ping the Linux machines. (and they can't ping each other). I've tried completely shutting off shorewall and restarting networking services but still without any luck.

The computers are all setup on the same LAN.

Reading different threads around here, I tried to ping localhost (127.0.0.1) and realized that I can't, which makes me suspect that something is in fact wrong.

One last thing. One of the computers is really old and I can't seem to get the GUI's to work. Not that I'm complaining, the whole point of having these machines is for me to learn the command line rather than just GUI stuff. So if anyone can help me and be specific with command line methods, that would be great.

Is this a problem with Mandrake or am I just missing some settings. I'm getting annoyed and thinking about trying out SUSE or Red Hat.

Last edited by bozoka45; 05-29-2005 at 06:28 PM.
 
Old 05-29-2005, 06:36 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Try looking at your firewall settings, maybe you have the ping protocol blocked in and out.
 
Old 05-29-2005, 06:44 PM   #3
bozoka45
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Well, like I said, it didn't even work when the firewall was completely off. Anyway, here's whats in /etc/shorewall/rules (at least part of it):
Do I need more there?

ACCEPT net fw icmp 8 -
 
Old 05-29-2005, 06:50 PM   #4
bozoka45
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
I thought it might be of use to note that I can't ping (on either machine) by name (localhost) or ip (127.0.0.1)
 
Old 06-13-2005, 04:23 AM   #5
Spenny
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
Unexpected lack of service - What security level did you install?

What isn't instantly discoverable, is that if you select level 5 security (called "higher", IIRC), then there are a set of settings applied which block activities. At install, it is suggested as a sensible option, but I struggled to grasp the implications of the setting, and how to selectively release some of the settings. This is not just done by not loading or starting some services, but a fairly sophisticated set of configurations and services are applied.

So for example all the internet services are blocked from remote servers, and some services, like ping, are blocked altogether.

Unfortunately, you have to know that there is a thing called msec (Mandriva(ehem!) Security) that does a couple of things:

- automatically reverts some changes (it was driving me mad that my permanent password setting didn't stick)
- uses a DENY ALL in the configuration files for internet services from remote services.

So for example SSH does not work even though it is all correctly configured (or rather only works locally, which rather defeats the point). After many happy hours restarting and rebooting, downloading new versions of puTTY and getting not one single useful error message aside from server unexpectedly disconnected the light dawned that there was another configuration file at work and an entry in hosts.allow solved the problem.

(Not the most comprehensive answer, but I last Linuxed at Redhat 7.2 and its all been a little distressing porting across!).

It would be useful to find a good link with some examples on how to get level 5 slackened off safely.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't ping localhost (ping: sendto: Operation not permitted) mentor99us Linux - Networking 7 09-05-2012 02:11 PM
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 13 03-17-2011 02:47 AM
MDK 9.2, Can't ping localhost but can ping outside world? JohnLocke Linux - Networking 2 07-01-2004 05:59 PM
? on not being able to ping localhost eroica Linux - Networking 13 04-01-2004 03:58 PM
Can't Ping Localhost themorph Linux - Networking 1 02-16-2002 11:48 AM


All times are GMT -5. The time now is 12:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration