Hello,
Here's a simple one: How do I set up the hostname of my computer?.
Currently it is localhost.localdomain. I have tried various methods,
but without success.
Regards and thanks
Peter
Regards and thanks
Peter
You can enter one in /etc/sysconfig/network.Quote:> Hello,
> Here's a simple one: How do I set up the hostname of my computer?.
> Currently it is localhost.localdomain. I have tried various methods,
> but without success.
--
SwifT
|- LUG : http://www.lugwv.be
|- PGP Key-# : 0xCDBA2FDB
`- "Happy GNU/Linux-user :)"
edit file /etc/hosts
127.0.0.1 vampire localhost
and
eplx01{suthan}% hostname vampire
... have fun
> Regards and thanks
> Peter
1. Local mail problems (bad hostname setup?)
Hi,
I've just installed Linux on my machine, currently it is a standalone but
will be used with PPP to connect to the Internet later. I wanted to make
sure I could get everything to work locally (and get a better understanding
of how things work).
I have a problem with mail (sendmail) and it seems to be related to the
hostname setup. Although it's a standalone, I should be able to send
mail to other accounts on the same system, but this doesn't work.
I changed /etc/HOSTNAME as outlined in the installation HOWTO.
Upon booting up, I get the message, "My hostname (predator) does not
seem to exist! Connection refused!"
If you try to run a mailer and send a message to another account on the
system, you get the same error message.
/var/adm/syslogd has the following line associated with the error:
predator sendmail[51]: NOQUEUE: SYSERR(root): My hostname does not seem
to exist! Connection refused!
However, I can send email using the "deliver" program if I force the
hostname with the -h option, but this is all I can do.
It seems to me that this email problem is related to an improper setup
of the hostname or some other config file. What am I doing
wrong here? Any help would be greatly appreciated!
/Kevin
P.S. Yes, I also read the email howto and tried a few things as
outlined there, none had any effect.
2. Simon is an unemployed dumbass
4. Help: Linux X configuration set up
6. Reading is much more interesting than TV (0745/1708)
7. PPP - hostname setup for mail
8. GLX support
9. *So* close (networking setup with IPX and hostname problems)
10. hostname & domainname setup
11. hostname, solaris 8, dhcp setup
12. Newbie: Setup 2 IP's with 2 Hostnames