Results 1 to 4 of 4

Thread: Editing hostnames

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Location
    Hereford UK
    Posts
    2

    Editing hostnames

    Another newbie question!
    I'm trying to edit /etc/hostnames to reflect the machines I'm connecting to but keep getting told that the file is write protected. Where am I going wrong? What am I missing?

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    Are you running from cd or a hd install?

    /etc/hostname is the name of the machine

    The file you want to change is /etc/hosts

    If you are running from cd you will have to save your new /etc/hosts file to a floppy, zip, thumb, hd or persistent home. Then you can remove the existing /etc/hosts file and use your new file.

    More info about your system and network would help.

    ~rock

  3. #3
    Junior Member
    Join Date
    Feb 2004
    Location
    Hereford UK
    Posts
    2
    Hi
    Running from CD
    Sorry Slip of the pen, I meant /etc/hosts.
    I'm using an IBM 600x laptop with a Linksys USB abaptor. Connecting to two creakingly old PowerPCs running AIX (this is the NHS after all).
    How do I save to persistant home? I haven't got my head round the file system yet.

  4. #4
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    Do you have a fat32 hd installed in the laptop?
    if so then...

    In the KDE menu there should be a knoppix entry in it should be the make persistent home entry. You can use an existing fat32 hard drive or other writable media for your persistent home.

    Or just save your edited /etc/hosts file on your hd and link to it. Using this approach I would pborably make an etc directory on your hd and place your new hosts file there, then as root (as an example, your hd may be a different device and have a different mountpoint)

    rm /etc/hosts
    ln -s /mnt/hda1/etc/hosts /etc/hosts

    HTH

    ~rock

Similar Threads

  1. Editing files on HDA....
    By photosoupguru in forum General Support
    Replies: 3
    Last Post: 01-11-2005, 05:26 AM
  2. editing /etc/fstab
    By apun in forum General Support
    Replies: 1
    Last Post: 08-04-2004, 08:06 AM
  3. Editing LILO
    By jtsai256 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 07-12-2004, 07:00 AM
  4. editing smb.conf
    By Legithrandil in forum Networking
    Replies: 3
    Last Post: 03-31-2004, 04:44 PM
  5. Kmenu editing
    By arkaine23 in forum Customising & Remastering
    Replies: 3
    Last Post: 08-24-2003, 09:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$10.00



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$20.85



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.57



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$21.42



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$33.72