-
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?
-
Senior Member
registered user
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
-
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.
-
Senior Member
registered user
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
-
By photosoupguru in forum General Support
Replies: 3
Last Post: 01-11-2005, 05:26 AM
-
By apun in forum General Support
Replies: 1
Last Post: 08-04-2004, 08:06 AM
-
By jtsai256 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 07-12-2004, 07:00 AM
-
By Legithrandil in forum Networking
Replies: 3
Last Post: 03-31-2004, 04:44 PM
-
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
-
Forum Rules

Apple Mac Pro 2019 1TB OEM SSD Kit-768GB +384GB - 656-0119/ 656-0120
$69.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$949.00

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot
$129.99

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$305.98

Dell Latitude 15.6” FHD Core i5 Laptop PC Up To 32GB RAM 1TB SSD Windows 11
$305.98