Hi guys,
I’ve a little trouble: I reinstalled on my notebook OpenSUSE 11.3 yesterday and I’m unable to change the hostname.
I modified it, but when I type on terminal
uname -a
it doesn’t give the right answer but returns
host
I don’t know where I wrong because I did this action many times with Opensuse 11.1 and 11.3 without any problem.
if it is just returning “host” you have more problems than i can fathom…
–
CAVEAT: http://is.gd/bpoMD
[NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]
Maybe the developers are not here because they are so busy fixing these> http://tinyurl.com/392jnb
By disabling the auto-login I can see my “user full name” and by typing the pw, I enter correctly, but nothing changes…
…if it could be useful, this is the content of /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.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 host localhost.localdomain localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 linux-brss.site linux-brss
#
# 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.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 G550-114.site G550-114
Are you sure you haven’t imported some files from another install like Fedora? It looks Fedoraish to me:
localhost.localdomain
In openSUSE,
You have to configure your Hostname properly in TWO places in YAST
The Hosts file
YAST > Network Services > Hostnames
The Network Configuration
YAST > Network Devices > Network Settings > Hostname/DNS tab
(Be certain that the “Change Hostname via DHCP” is <unchecked> or as it says DHCP will change how you’re seen on the Network no matter what your local settings are.
(Be certain that the “Change Hostname via DHCP” is <unchecked> or as it says DHCP will change how you’re seen on the Network no matter what your local settings are.