hostname wont change

Post here if you are a new Porteus member and you're looking for some help.
White ninja
White ninja
Posts: 29
Joined: 23 Mar 2012, 18:44
Distribution: Porteus 1.2 XFCE 64bit
Location: Cyprus

hostname wont change

Post#1 by mailmegx » 03 Aug 2012, 10:32

Hi all

Im using Porteus 1.2 64bit XFCE

previous version even up till 1.2rc2 I had changed my hostname but for some reason in the final it does not apply!

Code: Select all

root@porteus:/mnt/sys/home/gx# hostname 
root@porteus:/mnt/sys/home/gx# cat /etc/HOSTNAME
root@porteus:/mnt/sys/home/gx# cat /etc/hosts
# 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...
# By the way, Arnt Gulbrandsen <> says that
# should NEVER be named with the name of the machine.  It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)

# For loopbacking.	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. gx_xps

# End of hosts.

Any idea what Im doing wrong? /etc/hosts and /etc/HOSTNAME are in rootcopy



Posted after 15 minutes 20 seconds:
I found this file /etc/NetworkManager/NetworkManager.conf which has hostname=porteus

I commented the line and am going to reboot.. wish me the best ;)


Posted after 3 minutes 51 second:
Ok that did the trick so in case anyone needs to know


Posts: 187
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

Re: hostname wont change

Post#2 by bour59 » 03 Aug 2012, 13:46

same issue for me in V1.2 32bits
your soluce seems good
many thanks

Post Reply