LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2003, 04:32 PM   #16
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30

just as a test ...

iptables --flush && iptables --delete-chain

and then try pinging... that will flush your iptables so firewalling can be eliminated as an issue.

-K
 
Old 09-26-2003, 02:00 AM   #17
asktoby
Member
 
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
Will typing this compromise my firewall?
 
Old 09-26-2003, 03:40 AM   #18
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
Do you have the ICF (Internet Connection Firewall) enabled on the XP machine? If so, this could explain why you don't get any reply when you ping it but you can ping the linux machine and router.
 
Old 09-26-2003, 04:16 AM   #19
asktoby
Member
 
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
Mandrake:
Security level set to "high" (using DrakSec in Mandrake Control Centre)
Using Mandrake's default firewall (again, in Control Centre)

XP:
Using PC-Cillin's firewall

Linksys Router:
I should mention this too, as I think it also works as a firewall to the outside world.

PC-Cillin has a "Trusted Sites" section - perhaps I should somehow add my Mandrake IP to that. I will have a look when I get home this afternoon.
 
Old 09-26-2003, 04:59 AM   #20
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
I used to use PC-Cillin's firewall on my main PC at home using ICS to allow my PS2 and other PC to access the Internet. Whenever the firewall was on I'd have problems sharing files and pinging the main PC, so this is most probably your problem.
 
Old 09-26-2003, 10:49 AM   #21
asktoby
Member
 
Registered: Jul 2003
Location: Cardiff, England ;)
Distribution: Mandrake 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
Some progress! Apologies for long post but a few things are going right now...

After adding 192.168.1.109 and 192.168.1.113 as trusted sites in XP's PC-Cillin, and typing in KevinJ's suggestion of:
iptables --flush && iptables --delete-chain (note, I needed to re-boot after this to get my internet back)

I can now from linux:
Ping myself (Yes)
Ping XP (Yes!)

and from XP I can ping myself, but I cannot ping linux from XP.

In addition (and this is exciting!) I can SEE linux inside XP's network neighborhood. If I try to browse it, I get an error:

===============
\\Localhost is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissons.
You were not connected because a duplicate name exists on the network. Go into System in the control panel to change the name and try again.
===============

I have tried changing XP's name as per the message btw.

But wait, there's more!
In konqueror if I navigate to
smb://192.168.1.109 (XP's IP)
I can SEE XP's shared folder! However, if I open it, it appears empty, although it is not.

Incidentally, if I navigate to smb://192.168.1.113/ (myself) I get an empty screen. No error, but no files/folders.

I wonder what to try next?

Last edited by asktoby; 09-26-2003 at 10:51 AM.
 
Old 09-26-2003, 10:55 AM   #22
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
Not being able to ping the Linux box sounds like a firewall problem again, looks like the Linux box will only allow connections initiated by itself (hence it receives ping replies but won't reply to an external ping)

Unfortunately I don't know enough to tell you how to solve the problem, sorry.
 
Old 09-29-2003, 01:36 PM   #23
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Ok.. my suggestion basically shuts the firewall down on the Linux box, and of course, it will also kill IPmasq, which is what allows you to get the internet.

I was just suggesting it to eliminate the firewall as a problem, and it sounds like it is. Now, after rebooting, you should have gotten your firewall back the way the script sets it up, so you should be protected.

It sounds like you still might be having trouble with Samba, but that may because its not configured properly. Please read the Mandrake documentation carefully on setting that up. I use Red Hat, which is probably similar, but I don't know if its the same. The Red Hat documentation on this is here: http://www.redhat.com/docs/manuals/l...nfiguring.html

Look at the "Command Line" setup, which you may be able to do in Mandrake.

-K
 
Old 09-29-2003, 01:58 PM   #24
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
dude, i suggest you turn taht Mandrake security thing off all together, it sounds like nothing but trouble. Just use iptables are you firewall.

turn off ALL FIREWALLS, every single one, even iptables rules, then try pinging.
 
Old 09-30-2003, 04:21 PM   #25
Baran
Member
 
Registered: Aug 2003
Location: Tampere-FINLAND
Distribution: Mandrake 10.1
Posts: 105

Rep: Reputation: 15
I have this same same problem in my home:

===============
\\Localhost is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissons.
You were not connected because a duplicate name exists on the network. Go into System in the control panel to change the name and try again.
===============

I guess I need to configure my firewall. I want to set my firewall so that it will accept all packages from IP 192.168.0.2 how can I do this? Thank you...
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM
I can ping google.com successfully,but ping client(in my intranet) failed.Why? whepin Linux - Newbie 4 12-30-2001 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:52 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration