Results 1 to 2 of 2

Thread: Knoppix changed my HOSTNAME env var?

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Location
    Japan
    Posts
    2

    Knoppix changed my HOSTNAME env var?

    Knoppix newbie and only about 6 months on Linux. I ran it on a computer that already has Red Hat 9 installed. When I was done playing I shutdown. After booting Red Hat from hard disk, I noticed that the console prompt shows user@knoppix currdir$. The PS1 var looks normal ([\u@\h \W]\$). The /etc/hosts file looks good listing "localhost.localdomain". The /ect/sysconfig/network has "HOSTNAME=localhost.localdomain". The /etc/profile is calling /bin/hostname to set the HOSTNAME variable. I can reset the variable temporarily or hard code it in the /etc/profile I guess to make it permanant, but I can't really figure out what is going on. Running "hostname" replies "knoppix" after each boot and trying to reset the variable with "hostname" does not survive a reboot. I have even done a recursive grep of /etc for 'knoppix' and can't find anything. Also, this or some other issue has broken an NFS mount that worked perfectly before I played with Knoppix on this machine.

    Anybody know what is going on?

    I saw a Bugzilla report (#309) with the following: DHCP client should not try to push hostname. Could this have something to do with it?

  2. #2
    Junior Member
    Join Date
    Nov 2003
    Location
    Japan
    Posts
    2

    Host name change

    Upon further review, this issue is clearly related to issue 304 in the Buzilla system. Knoppix DHCP client pushes the hostname up to the DNS server.

Similar Threads

  1. How to let Knoppix 3.7-HDD autoconfigure changed devices?
    By honigbaer in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 01-16-2005, 01:31 PM
  2. Got knoppix from a frien and i am a changed man
    By leq75 in forum General Support
    Replies: 2
    Last Post: 02-28-2004, 05:39 AM
  3. Can't set hostname.
    By WimG in forum Networking
    Replies: 5
    Last Post: 09-27-2003, 04:16 PM
  4. How do I change the hostname?
    By jensen in forum General Support
    Replies: 2
    Last Post: 07-18-2003, 10:30 PM
  5. Replies: 4
    Last Post: 06-03-2003, 11:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell EMC NX3230 Server picture

Dell EMC NX3230 Server

$599.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$340.00



Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro picture

Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro

$115.00



Dell PowerEdge R610 picture

Dell PowerEdge R610

$80.00



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



HP Z4G4 Intel Xeon W2133-3.6 GHz, 256 NVME, 6TB HDD, 32GB RAM P620 NO OS picture

HP Z4G4 Intel Xeon W2133-3.6 GHz, 256 NVME, 6TB HDD, 32GB RAM P620 NO OS

$265.00



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H picture

Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H

$27.99



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00