Results 1 to 10 of 12
Thread: Cannot ping my ubuntu PC
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
06-27-2008 #1
- Join Date
- Jun 2008
- Posts
- 18
Cannot ping my ubuntu PC
Hi all!
I am new here also new to ubuntu so if the following might sound stupid pls bear with me :P
I have setup a PC with two network cards and installed ubuntu 8.04, and also another PC with XP SP2 with also two network cards. The setup is more or less like this:
PRIVATE IP No.1 -------- UBUNTU PC -------- PRIVATE IP -- NETWORK
|
| < cross over cable
|
PRIVATE IP No.1 -------- XP SP2 PC -------- PRIVATE IP -- NETWORK
I can ping FROM the ubuntu to the XP but CANNOT from the xp to the ubuntu.....
can you pls help??? Thanks!!
-
06-28-2008 #2
- Join Date
- Jun 2006
- Location
- Greece, Athens
- Posts
- 214
It must have something to do with the gateways. Try putting the IP of the Ubuntu PC as gateway in the Windows machine.
-
06-28-2008 #3
- Join Date
- Jun 2008
- Posts
- 18
not really as the gateway on the window xp machine is the ubuntu ip and vice versa....
-
06-28-2008 #4
- Join Date
- Jun 2006
- Location
- Greece, Athens
- Posts
- 214
Have you made any changes to iptables in Ubuntu or have installed a firewall that is configured not to allow being pinged?
-
06-28-2008 #5
- Join Date
- Jun 2008
- Posts
- 18
I have installed :
all updates to date
dansguardian
firehol
tinyproxy
as i said i am a newbie....how can i know if firewall is enabled??
-
06-29-2008 #6
You should be able to check the status of your firewall from the terminal. Execute
Code:service iptables status
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to private messages asking for Linux help. Please keep it on the public boards.
-
06-29-2008 #7
- Join Date
- Jun 2008
- Posts
- 18
I be be grateful.
Thanks!
-
06-29-2008 #8
Here ya go...
I found a couple of things that may help you out:
Iptables - Wikipedia, the free encyclopedia
IPTAbles Explained, get started with IPTables and tame the monster of all firewalls
Good luck!Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to private messages asking for Linux help. Please keep it on the public boards.
-
06-29-2008 #9
- Join Date
- Jun 2008
- Posts
- 18
Sorry for asking too much
What exactly are IP tables? is it like a routing table?
What should I look for if the IPs are correct (since I can ping from the ubuntu pc to the xp one) ?
-
06-30-2008 #10
- Join Date
- Jun 2006
- Location
- Greece, Athens
- Posts
- 214
Iptables is THE Linux firewall. Firehol is "an iptables stateful packet filtering firewall builder for Linux", as it is mentioned on its site. This means that firehol lets you configure iptables in an easier way. So you must edit the configuration file.
sudo gedit /etc/firehol/firehol.conf
There you must have something like server "ping" accept
See this link for more help Setting Up An Iptables Firewall On Ubuntu With Firehol | HowtoForge - Linux Howtos and Tutorials
Since you are a new user, i suggest you uninstall firehol and install firestarter, which has a gui and is easier to use.
sudo apt-get remove firehol
sudo apt-get install firestarter