How do we set the hostname

Forum Forums New users New Users and General Questions How do we set the hostname

Tagged: , ,

  • This topic has 2 replies, 2 voices, and was last updated Feb 28-4:07 pm by fungalnet.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7062
    Member
    fungalnet

      In /etc/hostname and /etc/hosts the name is set but the console/terminal will not pick it up resulting in delay “hostname not set” error.
      Is this set somewhere in openrc scripts?
      I used the minimal net-install when I installed it and I doubt I didn’t provide one, but maybe I changed it and this is causing the confusion as what is set in the two above files doesn’t match?

      #7068
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        This was caused by a bug in the net-install iso (and in core version as well).

        Solution number 2 in first post: antix-17-core-showstopper-error

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #7083
        Member
        fungalnet
          Helpful
          Up
          0
          ::

          $ hostname

          or
          $ sudo hostname

          seemed to have cured the problem
          The first time I rebooted it was gone again, but the 2nd time it stuck. I hate it when digital systems are temperamental 🙂 Maybe the first time I used user without root privileges.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.