phpdhcpadmin-support Mailing List for phpDHCPAdmin
Manage your ISC DHCPD service
Brought to you by:
jgerfen
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(7) |
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jason G. <jas...@gm...> - 2011-07-24 22:34:39
|
The problem is in the global configuration. Change $defined['hostname']='localhost'; To either a valid domain server name or an ip address which hosts the phpDHCPAdmin application. Then simply point your browser to the same URL such as http://www.domain.com/phpDHCPAdmin/ or http://192.168.1.1/phpDHCPAdmin. This seems to be a problem for quite a few people but is well documented in the wiki and other mailing list posts. The next revision will address this as well. 2011/7/24 <php...@li...>: > As list administrator, your authorization is requested for the > following mailing list posting: > > List: Php...@li... > From: hx...@ho... > Subject: phpDHCPAdmin installnaltion problem > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/phpdhcpadmin-support > > to approve or deny the request. > > > ---------- Forwarded message ---------- > From: "henry" <hx...@ho...> > To: <php...@li...> > Date: Sun, 24 Jul 2011 23:29:16 +0800 > Subject: phpDHCPAdmin installnaltion problem > hi, expert > > Recently I set up a DHCP server , I want to configure the phpDHCPAdmin get the easy to management, > > my system info: > > centos: 5.5 32-bit > php 5.2 > mysql –5.6 > > I set up the all the steps follow the documents, but when I point it access in firefox there is have no any display, I created the phpDHCPAdmin databases by manually in mysql command to import, > > there is inc.config.php > > <?PHP > > /* > * phpDHCPAdmin > * Jason Gerfen [jas...@gm...] > * > * inc.config.php - Pre-defined global variables > */ > > // database configuration > $defined['hostname'] = "localhost"; > $defined['dbhost'] = "localhost"; > $defined['username'] = "root"; > $defined['password'] = "talent"; > $defined['dbname'] = "phpDHCPAdmin"; > > // support & log notification email addresses > $defined['mail'] = ""; > > // application path information > $defined['virpath'] = "/var/www/html/phpDHCPAdmin-0.9.5-beta"; > > // this folder needs write permissions > // also used for temporary file writes and dhcpd.conf > $defined['confpath'] = $defined['virpath'] . "conf/"; > > // path to the dhcpd.leases file this allows > // lease management if permissions allow (write access) > $defined['leases'] = $defined['confpath'] . "dhcpd.leases"; > > // title and copyright information > $defined['title'] = "phpDHCPAdmin-0.9.5-beta"; > $defined['description'] = "Manage the ISC DHCPD service"; > > // if this is removed the GPL license is out of compliance > // please refer to the LICENSE file regarding GPL licensing > $defined['disclaimer'] = "All rights reserved 2008 ® Jason Gerfen"; > > // default error and success images used for messages > $defined['error'] = "templates/images/error.gif"; > $defined['good'] = "templates/images/good.jpg"; > $defined['error_small'] = "templates/images/error-small.gif"; > > // path for application templates > $defined['templates'] = "templates"; > > // enable debugging support? > $defined['debug'] = "FALSE"; > > // where is the dhcpd service service restart inet/inetd script? > $defined['dhcpd_cmd'] = "/usr/sbin/dhcpd -cf " . $defined['confpath'] . "dhcpd.conf -lf " . $defined['leases']; > $defined['dhcpd_tst'] = "/usr/sbin/dhcpd -t -cf " . $defined['confpath'] . "dhcpd.test -lf " . $defined['leases'] . " >> log"; > > // a few network and log parsing commands > // (these are used to gather statistical info for graphing and process status) > $defined['netstat'] = "/bin/netstat"; > $defined['ifconfig'] = "/sbin/ifconfig"; > $defined['tail'] = "/bin/tail"; > $defined['ps'] = "/bin/ps"; > > // authentication timeout 1800 seconds = 30 minutes > $defined['timeout'] = "1800"; > > // data used with session authentication token (do NOT modify) > $defined['enckeygen'] = $defined['virpath'] . "templates/images/shared/"; > > // include our class files > require 'inc.libraries.php'; > > // include our error codes > require 'inc.errors.php'; > > ?> > > > the apache error report that: > > [Mon Jul 25 07:09:19 2011] [error] [client 192.168.111.1] PHP Fatal error: Call to a member function GenerateErrorLink() on a non-object in /var/www/html/phpDHCPAdmin-0.9.5-beta/index.php on line 258 > > > there is the index.php resource code about part of the line 257-259, I’m not familiar with PHP code, may be there is something wrong with the call function, > > 257 // Possible XSS attack > 258 $ERROR = $err->GenerateErrorLink( "help/help.html", "#undef", $defined['error'], $errors['xss_config'], NULL, NULL ); > 259 } > > could you please give me some suggestions? > > thanks > -henry > > > ---------- Forwarded message ---------- > From: php...@li... > To: > Date: > Subject: confirm 1d73270992876ef674bf928e14e1d16444cceb23 > If you reply to this message, keeping the Subject: header intact, > Mailman will discard the held message. Do this if the message is > spam. If you reply to this message and include an Approved: header > with the list password in it, the message will be approved for posting > to the list. The Approved: header can also appear in the first line > of the body of the reply. > -- Jason Gerfen jas...@gm... http://www.github.com/jas- http://phpdhcpadmin.sourceforge.net |
From: henry <hx...@ho...> - 2011-07-24 15:29:24
|
hi, expert Recently I set up a DHCP server , I want to configure the phpDHCPAdmin get the easy to management, my system info: centos: 5.5 32-bit php 5.2 mysql 5.6 I set up the all the steps follow the documents, but when I point it access in firefox there is have no any display, I created the phpDHCPAdmin databases by manually in mysql command to import, there is inc.config.php <?PHP /* * phpDHCPAdmin * Jason Gerfen [jas...@gm...] * * inc.config.php - Pre-defined global variables */ // database configuration $defined['hostname'] = "localhost"; $defined['dbhost'] = "localhost"; $defined['username'] = "root"; $defined['password'] = "talent"; $defined['dbname'] = "phpDHCPAdmin"; // support & log notification email addresses $defined['mail'] = ""; // application path information $defined['virpath'] = "/var/www/html/phpDHCPAdmin-0.9.5-beta"; // this folder needs write permissions // also used for temporary file writes and dhcpd.conf $defined['confpath'] = $defined['virpath'] . "conf/"; // path to the dhcpd.leases file this allows // lease management if permissions allow (write access) $defined['leases'] = $defined['confpath'] . "dhcpd.leases"; // title and copyright information $defined['title'] = "phpDHCPAdmin-0.9.5-beta"; $defined['description'] = "Manage the ISC DHCPD service"; // if this is removed the GPL license is out of compliance // please refer to the LICENSE file regarding GPL licensing $defined['disclaimer'] = "All rights reserved 2008 ® Jason Gerfen"; // default error and success images used for messages $defined['error'] = "templates/images/error.gif"; $defined['good'] = "templates/images/good.jpg"; $defined['error_small'] = "templates/images/error-small.gif"; // path for application templates $defined['templates'] = "templates"; // enable debugging support? $defined['debug'] = "FALSE"; // where is the dhcpd service service restart inet/inetd script? $defined['dhcpd_cmd'] = "/usr/sbin/dhcpd -cf " . $defined['confpath'] . "dhcpd.conf -lf " . $defined['leases']; $defined['dhcpd_tst'] = "/usr/sbin/dhcpd -t -cf " . $defined['confpath'] . "dhcpd.test -lf " . $defined['leases'] . " >> log"; // a few network and log parsing commands // (these are used to gather statistical info for graphing and process status) $defined['netstat'] = "/bin/netstat"; $defined['ifconfig'] = "/sbin/ifconfig"; $defined['tail'] = "/bin/tail"; $defined['ps'] = "/bin/ps"; // authentication timeout 1800 seconds = 30 minutes $defined['timeout'] = "1800"; // data used with session authentication token (do NOT modify) $defined['enckeygen'] = $defined['virpath'] . "templates/images/shared/"; // include our class files require 'inc.libraries.php'; // include our error codes require 'inc.errors.php'; ?> the apache error report that: [Mon Jul 25 07:09:19 2011] [error] [client 192.168.111.1] PHP Fatal error: Call to a member function GenerateErrorLink() on a non-object in /var/www/html/phpDHCPAdmin-0.9.5-beta/index.php on line 258 there is the index.php resource code about part of the line 257-259, I’m not familiar with PHP code, may be there is something wrong with the call function, 257 // Possible XSS attack 258 $ERROR = $err->GenerateErrorLink( "help/help.html", "#undef", $defined['error'], $errors['xss_config'], NULL, NULL ); 259 } could you please give me some suggestions? thanks -henry |
From: Jason G. <jas...@gm...> - 2010-06-26 00:43:36
|
No problem, in order to get more information regarding errors you can add the following to the inc.config.php file... error_reporting(E_ERROR); ini_set('display_errors',1); That should give you some more information so we can get it running for your environment... I would also recommend using the forums vs. the mailing list for this project as I have had problems with it in the past. forums: http://sourceforge.net/projects/phpdhcpadmin/forums/forum/888977 -- Jason Gerfen jas...@gm... ~ tomorrow ain't promised so we live for today |
From: Uef K. <uef...@gm...> - 2010-05-21 06:42:26
|
Kind thoughts! When plan to add function of loading of existing configuration files? -- ___,,,^..^,,,___ |
From: Jason G. <jas...@gm...> - 2009-11-27 20:02:17
|
Why would you need to call me? If you are looking for support in regards to the phpDHCPAdmin application I would suggest you read the setup and configuration documents in order to get the software running on your server. As I stated before you will need the ISC DHCPD service, a TFTP service and a running LAMP server to utilize this application. Here is a help system I have put up to assist you: http://sourceforge.net/apps/mediawiki/phpdhcpadmin/index.php?title=Main_Page On Wed, Nov 25, 2009 at 7:44 PM, Linford Fevrier <lfe...@he...>wrote: > Thanks Jason - what’s your telephone number please. Can I call you > > > > Linford > > > ------------------------------ > > *From:* Jason Gerfen [mailto:jas...@gm...] > *Sent:* Monday, November 23, 2009 1:32 PM > *To:* Linford Fevrier > *Subject:* Re: [Phpdhcpadmin-support] (no subject) > > > > any linux operating system on any hardware with dhcpd, tftp and if you wish > to manage it with the phpDHCPAdmin software you can do that. > > On Wed, Nov 18, 2009 at 9:06 AM, Linford Fevrier <lfe...@he...> > wrote: > > Hello > > I am starting a Wireless Internet project, and using for the CMTS the > Terayon 3230/ 3240 bundle. I am in need of a > > Subscriber Manager Network Server to managers subscribers as well as to > provide management for DHCP, TFTP, TOD. > > What software can I use for this. What hardware do I require. Can the > Sourceforge software be used . > > > > Thanks > > > > Linford > > > > * * > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Phpdhcpadmin-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpdhcpadmin-support > > > > > -- > Jason Gerfen > jas...@gm... > > ~ tomorrow ain't promised so we live for today > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.425 / Virus Database: 270.14.76/2517 - Release Date: 11/21/09 > 07:47:00 > -- Jason Gerfen jas...@gm... ~ tomorrow ain't promised so we live for today |
From: Poge S. <po...@ob...> - 2009-11-23 17:23:09
|
What's the recommended procedure for upgrading from 0.9.4 to 0.9.5? TIA. psmit |
From: Linford F. <lfe...@he...> - 2009-11-18 17:31:47
|
Hello I am starting a Wireless Internet project, and using for the CMTS the Terayon 3230/ 3240 bundle. I am in need of a Subscriber Manager Network Server to managers subscribers as well as to provide management for DHCP, TFTP, TOD. What software can I use for this. What hardware do I require. Can the Sourceforge software be used . Thanks Linford |
From: Linford F. <lfe...@he...> - 2009-11-18 16:33:34
|
Hello I am starting a Wireless Internet project, and using for the CMTS the Terayon 3230/ 3240 bundle. I am in need of a Subscriber Manager Network Server to managers subscribers as well as to provide management for DHCP, TFTP, TOD. What software can I use for this. What hardware do I require. Can the Sourceforge software be used . Thanks Linford |
From: Poge S. <po...@ob...> - 2009-10-12 15:35:15
|
Can't seem to import the phpDHCPAdmin-0.9.4-beta.sql file. Keep getting a syntax error. Any tips for successful import of the files for the tables? Kind regards, psmit |
From: Matej <ma...@ma...> - 2009-08-11 11:31:14
|
Hi, this information may be useful to someone: in the README file there is text "3. Point any web browser to the newly installed application and login with the user 'admin' and no password." but for the first login the default (after installation) user/pass pair is admin / phpdhcpadmin as currently set in the SQL file. Have a nice day, Matej |
From: Jason G. <jas...@gm...> - 2009-08-11 11:11:43
|
On Tue, Aug 11, 2009 at 5:03 AM, Matej <ma...@ma...> wrote: > Hi Jason, > > thanks for a quick reply. Of course I did not set the hostname variable in > the inc.config.php configuration file. :-) > If you set the hostname of the webserver this application is installed on you may wish to use the IP address vs. the hostname. Ideally the checks that are prompting that error have to do with the $_SERVER['SERVER_NAME'] super-global within PHP. A simple method of checking to see that you have indeed configured the $defined['hostname'] correctly you can rely on either phpinfo() or simply add a line at the top of the index.php script which says "print_r( $_SERVER );". There will be a variable within this global array indicating the actual hostname/IP address of your webserver which is what you want to set the $defined['hostname'] directive to. Also, if you could not email me directly as this involves support for the application others may need to utilize this information. So please post to the php...@li... mailing list. Hope this helps. > > Thank you again, > Matej > > ----- Original Message ----- > *From:* Jason Gerfen <jas...@gm...> > *To:* Matej <ma...@ma...> > *Cc:* php...@li... > *Sent:* Tuesday, August 11, 2009 12:47 PM > *Subject:* Re: [Phpdhcpadmin-support] Call to a member function > GenerateErrorLink on a non-object > > > > On Tue, Aug 11, 2009 at 4:20 AM, Matej <ma...@ma...> wrote: > >> Hi, >> >> I have just unpacked the script and after trying to open index.php file I >> get the following error message: >> Fatal error: Call to a member function GenerateErrorLink() on a non-object >> in /usr/local/apache2/htdocs/index.php on line 164 >> >> I think that object $err should exist, since I did not change anything in >> the code. >> > I should make the errors easier to dissect. Currently there is not a setup > script to walk you through configuration but if you simply edit the > 'inc.config.php' script to work with your local web and mysql server it will > bring you to the login screen. > > Let me know if you have any questions. It looks like the wiki service > sourceforge had integrated is no longer available which contained > documentation for this project. Until I get that back up you may wish to > utilize the inline comments within the inc.config.php to assist you better > understanding the configuration directives. > > Hope this helps. > >> >> Thanks for any help and ideas in advance. >> Matej >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Phpdhcpadmin-support mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpdhcpadmin-support >> > > > > -- > Jason Gerfen > jas...@gm... > > ~ tomorrow ain't promised so we live for today > > -- Jason Gerfen jas...@gm... ~ tomorrow ain't promised so we live for today |
From: Matej <ma...@ma...> - 2009-08-11 11:03:50
|
Hi Jason, thanks for a quick reply. Of course I did not set the hostname variable in the inc.config.php configuration file. :-) Thank you again, Matej ----- Original Message ----- From: Jason Gerfen To: Matej Cc: php...@li... Sent: Tuesday, August 11, 2009 12:47 PM Subject: Re: [Phpdhcpadmin-support] Call to a member function GenerateErrorLink on a non-object On Tue, Aug 11, 2009 at 4:20 AM, Matej <ma...@ma...> wrote: Hi, I have just unpacked the script and after trying to open index.php file I get the following error message: Fatal error: Call to a member function GenerateErrorLink() on a non-object in /usr/local/apache2/htdocs/index.php on line 164 I think that object $err should exist, since I did not change anything in the code. I should make the errors easier to dissect. Currently there is not a setup script to walk you through configuration but if you simply edit the 'inc.config.php' script to work with your local web and mysql server it will bring you to the login screen. Let me know if you have any questions. It looks like the wiki service sourceforge had integrated is no longer available which contained documentation for this project. Until I get that back up you may wish to utilize the inline comments within the inc.config.php to assist you better understanding the configuration directives. Hope this helps. Thanks for any help and ideas in advance. Matej ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Phpdhcpadmin-support mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpdhcpadmin-support -- Jason Gerfen jas...@gm... ~ tomorrow ain't promised so we live for today |
From: Jason G. <jas...@gm...> - 2009-08-11 10:48:00
|
On Tue, Aug 11, 2009 at 4:20 AM, Matej <ma...@ma...> wrote: > Hi, > > I have just unpacked the script and after trying to open index.php file I > get the following error message: > Fatal error: Call to a member function GenerateErrorLink() on a non-object > in /usr/local/apache2/htdocs/index.php on line 164 > > I think that object $err should exist, since I did not change anything in > the code. > I should make the errors easier to dissect. Currently there is not a setup script to walk you through configuration but if you simply edit the 'inc.config.php' script to work with your local web and mysql server it will bring you to the login screen. Let me know if you have any questions. It looks like the wiki service sourceforge had integrated is no longer available which contained documentation for this project. Until I get that back up you may wish to utilize the inline comments within the inc.config.php to assist you better understanding the configuration directives. Hope this helps. > > Thanks for any help and ideas in advance. > Matej > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Phpdhcpadmin-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpdhcpadmin-support > -- Jason Gerfen jas...@gm... ~ tomorrow ain't promised so we live for today |
From: Matej <ma...@ma...> - 2009-08-11 10:38:42
|
Hi, I have just unpacked the script and after trying to open index.php file I get the following error message: Fatal error: Call to a member function GenerateErrorLink() on a non-object in /usr/local/apache2/htdocs/index.php on line 164 I think that object $err should exist, since I did not change anything in the code. Thanks for any help and ideas in advance. Matej |
From: Jason G. <jas...@gm...> - 2009-08-10 15:42:02
|
> Hello, > I have recently implemented an installation of your phpDHCPAdmin and have found it to be great. I did a > slight bit of modification to allow multiple subnets to be hosted over a single interface and everything runs > smoothly. What I am having problems with is the login/logout and the user count on the left side. I’ll try and > explain my issue as thoroughly as I can. > I can log into the website and make all needed changes. If I spend more than 20-30 minutes on one page > (I.E. entering hosts) it will kick me back to the login page and I will have to log in again if I want to continue > usage. Additionally the User online count does not decrease, even if the user clicks on the “Logout” button. > I have to manually remove them from the database. > Is there any fix for this? That would be very helpful and much appreciated. > Andy Without making modifications you could have created multiple subnets, the created one shared-network and assigned those subnets to it which in turn allows each subnet to send/recieve dhcp requests via the one interface. Currently it does prevent/limit the creation of new subnets based on a list of current interfaces on the machine so by disabling this check you probably got what you wanted. The sessions expire based on the timeout variable in the inc.config.php file. The session information should be removed on logout, if not I may need to address this. -- Jas |
From: Andy A. <aa...@es...> - 2009-08-10 15:23:02
|
Hello, I have recently implemented an installation of your phpDHCPAdmin and have found it to be great. I did a slight bit of modification to allow multiple subnets to be hosted over a single interface and everything runs smoothly. What I am having problems with is the login/logout and the user count on the left side. I'll try and explain my issue as thoroughly as I can. I can log into the website and make all needed changes. If I spend more than 20-30 minutes on one page (I.E. entering hosts) it will kick me back to the login page and I will have to log in again if I want to continue usage. Additionally the User online count does not decrease, even if the user clicks on the "Logout" button. I have to manually remove them from the database. Is there any fix for this? That would be very helpful and much appreciated. Andy |