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
  •  


🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡ picture

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡

$109.99



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



Juniper Networks EX3400-24T 24-Port Ethernet Switch w/Power Cord picture

Juniper Networks EX3400-24T 24-Port Ethernet Switch w/Power Cord

$174.99



Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch picture

Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch

$245.00



Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic picture

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic

$79.86



Juniper MX204 +JUNOS and Dual Power Supply picture

Juniper MX204 +JUNOS and Dual Power Supply

$7299.99



Juniper Networks AP33-US Indoor Wifi6 (US Version) 5GHz: 4x4:4; 2.99 picture

Juniper Networks AP33-US Indoor Wifi6 (US Version) 5GHz: 4x4:4; 2.99

$24.99



Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact  Switch picture

Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact Switch

$179.99



Juniper Networks Mist Wireless Access Points, Model AP45 picture

Juniper Networks Mist Wireless Access Points, Model AP45

$59.99



Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch picture

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch

$79.99