Results 1 to 2 of 2

Thread: Knoppix changed my HOSTNAME env var?

Hybrid View

  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
  •  


Samsung 8GB M471B1G73Qh0-YK0 PC3L-12800S DDR3 Laptop Ram picture

Samsung 8GB M471B1G73Qh0-YK0 PC3L-12800S DDR3 Laptop Ram

$12.99



G. SKILL Ripjaws S5 16GBx DDR5 6000MHz RAM F5-6000J3636F16GX2-RS5K SINGLE picture

G. SKILL Ripjaws S5 16GBx DDR5 6000MHz RAM F5-6000J3636F16GX2-RS5K SINGLE

$199.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$205.99



Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB) picture

Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB)

$169.95



Corsair PC3-12800 8GB DIMM 1600 MHz DDR3 Memory (CML16GX3M2A1600C10) picture

Corsair PC3-12800 8GB DIMM 1600 MHz DDR3 Memory (CML16GX3M2A1600C10)

$15.95



G.Skill Flare X5 32GB (2x16GB) (DDR5-6000 DDR5 RAM Memory Cl30-38-38-96 AMD EXPO picture

G.Skill Flare X5 32GB (2x16GB) (DDR5-6000 DDR5 RAM Memory Cl30-38-38-96 AMD EXPO

$419.95



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



Crucial 32GB (2x16GB) DDR4-3200 SO-DIMM 260-Pin CL22 CT2K16G4SFRA32A picture

Crucial 32GB (2x16GB) DDR4-3200 SO-DIMM 260-Pin CL22 CT2K16G4SFRA32A

$160.00



16GB DDR3L 1600MHz RAM Upgrade Kit (2x8GB) Non-ECC Unbuffered 240 Pin UDIMM picture

16GB DDR3L 1600MHz RAM Upgrade Kit (2x8GB) Non-ECC Unbuffered 240 Pin UDIMM

$69.99



16GB DDR3 RAM (2x8GB) 1600MHz PC3-12800 CL11 UDIMM Memory Upgrade Module picture

16GB DDR3 RAM (2x8GB) 1600MHz PC3-12800 CL11 UDIMM Memory Upgrade Module

$69.99