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 PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$197.99



Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM picture

Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM

$49.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$489.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$159.99



Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture

Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD

$139.99



Lenovo ThinkServer TS140 Xeon E3-1225v3 3.20GHz 16GB RAM Tower Server Needs HDD picture

Lenovo ThinkServer TS140 Xeon E3-1225v3 3.20GHz 16GB RAM Tower Server Needs HDD

$99.99



Gigabyte 2U Server 2x E5-2698 v3  128gb  12x 3.5 12G  9362-8i  14x Trays  Rails picture

Gigabyte 2U Server 2x E5-2698 v3 128gb 12x 3.5 12G 9362-8i 14x Trays Rails

$394.99



HPE ProLiant DL360 Gen9 4LFF 2x E5-2667v3 3.2GHz =16 Cores 32GB P440AR 4xRJ45 picture

HPE ProLiant DL360 Gen9 4LFF 2x E5-2667v3 3.2GHz =16 Cores 32GB P440AR 4xRJ45

$212.00