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
  •  


Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A

$79.99



WD_BLACK 1TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS100T2X0E picture

WD_BLACK 1TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS100T2X0E

$99.99



2TB 1TB TYPE-C OTG Stick 4 in 1 USB Memory Photo Stick Android Samsung Pen Drive picture

2TB 1TB TYPE-C OTG Stick 4 in 1 USB Memory Photo Stick Android Samsung Pen Drive

$27.45



Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe picture

Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe

$109.99



1000 GB HHD 2.5

1000 GB HHD 2.5" 1TB Mixed Brands Samsung WD HGST TOSHIBA, Tested Formatted

$14.90



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$580.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.89