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
  •  


For Lenovo ideapad 5 15IIL05 15ARE05 15ITL05 15ALC05 Lcd Back Cover Rear Lid NEW picture

For Lenovo ideapad 5 15IIL05 15ARE05 15ITL05 15ALC05 Lcd Back Cover Rear Lid NEW

$49.98



For Lenovo ideapad Flex 5 15IIL05 15ITL05 LCD Touch Screen Bezel 5D10S39643 New picture

For Lenovo ideapad Flex 5 15IIL05 15ITL05 LCD Touch Screen Bezel 5D10S39643 New

$138.95



NEW Palmrest Keyboard For Lenovo Thinkpad E15 Gen 2 20T8 20T9 Black 5M10W64513 picture

NEW Palmrest Keyboard For Lenovo Thinkpad E15 Gen 2 20T8 20T9 Black 5M10W64513

$80.99



Lenovo Ideapad Slim 3 15Iru8 15.6

Lenovo Ideapad Slim 3 15Iru8 15.6" Touchscreen i5-1335U 16GB 512GB SSD W11H-64

$349.99



Lenovo 500w Gen 3 Laptop, 11.6

Lenovo 500w Gen 3 Laptop, 11.6" IPS Glass, N6000, 8GB, 128GB SSD, Win 11 Home

$186.99



Lenovo IP 5 16IAU7 16

Lenovo IP 5 16IAU7 16" 2.5K Chromebook i3-1215U 8GB Ram 128GB eMMC Chrome OS

$219.99



Lenovo Notebook IdeaPad 1 Laptop, N6000, 4GB, 128GB eMMC, Win 11 Home-Certified picture

Lenovo Notebook IdeaPad 1 Laptop, N6000, 4GB, 128GB eMMC, Win 11 Home-Certified

$229.49



Lenovo Ideapad 1i 15.6

Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD

$349.99



Lenovo K14 AMD Laptop, 14

Lenovo K14 AMD Laptop, 14" FHD IPS LED , Ryzen 5 5600U, GB, 256GB SSD

$569.00



Lenovo Flex 7 14IRU8 14

Lenovo Flex 7 14IRU8 14" 2.2K Touch Intel Core i7-1355U 16GB 1TB SSD W11H

$549.99