Click to See Complete Forum and Search --> : unsuccessful attempts to change darkstar


Smokey
08-19-2004, 04:04 AM
I searched and found these threads
http://www.justlinux.com/forum/showthread.php?s=&threadid=96493&highlight=darkstar
http://www.justlinux.com/forum/showthread.php?s=&threadid=86851&highlight=darkstar

But hostname 'desiredname' works......but if I reboot it says it cannot find it.....so I have to change it back to darkstar.

This is what my /etc/hosts file looks like

# For loopbacking.
127.0.0.1 localhost
# This next entry is technically wrong, but good enough to get TCP/IP apps
# to quit complaining that they can't verify the hostname on a loopback-only
# Linux box.
127.0.0.1 darkstar.example.net darkstar

# End of hosts.

I changed it to smokey.example.net smokey

but it still gave me errors?

I connect to the internet with adsl-start so i cannot run netconfig to change my hostname otherwise it would mess it up......

btw, my desired hostname is to be usdafs.net

MMYoung
08-19-2004, 05:26 AM
Have you tried reconfiguring your network setup using pkgtool?

Open a terminal and type in pkgtool, you will be asked for the root password. Now select Setup and then select netconfig.

HTH,
MMYoung

MMYoung
08-19-2004, 05:29 AM
Originally posted by Smok3y
I connect to the internet with adsl-start so i cannot run netconfig
OOPS!

Sorry, I missed that. :D

MMYoung

serz
08-19-2004, 10:22 AM
You have to change /etc/HOSTNAME as well.

Smokey
08-19-2004, 10:37 AM
Originally posted by serz
You have to change /etc/HOSTNAME as well.

nano /etc/HOSTNAME

darkstar.example.net

what do I change it to? usdafs.usdafs.net ?

serz
08-19-2004, 12:49 PM
smokey.example.net

or just smokey.

Smokey
08-19-2004, 01:00 PM
Originally posted by serz
smokey.example.net

or just smokey.

thanks, worked like a charm. So basically for searching/archive purposes....

edit /etc/hosts
edit /etc/HOSTNAME
and do a 'hostname desiredname'

Thats what I did, Slackware10