I want to continue using CD version of Knoppix, but would like to permanently edit dhcpd.conf file and to store it onto HD linux partition.
Is there any way to force system to look into new location?
Thanks in advance.
I want to continue using CD version of Knoppix, but would like to permanently edit dhcpd.conf file and to store it onto HD linux partition.
Is there any way to force system to look into new location?
Thanks in advance.
you did a dhcp server?
i try that but i have problems with the permissions when i try to edit the dhcpd.conf.
how do you did that?
You probably have to switch to root.
Well I am surely not a Linux expert, but what I do is issuing "su" command (without any options) before editing dhcpd.conf, which gives me the root access.
I have stored dhcpd.conf into HD linux partition and called everything with a small script I made and put in the same partition.
The script initialize my network card ("ifconfig" specifying IP, etc) and calls dhcpd3 (thus NOT dhcpd!) command with "-cf" option, which specify the new location of dhcpd.conf file.
Don't forget to unlock write permission on your Linux HD mount. Right mouse click (over the partition) gives you that possibility.
Success.
run as root is not enought to change some files
As far as I know, you can do anything you want as the root.
However, maybe there are some other reasons you can't change some files.
Keep in mind that switching to root is valid only to current terminal window, by doing "su" you can't do things around thinking you are the root. Only if you log in as root gives you the right to do everything everywhere (see link below, how to do that).
Also, some files were set up with r(ead), w(rite), x(ecutable) permissions off for security reasons. Use chmod command if you need to.
Of course, if you are running knoppix from CD only, you can't write anything on it. As soon as you turn PC off, all of you changes are lost.
Search this forum for similar problems you have, I think you can find most answers.
Here are some topics you may be interested in:
http://www.knoppix.net/forum/viewtopic.php?t=5447#24936
http://www.knoppix.net/forum/viewtopic.php?t=4049#21825
/KNOPPIX/* (ram) problems:
http://www.knoppix.net/forum/viewtopic.php?t=5499#25198
etc

LENOVO THINKPAD T14s GEN 2a Ryzen 7 PRO 5850U 1.9GHz 16GB 256GB TOUCH - NO OS
$299.95
Lenovo ThinkPad T14 Gen 1 Core i5 1.70GHz, 16GB RAM , 256GB SSD
$259.99
Lenovo ThinkPad L14 Gen 3 Laptop 14” FHD Core i5 12th 16GB RAM 512GB SSD Win 11
$359.99
Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop
$220.36
Lenovo ThinkPad T490 Quad Core i7-8565U 1.80GHz 256GB SSD 16GB RAM Win11Pro
$170.00
Lenovo - Idea Tab Plus - 12.1" 2.5K Tablet - 8GB RAM - 128GB UFS - Luna Grey
$209.99
Lenovo ThinkPad L14 Gen 1 Core i5-10310U 1.7GHz 16GB 512GB 14" W11P Laptop
$197.10
14" Lenovo T460 Laptop PC: Intel i5-6300U (16GB RAM - 256GB SSD) Windows 10
$129.69
Lenovo ThinkPad T490s 14" FHD i5-8365U 16GB RAM 256GB SSD Windows 11 Pro Laptop
$229.00
Grade A Lenovo Thinkpad T470 i5-6300U 2.4Ghz 8GB 256GB Win 11
$209.99