UbuntuThis forum is for the discussion of Ubuntu 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.
is the network configured properly? whats the exact output? can the target computer ping the computer your testing from? was there a firewall set up? router?
this Ubuntu machine can ping other machine.
It just other machine can't ping the ubuntu machine.
It says: request timed out.
the ubuntu machine uses wireless connection.
not sure how to check if the firewall is up or not.
you could check something like 'iptables -L' as root.. or whatever software ubuntu uses as firewall. look around in your GUI for a network/security section for firewall. or on ubuntuforums website.
by reading more, I found out that Ubuntu by default leaves 0 port open (this means no port is open then you can not ping it?)
read this:
"As a matter of fact, Ubuntu has a "no open ports" policy by default. If you don't believe me, try running this on a fresh install of Ubuntu 5.10 (Breezy Badger Release):
nmap -sV -O
If you notice, nmap will tell you that 0 ports are open.
The reason Ubuntu doesn't ship with a firewall is because 0 ports are open."
the windows command would be something like 'ipconfig /all'
try, as root, 'iptables -F' to clear all rules for the firewall.. then try pinging again, if that works then its the iptables rules and we'll have to fix those.
ping by IP should work but ping by host name will require that you configure a route. For Ubuntu in System - Administration - Networking - Hosts tab - Add - IP address & Alias. For example on my local network of two boxes the other box is host "x86" and IP 192.168.0.3 and this box is host "Geo" and IP 192.168.0.2. I configured the routes in both boxes so I could go in either direction with alias x86 or Geo.
keiwu the 'iptables -F' command that i told you is used to 'flush' (ie remove) all the rules in the iptables firewall. since you flushed the rules, your computer is now unprotected with a firewall and if you have software on your computer that is subject to remote attacks then you should be careful.
look into iptables basics to setup a firewall that is good for you. or we can help you set it up if you tell us what services the computer will be serving.
for the apache test page, it is not a firewall problem as there is no firewall configured after you ran the command. meaning its a configuration problem with the apache software. double check the setup process/documentation to make sure you didnt miss anything.
the instructions for setting up Apache2 are from my Professor, and it works on the school lab machine. But I tried it in my home computers and none of them work.
(If machine A is my Ubuntu machine, and I can visit the test page using machine A by typing: http://localhost/test.html or http://192.x.x.x/test.html. It is only that I can't visit the test page using the other machine say B by typing: http://192.x.x.x/test.html)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.