Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page Cannot ping my ubuntu PC
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 06-27-2008   #1 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 10
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!!
rzammit is offline   Reply With Quote
Old 06-28-2008   #2 (permalink)
Linux Newbie
 
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.
kostasan is offline   Reply With Quote
Old 06-28-2008   #3 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 10
not really as the gateway on the window xp machine is the ubuntu ip and vice versa....
rzammit is offline   Reply With Quote
Old 06-28-2008   #4 (permalink)
Linux Newbie
 
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?
kostasan is offline   Reply With Quote
Old 06-28-2008   #5 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 10
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??
rzammit is offline   Reply With Quote
Old 06-29-2008   #6 (permalink)
Linux Enthusiast
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, KY
Posts: 583
You should be able to check the status of your firewall from the terminal. Execute
Code:
service iptables status
Then you should look into some info on iptables. I'll see if I can come up with a link for you...
jayd512 is offline   Reply With Quote
Old 06-29-2008   #7 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 10
I be be grateful.

Thanks!
rzammit is offline   Reply With Quote
Old 06-29-2008   #8 (permalink)
Linux Enthusiast
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, KY
Posts: 583
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!
jayd512 is offline   Reply With Quote
Old 06-29-2008   #9 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 10
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) ?
rzammit is offline   Reply With Quote
Old 06-30-2008   #10 (permalink)
Linux Newbie
 
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
kostasan is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 02:09 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0