Hi,
Just installed fc18 and it looks good so far. I didn't notice a host name setting on installation. now it is stuck on localhost. What can i do to change it?
Thanks!
Hi,
Just installed fc18 and it looks good so far. I didn't notice a host name setting on installation. now it is stuck on localhost. What can i do to change it?
Thanks!
FC 30-64 4930K, GTX780, Teraquad
Galaxy Tab s2, Galaxy 8S, De N4ZPO
the hostname setting is on the screen to set up your network.
But you can change it after installing by using the hostnamectl command. Hostname is now in your /etc/hostname file and not in /etc/sysconfig/network
Code:hostnamectl set-hostname <newhostname> --static
Yes I had that situation with the F18 installer with a beta TC3 trial - it used the university computer name (.edu and all) for my full install to a USB.
I of course from F11 through F17 always did get the chance to change that university computer name that would at first come up and could use my own computer name.
I am gonna figure that setting that name will just be something that this new installer will be automatically doing for everyone, but maybe there is a way to change that (?)
if so then I'd be interested as well.
---------- Post added at 11:42 AM ---------- Previous post was at 11:40 AM ----------
OK that'd be great . . . Thanks.
You can also change it by going to system settings/details. Where it says "device name", just type it in there and reboot. When you return to your desktop check it by opening your terminal and you will see it there.
Thanks!
That did the trick. I am anxious to see what has changed on fc18.
Thanks again.!
FC 30-64 4930K, GTX780, Teraquad
Galaxy Tab s2, Galaxy 8S, De N4ZPO
for the record, you can set hostname during install in the Network spoke.
Adam Williamson | awilliam AT redhat DOT com
Fedora QA
IRC: adamw | Fedora Chat: @adamwill:fedora.im
http://www.happyassassin.net
Yes, I read that, however when I put my host name in the space offered there and continued, I found when I got to the desktop that there were no changes at all. There installer is not very intuitive in that it does not say whether or not I should hit enter, just type in the host name and just leave it, both ways failed for me. However, it does work after the install for sure...Thanks for your time Adam, I have read many of your post and respect your advice immensley. Please tell me the corrent way to set the host name at the network configuration cog.
---------- Post added at 11:25 PM ---------- Previous post was at 08:18 PM ----------
I want to add that I am referring to the Live CD install not the DVD, sorry I didn't mention this earlier.
There seems to be an issue with Anaconda. If the machine is connected to 'Internet' the installer does not give you the option to set the hostname. However if the system is not connected then the Anaconda shows the dialog to configure the network and the hostname. So during install do not connect to the internet until you get to the networking dialog in Anaconda.
We can change the hostname by editing /etc/hostname.
I never had that issue here.
I installed with the network connected to the internet, and I still got the dialog to configure the network and set the hostname.
Thanks AdamW, I made a mental note to look there the next time I install with the new Anaconda...
And DBelton is busy with this device name - rename![]()
On quest for blue smoke and red rings...
Fedora 44 | Lenovo Edge 15 | i5 1.7Ghz | Intel HD Graphics 4400 | 6GB RAM | 1TB HDD
Debian 13 | Toshiba Satellite C655 | i3 2.3Ghz | Intel HD Graphics 3000 | 8GB RAM | 65GB SSD
Yea.. It's because of the file changes in F18 where Fedora is trying to go back to using some of the more standard files instead of being different from the other distros.
But, the hostnamectl command is a new one for F18. I don't believe any other distros are using it yet.
Thanks for command. I've done two installs from a live cd/dvd iso and on both occasions was never presented with a host name option. So have had to alter afterwards as per command.
Very usefull discussion!
For the record, I installed via usb - live and I had no option to set an host name, even if I looked very carefully (and read the installation guide before installing).
Not sure if the LiveCD gives the option to set hostname or not. It should, but I haven't used it to know for sure. It would have been on the same spoke/panel where you configure your network adapter