Announcement

Collapse
No announcement yet.

To-be-filled-by-O-E-M

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    To-be-filled-by-O-E-M

    How can I fix this in kubuntu 15.04:
    bumpy@bumpy-To-be-filled-by-O-E-M:~$

    #2
    Change your host name?

    The normal bash prompt is user@hostname unless you messed with your ~/.bashrc

    Please Read Me

    Comment


      #3
      I didn't "mess" with anything - (would not have a clue anyway) - this is how the CD install left it.
      I would appreciate knowing how I can I change change it?

      Comment


        #4
        The hostname command:

        Code:
        $ hostname --help
        Usage: hostname [-b] {hostname|-F file}         set host name (from file)
               hostname [-a|-A|-d|-f|-i|-I|-s|-y]       display formatted name
               hostname                                 display host name
        
        
               {yp,nis,}domainname {nisdomain|-F file}  set NIS domain name (from file)
               {yp,nis,}domainname                      display NIS domain name
        
        
               dnsdomainname                            display dns domain name
        
        
               hostname -V|--version|-h|--help          print info and exit
        
        
        Program name:
               {yp,nis,}domainname=hostname -y
               dnsdomainname=hostname -d
        
        
        Program options:
            -a, --alias            alias names
            -A, --all-fqdns        all long host names (FQDNs)
            -b, --boot             set default hostname if none available
            -d, --domain           DNS domain name
            -f, --fqdn, --long     long host name (FQDN)
            -F, --file             read host name or NIS domain name from given file
            -i, --ip-address       addresses for the host name
            -I, --all-ip-addresses all addresses for the host
            -s, --short            short host name
            -y, --yp, --nis        NIS/YP domain name
        
        
        Description:
           This command can get or set the host name or the NIS domain name. You can
           also get the DNS domain or the FQDN (fully qualified domain name).
           Unless you are using bind or NIS for host lookups you can change the
           FQDN (Fully Qualified Domain Name) and the DNS domain name (which is
           part of the FQDN) in the /etc/hosts file.
        or edit /etc/hostname

        Please Read Me

        Comment


          #5
          Your hostname is entered during install. Either you didn't enter one or the installer left it out.

          Look in /etc/hosts also and make sure it's correct there too.

          Please Read Me

          Comment


            #6
            For a little fun, enter this in a terminal:
            Code:
            PS1='\[\e[0;36m\]\u@\h\[\e[m\] \[\e[1;35m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]'
            This won't be permanent, it will only last until you close the terminal. To change you prompt permanently, you have to edit ~/.bashrc

            Please Read Me

            Comment


              #7
              I'm an 82 year old fart that needs you to spell out exactly what the necessary commands are.
              I presume it would be something relative to
              bumpy@bumpy-To-be-filled-by-O-E-M:/etc$ hostname
              bumpy-To-be-filled-by-O-E-M
              bumpy@bumpy-To-be-filled-by-O-E-M:/etc$

              Comment


                #8
                Code:
                kdesudo kate /etc/hostname
                Then change it to what you want. Best to keep it simple, like a single word. Then do:

                Code:
                kdesudo kate /etc/hosts
                If you see "bumpy-To-be-filled-by-O-E-M" in there anywhere, change it to the same word you used in the first edit.

                Please Read Me

                Comment


                  #9
                  This is the result I get:
                  bumpy@bumpy-To-be-filled-by-O-E-M:/etc$ kdesudo kate /etc/hostname
                  kate: Warning, session file not found: "/root/.local/share/kate/anonymous.katesession"
                  kate: Warning, session file not found: "/root/.local/share/kate/anonymous.katesession"
                  Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Spawn.Child Signaled", "Process org.kde.kglobalaccel received signal 6")
                  kf5.kiconthemes: "Theme tree: (Oxygen)"

                  Comment


                    #10
                    Well, something is seriously wrong. If this is a new install, you might consider wiping it. I don't know what's causing this error, but something is amiss.

                    If you want to proceed, then try this:

                    Code:
                    sudo sed -i '/[COLOR=#333333]bumpy-To-be-filled-by-O-E-M[/COLOR]/ c\newhostname' /etc/hostname
                    replace newhostname with whatever you want.

                    Please Read Me

                    Comment


                      #11
                      Then do

                      Code:
                      cat /etc/hosts
                      and see if the bumpy-To-be-filled-by-O-E-M is in there too.

                      Please Read Me

                      Comment


                        #12
                        Did not work - nothing happened!!!
                        Will reinstall. Thanks for your help!

                        Comment


                          #13
                          When installing, make sure to look at what is showing in the user setup section - you can edit the hostname there.
                          The problem is possibly that your motherboard or bios or some other thing has left some bit of hardware information incomplete, and left with some generic stuff. The installer tries to set hostname to the model of the computer, as reported by the hardware, iirc. I have had a homebuilt system called 'generic' in the past.

                          Comment

                          Working...
                          X