Results 1 to 4 of 4

Thread: Editing hostnames

Hybrid View

  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
  •  


VINTAGE DEC LA34/ LA100 SERIES KEYBOARD W/NUMERIC PAD 70-17864-01C picture

VINTAGE DEC LA34/ LA100 SERIES KEYBOARD W/NUMERIC PAD 70-17864-01C

$140.00



Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW picture

Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW

$269.99



Vintage Digital DEC 54-15688 rainbow color graphics option picture

Vintage Digital DEC 54-15688 rainbow color graphics option

$129.99



Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7) picture

Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7)

$279.99



Vintage DEC PDT11 (VT100 Series) Terminal (Powers On). picture

Vintage DEC PDT11 (VT100 Series) Terminal (Powers On).

$550.99



Vintage DEC LK201 Computer Keyboard Used picture

Vintage DEC LK201 Computer Keyboard Used

$59.97



VINTAGE DEC VX20A-OP ACCELERATOR, 54-20309 FOR VXT2000 SYTEMS picture

VINTAGE DEC VX20A-OP ACCELERATOR, 54-20309 FOR VXT2000 SYTEMS

$95.00



Vintage Digital VR241-A color CRT monitor, powers on, DEC Rainbow or terminal picture

Vintage Digital VR241-A color CRT monitor, powers on, DEC Rainbow or terminal

$185.00



Vintage DEC Digital VR319-DA 19

Vintage DEC Digital VR319-DA 19" High Resolution Monochrome CRT Monitor - Tested

$180.00



Vintage DEC LR150-11 Power Supply 70-0464-01 Rev C Sun Shoebox Micropolis picture

Vintage DEC LR150-11 Power Supply 70-0464-01 Rev C Sun Shoebox Micropolis

$140.00