Results 1 to 5 of 5

Thread: Knoppix messed up my suse distribution

  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    3

    Knoppix messed up my suse distribution

    I used Knoppix as a rescue CD and now my suse system has a Knoppix login prompt after boot.
    I have looked everywhere that I know and cannot find out how that is done.
    I have reinstalled grub. I suspect that maybe my initrd file might have been modified, but that seems unlikely.
    I had found some xauth entries for the Knoppix hostname and deleted them. It seems that my hostname gets set to Knoppix sonehow.
    Here is the prompt that I get for loging:
    "Welcome to Suse .........
    Knoppix login:"
    I checked some of the config files for login and I did not find "Knoppix" in any of them.
    My dhclient.leases file has the following entry
    "option host-name "Knoppix";"
    That seems to be set because the HOSTNAME shell variable is set to Knoppix somehow.

  2. #2
    Junior Member
    Join Date
    Dec 2006
    Posts
    1
    Hi,
    My first guess is that knoppix gave a hostname to the dhcp server when it got the lease, and suse doesn't. So suse gets the hostname from the previous lease, which is remembered by your dhcp server. To verify this hypothesis, you can unplug your network cable and reboot suse. It will probably come up without a hostname or the one you set up initially.

    If you want to change it back, use the suse tools to set the hostname (I don't have suse system at hand so I don't know the exact commands. It must be something like "hostname mynewname" but you should check that). I expect that this will override the hostname retrieved from the dhcp server.

    If you're the only one using this dhcp server then it is also an option to clear its configuration. How that is done depends on the server. If the dhcp server is a sophisticated one, you could also set up a reservation for your system (based on MAC address), including the hostname you want to assign to it. But that hostname will be applied to all OS-es running on it, if the OS accepts it.

    HTH,
    Arthur

  3. #3
    Junior Member
    Join Date
    Dec 2006
    Posts
    3
    OK Thanks. I think I have found the cause. dhclient uses previous leases.
    In the /var/lib/dhcp/dhclient.leases file, I have found some leases with a Knoppix hostname.
    I will delete them, but I wonder how it got changed. I was using Knoppix as a rescue disk to backup a hard drive.
    {reviously I never found such a file since I was only searcing the /etc directory tree.


  4. #4
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by donharter
    I will delete them, but I wonder how it got changed.
    Read the post by avdongen again, he hit it dead on. Knoppix did not make the change. It just took out the lease with your DHCP server. Suse then found out about the lease when it was rebooted and it made the change itself. If you want to avoid this in the future see if you can't change the settings in youir dhcp server to make the lease shorter and wait out the lease before booting back into Suse, or just release the lease in Knoppix before shutting down.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

  5. #5
    Junior Member
    Join Date
    Dec 2006
    Posts
    3
    Just deleting the dhcp.leases file did not work. I think when I shutdown the system a script wrote out the current information again which had Knoppix as the host name.
    I ran "dhclient -r eth0" and then emptied the dhcp.leases file. I opened up a text login window and could see that the Knoppix hostname was gone.

    You are saying that the comcast dhcp server stored my "Knoppix" hostname and returned it to me in a dhcp request after I rebooted and requested a new lease.


Similar Threads

  1. Why is KNOPPIX the only distribution that can see my RAID??
    By hissingshark in forum Hardware & Booting
    Replies: 0
    Last Post: 07-27-2007, 12:45 PM
  2. Messed up monitor after using Knoppix.
    By audax.a in forum Hardware & Booting
    Replies: 0
    Last Post: 05-08-2005, 03:22 AM
  3. knoppix 9/5/03 : dmesg messed up
    By beforewisdom in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 09-15-2003, 12:00 AM
  4. Messed up windows, need Knoppix to recover.
    By OziD in forum General Support
    Replies: 3
    Last Post: 08-16-2003, 07:20 AM
  5. Information distribution with KNOPPIX
    By paradocs in forum The Lounge
    Replies: 11
    Last Post: 08-05-2003, 03:45 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 R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

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

$340.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w picture

Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w

$239.99



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330 picture

Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330

$299.99



Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU picture

Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU

$209.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU picture

Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU

$419.99