Results 1 to 5 of 5

Thread: dhcpd.conf in another location?

  1. #1
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    14

    dhcpd.conf in another location?

    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.

  2. #2
    Junior Member
    Join Date
    Dec 2003
    Posts
    5
    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?

  3. #3
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    14
    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.

  4. #4
    Junior Member
    Join Date
    Dec 2003
    Posts
    5
    run as root is not enought to change some files

  5. #5
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    14
    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

Similar Threads

  1. can dhcpd & files be copied to another distro.?
    By sunburnt in forum Networking
    Replies: 0
    Last Post: 05-26-2005, 08:36 AM
  2. OpenOffice settings location
    By sgtdawg in forum Customising & Remastering
    Replies: 2
    Last Post: 11-02-2004, 06:42 AM
  3. boot.img location?
    By dkennedy in forum Customising & Remastering
    Replies: 4
    Last Post: 10-28-2004, 02:43 PM
  4. Location of configuration files
    By prawira in forum Customising & Remastering
    Replies: 2
    Last Post: 10-28-2003, 09:40 AM
  5. Location of .profile .bshrc ????????
    By marcdevon in forum General Support
    Replies: 2
    Last Post: 03-17-2003, 10:12 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
  •  


Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU picture

Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU

$699.00



1U Open Source Router Firewall X10SLH-N6-ST031 E3-1240 V3 6x 10GB Ethernet 16GB picture

1U Open Source Router Firewall X10SLH-N6-ST031 E3-1240 V3 6x 10GB Ethernet 16GB

$350.00



IBM Power 9 Linux L922, 2x6-Core CPU / No RAM / 2 x 1400W PSU / Rails - 9008-22L picture

IBM Power 9 Linux L922, 2x6-Core CPU / No RAM / 2 x 1400W PSU / Rails - 9008-22L

$607.44



Proxmox Linux VM VPS Xeon Server /w 512GB RAM 28TB HDD for Virtual Machine Cloud picture

Proxmox Linux VM VPS Xeon Server /w 512GB RAM 28TB HDD for Virtual Machine Cloud

$1647.00



1U Open Source Router Firewall 6x 10GB Ethernet X10SLH-N6-ST031 E3-1240 V3 32GB picture

1U Open Source Router Firewall 6x 10GB Ethernet X10SLH-N6-ST031 E3-1240 V3 32GB

$429.00



Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) - picture

Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) -

$60.00



Ubuntu 26.04 Linux Desktop PC, 6-Core i5, up to 32GB RAM + 2TB SSD, Dell 7060 picture

Ubuntu 26.04 Linux Desktop PC, 6-Core i5, up to 32GB RAM + 2TB SSD, Dell 7060

$369.99



Linux Mint AI Deep Learning PC Workstation Ryzen 5 24gb Ram 16gb Tesla P100 GPU picture

Linux Mint AI Deep Learning PC Workstation Ryzen 5 24gb Ram 16gb Tesla P100 GPU

$599.99



Microsoft SQL Server 2025 Standard 32 Core Unlimited User CALs CoA Authentic picture

Microsoft SQL Server 2025 Standard 32 Core Unlimited User CALs CoA Authentic

$388.00



Secure VPN Subscription – Fast & Private Internet | Unlimited Access picture

Secure VPN Subscription – Fast & Private Internet | Unlimited Access

$7.99