Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I can ping my Windows box (Called Laptop on the DNS setup) successfully and the Windows box can ping the Linux box (called Neptune on the DNS setup). However, when I use the windows box to call for a page from the Linux box:
The documents should be located in Apache document root folder.
Does that index.html.en happen to be located here: /var/www/manual
Edit: Okay I have tried that on my linux box and I seem to get a page not found on both boxes. The network doesn't seem to be the problem here. If you get a 404 (the apache version, not IE version) while trying to access your server then that means the connection works. If this is true then there must be a configuration thing on your linux box.
First answer is that the html docs are in /usr/local/apache2/htdocs (the default set by apache's automatic configuration).
Second answer: I tried using the bare IP address as suggested and it works. I should have realised that the modem has no knowledge of hostnames and the actual router at my ISP does not know my hostnames either. I shall have to buy myself a domain name now.
I don't suppose you know how to find out what my unique external IP address is? I thought these were fixed with broadband, but I don't know what it is.
Tim (A happy Linux user - from scratch to a working webserver in 14 working days!)
not necessarily - you may have to apply to your ISP to get a static IP. alternatively, I read on a thread here a while ago (can't find it now) something about programs that check your IP every 5 mins or so and change the IP that your domain name points to accordingly, though you could probably get away with running a bash script every time you connect to the net.
I think you are right - I tried the website suggested by comprookie2000 and it worked, but the IP address seems dynamic.
Also, the box plugged into the phone line (modem/switch/router - I am no longer certain what it does) is not forwarding traffic - it just replies with its own index.html page and a log on option I have no knowledge of.
I am in contact with the ISP that supplied it about how to make the thing do what I want.
Do you have laptop in Neptune in /etc/hosts
here is mine
# /etc/hosts: This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $
127.0.0.1 abbottdavid.no-ip.info localhost
192.168.1.96 abbottdavid.no-ip.info abbottdavid
192.168.0.2 tux.no-ip.info tux
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
that way when I put tux in a browser from abbottdavid I get the server and vice versa.abbottdavid is a gentoo box on the www and tux is a debian test server on the LAN good luck
it just replies with its own index.html page and a log on
This means you have a router. You get that logon page if you type in the IP address of the router in a web browser. It is used for configuring the router for port forwarding etc.
It just so happens that this is what you want to do if you want your web page to be accessible to the outside world. You will need to allow TCP and UDP on whatever port Apache is running on (80 by default). There is information about setting up port forwarding on specific routers and about port forwarding in general here.
BTW the login and password for your router will be in the manual or contact the manufacturer e.g. the default username and password for my router were "admin" and "admin". You might want to change the password.