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
  •  


Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver picture

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver

$1500.00



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



Cisco C3850-NM-2-10G picture

Cisco C3850-NM-2-10G

$75.00



Cisco C9300NM8X Network Switch Module picture

Cisco C9300NM8X Network Switch Module

$599.99



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



Cisco C9300-48UXM-A Switch 9300 Series 48-port UPoE Network picture

Cisco C9300-48UXM-A Switch 9300 Series 48-port UPoE Network

$874.99



Cisco Catalyst C9120AXI-B Wi-Fi 6 Access Points picture

Cisco Catalyst C9120AXI-B Wi-Fi 6 Access Points

$36.00



Cisco C3850-NM-2-10G Catalyst 3850 2 x 10GE Network Module picture

Cisco C3850-NM-2-10G Catalyst 3850 2 x 10GE Network Module

$30.00



Cisco 8-Port Ethernet Catalyst Switch - WS-C2960C-8TC-L - Brand New picture

Cisco 8-Port Ethernet Catalyst Switch - WS-C2960C-8TC-L - Brand New

$50.00



CISCO WS-C2924C-XL CATALYST 2900 SERIES XL Plugged In, Lights Works Plus Fans picture

CISCO WS-C2924C-XL CATALYST 2900 SERIES XL Plugged In, Lights Works Plus Fans

$75.00