Results 1 to 4 of 4

Thread: HOWTO change PC name

  1. #1
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256

    HOWTO change PC name

    OK, in knoppix-installer theres a step where yougive your PC a name, right? Well say you messed up and gave two PCs the same name and want to fix that without redoing the whole install process. How do you go about that?

    TIA,
    AJG

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    In Kanotix BH5, which is similar to a Debian-style install of Knoppix, the computer's name -- its "hostname" -- is set by the /etc/init.d/hostname.sh script, which is called in /etc/rcS.d. hostname.sh looks at /etc/hostname, a text file with one word in it, your computer's hostname.

    So, you might try editing /etc/hostname. You'll probably also have to edit /etc/hosts.

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Thanx, I knew there was some file like that, I just needed reminding!

    Regards,
    AJG

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Thanx, eco, I tried that on one PC and all's well. I then tried it on another and it didn't work. That's odd....

    Thanx,
    AJG

Similar Threads

  1. APT howto
    By lotech in forum General Support
    Replies: 2
    Last Post: 04-20-2005, 12:48 AM
  2. Howto change language from German to English
    By GaTk in forum The Lounge
    Replies: 3
    Last Post: 12-28-2004, 01:37 PM
  3. HOWTO: Change the boot logo/screen
    By eadz in forum Customising & Remastering
    Replies: 9
    Last Post: 04-28-2004, 11:17 PM
  4. Change LC_MESSAGES variable and change user name name
    By Guest in forum Customising & Remastering
    Replies: 1
    Last Post: 12-22-2002, 04:49 PM
  5. HOWTO: Change the "Startpage" when knoppix boots
    By eadz in forum Customising & Remastering
    Replies: 5
    Last Post: 12-20-2002, 08:34 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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$169.99



Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor picture

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor

$175.00



Lenovo ThinkCentre M920S Sff Intel Core i5 8600 8GB 256GB SSD Windows 11 Pro picture

Lenovo ThinkCentre M920S Sff Intel Core i5 8600 8GB 256GB SSD Windows 11 Pro

$94.99



8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard picture

8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard

$377.77



AMD Ryzen 7 7800X3D 8-Core 16-Thread 4.2GHz/5.0GHz Socket AM5 picture

AMD Ryzen 7 7800X3D 8-Core 16-Thread 4.2GHz/5.0GHz Socket AM5

$275.00



AMD Ryzen 7 9800X3D 8-Core AM5 CPU 4.7GHz 96MB L3 8MB L2 100MHz picture

AMD Ryzen 7 9800X3D 8-Core AM5 CPU 4.7GHz 96MB L3 8MB L2 100MHz

$389.99



AMD Ryzen 7 9800X3D - (Zen 5, 8-Core 5.2 GHz, Socket AM5) NEW IN BOX picture

AMD Ryzen 7 9800X3D - (Zen 5, 8-Core 5.2 GHz, Socket AM5) NEW IN BOX

$380.00



Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151) picture

Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151)

$189.99



Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU picture

Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU

$529.95



CHUWI 15.6'' Laptop Computer Intel Core 8GB RAM 512GB SSD WiFi Windows 11 picture

CHUWI 15.6'' Laptop Computer Intel Core 8GB RAM 512GB SSD WiFi Windows 11

$269.99