I installed phpDHCPAdmin-0.9.5-beta in Centos5.5 and after some problem now it
works, but when I set it up from the web interface does not change the file
/etc/dhcpd.conf , but creates a new file dhcpd.conf in another directory.
What is the relationship between these two files?
Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, but I do not understand how this application works
In centos5.5 I have a dhcp server that works fine, then I would like to use
phpdhcpadmin to modify server configuration but I cann't. I begin with basic
configuration, I try add a Pool and show this error: "An error occured while
validating fields, review details below: Router field is invalid", then I put
the value 192.168.0.1 but when I try add then shows the same error.
is it possible don't work in centos5.5?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think that this error occurs because the "Allow/Deny:" field is assigned to
the "Router " field.
When I try add a pool:
Pool Name: test
Scope Range Start: 192.168.0.110
Scope Range End: 192.168.0.120
DNS Server 1: 80.58.0.33
DNS Server 2: 80.58.61.250
Allow/Deny: Deny
Allow/Deny Option List: Unkown-clients
show me the next error: "An error occured while validating fields, review
details below: Router field is invalid"
then I expand "Need some extra pool options?" and I see "deny" in Router field
, but if I change the value in "Allow/Deny" to Allow and I press add button
show me the same error but when I expand "Need some extra pool options?" I see
"Allow" in Router field
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I installed phpDHCPAdmin-0.9.5-beta in Centos5.5 and after some problem now it
works, but when I set it up from the web interface does not change the file
/etc/dhcpd.conf , but creates a new file dhcpd.conf in another directory.
What is the relationship between these two files?
Thanks in advance
The default location for the ISC DHCPD service is '/etc/dhcpd.conf'.
phpDHCPAdmin creates its own dhcpd.conf file within the installation folder.
(IE /var/www/html/phpDHCPAdmin-0.9.5-beta/conf/dhcpd.conf).
By using a scheduled task helper we eliminate the need for a permissions
change prior to restarting the dhcpd service.
First thanks for you answer
Sorry, but I do not understand how this application works
In centos5.5 I have a dhcp server that works fine, then I would like to use
phpdhcpadmin to modify server configuration but I cann't. I begin with basic
configuration, I try add a Pool and show this error: "An error occured while
validating fields, review details below: Router field is invalid", then I put
the value 192.168.0.1 but when I try add then shows the same error.
is it possible don't work in centos5.5?
That sounds like a bug.
You are using 0.9.5-beta right?
192.168.0.1 is a valid IPv4 address.
I could not reproduce the error here so I am going to need some more
information.
I need to know the contents of a file. The file I need to know about is in the
'scripts/classes/' folder.
The file is 'class.validation.php'. On line 99 there is a bit of code
referring to the ValidateIPv4() function. It should read as follows:
Please verify your matches the code fragment above.
Yes I am using 0.9.5-beta
I think that this error occurs because the "Allow/Deny:" field is assigned to
the "Router " field.
When I try add a pool:
Pool Name: test
Scope Range Start: 192.168.0.110
Scope Range End: 192.168.0.120
DNS Server 1: 80.58.0.33
DNS Server 2: 80.58.61.250
Allow/Deny: Deny
Allow/Deny Option List: Unkown-clients
show me the next error: "An error occured while validating fields, review
details below: Router field is invalid"
then I expand "Need some extra pool options?" and I see "deny" in Router field
, but if I change the value in "Allow/Deny" to Allow and I press add button
show me the same error but when I expand "Need some extra pool options?" I see
"Allow" in Router field
I tested this morning the 0.9.5-beta version again and I found because I
cann't add a pool
in line 160 of manage.pools.php file there is:
$router =// $_POST;
I deleted // , now is $router = $_POST; and add a pool works fine
after I want to add a subnet with this value
Subnet Name: net1
Subnet: 192.168.0.0
Subnet Mask: 255.255.255.0
DNS Server 1: 192.168.0.1
DNS Server 2: 80.58.0.33
Router: 192.168.0.1
Scope Range Start: 192.168.0.25
Scope Range End 192.168.0.50
and give me other error
There was a problem inserting the new record.
Please, do you know why give me this error ?