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
  •  


Juniper Networks EX2300-C-12T Compact 12-Port EX2300-C Series Ethernet Switch picture

Juniper Networks EX2300-C-12T Compact 12-Port EX2300-C Series Ethernet Switch

$300.00



Juniper Networks MX80-AC Router 4 Port XFP 10G MIC-3D-200E-SFP picture

Juniper Networks MX80-AC Router 4 Port XFP 10G MIC-3D-200E-SFP

$600.00



Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord picture

Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord

$53.99



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$59.95



Juniper Networks EX2200-C-12P-2G Gigabit Ethernet Managed Switch picture

Juniper Networks EX2200-C-12P-2G Gigabit Ethernet Managed Switch

$79.99



Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture

Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested

$135.00



Juniper Networks EX3300-48T 48 Port Gigabit 4x 10 GbE SPF+ Ports Switch - Tested picture

Juniper Networks EX3300-48T 48 Port Gigabit 4x 10 GbE SPF+ Ports Switch - Tested

$40.00



Juniper Networks EX2200 EX2200-C-12T-2G 12-Port Gigabit Switch picture

Juniper Networks EX2200 EX2200-C-12T-2G 12-Port Gigabit Switch

$84.95



Juniper Networks EX2300-48P 48 Port Gigabit PoE 4 SFP 1/10G Network Switch picture

Juniper Networks EX2300-48P 48 Port Gigabit PoE 4 SFP 1/10G Network Switch

$185.00



Juniper Networks SRX220 8-Port Gigabit Services Gateway Security Appliance picture

Juniper Networks SRX220 8-Port Gigabit Services Gateway Security Appliance

$45.00