127.0.0.1 localhost localhost.localdomain
put like
your.ip.adress psychobaby.psychobaby.com psychobaby
below it.. and you can reference your machine as pyschobaby
you will need to setup a script in ip.up or whatever the script is to add
your current ip# to the file, there are some readmes around on how to do
this.. can't find on right now tho.
On Sat, 10 Oct 1998, Greg Webster wrote:
> I've got the following problems running Redhat 5.1 and Apache webserver. I
> have a suspicion they are related, but hopefully you folks can help. I'm a
> Linux newbie, be kind with your descriptions.
>
> 1) On startup, I get the following message (and it appears Apache webserver
> does not start):
> httpd: cannot determine local host name
> Use ServerName to set it manually
>
> 2) I write Perl CGI scripts, since it appear that the webserver does not
> start, "localhost" does not work when running Netscape under Xwindows, and
> therefore I can't test the scripts. If I run the scripts directly (ie.
> /home/httpd/cgi-bin/test.cgi), the script runs but does not return anything
> back to the browser. The script works fine on other systems, so it should
> work here.
> Perl scripts run from the command line (# perl test.cgi) work perfectly.
>
> 3) My host file says:
> 127.0.0.1 localhost localhost.psychobaby.com
> Is this right?(psychobaby is just what I've been calling the network
> that does not yet exist)
>
> 4) I can't seem to dial up. I'm lost on this one, I don't have a clue what
> I'm doing. How can I get Minicom to allow me to enter "ATZ" to test the modem?
>
> 5) (and the hard one) I want to set this up so my Win95 computer and my
> linux computer can both get on the net via a single phone line using IP
> masquerading. I have two NE2000T ethernet cards, the Win95 machine picked
> it up immediately, and as far as I've been able to determine, the "lance"
> driver included in Redhat should work for the Linux machine. I'm not sure
> how to set this up (yes, I've read HOWTOs and FAQs, enough that my eyes
> start to water, I still have no idea). I can't get the network up because
> of the driver (at startup it says "Delaying eth0 initialization or
> something similar), and also can't dial up, and also don't know how to set
> up IP Masquerading. So I'm triply unsure of how to proceed. Help on this
> would be appreciated, but the other problems listed above are more vital.
>
> I really need to get the Perl CGI and webserver stuff completed because I
> have some Perl coding I must do, and I need this machine for testing. If
> you could help on that I'd appreciate it, and the IP Masquerading etc.
> could wait.
>
> Thanks,
>
> Greg webster
>
>
> Eng: Your fly is open.
> Latin: Braccae tuae aperiuntur.
>
>
>