initial commit of file from CVS for smeserver-dhcpmanager on Sat Sep 7 19:51:44 AEST 2024
This commit is contained in:
parent
c74767858a
commit
f510f789c6
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
||||||
|
*.tar.gz
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Makefile for source rpm: smeserver-dhcpmanager
|
||||||
|
# $Id: Makefile,v 1.1 2020/10/12 14:41:58 brianr Exp $
|
||||||
|
NAME := smeserver-dhcpmanager
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
14
README.md
14
README.md
@ -1,3 +1,15 @@
|
|||||||
# smeserver-dhcpmanager
|
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-dhcpmanager
|
||||||
|
|
||||||
SMEServer Koozali developed git repo for smeserver-dhcpmanager smecontribs
|
SMEServer Koozali developed git repo for smeserver-dhcpmanager smecontribs
|
||||||
|
|
||||||
|
## Wiki
|
||||||
|
<br />https://wiki.koozali.org/Dhcpmanager
|
||||||
|
|
||||||
|
## Bugzilla
|
||||||
|
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-dhcpmanager&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||||
|
*Once it has been checked, then this comment will be deleted*
|
||||||
|
<br />
|
||||||
|
44
additional/CHANGELOG.git
Normal file
44
additional/CHANGELOG.git
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
commit 32e8789987dd6d89bbb42ad185093498bca89604
|
||||||
|
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||||
|
Date: Wed Aug 12 22:53:07 2015 +0200
|
||||||
|
|
||||||
|
* Wed Aug 12 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-2.0-1.sme
|
||||||
|
-Translations added
|
||||||
|
-new WebUI
|
||||||
|
|
||||||
|
commit 1994a7fb43151918a6b3df2ab6418333fdaa357e
|
||||||
|
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||||
|
Date: Sat May 24 07:53:25 2014 +0200
|
||||||
|
|
||||||
|
+for my $event (qw(conf-dhcpmanager))
|
||||||
|
|
||||||
|
commit c18e05a7168bd2e0303c3cc3930e7d94a20c2a8f
|
||||||
|
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||||
|
Date: Sun May 18 15:46:19 2014 +0200
|
||||||
|
|
||||||
|
adapted dhcpd.leases field to fill the ip table
|
||||||
|
|
||||||
|
commit 0154e031e4f38e335b044db924161c800e350c96
|
||||||
|
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||||
|
Date: Sun May 18 14:17:21 2014 +0200
|
||||||
|
|
||||||
|
* Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-12
|
||||||
|
- First release to sme9
|
||||||
|
|
||||||
|
commit e5d6cec17417efd30df0e34b32556828e56dc608
|
||||||
|
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||||
|
Date: Sat Mar 29 17:26:51 2014 +0100
|
||||||
|
|
||||||
|
patch removed to be compatible with git behaviour
|
||||||
|
|
||||||
|
commit 226444f78be2905c2f8245e31f4661f696e80425
|
||||||
|
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||||
|
Date: Fri Mar 28 20:53:49 2014 +0100
|
||||||
|
|
||||||
|
initial release
|
||||||
|
|
||||||
|
commit ee9afd2cf74635d13613eeb6da1e15a12461de23
|
||||||
|
Author: Stéphane de Labrusse <stephdl@de-labrusse.fr>
|
||||||
|
Date: Fri Mar 28 12:07:40 2014 -0700
|
||||||
|
|
||||||
|
Initial commit
|
340
additional/COPYING
Normal file
340
additional/COPYING
Normal file
@ -0,0 +1,340 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
License is intended to guarantee your freedom to share and change free
|
||||||
|
software--to make sure the software is free for all its users. This
|
||||||
|
General Public License applies to most of the Free Software
|
||||||
|
Foundation's software and to any other program whose authors commit to
|
||||||
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
|
These restrictions translate to certain responsibilities for you if you
|
||||||
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
|
you have. You must make sure that they, too, receive or can get the
|
||||||
|
source code. And you must show them these terms so they know their
|
||||||
|
rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
software. If the software is modified by someone else and passed on, we
|
||||||
|
want its recipients to know that what they have is not the original, so
|
||||||
|
that any problems introduced by others will not reflect on the original
|
||||||
|
authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
|
program will individually obtain patent licenses, in effect making the
|
||||||
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains
|
||||||
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
|
under the terms of this General Public License. The "Program", below,
|
||||||
|
refers to any such program or work, and a "work based on the Program"
|
||||||
|
means either the Program or any derivative work under copyright law:
|
||||||
|
that is to say, a work containing the Program or a portion of it,
|
||||||
|
either verbatim or with modifications and/or translated into another
|
||||||
|
language. (Hereinafter, translation is included without limitation in
|
||||||
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running the Program is not restricted, and the output from the Program
|
||||||
|
is covered only if its contents constitute a work based on the
|
||||||
|
Program (independent of having been made by running the Program).
|
||||||
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
|
source code as you receive it, in any medium, provided that you
|
||||||
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
|
notices that refer to this License and to the absence of any warranty;
|
||||||
|
and give any other recipients of the Program a copy of this License
|
||||||
|
along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
|
of it, thus forming a work based on the Program, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in
|
||||||
|
whole or in part contains or is derived from the Program or any
|
||||||
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
|
parties under the terms of this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively
|
||||||
|
when run, you must cause it, when started running for such
|
||||||
|
interactive use in the most ordinary way, to print or display an
|
||||||
|
announcement including an appropriate copyright notice and a
|
||||||
|
notice that there is no warranty (or else, saying that you provide
|
||||||
|
a warranty) and that users may redistribute the program under
|
||||||
|
these conditions, and telling the user how to view a copy of this
|
||||||
|
License. (Exception: if the Program itself is interactive but
|
||||||
|
does not normally print such an announcement, your work based on
|
||||||
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Program,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program
|
||||||
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
|
under Section 2) in object code or executable form under the terms of
|
||||||
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
|
source code, which must be distributed under the terms of Sections
|
||||||
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three
|
||||||
|
years, to give any third party, for a charge no more than your
|
||||||
|
cost of physically performing source distribution, a complete
|
||||||
|
machine-readable copy of the corresponding source code, to be
|
||||||
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer
|
||||||
|
to distribute corresponding source code. (This alternative is
|
||||||
|
allowed only for noncommercial distribution and only if you
|
||||||
|
received the program in object code or executable form with such
|
||||||
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For an executable work, complete source
|
||||||
|
code means all the source code for all modules it contains, plus any
|
||||||
|
associated interface definition files, plus the scripts used to
|
||||||
|
control compilation and installation of the executable. However, as a
|
||||||
|
special exception, the source code distributed need not include
|
||||||
|
anything that is normally distributed (in either source or binary
|
||||||
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering
|
||||||
|
access to copy from a designated place, then offering equivalent
|
||||||
|
access to copy the source code from the same place counts as
|
||||||
|
distribution of the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
|
except as expressly provided under this License. Any attempt
|
||||||
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
|
void, and will automatically terminate your rights under this License.
|
||||||
|
However, parties who have received copies, or rights, from you under
|
||||||
|
this License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Program or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Program (or any work based on the
|
||||||
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
|
Program), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
|
these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties to
|
||||||
|
this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Program at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Program by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system, which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Program under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding
|
||||||
|
those countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any
|
||||||
|
later version", you have the option of following the terms and conditions
|
||||||
|
either of that version or of any later version published by the Free
|
||||||
|
Software Foundation. If the Program does not specify a version number of
|
||||||
|
this License, you may choose any version ever published by the Free Software
|
||||||
|
Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
|
programs whose distribution conditions are different, write to the author
|
||||||
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
|
of preserving the free status of all derivatives of our free software and
|
||||||
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
convey the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) 19yy <name of author>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this
|
||||||
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||||
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, the commands you use may
|
||||||
|
be called something other than `show w' and `show c'; they could even be
|
||||||
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your
|
||||||
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
|
<signature of Ty Coon>, 1 April 1989
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into
|
||||||
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
|
consider it more useful to permit linking proprietary applications with the
|
||||||
|
library. If this is what you want to do, use the GNU Library General
|
||||||
|
Public License instead of this License.
|
339
additional/LICENSE
Normal file
339
additional/LICENSE
Normal file
@ -0,0 +1,339 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
License is intended to guarantee your freedom to share and change free
|
||||||
|
software--to make sure the software is free for all its users. This
|
||||||
|
General Public License applies to most of the Free Software
|
||||||
|
Foundation's software and to any other program whose authors commit to
|
||||||
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
|
the GNU Lesser General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
|
These restrictions translate to certain responsibilities for you if you
|
||||||
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
|
you have. You must make sure that they, too, receive or can get the
|
||||||
|
source code. And you must show them these terms so they know their
|
||||||
|
rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
software. If the software is modified by someone else and passed on, we
|
||||||
|
want its recipients to know that what they have is not the original, so
|
||||||
|
that any problems introduced by others will not reflect on the original
|
||||||
|
authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
|
program will individually obtain patent licenses, in effect making the
|
||||||
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains
|
||||||
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
|
under the terms of this General Public License. The "Program", below,
|
||||||
|
refers to any such program or work, and a "work based on the Program"
|
||||||
|
means either the Program or any derivative work under copyright law:
|
||||||
|
that is to say, a work containing the Program or a portion of it,
|
||||||
|
either verbatim or with modifications and/or translated into another
|
||||||
|
language. (Hereinafter, translation is included without limitation in
|
||||||
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running the Program is not restricted, and the output from the Program
|
||||||
|
is covered only if its contents constitute a work based on the
|
||||||
|
Program (independent of having been made by running the Program).
|
||||||
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
|
source code as you receive it, in any medium, provided that you
|
||||||
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
|
notices that refer to this License and to the absence of any warranty;
|
||||||
|
and give any other recipients of the Program a copy of this License
|
||||||
|
along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
|
of it, thus forming a work based on the Program, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in
|
||||||
|
whole or in part contains or is derived from the Program or any
|
||||||
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
|
parties under the terms of this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively
|
||||||
|
when run, you must cause it, when started running for such
|
||||||
|
interactive use in the most ordinary way, to print or display an
|
||||||
|
announcement including an appropriate copyright notice and a
|
||||||
|
notice that there is no warranty (or else, saying that you provide
|
||||||
|
a warranty) and that users may redistribute the program under
|
||||||
|
these conditions, and telling the user how to view a copy of this
|
||||||
|
License. (Exception: if the Program itself is interactive but
|
||||||
|
does not normally print such an announcement, your work based on
|
||||||
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Program,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program
|
||||||
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
|
under Section 2) in object code or executable form under the terms of
|
||||||
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
|
source code, which must be distributed under the terms of Sections
|
||||||
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three
|
||||||
|
years, to give any third party, for a charge no more than your
|
||||||
|
cost of physically performing source distribution, a complete
|
||||||
|
machine-readable copy of the corresponding source code, to be
|
||||||
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer
|
||||||
|
to distribute corresponding source code. (This alternative is
|
||||||
|
allowed only for noncommercial distribution and only if you
|
||||||
|
received the program in object code or executable form with such
|
||||||
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For an executable work, complete source
|
||||||
|
code means all the source code for all modules it contains, plus any
|
||||||
|
associated interface definition files, plus the scripts used to
|
||||||
|
control compilation and installation of the executable. However, as a
|
||||||
|
special exception, the source code distributed need not include
|
||||||
|
anything that is normally distributed (in either source or binary
|
||||||
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering
|
||||||
|
access to copy from a designated place, then offering equivalent
|
||||||
|
access to copy the source code from the same place counts as
|
||||||
|
distribution of the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
|
except as expressly provided under this License. Any attempt
|
||||||
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
|
void, and will automatically terminate your rights under this License.
|
||||||
|
However, parties who have received copies, or rights, from you under
|
||||||
|
this License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Program or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Program (or any work based on the
|
||||||
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
|
Program), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
|
these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties to
|
||||||
|
this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Program at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Program by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system, which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Program under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding
|
||||||
|
those countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any
|
||||||
|
later version", you have the option of following the terms and conditions
|
||||||
|
either of that version or of any later version published by the Free
|
||||||
|
Software Foundation. If the Program does not specify a version number of
|
||||||
|
this License, you may choose any version ever published by the Free Software
|
||||||
|
Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
|
programs whose distribution conditions are different, write to the author
|
||||||
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
|
of preserving the free status of all derivatives of our free software and
|
||||||
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
convey the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
{description}
|
||||||
|
Copyright (C) {year} {fullname}
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along
|
||||||
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this
|
||||||
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, the commands you use may
|
||||||
|
be called something other than `show w' and `show c'; they could even be
|
||||||
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your
|
||||||
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
|
{signature of Ty Coon}, 1 April 1989
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into
|
||||||
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
|
consider it more useful to permit linking proprietary applications with the
|
||||||
|
library. If this is what you want to do, use the GNU Lesser General
|
||||||
|
Public License instead of this License.
|
2
additional/README.md
Normal file
2
additional/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
smeserver-dhcpmanager
|
||||||
|
=====================
|
86
additional/smeserver-dhcpmanager.spec
Normal file
86
additional/smeserver-dhcpmanager.spec
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
%define name smeserver-dhcpmanager
|
||||||
|
%define version 2.0
|
||||||
|
%define release 1
|
||||||
|
|
||||||
|
Summary: provide a dhcp panel in the server-manager for The SME Server
|
||||||
|
Name: %{name}
|
||||||
|
Version: %{version}
|
||||||
|
Release: %{release}%{?dist}
|
||||||
|
Source: %{name}-%{version}.tar.gz
|
||||||
|
License: GNU GPL version 2
|
||||||
|
URL: http://www.contribs.org
|
||||||
|
Group: SMEserver/addon
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||||
|
#Prefix: %{_prefix}
|
||||||
|
BuildArchitectures: noarch
|
||||||
|
BuildRequires: e-smith-devtools
|
||||||
|
Requires: e-smith-release >= 9.0
|
||||||
|
Requires: net-tools
|
||||||
|
Requires: nmap >= 2:6.25
|
||||||
|
AutoReqProv: no
|
||||||
|
|
||||||
|
%description
|
||||||
|
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc//
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Aug 12 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-2.0-1.sme
|
||||||
|
-Translations added
|
||||||
|
-new WebUI
|
||||||
|
|
||||||
|
* Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-12
|
||||||
|
- First release to sme9
|
||||||
|
|
||||||
|
* Wed Feb 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-11
|
||||||
|
- add default db values and change options to nmap in order to see name of computer
|
||||||
|
|
||||||
|
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10
|
||||||
|
- english wording correction [sme:8122]
|
||||||
|
- change the nmap version to 6.25 (available in smecontribs) [sme:8120]
|
||||||
|
- add an option to remove all leases
|
||||||
|
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP)
|
||||||
|
- some menu setting box redesigned.
|
||||||
|
|
||||||
|
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5
|
||||||
|
- Add a checkIP routine against wrong IP [sme:8015]
|
||||||
|
- Add a new panel to see connected IP [sme:8113]
|
||||||
|
- Add a counter of host up on the LAN (using nmap) [sme:8111]
|
||||||
|
|
||||||
|
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3
|
||||||
|
- adaptation for SME Server 8.0
|
||||||
|
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net>
|
||||||
|
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
%build
|
||||||
|
perl createlinks
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||||
|
rm -f %{name}-%{version}-filelist
|
||||||
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
|
||||||
|
echo "%doc COPYING" >> %{name}-%{version}-filelist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
cd ..
|
||||||
|
rm -rf %{name}-%{version}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%preun
|
||||||
|
|
||||||
|
%post
|
||||||
|
#/etc/e-smith/events/actions/navigation-conf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%postun
|
||||||
|
#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers
|
||||||
|
|
||||||
|
%files -f %{name}-%{version}-filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
|||||||
|
contribs10
|
27
createlinks
Normal file
27
createlinks
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#! /usr/bin/perl -w
|
||||||
|
|
||||||
|
use esmith::Build::CreateLinks qw(:all);
|
||||||
|
|
||||||
|
panel_link("dhcpd", "manager");
|
||||||
|
|
||||||
|
# our event specific for updating with yum without reboot
|
||||||
|
$event = "smeserver-dhcpmanager-update";
|
||||||
|
#add here the path to your templates needed to expand
|
||||||
|
#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
|
||||||
|
|
||||||
|
foreach my $file (qw(
|
||||||
|
/etc/systemd/system-preset/49-koozali.preset
|
||||||
|
))
|
||||||
|
{
|
||||||
|
templates2events( $file, $event );
|
||||||
|
}
|
||||||
|
|
||||||
|
#action needed in case we have a systemd unit
|
||||||
|
event_link("systemd-default", $event, "10");
|
||||||
|
event_link("systemd-reload", $event, "50");
|
||||||
|
|
||||||
|
#action specific to this package
|
||||||
|
#event_link("some event", $event, "30");
|
||||||
|
#services we need to restart
|
||||||
|
#safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/some service");
|
||||||
|
|
1
root/etc/e-smith/db/configuration/defaults/dhcpd/check
Normal file
1
root/etc/e-smith/db/configuration/defaults/dhcpd/check
Normal file
@ -0,0 +1 @@
|
|||||||
|
disabled
|
@ -0,0 +1 @@
|
|||||||
|
disabled
|
@ -0,0 +1 @@
|
|||||||
|
disabled
|
@ -0,0 +1 @@
|
|||||||
|
disabled
|
20
root/etc/e-smith/events/actions/send-message
Executable file
20
root/etc/e-smith/events/actions/send-message
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
# Author Stephen Noble <stephen@dungog.net>
|
||||||
|
# create backup scripts for dungog-USERbackup
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
my $userName = $ARGV [0];
|
||||||
|
my $message = $ARGV [1];
|
||||||
|
chomp $message ;
|
||||||
|
|
||||||
|
# supression de certain caratere indesirable.... liste certainement non exhautisve.
|
||||||
|
$message =~ s/'&|`"\/$^~//g;
|
||||||
|
|
||||||
|
#recreate current disk free
|
||||||
|
|
||||||
|
#system("/bin/echo '$message' | /usr/bin/smbclient -M $userName -U admin >> /var/log/send-massage") ;
|
||||||
|
system("/bin/echo '$message' | /usr/bin/smbclient -M $userName -U admin >> /dev/null") ;
|
||||||
|
|
||||||
|
exit (0);
|
335
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="bg">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>Управление на DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>Управление на DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Настройки на DHCP сървъра</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Покажи DHCP клиентите</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Сканиране на мрежата</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Изпрати глобален Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Винаги проверявай състоянието на компютрите (Изключеното е по-бързо)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Покажи всички устройства свързани към dhcp сървъра:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Сканиране на мрежата за да се покажат активните устройства:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Изпрати глобален WinPopup чрез Net send протокол</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>Състояние на DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>Начало</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>Край</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Включи WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>Aдрес на WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Включи задаване на DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Зададен DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Основен DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Втори DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Трети DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Включи задаване на адрес на шлюза.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Зададен шлюз</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Адрес на шлюза</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Задайте продължителност на lease (стандартно е 86400 секунди).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Потребителско време за отдаване</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>След промяната на настройките по-горе трябва да ги запишете и да рестартирате dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Запис/Рестарт</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>ГРЕШКИ в настройките на DHCPd</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Грешен обхват от IP адреси, началния е по-голям от крайния, актуализацията е неуспешна</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Щракнете тук</a></b> за да се върнете в основния панел]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Грешен обхват от IP адреси, обхватът от адреси не трябва да включва адресът на сървъра, актуализацията е неуспешна</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Грешен IP адрес в DHCP обхвата, актуализацията е неуспешна</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Грешен IP адрес на WINS сървъра, актуализацията е неуспешна</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Грешен IP адрес на DNS сървърите, актуализацията е неуспешна</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Грешен IP адрес на шлюза, актуализацията е неуспешна</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Успешно записани настройки</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Премахване на DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Премахване на елемент в dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>сигурни ли сте?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>Ще премахнете клиент от файла dhcpd.leases.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Успешно изтриване в dhcpd.leases на клиент: </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Събуждане на отдалечен компютър</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>Ще събудите отдалечен компютър.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Сигурни ли сте че искате да събудите клиента:</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Събуди</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Премахване</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Успешно заявено събуждане на клиент. Може да му отнеме известно време на компютъра докато се събуди.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>Всички</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Изпращане на WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>Ще изпратите WinPopup до</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Вашето съобщение</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Напишете съобщението тук</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Искате ли да изпратите съобщение до</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Изпращане на WinPopup до</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Успешно изпратено съобщение WinPopup до</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Внимание, няма гаранция че WinPopup се се покаже на отдалечения компютър.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Управление на DHCP клиенти</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Информация за операцията:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>Може би искате да актуализирате списъка?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Актуализация на списъка</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>Може би искате да почистите dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Премахване на всички leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Мрежово име</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Статус - щракни за събуждане</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Начало</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>Край</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC адрес</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Не е проверен...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Активно устройство</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Събуждане...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Премахване...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>Няма свързани компютри</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Премахване на всички DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Премахването на всички елементи в dhcpd.leases може да създаде проблеми</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>Файлът с lease-ове е журнален файл - когато lease се промени, съдържанието му се записва в края на файла. Това означава че е напълно възможно там да има повече от един запис за един и същи lease във файла по едно и също време. В този случай елемента за този lease, който е последен във файла е този който е действителен.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Успешно изтриване на всички lease-ове.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Премахни всички dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Сканиране на мрежата, времето което е нужно зависи от маската на подмрежата</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Моля, изчакайте ... Подмрежата и маската й би трябвало да са:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Грешка при премахването на всички dhcp lease-ове</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Грешка при запис на настройките</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/da/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/da/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="da">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Opsætning af DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Vis DHCP klienter</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Skan dit netværk</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send global Netsend WinPopUp</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Kontroller altid computernes status (Deaktiver er meget hurtigere)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Vis alle elementer som er koblet på dhcp serveren:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Skan dit netværk for aktive komponenter:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send en global WinPopUp med Net Send protokollen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>Status på DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP slut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Aktiver en WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server adresse</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Aktiver manuel DNS server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Manuel DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primær DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Sekundær DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiær DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Aktiver manuel konfiguration af Gateway adresse.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Manuelt konfigureret Gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway adresse</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Sæt lease tiden (standard er 86400 sekunder)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Tilpas lease periode</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>Efter at have ændret i opsætningen ovenfor, skal du gemme og dernæst genstarte dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Gem/Genstart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd opsætnings FEJL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Fejl i IP intervallet, DHCP start er større end DHCP slut, opdateringen mislykkedes</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Klik her</a></b> for at vende tilbage til forsiden]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Fejl i IP intervallet, IP intervallet må ikke indeholde serverens adresse, opdateringen mislykkedes</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Forkert IP i DHCP intervallet, opdateringen mislykkedes</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Forkert IP for WINS Server, opdateringen mislykkedes</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Forkert IP for DNS server, opdatering mislykkedes</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Forkert IP for Gateway, opdatering mislykkedes</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Opdatering gennemført med succes</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Fjern en DHCP lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Fjern en post i dhcpd leasingerne</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>er du sikker?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>Du er ved at fjerne en klient fra dhcpd lease filen.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Klienten der med succes er fjernet som dhcpd leaser: </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Væk en fjerncomputer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>Du er ved at vække en fjerncomputer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Er du sikker på, at du ønsker at vække klienten:</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Vågn OP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Fjern</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Der er sendt en anmodning om at vække klienten. Computeren skal nok bruge noget tid på at starte op.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>Alle</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sender en WinPopUp</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>Du er ved at sende en WinPopUp til</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Din besked</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Skriv din besked her</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Ønsker du at sende denne besked til</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send en WinPopUp til</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Der er sendt en PopUp besked til</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Advarsel, der er ikke nogen garanti for at PopUp beskeden popper op på modtager pc'en</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Administrer DHCP klienter</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Status rapport:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>Ønsker du at genopfriske denne liste?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Genopfrisk listen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>Du ønsker måske at rense dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Fjern alle leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Netværks navn</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - klik for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start dato</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>Slut dato</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC adresse</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Ikke kontrolleret...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Aktiv komponent</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Vågn op...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Fjern...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopUp...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>Der er ikke tilsluttet nogen computere</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Fjern alle DHCP leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Fjern alle eksisterende dhcpd.leases. Kan medføre problemer</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>Lease filen er en log-struktureret fil - når en lease ændres, skrives indholdet af denne lease nederst i filen. Det betyder at det er sagtens kan være 2 eller flere udgaver af den samme lease i lease filen på samme tid. I så fald, er det informationerne som står nederst i filen som er gældende.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Alle leases er slettet.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Fjern alle dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Skanning af dit netværk; den tid det tager afhænger af din subbet maske</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Vent venligst ... Din subnet og netværks maske ser ud til at være: </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Der opstod en fejl i forbindelse med fjernelse af alle dhcp leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Der opstod en fejl da opsætningen skulle gemmes</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/de/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/de/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="de">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Einstellungen des DHCP Servers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>DHCP Clients anzeigen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scannen Ihres Netzwerks</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Sende globales Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Prüfe immer den Status der Computer (Deaktiviert is viel schneller)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Zeige alle Geräte, die mit dem dhcp Server vebunden sind:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Netzwerk scannen um alle aktiven Geräte anzuzeigen:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Ein globales WinPopup mit dem Net send protocol senden</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>Status des DHCPd</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP Ende</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Einschalten eines WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server Adresse</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Einschalten eines speziellen DNS Servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Speizieller DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primärer DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Sekundärer DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primärer DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Einschalten einer spezieller Gateway Adresse.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Spezielles Gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway Adresse</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Lease Zeit setzen (Standard ist 86400 Sekunden).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Indivduelle Lease Zeit</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>Nach dem Ändern der Einstellungen oben müssen Sie Speichern und dhcpd neu starten.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Sichern/Neustart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Einstellungen FEHLER</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Falscher IP-Bereich, die DHCP Startadresse ist größer als die DHCP Endadresse, Änderung nicht erfolgreich</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Hier klicken</a></b> um zum Hauptmenü zurückzukehren]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ungültiger IP-Adreßbereich, der Bereich der IP-Adressen darf nicht die Adresse des Servers enthalten, Änderungen nicht erfolgreich</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ungültige IP im DHCP Bereich, Änderung nicht erfolgreich</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ungültige IP-Adresse für den WINS Server, Änderung nicht erfolgreich</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ungültige IP-Adresse für die DNS Server, Änderung nicht erfolgreich</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ungültige IP-Adresse für das Gateway, Änderung nicht erfolgreich</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Einstellungen wurden erfolgreich gespeichert</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Entferne ein DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Entferne einen Eintrag aus dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>Sind Sie sicher?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>Sie sind dabei, einen Client aus der dhcpd.leases Datei zu entfernen.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Client erfolgreich aus dhcpd.leases gelöscht: </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Wecke einen entfernten Computer auf</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>Sie sind dabei, einen entfernten Computer aufzuwecken.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Sind Sie sicher, diesen Client mit Wake on LAN aufzuwecken:</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Aufwachen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Entfernen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Erfolgreicher Aufruf des Client-Aufweckens. Der Computer kann eine Weile benötigen, um aufzuwachen.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>Diese alle</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Senden eines WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>Sie sind dabei, ein WinPopup zu senden an</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Ihre Nachricht</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Schreiben Sie Ihre Nachricht hier</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Möchten Sie diese Nachricht senden an</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Schicke eine WinPopup an</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Popup-Nachricht erfolgreich gesendet an</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warnung: es ist nicht gewährleistet, dass das Popup auf dem entfernten Computer angezeigt wird.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Verwalte DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Tätigkeitsstatusbericht:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>Soll diese Liste aufgefrischt angezeigt werden?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Frische diese Liste auf</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>Soll dhcp.leases gesäubert werden</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Entferne alle Leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Netzwerkname</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - Klicken Sie für Wake on LAN</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Anfangszeit</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>Endzeit</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Adresse</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Nicht geprüft...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Aktives Gerät</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Aufwecken...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Entfernen...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>Es gibt keine verbundenen Computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Entferne alle DHCP Leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Das Entfernen aller Einträge aus dhcp.leases kann Probleme hervorrufen</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>Die Lease Datei ist eine log-strukturierte Datei - wann immer eine Lease sich ändert, wird der Inhalt dieses Leases an das Ende der Datei geschrieben. Das bedeutet, daß es möglich ist, daß gleichzeitig zwei oder mehr Einträge desselben Leases in der Datei stehen. In diesem Fall ist die letzte Instanz des Leases in der Datei diejenige, die verwendet wird.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Erfolgreich alle Leases gelöscht.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Entferne alle dhcp Leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanne Ihr Netzwerk, die erforderliche Zeit hängt von der Subnetzmaske ab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Bitte warten... Ihr Subnetz und Netwerkmaske sind anscheinend:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Fehler beim Entfernen aller dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Fehler beim Speichern der Einstellungen</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/el/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/el/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="el">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Διαγραφή</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Το μήνυμα σας</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
340
root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/dhcpd
Normal file
340
root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,340 @@
|
|||||||
|
<lexicon lang="en-us" >
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client : </trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Remove</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Your message</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the
|
||||||
|
contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two
|
||||||
|
or more declarations of the same lease in the lease file at the same
|
||||||
|
time. In that case, the instance of that particular lease that
|
||||||
|
appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
||||||
|
|
335
root/etc/e-smith/locale/es/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/es/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="es">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Eliminar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Mensaje</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/et/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/et/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="et">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Eemalda</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Your message</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="fr">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>Gestionnaire du DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>Gestionnaire du DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Paramètres du serveur DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Voir les clients DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scanner votre réseau</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Envoyer un message Netsend à tout le monde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Toujours vérifier le status des ordinateurs (désactivé est beaucoup plus rapide)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Montrer tous les périphériques connectés aux serveur dhcp : </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanner votre réseaux pour montrer les périphériques actifs :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Envoyer un message avec le protocole Netsend</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>Etat de DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>Début de DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>Fin de DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Activer un serveur Wins</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>Serveur WINS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>Adresse du serveur WINS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Activer des serveurs DNS personnalisés</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>DNS personnalisés</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Premier DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Second DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Troisième DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Activer une passerelle personnalisée</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>passerelle personnalisée</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>adresse de la passerelle</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Définir la durée du bail (par défaut à 86400 secondes).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>durée du bail dhcp</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>Après avoir changé les réglages, vous devez les sauvez et redémarrer dhcpd</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Enregister/redémarrer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>Erreurs de paramètres de DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">La plage d'IP est incorrecte. L'adresse IP du début est supérieure à celle de la fin de la plage, Echec de la mise à jour</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Cliquez ici</a></b> pour retournez au menu principal]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">La plage d'IP est incorrecte, La plage d'IP ne peut pas inclure l'adresse du serveur, Echec de la mise à jour</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Adresse incorrecte dans la plage d'IP, Echec de la mise à jour</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Adresse IP incorrecte pour le serveur WINS, Echec de la mise à jour</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Adresse IP incorrecte pour les serveurs DNS, Echec de la mise à jour</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Adresse IP incorrecte pour la passerelle, Echec de la mise à jour</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Paramètres enregistrés avec succès</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Effacer un bail DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Retirer un bail dhcp dans le dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>Etes vous sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>Vous êtes sur le point de retirer un client du dhcpd.leases.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Le client a été retiré avec succès du dhcpd.leases : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Réveiller un ordinateur distant.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>Vous êtes sur le point de réveiller un ordinateur distant.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Êtes-vous sûr de vouloir réveiller le client par le réseau :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Réveille toi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Supprimer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Demande de réveil du client réussie. L'ordinateur peut prendre du temps pour se réveiller.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>à tout le monde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Envoyer un message</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>Vous êtes sur le point d'envoyer un message à</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Votre message</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Écrivez votre message ici</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Voulez vous envoyer votre message à</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>envoyer un message WinPopup à</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Envoi avec succès du message à</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Attention. Vous n'avez aucune garantie que le message sera affiché sur l'ordinateur distant</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Gérer les clients DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Rapport du statut de l’opération :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>Vous souhaitez actualiser cette liste ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Rafraichir la liste</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>Vous pourriez vouloir nettoyer le dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Effacer tous les baux</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Nom du réseau</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Statut - cliquer pour wol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Date de début</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>Date de fin</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>Adresse Mac</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Non Vérifié...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Périphérique actif</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Réveille toi...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Effacer...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>Message...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>Il n'y a pas d'ordinateurs connectés</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Effacer tous les baux DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Effacer tous les baux du dhcpd.lease peut causer de sérieux problèmes</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>Le fichier de bail dhcp est un fichier journal structuré. A chaque fois qu'un bail change, le contenu de ce bail est écrit à la fin du fichier. Cela signifie qu'il est tout à fait possible qu'il y ait deux ou plusieurs déclarations du même bail dans le fichier en même temps. Dans ce cas, le bail qui apparaît le dernier dans le fichier est celui qui est utilisé.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Le dhcpd.lease a été effacé avec succès.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Effacer tous les baux dhcp</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>En train de scanner votre réseau. Le temps nécessaire dépend du masque de sous-réseau.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Attendez s'il vous plaît... Votre réseau et votre masque de sous-réseau semble être :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Erreur pendant la suppression du dhcpd.lease</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Erreur pendant l'enregistrement des paramètres</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/he/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/he/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="he">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>הסרה</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Your message</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="hu">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Eltávolít</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Az Ön üzenete</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/id/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/id/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="id">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Hapus</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Your message</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/it/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/it/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="it">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Impostazioni del server DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Mostra i client DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Analisi della rete</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Invio di un messaggio WinPopup a tutti i client</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Controlla sempre lo stato dei computer (Disabilitato rende molto più veloce le operazioni)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Mostra tutti i device collegati al server dhcp.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Esame della rete per mostrare i device attivi:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Inviare un messaggio WinPopup globale con il protocollo 'net send'</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>Stato del servizio DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>Indirizzo IP iniziale</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>Indirizzo IP finale</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Abilita server WINS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>Server WINS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>Indirizzo server WINS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Abilita server DNS personalizzato.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>DNS personalizzato</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>DNS primario</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>DNS secondario</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>DNS terziario</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Abilita un gateway personalizzato.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Gateway personalizzato</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Indirizzo del Gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Imposta la durata del lease (default 86400 secondi).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Lease time personalizzato</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>Dopo aver modificato i parametri soprastanti, è necessario salvare e riavviare dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Salva/Riavvia</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>ERRORI nelle impostazioni di DHCPd</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Intervallo di indirizzi IP errato, il valore di inizio dell'intervallo è maggiore di quello di fine; Aggiornamento non eseguito</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click qui</a></b> per tornare al pannello principale]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Intervallo di indirizzi IP errato; l'intervallo non può contenere l'indirizzo IP del server. Aggiornamento non eseguito</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Indirizzo IP errato nell'intervallo di indirizzi DHCP; Aggiornamento non eseguito</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Indirizzo IP del Server WINS errato; aggiornamento non eseguito</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Indirizzo IP del Server DNS errato; aggiornamento non eseguito</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Indirizzo IP del Gateway non corretto; aggiornamento non eseguito</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Impostazioni salvate con successo</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Rimuovi una lease DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Elimina una entry dal file dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>Sei sicuro ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>Si sta per rimuovere un client dal file dhcpd.leases. </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Eliminato con successo dal file dhcpd.leases il client:</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Attivazione di un computer remoto (Wake On Lan) </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>Si sta per attivare un computer remoto. </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Sei sicuro di voler effettuare il wake on lan del client:</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Attiva</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Rimuovi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Richiesta di attivazione remota inviata con successo al client. Il computer remoto può necessitare di tempo per la attivazione.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>Tutti </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Invio di un messaggio WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>Si sta per inviare un messaggio WinPopup a</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Il tuo messaggio</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Scrivi il tuo messaggio qui</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Si vuole inviare questo messaggio a </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Invia un messaggio WinPopup a</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Messaggio popup inviato con successo a </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Attenzione, non c'è garanzia che il popup apparirà sul pc remoto. </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Gestione dei client in DHCP </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Report di stato dell'operazione:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>Si vuole aggiornare questa lista?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Aggiorna la lista </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>Si consiglia di pulire il file dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Rimuovi tutte le lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Nome di rete</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Stato - Clicca per il WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Data iniziale</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>Data finale</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Non verificato...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Device attivo</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Attiva WOL...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Rimuovi..</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>Non ci sono computer connessi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Rimozione di tutti i lease DHCP.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">La rimozione di tutti i record in dhcpd.leases può causare dei problemi</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>Il file di lease è strutturato come un file di log; ogni qual volta cambia l'assegnazione di un IP questa viene scritta alla fine del file. Ciò significa che è possibile che nel file di lease si trovino contemporaneamente due o più assegnazioni dello stesso lease. In quel caso l'ultima assegnazione che compare nel file è quella da considerare valida.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Cancellati con successo tutti i lease.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Rimuovi tutti i lease dhcp.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scansione della rete, il tempo occorrente dipende dalla subnet mask.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Prego attendere ..... la tua subnet e la tua netmask paiono essere:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Errore eliminando tutti i lease dhcp</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Errore salvando le impostazioni</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="ja">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>削除</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>メッセージ</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="nb">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Fjern</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Melding</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="nl">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP beheer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP beheer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Instellingen van de DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Inzien van DHCP reserveringen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan het netwerk</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Stuur een globaal pop-up bericht</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Altijd de status va de computers controleren (uitgeschakeld is sneller)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Alle systemen verbonden met de DHCP server inzien:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan uw netwerk om actieve systemen te vinden:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Verzend een globaal pop-up bericht</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>Status van uw DHCP dienst</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP dienst starten</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP dienst stoppen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>WINS dienst inschakelen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS dienst</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>Adres van uiw WINS server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Instellen van alternatieve DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Alternatieve DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primaire DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secundaire DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primaire DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Voer een alternatieve gateway adres in</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Alternatieve gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway adres</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Stel de geldigheidsduur van de reservering in (standaard is 1 dag)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Aangepaste geldigheidsduur van de lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>Na wijziging van de instellingen moeten de insteliongen worden opgeslagen en de DHCP server herstart.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Opslaan/Herstarten</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd instellingen FOUTEN</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ongelding bereik van IP nummers, de ondergrens is groter dan de bovengrens, update niet geslaagd</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Klik hier</a></b> om terug te keren naar het hoofdmenu]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ongelding bereik van IP adres, het IP adres van de server mag niet in het gekozen bereik vallen, update niet geslaagd.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ongeldig IP adres opgegeven, update niet geslaagd</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ongeldig IP adres voor de WINS Server, update niet geslaagd</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ongeldig IP adres voor DNS servers, update niet geslaagd</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ongeldig IP adres voor de gateway, update niet geslaagd</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Instellingen succesvol opgeslagen</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Verwijder een DHCP reservering</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Verwijder een invoer in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>Weet je het zeker?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>U staat op het punt een reservering uit het bestand dhcpd.leases te verwijderen.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Verwijderen van reservering in dhcpd.leases geslaagd: </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Ontwaak een computer op afstand</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>U staat op het punt een andere computer wakker te maken.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Weet u zeker dat u het volgende systeem wilt wekken:</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wek</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Verwijderen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Wekverzoek succesvol verstuurd. Het kan even duren voordat het systeem start.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>Allemaal</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Stuur een pop-up bericht</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>U staat op het punt een pop-up bericht te versturen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Uw bericht</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Schrijf uw bericht</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Wilt u dit bericht versturen naar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Verstuur een pop-up naar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Versturen van pop-up geslaagd naar</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Waarschuwing, er is geen garantie dat het pop-up bericht ook zal verschijnen op de andere computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Beheer van DHCP reserveringen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Statusrapport:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>Wilt u de lijst verversen?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Ververs de lijst</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>Het is aan te raden het dhcpd.leases bestand op te schonen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Verwijder alle reserveringen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Netwerk naam</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - Klik om te wekken</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Startdatum</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>Vervaldatum</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC adres</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Niet gecontroleerd...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Actief systeem</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wek...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Verwijderen...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>Pop-up....</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>Er zijn geen aangesloten systemen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Verwijder alle DHCP reserveringen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Verwijder alle reserveringen in dhcpd.leases kan problemen veroorzaken</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>Net bestand met reserveringen is een log-gestructureerd bestand - als een reservering wijzigd, wordt de wijziging toegevoegd aan het einde van het bestand. Daardoor is het mogelijk dat er meerdere declaraties voor de zelfde reservering in staan. In dat geval is de laatste waarde de geldige waarde.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Verwijderen van alle reserveringen geslaagd..</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Verwijdere alle reserveringen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Doorzoeken van het netwerk, afhankelijk van uw subnet masker kan dit enige tijd kosten</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Even geduld... uw subnet masker heeft de volgende waarde:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Verwijderen van alle DHCP reserveringen niet geslaagd</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Er is een fout opgetreden bij het opslaan van de instellingen</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="pl">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Usuń</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Wiadomość</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="pt-br">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>Gerenciador DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>Gerenciador DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Configuração do servidor DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Mostrar os clientes DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Escanear a rede</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Enviar WinPopup Netsend Global</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Sempre verificar o status dos computadores (desligado é muito mais rápido)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Mostrar todos dispositivos conectados ao servidor DHCP :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Varrer sua rede para mostrar dispositivos ativos :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Enviar um WinPopup global com o protocolo NET SEND</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>Status do DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>Inicio DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>Final DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Habilitar o servidor WINS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>Servidor WINS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>Endereço do servidor WINS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Habilitar servidores DNS customizados</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>DNS customizado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>DNS primário</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>DNS secundário</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>DNS terciário</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Habilitar um endereço de gateway customizado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Gateway customizado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Endereço do gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Definir o tempo de aluguel (o padrão é de 86400 segundos = 24h)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Tempo de aluguel customizado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>Depois de mudasr as configurações acima, você deve salvar e reiniciar o DHCPd</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Salvar/Reiniciar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>Erros de configuração DHCPd</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Região de IPs incorreta, o inicio da região DHCP é maior que o final da região; atualização não realizada!</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Clique AQUI</a></b> para voltar para o tela principal]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Região de IPs incorreta, a região não pode incluir o endereço do servidor; Atualização não realizada!</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Região de IP incorreta. Atualização não realizada!</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">IP do servidor WINS incorreto; Atualização não realizada!</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">IP do servidores DNS incorreto; Atualização não realizada!</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">IP do gateway incorreto; Atualização não realizada</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Configurações salvadas com successo</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removendo o aluguel DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remover uma entrada do arquivo DHCPD.LEASES</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>Você tem certeza ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>Você está prestes a remover um cliente do arquivo DHCPD.LEASES .</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Removido com sucesso do DHCPD.LEASES o cliente : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Acordando o computador remoto</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>Você está prestes a acordar um computador remoto.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Você está certo de que deseja acordar o cliente de rede: </trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Acordar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Remover</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Solicitação de acordar enviado com sucesso. O computador cliente pode levar algum tempo para acordar.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>Todos eles</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Enviar uma mensagem via WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>Você está prestes a enviar um WinPopup para</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Sua mensagem</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Escreva sua mensagem aqui</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Você quer enviar essa mensagem para </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Enviar a WinPopup para</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Mensagem WinPopup com sucesso para </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Aviso, não há garantia de que o o popup irá aparecer no computador remoto.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Gerenciando clientes DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Relatório de status da operação :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>Você pode querer atualizar essa lista ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Atualizar a lista</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>Você pode querer limpar o DHCP.LEASES</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remover todos aluguéis</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Nome da Rede</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - clique para acordar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Data de início</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>Data de fim</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>Endereço MAC</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Não verificado...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Dispositivo Ativo</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Acordar...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remover...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>Não há computadores conectados</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removendo todos aluguéis DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remover todas entradas no arquivo DHCP.LEASES pode causar problemas</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>O arquivo de alugueis é um arquivo de log estruturado - quando um aluguel muda, o conteudo muda, o conteudo do aluguél é escrito no final do arquivo. Isto significar que é possivel haver duas ou mais declarações do mesmo aluguel ao mesmo tempo. Neste caso, a instancia que aparece mais próxima do final do arquivo é a que está efetiva. </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Todos alugueis apagados com successo.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remover todos aluguéis DHCP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Varrendo sua rede, o tempo dependerá de sua máscara de sub-rede.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Por favor aguarde... Sua sub-rede e máscara de rede parecem ser :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ocorreu um erro enquanto removendo todos aluguéis DHCP</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Ocorreu um erro enquanto salvando configurações</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="pt">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Remover</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Mensagem</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="ro">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Remove</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Mesajul dumneavoastră</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="ru">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Удалить</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Ваше сообщение</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="sl">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Odstrani</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Vaše sporočilo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="sv">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Radera</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Ditt meddelande</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC-adress</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/th/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/th/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="th">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>ลบ</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Your message</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="tr">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Kaldır</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>Mesajınız</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC Address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>Remove...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="zh-cn">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>Settings of the DHCP server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>Show DHCP Clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>Scan your network</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>Send Global Netsend WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>Always check the status of computers (Disabled is much faster)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>Show all devices connected to the dhcp server :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>Scan your network to show active devices :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>Send a global WinPopup with the Net send protocol</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>State of DHCPD</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP Start</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP End</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>Enable a WINS Server.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS Server</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS Server address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>Enable custom DNS servers.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>Custom DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Primary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Secondary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>Tertiary DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>Enable a custom gateway address.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>Custom gateway</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>Gateway address</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>Set the lease time (default is 86400 seconds).</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>Custom lease time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>After changing settings above, you must save and restart dhcpd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>Save/Restart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd Settings ERRORS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>Click Here</a></b> to return to the main panel]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP in the DHCP range, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for WINS Server, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for DNS servers, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">Incorrect IP for Gateway, Update unsuccessfull</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully saved settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing a DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>Remove an entry in dhcpd.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>are you sure ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>You are about to remove a client from the dhcpd.leases file.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted in dhcpd.leases the client : </font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>Waking Up a remote computer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>You are about to wake up a remote computer.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>Are you sure you want to wake on lan the client :</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>Wake UP</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>移除</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully request to wake up the client. The computer may take time to wake up.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>All of them</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>Sending a WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>You are about to send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>您的消息</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>Write your message here</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>Do you want to send this message to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>Send a WinPopup to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully sent message popup to</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Warning, there is no garanty that the popup will appear on the remote computer.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>Managing DHCP clients</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>Operation status report :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>You may want to refresh this list ?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>Refresh the list</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>You may want to clean the dhcp.leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>Remove all leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>Network Name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>Status - click for WOL</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>Start Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>End Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>MAC 地址</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">Not Checked...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>Active Device</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">Wake-Up...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>移除...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>WinPopup...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>There are no connected computers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>Removing all DHCP Lease</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">Remove all entries in dhcpd.leases may cause issues</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>The lease file is a log-structured file - whenever a lease changes, the contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two or more declarations of the same lease in the lease file at the same time. In that case, the instance of that particular lease that appears last in the file is the one that is in effect.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">Successfully deleted all leases.</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>Remove all dhcp leases</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>Scanning your network, the time needed depends of your subnet mask</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>Please wait .... Your subnet and your netmask appear to be :</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while removing all dhcp Leases</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">Error while saving settings</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
335
root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/dhcpd
Normal file
335
root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
<lexicon lang="zh-tw">
|
||||||
|
<entry>
|
||||||
|
<base>DHCP manager</base>
|
||||||
|
<trans>DHCP 管理員</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_TITLE</base>
|
||||||
|
<trans>DHCP 管理員</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTINGS_TITLE</base>
|
||||||
|
<trans>DHCP 伺服器的設定</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CONNECTED_IP</base>
|
||||||
|
<trans>顯示 DHCP 客戶端</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK</base>
|
||||||
|
<trans>掃描您的網路</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP</base>
|
||||||
|
<trans>傳送全球訊息提示視窗</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHECK_CLIENT_STATUS</base>
|
||||||
|
<trans>總是檢核電腦狀態(關閉會讓運作較為快速)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SHOW_CONNECTED_IP_TITLE</base>
|
||||||
|
<trans>顯示連結到DHCP伺服器的所有裝置:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCAN_YOUR_NETWORK_TITLE</base>
|
||||||
|
<trans>掃描您的網路以顯示啟動中的裝置:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GLOBAL_WINPOPUP_TITLE</base>
|
||||||
|
<trans>以網路傳送協定傳送全域WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_DHCP_SERVER</base>
|
||||||
|
<trans>DHCPD狀態</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START</base>
|
||||||
|
<trans>DHCP啟動</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_END</base>
|
||||||
|
<trans>DHCP關閉</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_TITLE</base>
|
||||||
|
<trans>啟動WINS伺服器</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_STATUS</base>
|
||||||
|
<trans>WINS伺服器</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_WINSERVER_ADDRESS</base>
|
||||||
|
<trans>WINS伺服器位址</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_TITLE</base>
|
||||||
|
<trans>啟動自訂DNS伺服器</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_DNS_STATUS</base>
|
||||||
|
<trans>自訂DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRIMARY_DNS_ADDRESS</base>
|
||||||
|
<trans>主要DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SECONDARY_DNS_ADDRESS</base>
|
||||||
|
<trans>次要DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TERTIARY_DNS_ADDRESS</base>
|
||||||
|
<trans>主要DNS</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_TITLE</base>
|
||||||
|
<trans>啟動自訂閘道位址</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_STATUS</base>
|
||||||
|
<trans>自訂閘道</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_GATEWAY_ADDRESS</base>
|
||||||
|
<trans>閘道位址</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME_TITLE</base>
|
||||||
|
<trans>設定租約時間(預設為86400秒)</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CUSTOM_LEASETIME</base>
|
||||||
|
<trans>自訂租約時間</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE_TITLE</base>
|
||||||
|
<trans>上述設定變更後,您必須存檔並重啟 dhcpd。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE/RESTART</base>
|
||||||
|
<trans>存檔/重啟</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCPD_SETTING_ERRORS</base>
|
||||||
|
<trans>DHCPd 設定錯誤</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_START_GREATER_DHCP_END_ERRORS</base>
|
||||||
|
<trans><![CDATA[<font color="red"> IP 位址範圍錯誤,DHCP 啟始值大於 DHCP 結束值,更新未成功。</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLICK_HERE_TO_MAIN_PANEL</base>
|
||||||
|
<trans><![CDATA[<b><a href=dhcpd>點擊此處</a></b>以回到主控台]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">錯誤 IP 位址範圍,設定 IP 位址範圍不能涵蓋本伺服器的位址,更新未成功。</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DHCP_RANGE_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">錯誤 IP 位於 DHCP 位址範圍,更新未成功。</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINSSERVER_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">錯誤 IP 位於 WINS 伺服器,更新未成功。</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DNS_SERVER_WITH_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">錯誤 IP 位於 DNS 伺服器,更新未成功。</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>GATEWAY_BAD_IP</base>
|
||||||
|
<trans><![CDATA[<font color="red">錯誤 IP 位於 Gateway,更新未成功。</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SAVED_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="green">成功儲存設定</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>移除 DHCP 租約</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE</base>
|
||||||
|
<trans>在 dhcpd.leases 檔案中移除一筆記錄</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ARE_YOU_SURE</base>
|
||||||
|
<trans>您確定?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_A_DHCP_LEASE_ACTION</base>
|
||||||
|
<trans>您將從 dhcpd.leases 檔刪除客戶端。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETED_THE_CLIENT</base>
|
||||||
|
<trans><![CDATA[<font color="green">成功從 dhcpd.leases 檔刪除客戶端:</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_TITLE</base>
|
||||||
|
<trans>喚醒遠端電腦</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER</base>
|
||||||
|
<trans>您將喚醒遠端電腦。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKING_A_REMOTE_COMPUTER_ACTION</base>
|
||||||
|
<trans>您確定將從區網喚醒客戶端:</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP</base>
|
||||||
|
<trans>喚醒</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>移除</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CLIENT_WOL_REQUEST</base>
|
||||||
|
<trans><![CDATA[<font color="green">請求喚醒客戶端成功。電腦將花些時間喚醒。</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL_OF_THEM</base>
|
||||||
|
<trans>全部</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP</base>
|
||||||
|
<trans>傳送 WinPopup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SENDING_A_WINPOPUP_TO</base>
|
||||||
|
<trans>您將傳送 WinPopup 到</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>YOUR_MESSAGE</base>
|
||||||
|
<trans>您的訊息</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WRITE_YOUR_MESSAGE</base>
|
||||||
|
<trans>在此處書寫您的訊息</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DO_YOU_WANT_TO_SENT</base>
|
||||||
|
<trans>您有想要將此訊息傳送到</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEND_WINPOPUP_TO</base>
|
||||||
|
<trans>傳送 WinPopup 到</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_SENT_MESSAGE</base>
|
||||||
|
<trans><![CDATA[<font color="green">成功傳送 WinPopup 到</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WARNING_NO_WINPOPUP_GARANTY</base>
|
||||||
|
<trans><![CDATA[<font color="orange">注意,不保證 WinPopup 會顯示在遠端電腦。</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MANAGING_DHCP_CLIENT</base>
|
||||||
|
<trans>管理 DHCP 客戶端</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_REPORT</base>
|
||||||
|
<trans>運作狀態回報:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH_CONNECTED_IP_LIST</base>
|
||||||
|
<trans>您可能想要更新此名單?</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REFRESH</base>
|
||||||
|
<trans>更新名單</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CLEAN_ALL_DHCPLEASES</base>
|
||||||
|
<trans>您可能想要清除DHCP的租約檔</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES</base>
|
||||||
|
<trans>清除所有租約</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_NAME</base>
|
||||||
|
<trans>網路名稱</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>STATUS_CLICK_FOR_WOL</base>
|
||||||
|
<trans>狀態 - 點擊WOL網路開機</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>START_DATE</base>
|
||||||
|
<trans>開始日期</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>END_DATE</base>
|
||||||
|
<trans>結束日期</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAC_ADDRESS</base>
|
||||||
|
<trans>網卡(MAC)位址</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOT_CHECKED</base>
|
||||||
|
<trans><![CDATA[<font color="orange">尚未檢核...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ACTIVE_DEVICE</base>
|
||||||
|
<trans><![CDATA[<font color='green'>啟用裝置</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WAKE_UP_ACTION</base>
|
||||||
|
<trans><![CDATA[<font color="red">喚醒...</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ACTION</base>
|
||||||
|
<trans>移除...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WINPOPUP_ACTION</base>
|
||||||
|
<trans>Windows 內建區域網路傳訊(WinPopup)...</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_CONNECTED_COMPUTERS</base>
|
||||||
|
<trans>無電腦連結</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_TITLE</base>
|
||||||
|
<trans>移除所有DHCP租約</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING</base>
|
||||||
|
<trans><![CDATA[<font color="red">移除所有DHCP租約檔輸入的資料可能導致問題發生</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_DHCP_LEASE_WARNING2</base>
|
||||||
|
<trans>DHCP 租約檔屬於日誌結構檔 - 當租約改變,該租約內容被寫入檔案的末端。這意味著輸入的內容很可能同時呈現兩種或兩種以上宣告的相同租約於此租約檔中。在那樣的個案中,該特定租約是出現在文件最後的內容生效。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_REMOVED_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="green">成功刪除所有DHCP租約。</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_ALL_LEASES_ACTION</base>
|
||||||
|
<trans>移除所有DHCP租約</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SCANNING_NETWORK_TITLE</base>
|
||||||
|
<trans>掃描您的網路,需要的時間是根據您的子網路遮罩而定</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORK_VALUES_FOUND</base>
|
||||||
|
<trans>請稍待 .... 您的子網路與網路遮罩顯示為:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_REMOVING_ALL_LEASES</base>
|
||||||
|
<trans><![CDATA[<font color="red">移除所有DHCP租約時發生錯誤</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ERROR_WHILE_SAVING_SETTINGS</base>
|
||||||
|
<trans><![CDATA[<font color="red">儲存設定時發生錯誤</font>]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
956
root/etc/e-smith/web/functions/dhcpd
Normal file
956
root/etc/e-smith/web/functions/dhcpd
Normal file
@ -0,0 +1,956 @@
|
|||||||
|
#!/usr/bin/perl -wU
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
# heading : Configuration
|
||||||
|
# description : DHCP manager
|
||||||
|
# navigation : 2000 2500
|
||||||
|
#
|
||||||
|
# Copyright (c) 2003 Thierry Quaak thierry@quaak.net
|
||||||
|
# 2014 Stephane de Labrusse stephdl@de-labrusse.fr
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
my $fm = esmith::FormMagick->new();
|
||||||
|
$fm->parse_xml();
|
||||||
|
|
||||||
|
###Call Modules
|
||||||
|
use strict;
|
||||||
|
use CGI ':all';
|
||||||
|
use CGI::Carp qw(fatalsToBrowser);
|
||||||
|
use esmith::cgi;
|
||||||
|
use esmith::util;
|
||||||
|
use esmith::templates;
|
||||||
|
use esmith::ConfigDB;
|
||||||
|
use esmith::AccountsDB;
|
||||||
|
use esmith::FormMagick;
|
||||||
|
use Net::Ping;
|
||||||
|
use esmith::util::network qw(:all);
|
||||||
|
use Socket qw( inet_aton );
|
||||||
|
|
||||||
|
###Declare function prototypes
|
||||||
|
sub Main_Display ($$);
|
||||||
|
sub Load_leases ($);
|
||||||
|
sub Main_Save ($);
|
||||||
|
sub Del_Lease ($);
|
||||||
|
sub Perform_Del_Lease ($);
|
||||||
|
sub Wake_Up ($);
|
||||||
|
sub Perform_Wake_Up ($);
|
||||||
|
sub Message ($$);
|
||||||
|
sub Global_WinPopup ($);
|
||||||
|
sub Perform_Message ($);
|
||||||
|
sub Table_IP ($$);
|
||||||
|
sub Scan_Local_Network ($);
|
||||||
|
sub Del_all_Lease ($);
|
||||||
|
sub Perform_del_all_Lease ($);
|
||||||
|
sub Save_checkip ($);
|
||||||
|
|
||||||
|
|
||||||
|
### Clear PATH and related environment variables so that calls to
|
||||||
|
### external programs do not cause results to be tainted. See
|
||||||
|
### "perlsec" manual page for details.
|
||||||
|
BEGIN {
|
||||||
|
$ENV {'PATH'} = '';
|
||||||
|
$ENV {'SHELL'} = '/bin/bash';
|
||||||
|
delete $ENV {'ENV'};
|
||||||
|
}
|
||||||
|
|
||||||
|
###Define package global to SME configuration paramters using "old" method.
|
||||||
|
###We are using this method, over esmith::ConfigDB, to satisfy syntax in
|
||||||
|
###esmith::cgi
|
||||||
|
our %conf = ();
|
||||||
|
tie %conf, 'esmith::config';
|
||||||
|
our @liste_computer ;
|
||||||
|
our @liste_connected ;
|
||||||
|
|
||||||
|
###Change UID -- not sure what we are doing this, but all panels seem to
|
||||||
|
###call this function.
|
||||||
|
esmith::util::setRealToEffective ();
|
||||||
|
|
||||||
|
our %status = ('enabled' => $fm->localise('ENABLED'),
|
||||||
|
'disabled' => $fm->localise('DISABLED')
|
||||||
|
);
|
||||||
|
|
||||||
|
our %check = ('enabled' => $fm->localise('ENABLED'),
|
||||||
|
'disabled' => $fm->localise('DISABLED')
|
||||||
|
);
|
||||||
|
|
||||||
|
###Restrict uploads to form submittals only
|
||||||
|
$CGI::POST_MAX=1024 * 100; # max 100K posts
|
||||||
|
$CGI::DISABLE_UPLOADS = 1; # no uploads
|
||||||
|
|
||||||
|
###Examine state parameter and display the appropriate form
|
||||||
|
my $q = new CGI;
|
||||||
|
if (! grep (/^state$/, $q->param)){ Main_Display($q, '');}
|
||||||
|
elsif ($q->param ('state') eq "main_display"){Main_Display ($q,'');}
|
||||||
|
elsif ($q->param ('state') eq $fm->localise('REFRESH')){Table_IP ($q, '');}
|
||||||
|
elsif ($q->param ('state') eq "main_save"){Main_Save ($q);}
|
||||||
|
elsif ($q->param ('state') eq "del_lease"){Del_Lease ($q);}
|
||||||
|
elsif ($q->param ('state') eq "perform_del_lease"){Perform_Del_Lease ($q);}
|
||||||
|
elsif ($q->param ('state') eq "wake_up"){Wake_Up ($q);}
|
||||||
|
elsif ($q->param ('state') eq "perform_wake_up"){Perform_Wake_Up ($q);}
|
||||||
|
elsif ($q->param ('state') eq $fm->localise('GLOBAL_WINPOPUP')){Global_WinPopup ($q);}
|
||||||
|
elsif ($q->param ('state') eq "message"){Message ($q,'');}
|
||||||
|
elsif ($q->param ('state') eq "perform_message"){Perform_Message ($q);}
|
||||||
|
elsif ($q->param ('state') eq $fm->localise('CONNECTED_IP')){Table_IP ($q,'');}
|
||||||
|
elsif ($q->param ('state') eq $fm->localise('SCAN_YOUR_NETWORK')){Scan_Local_Network ($q);}
|
||||||
|
elsif ($q->param ('state') eq $fm->localise('REMOVE_ALL_LEASES')){Del_all_Lease ($q);}
|
||||||
|
elsif ($q->param ('state') eq $fm->localise('REMOVE_ALL_LEASES_ACTION')){Perform_del_all_Lease ($q);}
|
||||||
|
elsif ($q->param ('state') eq 'Save_checkIP'){Save_checkip ($q);}
|
||||||
|
else{esmith::cgi::genStateError ($q, \%conf);}
|
||||||
|
exit (0);
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE TO SHOW MAIN PANEL
|
||||||
|
#===============================================================================
|
||||||
|
sub Main_Display ($$){
|
||||||
|
|
||||||
|
###Pull cgi object from parameters array
|
||||||
|
my $q = shift;
|
||||||
|
my @computer;
|
||||||
|
my $status ;
|
||||||
|
|
||||||
|
###Pull action message, if any, from parameters array
|
||||||
|
my $action_message = shift;
|
||||||
|
|
||||||
|
###Retrieve SME configuration entry for dhcpd
|
||||||
|
my $dbh_sme = esmith::ConfigDB->open('/home/e-smith/db/configuration');
|
||||||
|
my %sme_conf = $dbh_sme->get('dhcpd')->props;
|
||||||
|
|
||||||
|
###Display Main Panel Title
|
||||||
|
esmith::cgi::genHeaderNonCacheable ($q, \%conf, $fm->localise('DHCPD_TITLE'));
|
||||||
|
|
||||||
|
###Check to see if we just processed a panel action. If so, display
|
||||||
|
###action message and bail.
|
||||||
|
if ($action_message) {
|
||||||
|
print $q->h3 ($fm->localise('STATUS_REPORT') . " $action_message");
|
||||||
|
}
|
||||||
|
|
||||||
|
#------------------------------------------------------------
|
||||||
|
# Start DHCP client Panel
|
||||||
|
#------------------------------------------------------------
|
||||||
|
print $q->p ('');
|
||||||
|
print $q->startform (-method => 'POST',
|
||||||
|
-action => $q->url (-absolute => 1));
|
||||||
|
print $q->Tr (esmith::cgi::genButtonRow ($q,$q->submit (-name => 'state',-value => $fm->localise('CONNECTED_IP'))));
|
||||||
|
|
||||||
|
print $q->Tr (esmith::cgi::genButtonRow ($q,$q->submit (-name => 'state',-value => $fm->localise('SCAN_YOUR_NETWORK'))));
|
||||||
|
|
||||||
|
print $q->Tr (esmith::cgi::genButtonRow ($q,$q->submit (-name => 'state',-value => $fm->localise('GLOBAL_WINPOPUP'))));
|
||||||
|
|
||||||
|
print $q->hidden (-name => 'liste_connected', -override => 1, -default => "@liste_connected");
|
||||||
|
|
||||||
|
|
||||||
|
#------------------------------------------------------------
|
||||||
|
# Start DHCP daemon Panel
|
||||||
|
#------------------------------------------------------------
|
||||||
|
print $q->hr;
|
||||||
|
print $q->h3 ($fm->localise('DHCPD_SETTINGS_TITLE'));
|
||||||
|
|
||||||
|
if (! $sme_conf{'winscustom'} ) {
|
||||||
|
$sme_conf{'winscustom'} = 'disabled' ;
|
||||||
|
}
|
||||||
|
if (! $sme_conf{'dnscustom'} ) {
|
||||||
|
$sme_conf{'dnscustom'} = 'disabled' ;
|
||||||
|
}
|
||||||
|
if ( ! $sme_conf{'leasetime'} )
|
||||||
|
{ $sme_conf{'leasetime'} = "86400" ;
|
||||||
|
}
|
||||||
|
if (! $sme_conf{'gatewaycustom'} ) {
|
||||||
|
$sme_conf{'gatewaycustom'} = 'disabled' ;
|
||||||
|
}
|
||||||
|
#check the status (up or down) of dhcp client
|
||||||
|
print $q->table ({border => 0, cellspacing => 0, cellpadding => 4},
|
||||||
|
esmith::cgi::genWidgetRow ($q, $fm->localise('CHECK_CLIENT_STATUS'),
|
||||||
|
$q->popup_menu (-name => 'dhcp_check',
|
||||||
|
-values => ['disabled', 'enabled'],
|
||||||
|
-default => $sme_conf{'check'},
|
||||||
|
-labels => \%check)) );
|
||||||
|
|
||||||
|
# - modofication des plage DHCP
|
||||||
|
print $q->table ({border => 0, cellspacing => 0, cellpadding => 4},
|
||||||
|
esmith::cgi::genWidgetRow ($q, $fm->localise('STATUS_DHCP_SERVER'),
|
||||||
|
$q->popup_menu (-name => 'dhcp_enable',
|
||||||
|
-values => ['enabled', 'disabled'],
|
||||||
|
-default => $sme_conf{'status'},
|
||||||
|
-labels => \%status)) ,
|
||||||
|
|
||||||
|
esmith::cgi::genNameValueRow ($q,
|
||||||
|
$fm->localise('DHCP_START'),
|
||||||
|
'dhcp_start',
|
||||||
|
$sme_conf{'start'}) ,
|
||||||
|
esmith::cgi::genNameValueRow ($q,
|
||||||
|
$fm->localise('DHCP_END') ,
|
||||||
|
'dhcp_end',
|
||||||
|
$sme_conf{'end'}),
|
||||||
|
|
||||||
|
esmith::cgi::genTextRow ($q,
|
||||||
|
$q->p ($fm->localise('CUSTOM_WINSERVER_TITLE'))),
|
||||||
|
esmith::cgi::genWidgetRow ($q, $fm->localise('CUSTOM_WINSERVER_STATUS'),
|
||||||
|
$q->popup_menu (-name => 'dhcp_winscustom',
|
||||||
|
-values => ['enabled', 'disabled'],
|
||||||
|
-default => $sme_conf{'winscustom'},
|
||||||
|
-labels => \%status)),
|
||||||
|
|
||||||
|
esmith::cgi::genNameValueRow ($q,
|
||||||
|
$fm->localise('CUSTOM_WINSERVER_ADDRESS'),
|
||||||
|
'dhcp_winsserver',
|
||||||
|
$dbh_sme->get_prop('smb','WINSServer')),
|
||||||
|
|
||||||
|
#### Custom DNS
|
||||||
|
esmith::cgi::genTextRow ($q,
|
||||||
|
$q->p ($fm->localise('CUSTOM_DNS_TITLE'))),
|
||||||
|
esmith::cgi::genWidgetRow ($q, $fm->localise('CUSTOM_DNS_STATUS'),
|
||||||
|
$q->popup_menu (-name => 'dhcp_dnscustom',
|
||||||
|
-values => ['enabled', 'disabled'],
|
||||||
|
-default => $sme_conf{'dnscustom'},
|
||||||
|
-labels => \%status)),
|
||||||
|
|
||||||
|
esmith::cgi::genNameValueRow ($q,
|
||||||
|
$fm->localise('PRIMARY_DNS_ADDRESS'),
|
||||||
|
'dhcp_dns1server',
|
||||||
|
$sme_conf{'dns1server'}),
|
||||||
|
esmith::cgi::genNameValueRow ($q,
|
||||||
|
$fm->localise('SECONDARY_DNS_ADDRESS'),
|
||||||
|
'dhcp_dns2server',
|
||||||
|
$sme_conf{'dns2server'}),
|
||||||
|
esmith::cgi::genNameValueRow ($q,
|
||||||
|
$fm->localise('TERTIARY_DNS_ADDRESS'),
|
||||||
|
'dhcp_dns3server',
|
||||||
|
$sme_conf{'dns3server'}),
|
||||||
|
|
||||||
|
#### Custom default Gateway
|
||||||
|
esmith::cgi::genTextRow ($q,
|
||||||
|
$q->p ($fm->localise('CUSTOM_GATEWAY_TITLE'))),
|
||||||
|
esmith::cgi::genWidgetRow ($q, $fm->localise('CUSTOM_GATEWAY_STATUS'),
|
||||||
|
$q->popup_menu (-name => 'dhcp_gatewaycustom',
|
||||||
|
-values => ['enabled', 'disabled'],
|
||||||
|
-default => $sme_conf{'gatewaycustom'},
|
||||||
|
-labels => \%status)),
|
||||||
|
|
||||||
|
esmith::cgi::genNameValueRow ($q,
|
||||||
|
$fm->localise('CUSTOM_GATEWAY_ADDRESS'),
|
||||||
|
'dhcp_gateway',
|
||||||
|
$sme_conf{'gateway'}),
|
||||||
|
|
||||||
|
#dhcp LEASE SET UP
|
||||||
|
esmith::cgi::genTextRow ($q,
|
||||||
|
$q->p ($fm->localise('CUSTOM_LEASETIME_TITLE'))),
|
||||||
|
esmith::cgi::genNameValueRow ($q,
|
||||||
|
$fm->localise('CUSTOM_LEASETIME'),
|
||||||
|
'dhcp_leasetime',
|
||||||
|
$sme_conf{'leasetime'})
|
||||||
|
);
|
||||||
|
print '</table>';
|
||||||
|
|
||||||
|
print $q->start_table ({width => "100%", -class => "sme-noborders"}),
|
||||||
|
"\n";
|
||||||
|
print esmith::cgi::genButtonRow ($q,
|
||||||
|
$q->submit (-name => 'action', -value => $fm->localise('SAVE/RESTART')));
|
||||||
|
|
||||||
|
print $q->end_table,"\n";
|
||||||
|
print $q->hidden (
|
||||||
|
-name => 'state',
|
||||||
|
-override => 1,
|
||||||
|
-default => 'main_save'
|
||||||
|
),"\n";
|
||||||
|
print $q->endform;
|
||||||
|
esmith::cgi::genFooter ($q);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Process Save From Main Panel
|
||||||
|
#===============================================================================
|
||||||
|
sub Main_Save ($){
|
||||||
|
|
||||||
|
##Pull CGI object from parameters array
|
||||||
|
my $q = shift;
|
||||||
|
|
||||||
|
###Build Hash of config parameters to update from cgi submit
|
||||||
|
my $dhcpd_status = $q->param ('dhcp_enable');
|
||||||
|
my $dhcpd_winscustom = $q->param ('dhcp_winscustom');
|
||||||
|
my $dhcpd_check = $q->param ('dhcp_check');
|
||||||
|
my $dhcpd_start = $q->param ('dhcp_start');
|
||||||
|
my $dhcpd_end = $q->param ('dhcp_end');
|
||||||
|
my $dhcpd_winsserver = $q->param ('dhcp_winsserver');
|
||||||
|
my $dhcpd_leasetime = $q->param ('dhcp_leasetime');
|
||||||
|
my $dhcpd_dnscustom = $q->param ('dhcp_dnscustom');
|
||||||
|
my $dhcpd_dns1server = $q->param ('dhcp_dns1server');
|
||||||
|
my $dhcpd_dns2server = $q->param ('dhcp_dns2server');
|
||||||
|
my $dhcpd_dns3server = $q->param ('dhcp_dns3server');
|
||||||
|
my $dhcpd_gatewaycustom = $q->param ('dhcp_gatewaycustom');
|
||||||
|
my $dhcpd_gateway = $q->param ('dhcp_gateway');
|
||||||
|
|
||||||
|
###Update SME configuration dbase
|
||||||
|
my $dbh_sme = esmith::ConfigDB->open('/home/e-smith/db/configuration');
|
||||||
|
|
||||||
|
##Initiate get method --> create record object
|
||||||
|
my $sme_record = $dbh_sme->get('dhcpd');
|
||||||
|
#get localip of server
|
||||||
|
my $local_ip = $dbh_sme->get_value('LocalIP');
|
||||||
|
|
||||||
|
##Set status of service
|
||||||
|
$sme_record->set_prop('status', $dhcpd_status);
|
||||||
|
$sme_record->set_prop('check' , $dhcpd_check);
|
||||||
|
$sme_record->set_prop('winscustom', $dhcpd_winscustom);
|
||||||
|
$sme_record->set_prop('leasetime' , $dhcpd_leasetime);
|
||||||
|
$sme_record->set_prop('dnscustom' , $dhcpd_dnscustom);
|
||||||
|
$sme_record->set_prop('gatewaycustom' , $dhcpd_gatewaycustom);
|
||||||
|
|
||||||
|
#checkip to the dhcpserver, perform the save in DB configuration or display an error if value != of a valid ip or if dhcp_start is greater than dhcp_end
|
||||||
|
if ($dhcpd_status eq "enabled")
|
||||||
|
{
|
||||||
|
if ( isValidIP ($dhcpd_start) && isValidIP ($dhcpd_end))
|
||||||
|
{
|
||||||
|
#check if $dhcpd_start is greater than $dhcpd_end and if yes, display an error message.
|
||||||
|
if (inet_aton($dhcpd_start) ge inet_aton($dhcpd_end))
|
||||||
|
{
|
||||||
|
Main_Display($q, $fm->localise('DHCP_START_GREATER_DHCP_END_ERRORS') . ' (' . $dhcpd_start . '/' . $dhcpd_end .')');
|
||||||
|
}
|
||||||
|
elsif ( ( (inet_aton($dhcpd_start) le inet_aton($local_ip) ) && ( inet_aton($dhcpd_end)) ge inet_aton($local_ip) ) )
|
||||||
|
{
|
||||||
|
#display an error if the range of dhcp server include the ip of the server address
|
||||||
|
Main_Display($q, $fm->localise('DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP') . ' (' . $local_ip . ')');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#set value
|
||||||
|
my $dhcpd_start = cleanIP($dhcpd_start);
|
||||||
|
my $dhcpd_end = cleanIP($dhcpd_end);
|
||||||
|
|
||||||
|
$sme_record->set_prop('end', $dhcpd_end);
|
||||||
|
$sme_record->set_prop('start', $dhcpd_start);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#if $dhcpd_start or $dhcpd_end are not valid ip then display an error
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Main_Display($q, $fm->localise('DHCP_RANGE_WITH_BAD_IP') . ' (' . $dhcpd_start . '/' . $dhcpd_end .')');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#checkip to the winserver perform the save in DB configuration or display an error if value != of a valid ip
|
||||||
|
if ($dhcpd_winscustom eq "enabled")
|
||||||
|
{
|
||||||
|
|
||||||
|
if ( isValidIP ($dhcpd_winsserver) )
|
||||||
|
{
|
||||||
|
#set value
|
||||||
|
my $dhcpd_winsserver = cleanIP($dhcpd_winsserver);
|
||||||
|
$dbh_sme->set_prop('smb','WINSServer', $dhcpd_winsserver);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#if $dhcpd_winsserver is not valid ip then display an error
|
||||||
|
Main_Display($q, $fm->localise('WINSSERVER_BAD_IP') . ' (' . $dhcpd_winsserver .')');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elsif ($dhcpd_winscustom eq "disabled")
|
||||||
|
{
|
||||||
|
my $delws = $dbh_sme->get('smb');
|
||||||
|
$delws->delete_prop('WINSServer');
|
||||||
|
}
|
||||||
|
|
||||||
|
#checkip to the dnsserver custom, perform the save in DB configuration or display an error if value != of a valid ip
|
||||||
|
if ($dhcpd_dnscustom eq "enabled")
|
||||||
|
{
|
||||||
|
#check if $dhcpd_dns1server and ( $dhcpd_dns2server are valid ip or $dhcpd_dns2server = null )
|
||||||
|
if ( isValidIP ($dhcpd_dns1server) && (isValidIP($dhcpd_dns2server) || ( $dhcpd_dns2server eq "") ) && (isValidIP($dhcpd_dns3server) || ( $dhcpd_dns3server eq "") ) )
|
||||||
|
{
|
||||||
|
#set value
|
||||||
|
my $dhcpd_dns1server = cleanIP($dhcpd_dns1server);
|
||||||
|
$sme_record->set_prop('dns1server' , $dhcpd_dns1server);
|
||||||
|
my $dhcpd_dns2server = cleanIP($dhcpd_dns2server);
|
||||||
|
$sme_record->set_prop('dns2server' , $dhcpd_dns2server);
|
||||||
|
my $dhcpd_dns3server = cleanIP($dhcpd_dns3server);
|
||||||
|
$sme_record->set_prop('dns3server' , $dhcpd_dns3server);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
##if $dhcpd_dns1server or $dhcpd_dns2server or $dhcpd_dns3server are not valid ip then display an error
|
||||||
|
Main_Display($q, $fm->localise('DNS_SERVER_WITH_BAD_IP') . ' (' . $dhcpd_dns1server . '/' . $dhcpd_dns2server . '/' . $dhcpd_dns3server .')');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#checkip to the gateway_custom perform the save in DB configuration or display an error if value != of a valid ip
|
||||||
|
if ($dhcpd_gatewaycustom eq "enabled")
|
||||||
|
{
|
||||||
|
if ( isValidIP ($dhcpd_gateway) )
|
||||||
|
{
|
||||||
|
#set value
|
||||||
|
my $dhcpd_gateway = cleanIP($dhcpd_gateway);
|
||||||
|
$sme_record->set_prop('gateway' , $dhcpd_gateway);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#if $dhcpd_gateway is not valid ip then display an error
|
||||||
|
Main_Display($q, $fm->localise('GATEWAY_BAD_IP') . ' (' . $dhcpd_gateway .')');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# - 4 expand templates
|
||||||
|
# changed to new sme standard signal-event
|
||||||
|
system ("/sbin/e-smith/signal-event","workgroup-update") == 0
|
||||||
|
or die "Error while saving settings: $!";
|
||||||
|
Main_Display($q, $fm->localise('SUCCESSFULLY_SAVED_SETTINGS') );
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: procedure qui supprime un bail dans le dhcpd.leases
|
||||||
|
#===============================================================================
|
||||||
|
sub Del_Lease ($){
|
||||||
|
###Pull CGI object from parameters array
|
||||||
|
$q = shift;
|
||||||
|
|
||||||
|
###Start Panel.
|
||||||
|
esmith::cgi::genHeaderNonCacheable ($q, \%conf, $fm->localise('REMOVE_A_DHCP_LEASE_TITLE'));
|
||||||
|
print $q->h3($fm->localise('REMOVE_A_DHCP_LEASE'));
|
||||||
|
|
||||||
|
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
|
||||||
|
|
||||||
|
my $ip = $q->param ('host');
|
||||||
|
my $name = $q->param ('name');
|
||||||
|
|
||||||
|
print $q->p ($fm->localise('REMOVE_A_DHCP_LEASE_ACTION') . ' (' . $name .'/' . $ip .')');
|
||||||
|
print $q->p ($q->b ($fm->localise('ARE_YOU_SURE')));
|
||||||
|
print $q->submit (-name => 'action', -value => $fm->localise('REMOVE'));
|
||||||
|
print $q->hidden (-name => 'host',
|
||||||
|
-override => 1,
|
||||||
|
-default => $ip
|
||||||
|
);
|
||||||
|
print $q->hidden (-name => 'name',
|
||||||
|
-override => 1,
|
||||||
|
-default => $name
|
||||||
|
);
|
||||||
|
|
||||||
|
print $q->hidden (-name => 'state',
|
||||||
|
-override => 1,
|
||||||
|
-default => 'perform_del_lease');
|
||||||
|
|
||||||
|
print $q->endform;
|
||||||
|
print $q->p($fm->localise('CLICK_HERE_TO_MAIN_PANEL'));
|
||||||
|
esmith::cgi::genFooter ($q);
|
||||||
|
return;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Perform delete lease
|
||||||
|
#===============================================================================
|
||||||
|
sub Perform_Del_Lease($){
|
||||||
|
|
||||||
|
###Pull CGI object from parameters array
|
||||||
|
$q = shift;
|
||||||
|
|
||||||
|
###Pull entry to delete
|
||||||
|
my $ip = $q->param('host');
|
||||||
|
my $name = $q->param('name');
|
||||||
|
my $name_in_file = '/var/lib/dhcpd/dhcpd.leases' ;
|
||||||
|
my $name_tmp_file = '/var/lib/dhcpd/dhcpd.leases.tmp' ;
|
||||||
|
my $name_out_file = '/var/lib/dhcpd/dhcpd.leases~' ;
|
||||||
|
my $del_current = "0" ;
|
||||||
|
|
||||||
|
open(INFILE,"<$name_in_file") || die "Read Error $name_in_file, Read: $!";
|
||||||
|
open(OUTFILE,">$name_tmp_file") || die "Write error $name_in_file, Write: $!";
|
||||||
|
while (<INFILE>) {
|
||||||
|
if ( "$_" =~ /lease $ip/ ) {
|
||||||
|
$del_current = "1" ;
|
||||||
|
}
|
||||||
|
if ( $del_current == "0" ) { print OUTFILE "$_" ; }
|
||||||
|
if ( "$_" =~ /}/ ) {
|
||||||
|
$del_current = "0" ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rename ($name_tmp_file,$name_in_file) ;
|
||||||
|
system ("/bin/cp","-f","$name_in_file","$name_out_file") ;
|
||||||
|
close(INFILE);
|
||||||
|
close(OUTFILE);
|
||||||
|
|
||||||
|
# changed to new sme standard signal-event
|
||||||
|
system ("/sbin/e-smith/signal-event","workgroup-update") == 0
|
||||||
|
or die "Error while saving settings: $!";
|
||||||
|
###Return action message
|
||||||
|
Table_IP($q, $fm->localise('SUCCESSFULLY_DELETED_THE_CLIENT') . ' (' . $name . '/' . $ip .')');
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: procedure qui valide les parametres de l'host eteint
|
||||||
|
#===============================================================================
|
||||||
|
sub Wake_Up ($){
|
||||||
|
###Pull CGI object from parameters array
|
||||||
|
$q = shift;
|
||||||
|
|
||||||
|
###Start Panel.
|
||||||
|
esmith::cgi::genHeaderNonCacheable ($q, \%conf, $fm->localise('WAKING_A_REMOTE_COMPUTER_TITLE'));
|
||||||
|
print $q->h3($fm->localise('WAKING_A_REMOTE_COMPUTER'));
|
||||||
|
|
||||||
|
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
|
||||||
|
|
||||||
|
my $mac = uc($q->param ('MAC'));
|
||||||
|
my $name = uc($q->param ('name'));
|
||||||
|
|
||||||
|
print $q->p ($q->b ($fm->localise('WAKING_A_REMOTE_COMPUTER_ACTION') . ' (' . $name . '/' . $mac . ')'));
|
||||||
|
|
||||||
|
print $q->submit (-name => 'action', -value => $fm->localise('WAKE_UP') . " $name");
|
||||||
|
print $q->hidden (-name => 'mac',
|
||||||
|
-override => 1,
|
||||||
|
-default => $mac
|
||||||
|
);
|
||||||
|
print $q->hidden (-name => 'name',
|
||||||
|
-override => 1,
|
||||||
|
-default => $name
|
||||||
|
);
|
||||||
|
|
||||||
|
print $q->hidden (-name => 'state',
|
||||||
|
-override => 1,
|
||||||
|
-default => 'perform_wake_up');
|
||||||
|
|
||||||
|
print $q->endform;
|
||||||
|
print $q->p($fm->localise('CLICK_HERE_TO_MAIN_PANEL'));
|
||||||
|
esmith::cgi::genFooter ($q);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Perform wake UP
|
||||||
|
#===============================================================================
|
||||||
|
sub Perform_Wake_Up($){
|
||||||
|
|
||||||
|
###Pull CGI object from parameters array
|
||||||
|
$q = shift;
|
||||||
|
|
||||||
|
###Get Mac Adress
|
||||||
|
my $mac = uc($q->param('mac'));
|
||||||
|
my $name = uc($q->param('name'));
|
||||||
|
|
||||||
|
#Send Wake Up to the station
|
||||||
|
#Old version obsolete since 1.5.0 - system ("/usr/bin/wol","$mac") ;
|
||||||
|
system ("/sbin/ether-wake","$mac") ;
|
||||||
|
###Return action message
|
||||||
|
Table_IP($q, $fm->localise('SUCCESSFULLY_CLIENT_WOL_REQUEST') . ' (' . $name . '/' . $mac . ')');
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#=========================================================================
|
||||||
|
# Procedure qui charge le dhcpd.conf
|
||||||
|
# retourne un tableau contenant les informations
|
||||||
|
#=========================================================================
|
||||||
|
sub Load_leases ($){
|
||||||
|
|
||||||
|
#Definition de variable
|
||||||
|
use vars qw/
|
||||||
|
@detail $work_line $header /;
|
||||||
|
my $name_file = '/var/lib/dhcpd/dhcpd.leases' ;
|
||||||
|
@liste_computer = '' ;
|
||||||
|
#Ouverture du fichier en lecture seule
|
||||||
|
open(FILE,"<$name_file") || die "Read error $name_file, Error: $!" ;
|
||||||
|
|
||||||
|
#Parcours du fichier dhcpd.leases
|
||||||
|
while (<FILE>) {
|
||||||
|
# suppression des commentaires
|
||||||
|
if ($_ =~ /^#/) { next; }
|
||||||
|
|
||||||
|
#spurresion des lignes vides
|
||||||
|
if ($_ =~ /^$/) { next; }
|
||||||
|
#supression de la ligne uid de windows
|
||||||
|
if ($_ =~ /uid/) { next; }
|
||||||
|
#supression de la ligne tstp de XP
|
||||||
|
if ($_ =~ /tstp/) { next; }
|
||||||
|
#supression de la ligne "binding state active"
|
||||||
|
if ($_ =~ /binding/) { next; }
|
||||||
|
#supression de la ligne "next binding state"
|
||||||
|
if ($_ =~ /next/) { next; }
|
||||||
|
#suprresion des commentaire et des ;
|
||||||
|
$_ =~ s/\s#.*$//;
|
||||||
|
$_ =~ s/(;|{) *$//;
|
||||||
|
|
||||||
|
#supression des espace en debut de lignes
|
||||||
|
$_ =~ s/^ *\s//;
|
||||||
|
|
||||||
|
#Suppression des retours chariot en fin de lignes.
|
||||||
|
chomp $_ ;
|
||||||
|
|
||||||
|
#Chargement d'un tableau avec le contenu de la ligne.
|
||||||
|
(@detail) = split(/ /, $_) ;
|
||||||
|
|
||||||
|
#initialisation d'un nouveau poste connect<63>
|
||||||
|
if ($_ =~ /lease/) {
|
||||||
|
$work_line = "" ;
|
||||||
|
}
|
||||||
|
|
||||||
|
$header = shift(@detail);
|
||||||
|
$work_line = $work_line . ";" . join(" ",@detail) ;
|
||||||
|
|
||||||
|
if ($header =~ /}/) {
|
||||||
|
$work_line =~ s/ /;/g;
|
||||||
|
$work_line =~ s/^;//;
|
||||||
|
$work_line =~ s/"//g;
|
||||||
|
$work_line =~ s/;$//;
|
||||||
|
#we want the last entry is the first element of the array
|
||||||
|
unshift(@liste_computer,$work_line) ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
close(FILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Message
|
||||||
|
#===============================================================================
|
||||||
|
sub Message($$){
|
||||||
|
|
||||||
|
###Pull CGI object from parameters array
|
||||||
|
$q = shift;
|
||||||
|
|
||||||
|
###Pull entry to delete
|
||||||
|
my $name = $q->param('name');
|
||||||
|
my @liste_connected = $q->param('liste_connected');
|
||||||
|
my $message2send ;
|
||||||
|
|
||||||
|
if ( $name ) {
|
||||||
|
@liste_connected = () ;
|
||||||
|
push(@liste_connected,$name) ; }
|
||||||
|
else {$name = $fm->localise('ALL_OF_THEM')}
|
||||||
|
|
||||||
|
esmith::cgi::genHeaderNonCacheable ($q, \%conf,$fm->localise('SENDING_A_WINPOPUP'));
|
||||||
|
print $q->h3($fm->localise('SENDING_A_WINPOPUP_TO') . " @liste_connected.");
|
||||||
|
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
|
||||||
|
print $q->table ({border => 0, cellspacing => 0, cellpadding => 4},
|
||||||
|
esmith::cgi::genNameValueRow ($q,$fm->localise('YOUR_MESSAGE'), 'message2send',
|
||||||
|
$fm->localise('WRITE_YOUR_MESSAGE')) );
|
||||||
|
print '</table>';
|
||||||
|
print $q->hr;
|
||||||
|
print $q->p ($q->p ($fm->localise('DO_YOU_WANT_TO_SENT') . " $name"));
|
||||||
|
print $q->submit (-name => 'action', -value => $fm->localise('SEND_WINPOPUP_TO') . " $name");
|
||||||
|
print $q->hidden (-name => 'liste_connected', -override => 1,
|
||||||
|
-default => @liste_connected);
|
||||||
|
print $q->hidden (-name => 'message2send', -override => 1, -default => $message2send);
|
||||||
|
print $q->hidden (-name => 'state', -override => 1, -default => 'perform_message');
|
||||||
|
print $q->endform;
|
||||||
|
print $q->p($fm->localise('CLICK_HERE_TO_MAIN_PANEL'));
|
||||||
|
esmith::cgi::genFooter ($q);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Perform message
|
||||||
|
#===============================================================================
|
||||||
|
sub Perform_Message($){
|
||||||
|
|
||||||
|
###Pull CGI object from parameters array
|
||||||
|
$q = shift;
|
||||||
|
|
||||||
|
###Get Mac Adress
|
||||||
|
my @liste_connected = split(' ',$q->param('liste_connected'));
|
||||||
|
my $message2send = $q->param('message2send');
|
||||||
|
|
||||||
|
foreach (@liste_connected){
|
||||||
|
system ("/etc/e-smith/events/actions/send-message","$_","$message2send") ;
|
||||||
|
}
|
||||||
|
Table_IP($q, $fm->localise('SUCCESSFULLY_SENT_MESSAGE') . " @liste_connected." . $fm->localise('WARNING_NO_WINPOPUP_GARANTY'));
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Win Popup for all connected hosts
|
||||||
|
#===============================================================================
|
||||||
|
sub Global_WinPopup($){
|
||||||
|
|
||||||
|
my $q = shift;
|
||||||
|
my @liste_connected = $q->param('liste_connected');
|
||||||
|
Message($q,@liste_connected);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Create Table_IP of dhcp server
|
||||||
|
#===============================================================================
|
||||||
|
sub Table_IP ($$) {
|
||||||
|
###Pull cgi object from parameters array
|
||||||
|
my $q = shift;
|
||||||
|
my @computer;
|
||||||
|
my $status ;
|
||||||
|
|
||||||
|
###Pull action message, if any, from parameters array
|
||||||
|
my $action_message = shift;
|
||||||
|
|
||||||
|
###Retrieve SME configuration entry for dhcpd
|
||||||
|
my $dbh_sme = esmith::ConfigDB->open('/home/e-smith/db/configuration');
|
||||||
|
my %sme_conf = $dbh_sme->get('dhcpd')->props;
|
||||||
|
|
||||||
|
###Display Main Panel Title
|
||||||
|
esmith::cgi::genHeaderNonCacheable ($q, \%conf, $fm->localise('MANAGING_DHCP_CLIENT'));
|
||||||
|
|
||||||
|
###Check to see if we just processed a panel action. If so, display
|
||||||
|
###action message and bail.
|
||||||
|
if ($action_message) {
|
||||||
|
print $q->h3 ($fm->localise('STATUS_REPORT') . " $action_message");
|
||||||
|
}
|
||||||
|
|
||||||
|
#------------------------------------------------------------
|
||||||
|
# Start DHCP client Panel
|
||||||
|
#------------------------------------------------------------
|
||||||
|
print $q->p ('');
|
||||||
|
print $q->startform (-method => 'POST',
|
||||||
|
-action => $q->url (-absolute => 1));
|
||||||
|
#refresh the list
|
||||||
|
print esmith::cgi::genButtonRow ($q,$q->submit (-name => 'state',-value => $fm->localise('REFRESH')));
|
||||||
|
#Remove all dhcpd lease
|
||||||
|
print esmith::cgi::genButtonRow ($q,$q->submit (-name => 'state',-value => $fm->localise('REMOVE_ALL_LEASES')));
|
||||||
|
print $q->hr;
|
||||||
|
|
||||||
|
print $q->table ({border => 0, cellspacing => 0, cellpadding => 4},
|
||||||
|
esmith::cgi::genWidgetRow ($q, $fm->localise('CHECK_CLIENT_STATUS'),
|
||||||
|
$q->popup_menu (-name => 'dhcp_check',
|
||||||
|
-values => ['disabled', 'enabled'],
|
||||||
|
-default => $sme_conf{'check'},
|
||||||
|
-labels => \%check)) );
|
||||||
|
|
||||||
|
##save checkip ('Saving modification and restart the daemon...') and go to sub Save_checkip :)
|
||||||
|
print $q->table ({border => 0, cellspacing => 0, cellpadding => 4},
|
||||||
|
esmith::cgi::genTextRow ($q,
|
||||||
|
$q->p ($fm->localise('SAVE_TITLE'))));
|
||||||
|
|
||||||
|
print $q->start_table ({width => "100%", -class => "sme-noborders"}),
|
||||||
|
"\n";
|
||||||
|
print esmith::cgi::genButtonRow ($q,
|
||||||
|
$q->submit (-name => 'action', -value => $fm->localise('SAVE/RESTART')));
|
||||||
|
|
||||||
|
print $q->end_table,"\n";
|
||||||
|
print $q->hidden (
|
||||||
|
-name => 'state',
|
||||||
|
-override => 1,
|
||||||
|
-default => 'Save_checkIP'
|
||||||
|
),"\n";
|
||||||
|
|
||||||
|
print $q->endform;
|
||||||
|
|
||||||
|
# Refresh Liste
|
||||||
|
print $q->p($fm->localise('CLICK_HERE_TO_MAIN_PANEL'));
|
||||||
|
|
||||||
|
|
||||||
|
&Load_leases ($q) ;
|
||||||
|
if ( 2 > 1 ) {
|
||||||
|
print $q->p ($q->b (''));
|
||||||
|
print $q->table ({border => 1, cellspacing => 1, cellpadding => 4,nowarp => 1});
|
||||||
|
print $q->Tr (esmith::cgi::genSmallCell ($q, $q->p ( '<center>' . 'IP')),
|
||||||
|
esmith::cgi::genSmallCell ($q, $q->p ( '<center>' . $fm->localise('NETWORK_NAME'))),
|
||||||
|
esmith::cgi::genSmallCell ($q, $q->p ( '<center>' . $fm->localise('STATUS_CLICK_FOR_WOL'))),
|
||||||
|
esmith::cgi::genSmallCell ($q, $q->p ( '<center>' . $fm->localise('START_DATE'))),
|
||||||
|
esmith::cgi::genSmallCell ($q, $q->p ( '<center>' . $fm->localise('END_DATE'))),
|
||||||
|
esmith::cgi::genSmallCell ($q, $q->p ( '<center>' . $fm->localise('MAC_ADDRESS') .
|
||||||
|
'</CENTER>')),
|
||||||
|
);
|
||||||
|
##9(sme8)12(sme9)->netbios (ancien10)::8(sme8)11(sme9)->mac address (ancien8)::0->ip::
|
||||||
|
##it is possible you may adapt array number if more options/lines are added to the dhcpd.leases
|
||||||
|
##symptoms are a blank or wrong line in Table_IP
|
||||||
|
my @mac = ();
|
||||||
|
my @count = ();
|
||||||
|
|
||||||
|
foreach (@liste_computer){
|
||||||
|
@computer = split(/;/, $_) ;
|
||||||
|
|
||||||
|
#we want to sort elements the array by mac address
|
||||||
|
|
||||||
|
$computer[11] = uc($computer[11]) ;
|
||||||
|
push @mac, ($computer[11]);
|
||||||
|
my @count;
|
||||||
|
push @count , (grep /$computer[11]/ , @mac);
|
||||||
|
next if (scalar @count > 1);
|
||||||
|
|
||||||
|
|
||||||
|
#we start the table if it is a valid IP
|
||||||
|
if ( $computer[0] ) {
|
||||||
|
$computer[12] = uc($computer[12]) ;
|
||||||
|
my $datedeb = $computer[2] . "-" . $computer[3] ;
|
||||||
|
my $datefin = $computer[5] . "-" . $computer[6] ;
|
||||||
|
$status = $q->a ({href => $q->url (-absolute => 1) .
|
||||||
|
"?state=wake_up&MAC=" . $computer[11] . "&name=" .
|
||||||
|
$computer[12]}, $fm->localise('NOT_CHECKED')) ;
|
||||||
|
if ( $sme_conf{'check'} =~ /enabled/ ) {
|
||||||
|
use Net::Ping;
|
||||||
|
my($ping_obj) = Net::Ping->new("icmp");
|
||||||
|
# formatage des dates
|
||||||
|
$computer[3] = substr($computer[3],0,5);
|
||||||
|
$computer[6] = substr($computer[6],0,5);
|
||||||
|
if ($ping_obj->ping("$computer[0]")) {
|
||||||
|
push(@liste_connected,$computer[12]) ;
|
||||||
|
$status = $fm->localise('ACTIVE_DEVICE');
|
||||||
|
#alimentation de la liste des connect<63>
|
||||||
|
}
|
||||||
|
else { $status = $q->a ({href => $q->url (-absolute => 1) .
|
||||||
|
"?state=wake_up&MAC=" . $computer[11] . "&name=" .
|
||||||
|
$computer[12]}, $fm->localise('WAKE_UP_ACTION'));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
push(@liste_connected,$computer[12]) ;
|
||||||
|
|
||||||
|
}
|
||||||
|
print $q->Tr (esmith::cgi::genSmallCell ($q, "$computer[0]"),
|
||||||
|
esmith::cgi::genSmallCell ($q, "$computer[12]"),
|
||||||
|
esmith::cgi::genSmallCell ($q, "<CENTER>" ."$status" ),
|
||||||
|
esmith::cgi::genSmallCell ($q, "<CENTER>" . "$datedeb" . "</CENTER>"),
|
||||||
|
esmith::cgi::genSmallCell ($q, "<CENTER>" . "$datefin" . "</CENTER>"),
|
||||||
|
esmith::cgi::genSmallCell ($q, "$computer[11]"),
|
||||||
|
esmith::cgi::genSmallCell ($q,
|
||||||
|
$q->a ({href => $q->url (-absolute => 1)
|
||||||
|
. "?state=del_lease&host=" . $computer[0] . "&name=" .
|
||||||
|
$computer[12]}, $fm->localise('REMOVE_ACTION'))),
|
||||||
|
esmith::cgi::genSmallCell ($q,
|
||||||
|
$q->a ({href => $q->url (-absolute => 1)
|
||||||
|
. "?state=message&name=" . $computer[12]}, $fm->localise('WINPOPUP_ACTION')))
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
print '</table>';
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
print $q->p ($q->b ($fm->localise('NO_CONNECTED_COMPUTERS')));
|
||||||
|
}
|
||||||
|
|
||||||
|
print $q->p($fm->localise('CLICK_HERE_TO_MAIN_PANEL'));
|
||||||
|
|
||||||
|
esmith::cgi::genFooter ($q);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
#
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: procedure qui sauve le checkip de la subroutine Table_ip
|
||||||
|
#===============================================================================
|
||||||
|
sub Save_checkip ($){
|
||||||
|
|
||||||
|
##Pull CGI object from parameters array
|
||||||
|
my $q = shift;
|
||||||
|
|
||||||
|
###Build Hash of config parameters to update from cgi submit
|
||||||
|
my $dhcpd_check = $q->param ('dhcp_check');
|
||||||
|
|
||||||
|
##Initiate get method --> create record object
|
||||||
|
my $dbh_sme = esmith::ConfigDB->open('/home/e-smith/db/configuration');
|
||||||
|
|
||||||
|
my $sme_record = $dbh_sme->get('dhcpd');
|
||||||
|
|
||||||
|
$sme_record->set_prop('check' , $dhcpd_check);
|
||||||
|
|
||||||
|
system ("/sbin/e-smith/signal-event","workgroup-update") == 0
|
||||||
|
or die "Error while saving settings: $!";
|
||||||
|
Table_IP($q, $fm->localise('SUCCESSFULLY_SAVED_SETTINGS'));
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
#
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: procedure qui supprime tous les bail dans le dhcpd.leases
|
||||||
|
#===============================================================================
|
||||||
|
sub Del_all_Lease ($){
|
||||||
|
###Pull CGI object from parameters array
|
||||||
|
$q = shift;
|
||||||
|
|
||||||
|
###Start Panel.
|
||||||
|
esmith::cgi::genHeaderNonCacheable ($q, \%conf, $fm->localise('REMOVE_DHCP_LEASE_TITLE'));
|
||||||
|
print $q->h3($fm->localise('REMOVE_DHCP_LEASE_WARNING'));
|
||||||
|
|
||||||
|
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
print $q->p ( $fm->localise('REMOVE_DHCP_LEASE_WARNING2'));
|
||||||
|
|
||||||
|
print $q->p ($q->b ($fm->localise('ARE_YOU_SURE')));
|
||||||
|
|
||||||
|
print $q->submit (-name => 'state', -value => $fm->localise('REMOVE_ALL_LEASES_ACTION'));
|
||||||
|
|
||||||
|
print $q->p($fm->localise('CLICK_HERE_TO_MAIN_PANEL'));
|
||||||
|
|
||||||
|
|
||||||
|
print $q->endform;
|
||||||
|
esmith::cgi::genFooter ($q);
|
||||||
|
return;
|
||||||
|
|
||||||
|
}
|
||||||
|
#
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: supprime tous les bail dans le dhcpd.leases
|
||||||
|
#===============================================================================
|
||||||
|
sub Perform_del_all_Lease ($){
|
||||||
|
|
||||||
|
system ('/bin/echo "" > /var/lib/dhcpd/dhcpd.leases') ==0
|
||||||
|
or die "Error while removing all leases: $!";
|
||||||
|
|
||||||
|
system ("/sbin/e-smith/signal-event","workgroup-update") == 0
|
||||||
|
or die "Error while saving settings: $!";
|
||||||
|
|
||||||
|
Table_IP($q, $fm->localise('SUCCESSFULLY_REMOVED_ALL_LEASES'));
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Scan The Local Network
|
||||||
|
#===============================================================================
|
||||||
|
sub Scan_Local_Network ($) {
|
||||||
|
|
||||||
|
esmith::cgi::genHeaderNonCacheable ($q, \%conf, $fm->localise('SCANNING_NETWORK_TITLE'));
|
||||||
|
my $nmap_sme = esmith::ConfigDB->open('/home/e-smith/db/configuration');
|
||||||
|
my $mask = $nmap_sme->get_value('LocalNetmask');
|
||||||
|
my $network = $nmap_sme->get_prop('InternalInterface','Network');
|
||||||
|
|
||||||
|
#we start to calculate the method to find the cidr (we want to use network/cidr with nmap)
|
||||||
|
|
||||||
|
sub dec2bin {
|
||||||
|
my $str = unpack("B32", pack("N", shift));
|
||||||
|
return $str;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub netmask2cidr {
|
||||||
|
my ($mask, $network) = @_;
|
||||||
|
my @octet = split (/\./, $mask);
|
||||||
|
my @bits;
|
||||||
|
my $binmask;
|
||||||
|
my $binoct;
|
||||||
|
my $bitcount=0;
|
||||||
|
|
||||||
|
foreach (@octet) {
|
||||||
|
$binoct = dec2bin($_);
|
||||||
|
$binmask = $binmask . substr $binoct, -8;
|
||||||
|
}
|
||||||
|
|
||||||
|
# let's count the 1s
|
||||||
|
@bits = split (//,$binmask);
|
||||||
|
foreach (@bits) {
|
||||||
|
if ($_ eq "1") {
|
||||||
|
$bitcount++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
my $cidr = $network . "/" . $bitcount;
|
||||||
|
return $cidr;
|
||||||
|
}
|
||||||
|
|
||||||
|
#Then lets go to calculate the cidr
|
||||||
|
my $cidr = netmask2cidr($mask, $network);
|
||||||
|
|
||||||
|
#ok go to use nmap with nmap -T4 -sP network/cidr
|
||||||
|
print $q->p ;
|
||||||
|
print $q->h3($fm->localise('NETWORK_VALUES_FOUND') . " $cidr \($mask\)");
|
||||||
|
print $q->p ;
|
||||||
|
print $q->p($fm->localise('CLICK_HERE_TO_MAIN_PANEL'));
|
||||||
|
|
||||||
|
foreach (`/usr/bin/nmap --script smb-os-discovery.nse -p U:137,T:139 $cidr|
|
||||||
|
/bin/grep -Ev "MAC|NetBIOS|OS CPE"| /bin/grep -E "scan|done|Computer|OS"|
|
||||||
|
/bin/sed -e 's/Nmap scan/-- Scan/g'|/bin/sed -e 's/done/Done/g'|
|
||||||
|
/bin/sed -e 's/Nmap//g'|/bin/sed -e 's/|/ /g'`) {
|
||||||
|
print $q->br($_);}
|
||||||
|
|
||||||
|
print $q->p ;
|
||||||
|
|
||||||
|
print $q->p($fm->localise('CLICK_HERE_TO_MAIN_PANEL'));
|
||||||
|
|
||||||
|
esmith::cgi::genFooter ($q);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
__DATA__
|
||||||
|
<form>
|
||||||
|
</form>
|
704
root/usr/share/smanager/lib/SrvMngr/Controller/Dhcpd.pm
Normal file
704
root/usr/share/smanager/lib/SrvMngr/Controller/Dhcpd.pm
Normal file
@ -0,0 +1,704 @@
|
|||||||
|
package SrvMngr::Controller::Dhcpd;
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
# heading : Network
|
||||||
|
# description : DHCP manager
|
||||||
|
# navigation : 6000 550
|
||||||
|
#
|
||||||
|
# name : dhcpd, method : get, url : /dhcpd, ctlact : Dhcpd#main
|
||||||
|
# name : dhcpd1, method : get, url : /dhcpd1, ctlact : Dhcpd#do_leases
|
||||||
|
# name : dhcpd2, method : get, url : /dhcpd2, ctlact : Dhcpd#do_winpopup
|
||||||
|
# name : dhcpd3, method : get, url : /dhcpd3, ctlact : Dhcpd#do_scan
|
||||||
|
# name : dhcpd4, method : get, url : /dhcpd4, ctlact : Dhcpd#do_delete_all_leases
|
||||||
|
# name : dhcpd5, method : post, url : /dhcpd5, ctlact : Dhcpd#do_update_config
|
||||||
|
# name : dhcpd6, method : get, url : /dhcpd6, ctlact : Dhcpd#do_delete_one_lease
|
||||||
|
# name : dhcpd7, method : get, url : /dhcpd7, ctlact : Dhcpd#do_refresh_leases
|
||||||
|
# name : dhcpd8, method : get, url : /dhcpd8, ctlact : Dhcpd#do_winpopup
|
||||||
|
# name : dhcpd9, method : get, url : /dhcpd9, ctlact : Dhcpd#do_wol
|
||||||
|
# name : dhcpd10, method : post, url : /dhcpd10, ctlact : Dhcpd#do_update_check
|
||||||
|
#
|
||||||
|
# routes : end
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Documentation: https://wiki.koozali.org/Dhcpmanager
|
||||||
|
#
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Mojo::Base 'Mojolicious::Controller';
|
||||||
|
|
||||||
|
use constant FALSE => 0;
|
||||||
|
use constant TRUE => 1;
|
||||||
|
|
||||||
|
use Locale::gettext;
|
||||||
|
use SrvMngr::I18N;
|
||||||
|
use SrvMngr qw(theme_list init_session);
|
||||||
|
|
||||||
|
use Data::Dumper;
|
||||||
|
use esmith::util;
|
||||||
|
use esmith::HostsDB;
|
||||||
|
use esmith::AccountsDB;
|
||||||
|
use Net::Ping;
|
||||||
|
use esmith::util::network qw(:all);
|
||||||
|
use Socket qw( inet_aton );
|
||||||
|
|
||||||
|
|
||||||
|
#our $adb = esmith::AccountsDB->open() or die("Unable to open accounts DB");
|
||||||
|
|
||||||
|
my %dhcp_data = ();
|
||||||
|
|
||||||
|
sub main {
|
||||||
|
#
|
||||||
|
# Initial page - full summary of parameters etc
|
||||||
|
# Initial para from the Wiki.
|
||||||
|
#
|
||||||
|
my $c = shift;
|
||||||
|
%dhcp_data = ();
|
||||||
|
do_display($c);
|
||||||
|
}
|
||||||
|
|
||||||
|
sub do_display {
|
||||||
|
#
|
||||||
|
# Front parameters page
|
||||||
|
#
|
||||||
|
my $c = shift;
|
||||||
|
$c->app->log->info( $c->log_req );
|
||||||
|
my $title = $c->l("dhcpd_DHCP manager");
|
||||||
|
my $modul = '';
|
||||||
|
my $trt = "SETTINGS";
|
||||||
|
our $db = esmith::ConfigDB->open() or die("Unable to open Configuration DB");
|
||||||
|
our %sme_conf = $db->get('dhcpd')->props;
|
||||||
|
our %smb_conf = $db->get('smb')->props;
|
||||||
|
$dhcp_data{trt} = $trt;
|
||||||
|
$dhcp_data{"status"} = [[$c->l('dhcpd_ENABLED'),'enabled'],
|
||||||
|
[$c->l('dhcpd_DISABLED'),'disabled']
|
||||||
|
];
|
||||||
|
|
||||||
|
$dhcp_data{"check"} = [[$c->l('dhcpd_ENABLED'),'enabled'],
|
||||||
|
[$c->l('dhcpd_DISABLED'),'disabled']
|
||||||
|
];
|
||||||
|
if (! $sme_conf{'winscustom'} ) {
|
||||||
|
$sme_conf{'winscustom'} = 'disabled' ;
|
||||||
|
}
|
||||||
|
if (! $sme_conf{'dnscustom'} ) {
|
||||||
|
$sme_conf{'dnscustom'} = 'disabled' ;
|
||||||
|
}
|
||||||
|
if ( ! $sme_conf{'leasetime'} )
|
||||||
|
{ $sme_conf{'leasetime'} = "86400" ;
|
||||||
|
}
|
||||||
|
if (! $sme_conf{'gatewaycustom'} ) {
|
||||||
|
$sme_conf{'gatewaycustom'} = 'disabled' ;
|
||||||
|
}
|
||||||
|
# Accumulate parameters for Configuration DB
|
||||||
|
$dhcp_data{'params'} = \%sme_conf;
|
||||||
|
$dhcp_data{'smbparams'} = \%smb_conf;
|
||||||
|
$c->stash( title => $title,
|
||||||
|
modul => $modul,
|
||||||
|
dhcp_data => \%dhcp_data
|
||||||
|
);
|
||||||
|
#die("here");
|
||||||
|
$c->render( template => 'dhcpd' );
|
||||||
|
}
|
||||||
|
|
||||||
|
sub do_leases {
|
||||||
|
#
|
||||||
|
# Show a table of the leases
|
||||||
|
#
|
||||||
|
my $c = shift;
|
||||||
|
my $title = $c->l("dhcpd_MANAGING_DHCP_CLIENT");
|
||||||
|
my $modul = '';
|
||||||
|
my $trt = "LEASES";
|
||||||
|
$dhcp_data{"check"} = [[$c->l('dhcpd_ENABLED'),'enabled'],
|
||||||
|
[$c->l('dhcpd_DISABLED'),'disabled']
|
||||||
|
];
|
||||||
|
$dhcp_data{trt} = $trt;
|
||||||
|
$dhcp_data{"first"} = '';
|
||||||
|
my @leases = get_leases_in_array($c);
|
||||||
|
$c->stash( title => $title, modul => $modul, dhcp_data => \%dhcp_data, leases=> \@leases );
|
||||||
|
$c->render( template => 'dhcpd' );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub do_winpopup {
|
||||||
|
#
|
||||||
|
# call to win pop up
|
||||||
|
#
|
||||||
|
my $c = shift;
|
||||||
|
my $title = $c->l("dhcpd_GLOBAL_WINPOPUP");
|
||||||
|
my $modul = '';
|
||||||
|
my $trt = "WINPOPUP";
|
||||||
|
$dhcp_data{trt} = $trt;
|
||||||
|
$dhcp_data{"first"} = '';
|
||||||
|
#..... get winpopup details
|
||||||
|
$c->stash( title => $title, modul => $modul, dhcp_data => \%dhcp_data );
|
||||||
|
$c->render( template => 'dhcpd' );
|
||||||
|
}
|
||||||
|
|
||||||
|
sub do_scan {
|
||||||
|
#
|
||||||
|
# call to show scan results
|
||||||
|
#
|
||||||
|
my $c = shift;
|
||||||
|
my $title = $c->l("dhcpd_SCANNING_NETWORK_TITLE");
|
||||||
|
my $modul = '';
|
||||||
|
my $trt = "SCAN";
|
||||||
|
$dhcp_data{trt} = $trt;
|
||||||
|
$dhcp_data{"first"} = '';
|
||||||
|
# ..... get scan results into stash for passing to html template
|
||||||
|
my $dhcp_scanresults = get_scan_results($c);
|
||||||
|
$c->stash( title => $title, modul => $modul, "dhcp_data" => \%dhcp_data, "scanresults" => $dhcp_scanresults);
|
||||||
|
$c->render( template => 'dhcpd' );
|
||||||
|
}
|
||||||
|
|
||||||
|
sub do_update_config {
|
||||||
|
#
|
||||||
|
# Update config dhcp parameters
|
||||||
|
# called through form submit.
|
||||||
|
#
|
||||||
|
my $c = shift;
|
||||||
|
# Input results are in $c->param(<fieldname>).
|
||||||
|
# If parameters do not validate, then return error message.
|
||||||
|
# else write into config DB, and...
|
||||||
|
# signal-event and ...return ok
|
||||||
|
$dhcp_data{"success"} ="";
|
||||||
|
my $ret = Main_Save($c);
|
||||||
|
if ($ret eq 'ok') {
|
||||||
|
$dhcp_data{"success"}="dhcpd_SUCCESSFULLY_SAVED_SETTINGS";
|
||||||
|
} else {
|
||||||
|
$dhcp_data{"error"}=$ret;
|
||||||
|
}
|
||||||
|
do_display($c);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub do_update_check {
|
||||||
|
#Just update the check parameter
|
||||||
|
my $c = shift;
|
||||||
|
my $dhcpd_check = $c->param ('dhcp_check');
|
||||||
|
###Update SME configuration dbase
|
||||||
|
my $dbh_sme = esmith::ConfigDB->open('/home/e-smith/db/configuration');
|
||||||
|
##Initiate get method --> create record object
|
||||||
|
my $sme_record = $dbh_sme->get('dhcpd');
|
||||||
|
$sme_record->set_prop('check' , $dhcpd_check);
|
||||||
|
$dhcp_data{"success"}="dhcpd_SUCCESSFULLY_SAVED_SETTINGS";
|
||||||
|
do_display($c);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub Main_Save ($){
|
||||||
|
|
||||||
|
##Pull CGI object from parameters array
|
||||||
|
my $q = shift;
|
||||||
|
|
||||||
|
###Build Hash of config parameters to update from cgi submit
|
||||||
|
my $dhcpd_status = $q->param ('dhcp_enable');
|
||||||
|
my $dhcpd_winscustom = $q->param ('dhcp_winscustom');
|
||||||
|
my $dhcpd_check = $q->param ('dhcp_check');
|
||||||
|
my $dhcpd_start = $q->param ('dhcp_start');
|
||||||
|
my $dhcpd_end = $q->param ('dhcp_end');
|
||||||
|
my $dhcpd_winsserver = $q->param ('dhcp_winsserver');
|
||||||
|
my $dhcpd_leasetime = $q->param ('dhcp_leasetime');
|
||||||
|
my $dhcpd_dnscustom = $q->param ('dhcp_dnscustom');
|
||||||
|
my $dhcpd_dns1server = $q->param ('dhcp_dns1server');
|
||||||
|
my $dhcpd_dns2server = $q->param ('dhcp_dns2server');
|
||||||
|
my $dhcpd_dns3server = $q->param ('dhcp_dns3server');
|
||||||
|
my $dhcpd_gatewaycustom = $q->param ('dhcp_gatewaycustom');
|
||||||
|
my $dhcpd_gateway = $q->param ('dhcp_gateway');
|
||||||
|
|
||||||
|
###Update SME configuration dbase
|
||||||
|
my $dbh_sme = esmith::ConfigDB->open('/home/e-smith/db/configuration');
|
||||||
|
|
||||||
|
##Initiate get method --> create record object
|
||||||
|
my $sme_record = $dbh_sme->get('dhcpd');
|
||||||
|
#get localip of server
|
||||||
|
my $local_ip = $dbh_sme->get_value('LocalIP');
|
||||||
|
|
||||||
|
##Set status of service
|
||||||
|
$sme_record->set_prop('status', $dhcpd_status);
|
||||||
|
$sme_record->set_prop('check' , $dhcpd_check);
|
||||||
|
$sme_record->set_prop('winscustom', $dhcpd_winscustom);
|
||||||
|
$sme_record->set_prop('leasetime' , $dhcpd_leasetime);
|
||||||
|
$sme_record->set_prop('dnscustom' , $dhcpd_dnscustom);
|
||||||
|
$sme_record->set_prop('gatewaycustom' , $dhcpd_gatewaycustom);
|
||||||
|
|
||||||
|
#checkip to the dhcpserver, perform the save in DB configuration or display an error if value != of a valid ip or if dhcp_start is greater than dhcp_end
|
||||||
|
|
||||||
|
|
||||||
|
if ($dhcpd_status eq "enabled")
|
||||||
|
{
|
||||||
|
if ( isValidIP ($dhcpd_start) && isValidIP ($dhcpd_end))
|
||||||
|
{
|
||||||
|
#check if $dhcpd_start is greater than $dhcpd_end and if yes, display an error message.
|
||||||
|
|
||||||
|
if (inet_aton($dhcpd_start) ge inet_aton($dhcpd_end))
|
||||||
|
{
|
||||||
|
return $q->l('dhcpd_DHCP_START_GREATER_DHCP_END_ERRORS') . ' (' . $dhcpd_start . '/' . $dhcpd_end .')';
|
||||||
|
}
|
||||||
|
elsif ( ( (inet_aton($dhcpd_start) le inet_aton($local_ip) ) && ( inet_aton($dhcpd_end)) ge inet_aton($local_ip) ) )
|
||||||
|
{
|
||||||
|
#display an error if the range of dhcp server include the ip of the server address
|
||||||
|
return $q->l('dhcpd_DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP') . ' (' . $local_ip . ')';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#set value
|
||||||
|
my $dhcpd_start = cleanIP($dhcpd_start);
|
||||||
|
my $dhcpd_end = cleanIP($dhcpd_end);
|
||||||
|
|
||||||
|
$sme_record->set_prop('end', $dhcpd_end);
|
||||||
|
$sme_record->set_prop('start', $dhcpd_start);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#if $dhcpd_start or $dhcpd_end are not valid ip then display an error
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return $q->l('dhcpd_DHCP_RANGE_WITH_BAD_IP') . ' (' . $dhcpd_start . '/' . $dhcpd_end .')';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#checkip to the winserver perform the save in DB configuration or display an error if value != of a valid ip
|
||||||
|
if ($dhcpd_winscustom eq "enabled")
|
||||||
|
{
|
||||||
|
|
||||||
|
if ( isValidIP ($dhcpd_winsserver) )
|
||||||
|
{
|
||||||
|
#set value
|
||||||
|
my $dhcpd_winsserver = cleanIP($dhcpd_winsserver);
|
||||||
|
$dbh_sme->set_prop('smb','WINSServer', $dhcpd_winsserver);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#if $dhcpd_winsserver is not valid ip then display an error
|
||||||
|
return $q->l('dhcpd_WINSSERVER_BAD_IP') . ' (' . $dhcpd_winsserver .')';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elsif ($dhcpd_winscustom eq "disabled")
|
||||||
|
{
|
||||||
|
my $delws = $dbh_sme->get('smb');
|
||||||
|
$delws->delete_prop('WINSServer');
|
||||||
|
}
|
||||||
|
|
||||||
|
#checkip to the dnsserver custom, perform the save in DB configuration or display an error if value != of a valid ip
|
||||||
|
if ($dhcpd_dnscustom eq "enabled")
|
||||||
|
{
|
||||||
|
#check if $dhcpd_dns1server and ( $dhcpd_dns2server are valid ip or $dhcpd_dns2server = null )
|
||||||
|
if ( isValidIP ($dhcpd_dns1server) && (isValidIP($dhcpd_dns2server) || ( $dhcpd_dns2server eq "") ) && (isValidIP($dhcpd_dns3server) || ( $dhcpd_dns3server eq "") ) )
|
||||||
|
{
|
||||||
|
#set value
|
||||||
|
my $dhcpd_dns1server = cleanIP($dhcpd_dns1server);
|
||||||
|
$sme_record->set_prop('dns1server' , $dhcpd_dns1server);
|
||||||
|
my $dhcpd_dns2server = cleanIP($dhcpd_dns2server);
|
||||||
|
$sme_record->set_prop('dns2server' , $dhcpd_dns2server);
|
||||||
|
my $dhcpd_dns3server = cleanIP($dhcpd_dns3server);
|
||||||
|
$sme_record->set_prop('dns3server' , $dhcpd_dns3server);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
##if $dhcpd_dns1server or $dhcpd_dns2server or $dhcpd_dns3server are not valid ip then display an error
|
||||||
|
return $q->l('dhcpd_DNS_SERVER_WITH_BAD_IP') . ' (' . $dhcpd_dns1server . '/' . $dhcpd_dns2server . '/' . $dhcpd_dns3server .')';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#checkip to the gateway_custom perform the save in DB configuration or display an error if value != of a valid ip
|
||||||
|
if ($dhcpd_gatewaycustom eq "enabled")
|
||||||
|
{
|
||||||
|
if ( isValidIP ($dhcpd_gateway) )
|
||||||
|
{
|
||||||
|
#set value
|
||||||
|
my $dhcpd_gateway = cleanIP($dhcpd_gateway);
|
||||||
|
$sme_record->set_prop('gateway' , $dhcpd_gateway);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#if $dhcpd_gateway is not valid ip then display an error
|
||||||
|
return $q->l('dhcpd_GATEWAY_BAD_IP') . ' (' . $dhcpd_gateway .')';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# - 4 expand templates
|
||||||
|
# changed to new sme standard signal-event
|
||||||
|
system ("/sbin/e-smith/signal-event","workgroup-update") == 0
|
||||||
|
or die "Error while saving settings: $!";
|
||||||
|
return 'ok';
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub do_delete_all_leases {
|
||||||
|
#
|
||||||
|
# Delete all the specified lease
|
||||||
|
# Called from button at top of leases list panel
|
||||||
|
#
|
||||||
|
my $c = shift;
|
||||||
|
my $ret = delete_all_leases($c);
|
||||||
|
if ($ret == 'ok') {
|
||||||
|
$dhcp_data{"success"}="dhcpd_SUCCESSFULLY_SAVED_SETTINGS";
|
||||||
|
do_leases($c);
|
||||||
|
}
|
||||||
|
else {$dhcp_data{"error"}=$ret;}
|
||||||
|
return ;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub do_delete_one_lease {
|
||||||
|
#
|
||||||
|
# Delete the specified lease
|
||||||
|
# Called from link in table of leases
|
||||||
|
#
|
||||||
|
my $c = shift;
|
||||||
|
# Lease in $c->param("lease")
|
||||||
|
# Validate - if not return error message
|
||||||
|
# delete it
|
||||||
|
# If deletion not ok return message
|
||||||
|
# else return "ok"
|
||||||
|
my $ret = delete_one_lease($c);
|
||||||
|
if ($ret == 'ok') {
|
||||||
|
$dhcp_data{"success"}="dhcpd_SUCCESSFULLY_SAVED_SETTINGS";
|
||||||
|
do_leases($c);
|
||||||
|
}
|
||||||
|
else {$dhcp_data{"error"}=$ret;}
|
||||||
|
return ;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub get_scan_results {
|
||||||
|
my $c = shift;
|
||||||
|
#...do it
|
||||||
|
return Scan_Local_Network($c);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub update_config {
|
||||||
|
my $c = shift;
|
||||||
|
#...do it
|
||||||
|
return "ok";
|
||||||
|
}
|
||||||
|
|
||||||
|
sub delete_one_lease {
|
||||||
|
my $c = shift;
|
||||||
|
Perform_Del_Lease($c);
|
||||||
|
return "ok";
|
||||||
|
}
|
||||||
|
|
||||||
|
sub delete_all_leases {
|
||||||
|
my $c = shift;
|
||||||
|
Perform_del_all_Lease($c);
|
||||||
|
return "ok";
|
||||||
|
}
|
||||||
|
|
||||||
|
sub get_leases_in_array {
|
||||||
|
my $c = shift;
|
||||||
|
my @leases = Load_leases($c);
|
||||||
|
# ...do it
|
||||||
|
return @leases;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub Perform_del_all_Lease ($){
|
||||||
|
|
||||||
|
system ('/bin/echo "" > /var/lib/dhcpd/dhcpd.leases') ==0
|
||||||
|
or die "Error while removing all leases: $!";
|
||||||
|
|
||||||
|
system ("/sbin/e-smith/signal-event","workgroup-update") == 0
|
||||||
|
or die "Error while saving settings: $!";
|
||||||
|
|
||||||
|
return 'ok';
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Perform delete lease
|
||||||
|
#===============================================================================
|
||||||
|
sub Perform_Del_Lease($){
|
||||||
|
|
||||||
|
###Pull CGI object from parameters array
|
||||||
|
my $c = shift;
|
||||||
|
|
||||||
|
#my $fred = 1/0;
|
||||||
|
|
||||||
|
###Pull entry to delete
|
||||||
|
my $ip = $c->param('ip');
|
||||||
|
my $name = $c->param('name');
|
||||||
|
my $name_in_file = '/var/lib/dhcpd/dhcpd.leases' ;
|
||||||
|
my $name_tmp_file = '/var/lib/dhcpd/dhcpd.leases.tmp' ;
|
||||||
|
my $name_out_file = '/var/lib/dhcpd/dhcpd.leases~' ;
|
||||||
|
my $del_current = "0" ;
|
||||||
|
|
||||||
|
open(INFILE,"<$name_in_file") || die "Read Error $name_in_file, Read: $!";
|
||||||
|
open(OUTFILE,">$name_tmp_file") || die "Write error $name_in_file, Write: $!";
|
||||||
|
while (<INFILE>) {
|
||||||
|
if ( "$_" =~ /lease $ip/ ) {
|
||||||
|
$del_current = "1" ;
|
||||||
|
}
|
||||||
|
if ( $del_current == "0" ) { print OUTFILE "$_" ; }
|
||||||
|
if ( "$_" =~ /}/ ) {
|
||||||
|
$del_current = "0" ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rename ($name_tmp_file,$name_in_file) ;
|
||||||
|
system ("/bin/cp","-f","$name_in_file","$name_out_file") ;
|
||||||
|
close(INFILE);
|
||||||
|
close(OUTFILE);
|
||||||
|
|
||||||
|
# changed to new sme standard signal-event
|
||||||
|
system ("/sbin/e-smith/signal-event","workgroup-update") == 0
|
||||||
|
or die "Error while saving settings: $!";
|
||||||
|
###Return action message
|
||||||
|
return $c->l('SUCCESSFULLY_DELETED_THE_CLIENT') . ' (' . $name . '/' . $ip .')';
|
||||||
|
}
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Scan The Local Network
|
||||||
|
#===============================================================================
|
||||||
|
sub dec2bin {
|
||||||
|
my $str = unpack("B32", pack("N", shift));
|
||||||
|
return $str;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub netmask2cidr {
|
||||||
|
my ($mask, $network) = @_;
|
||||||
|
my @octet = split (/\./, $mask);
|
||||||
|
my @bits;
|
||||||
|
my $binmask;
|
||||||
|
my $binoct;
|
||||||
|
my $bitcount=0;
|
||||||
|
|
||||||
|
foreach (@octet) {
|
||||||
|
$binoct = dec2bin($_);
|
||||||
|
$binmask = $binmask . substr $binoct, -8;
|
||||||
|
}
|
||||||
|
|
||||||
|
# let's count the 1s
|
||||||
|
@bits = split (//,$binmask);
|
||||||
|
foreach (@bits) {
|
||||||
|
if ($_ eq "1") {
|
||||||
|
$bitcount++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
my $cidr = $network . "/" . $bitcount;
|
||||||
|
return $cidr;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub get_mac_address {
|
||||||
|
# From the leases file
|
||||||
|
my ($ip, $file) = @_;
|
||||||
|
open(my $fh, '<', $file) or die "Could not open file '$file' $!";
|
||||||
|
my $mac_address = undef;
|
||||||
|
my $lease_block;
|
||||||
|
while(my $line = <$fh>) {
|
||||||
|
if($line =~ /lease $ip {/ .. $line =~ /}/) {
|
||||||
|
$lease_block .= $line;
|
||||||
|
if($line =~ /}/) {
|
||||||
|
if($lease_block =~ /hardware ethernet (\S+);/) {
|
||||||
|
$mac_address = $1;
|
||||||
|
last;
|
||||||
|
} else {
|
||||||
|
$lease_block = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
close $fh;
|
||||||
|
return $mac_address;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub trim { my $s = shift; $s =~ s/^\s+|\s+$//g; return $s };
|
||||||
|
|
||||||
|
sub get_mac_address_by_ping {
|
||||||
|
my ($ip) = trim(@_);
|
||||||
|
# Ping the IP to ensure it's in the ARP table
|
||||||
|
my $ping_result = `ping -c 1 -W 1 $ip`;
|
||||||
|
#return $ping_result;
|
||||||
|
if($ping_result =~ m/1 packets transmitted, 1 received/) {
|
||||||
|
# Fetch the ARP table and find the line with the IP address
|
||||||
|
my $mac_result = `nmap -PR -sn $ip`;
|
||||||
|
#return "*$arp_result *$ip*";
|
||||||
|
# If found, return the MAC address
|
||||||
|
#if ($arp_result =~ m/.*at ((?:[0-9a-f]{2}\:){5}[0-9a-f]{2})/) {
|
||||||
|
if ($mac_result =~ /MAC Address: (..:..:..:..:..:..) /) {
|
||||||
|
return $1;
|
||||||
|
} else { return "mac not in nmap result";}
|
||||||
|
} else { return "no ping";}
|
||||||
|
return undef;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
sub Scan_Local_Network ($) {
|
||||||
|
|
||||||
|
my $nmap_sme = esmith::ConfigDB->open('/home/e-smith/db/configuration');
|
||||||
|
my $mask = $nmap_sme->get_value('LocalNetmask');
|
||||||
|
my $network = $nmap_sme->get_prop('InternalInterface','Network');
|
||||||
|
|
||||||
|
#we start to calculate the method to find the cidr (we want to use network/cidr with nmap)
|
||||||
|
my $cidr = netmask2cidr($mask, $network);
|
||||||
|
|
||||||
|
#ok go to use nmap with nmap -T4 -sP network/cidr
|
||||||
|
my @nmap_output= `/usr/bin/nmap --script smb-os-discovery.nse -p U:137,T:139 $cidr|
|
||||||
|
/bin/grep -Ev "MAC|NetBIOS|OS CPE"| /bin/grep -E "scan|done|Computer|OS"|
|
||||||
|
/bin/sed -e 's/Nmap scan/-- Scan/g'|/bin/sed -e 's/done/Done/g'|
|
||||||
|
/bin/sed -e 's/Nmap//g'|/bin/sed -e 's/|/ /g'`;
|
||||||
|
|
||||||
|
my @extracted_output;
|
||||||
|
my $leasefile = "/var/lib/dhcpd/dhcpd.leases";
|
||||||
|
foreach my $line (@nmap_output) {
|
||||||
|
if ($line =~ m/Scan report for ([\w\.-]+) \(([\d\.\:]+)\)/) {
|
||||||
|
my $ip = $2;
|
||||||
|
my $mac = get_mac_address($ip,$leasefile);
|
||||||
|
if (!$mac){
|
||||||
|
$mac = get_mac_address_by_ping($ip);
|
||||||
|
}
|
||||||
|
# if (!$mac) {$mac = "unknown";}
|
||||||
|
my %pair = ('Network' => $1, 'ip' => $ip, 'mac' => $mac); # $1 => PC Name, $2 => IP Address
|
||||||
|
push @extracted_output, \%pair;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return \@extracted_output;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#=========================================================================
|
||||||
|
# Procedure qui charge le dhcpd.conf
|
||||||
|
# retourne un tableau contenant les informations
|
||||||
|
#=========================================================================
|
||||||
|
sub Load_leases ($){
|
||||||
|
|
||||||
|
my $q = shift;
|
||||||
|
#Definition de variable
|
||||||
|
use vars qw/
|
||||||
|
@detail $work_line $header /;
|
||||||
|
my $name_file = '/var/lib/dhcpd/dhcpd.leases' ;
|
||||||
|
our @liste_computer = '' ;
|
||||||
|
our $db = esmith::ConfigDB->open() or die("Unable to open Configuration DB");
|
||||||
|
our %sme_conf = $db->get('dhcpd')->props;
|
||||||
|
#Ouverture du fichier en lecture seule
|
||||||
|
open(FILE,"<$name_file") || die "Read error $name_file, Error: $!" ;
|
||||||
|
|
||||||
|
#Parcours du fichier dhcpd.leases
|
||||||
|
while (<FILE>) {
|
||||||
|
# suppression des commentaires
|
||||||
|
if ($_ =~ /^#/) { next; }
|
||||||
|
|
||||||
|
#spurresion des lignes vides
|
||||||
|
if ($_ =~ /^$/) { next; }
|
||||||
|
#supression de la ligne uid de windows
|
||||||
|
if ($_ =~ /uid/) { next; }
|
||||||
|
#supression de la ligne tstp de XP
|
||||||
|
if ($_ =~ /tstp/) { next; }
|
||||||
|
#supression de la ligne "binding state active"
|
||||||
|
if ($_ =~ /binding/) { next; }
|
||||||
|
#supression de la ligne "next binding state"
|
||||||
|
if ($_ =~ /next/) { next; }
|
||||||
|
#suprresion des commentaire et des ;
|
||||||
|
$_ =~ s/\s#.*$//;
|
||||||
|
$_ =~ s/(;|{) *$//;
|
||||||
|
|
||||||
|
#supression des espace en debut de lignes
|
||||||
|
$_ =~ s/^ *\s//;
|
||||||
|
|
||||||
|
#Suppression des retours chariot en fin de lignes.
|
||||||
|
chomp $_ ;
|
||||||
|
|
||||||
|
#Chargement d'un tableau avec le contenu de la ligne.
|
||||||
|
(@detail) = split(/ /, $_) ;
|
||||||
|
|
||||||
|
#initialisation d'un nouveau poste connect<63>
|
||||||
|
if ($_ =~ /lease/) {
|
||||||
|
$work_line = "" ;
|
||||||
|
}
|
||||||
|
|
||||||
|
$header = shift(@detail);
|
||||||
|
$work_line = $work_line . ";" . join(" ",@detail) ;
|
||||||
|
|
||||||
|
if ($header =~ /}/) {
|
||||||
|
$work_line =~ s/ /;/g;
|
||||||
|
$work_line =~ s/^;//;
|
||||||
|
$work_line =~ s/"//g;
|
||||||
|
$work_line =~ s/;$//;
|
||||||
|
#we want the last entry is the first element of the array
|
||||||
|
unshift(@liste_computer,$work_line) ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
close(FILE);
|
||||||
|
# Now check if up and extract details
|
||||||
|
my @mac = ();
|
||||||
|
my @count = ();
|
||||||
|
my @results = ();
|
||||||
|
my @liste_connected = ();
|
||||||
|
foreach (@liste_computer){
|
||||||
|
my @computer = split(/;/, $_) ;
|
||||||
|
#we want to sort elements the array by mac address
|
||||||
|
$computer[11] = uc($computer[11]) ;
|
||||||
|
push @mac, ($computer[11]);
|
||||||
|
my @count;
|
||||||
|
push @count , (grep /$computer[11]/ , @mac);
|
||||||
|
next if (scalar @count > 1);
|
||||||
|
#we start the table if it is a valid IP
|
||||||
|
if ( $computer[0] ) {
|
||||||
|
$computer[12] = uc($computer[12]) ;
|
||||||
|
my $datedeb = $computer[2] . "-" . $computer[3] ;
|
||||||
|
my $datefin = $computer[5] . "-" . $computer[6] ;
|
||||||
|
my $status = 'dhcpd_NOT_CHECKED';
|
||||||
|
#my $status = '<a href=/smanager/dhcpd1'."?state=wake_up&MAC=" . $computer[11] . "&name=" . $computer[12].">".$q->l('dhcpd_NOT_CHECKED')."</a>";
|
||||||
|
if ( $sme_conf{'check'} =~ /enabled/ ) {
|
||||||
|
use Net::Ping;
|
||||||
|
my($ping_obj) = Net::Ping->new("icmp");
|
||||||
|
# formatage des dates
|
||||||
|
$computer[3] = substr($computer[3],0,5);
|
||||||
|
$computer[6] = substr($computer[6],0,5);
|
||||||
|
if ($ping_obj->ping("$computer[0]")) {
|
||||||
|
push(@liste_connected,$computer[12]) ;
|
||||||
|
$status = 'dhcpd_ACTIVE_DEVICE';
|
||||||
|
#alimentation de la liste des connect<63>
|
||||||
|
}
|
||||||
|
else { $status = 'dhcpd_WAKE_UP_ACTION';}
|
||||||
|
#else { $status = '<a href=/smanager/dhcpd1'."?state=wake_up&MAC=" . $computer[11] . "&name=" . $computer[12].">".$q->l('dhcpd_WAKE_UP_ACTION')."</a>";
|
||||||
|
}
|
||||||
|
my %ipdetails = (ip=>$computer[0],name=>$computer[12],wol=>$status,start=>$datedeb,end=>$datefin,mac=>$computer[11]);
|
||||||
|
push(@results,\%ipdetails);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
push(@liste_connected,$computer[12]) ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return @results;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub winpopup{
|
||||||
|
my $c = shift;
|
||||||
|
# Message in $c->param("winpopupmsg")
|
||||||
|
# .... do it
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub do_wol{
|
||||||
|
my $c = shift;
|
||||||
|
my $retVal = Perform_Wake_Up($c);
|
||||||
|
if ($retVal) {$dhcp_data{"success"} = $retVal;}
|
||||||
|
do_leases($c);
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
#SUBROUTINE: Perform wake UP
|
||||||
|
#===============================================================================
|
||||||
|
sub Perform_Wake_Up($){
|
||||||
|
|
||||||
|
###Pull CGI object from parameters array
|
||||||
|
my $q = shift;
|
||||||
|
|
||||||
|
###Get Mac Adress
|
||||||
|
my $mac = uc($q->param('mac'));
|
||||||
|
my $name = uc($q->param('name'));
|
||||||
|
|
||||||
|
#Send Wake Up to the station
|
||||||
|
#Old version obsolete since 1.5.0 - system ("/usr/bin/wol","$mac") ;
|
||||||
|
system ("/sbin/ether-wake","$mac") ;
|
||||||
|
###Return action message
|
||||||
|
return 'dhcpd_SUCCESSFULLY_CLIENT_WOL_REQUEST';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
1;
|
||||||
|
|
||||||
|
|
@ -0,0 +1,91 @@
|
|||||||
|
'dhcpd_ACTION' => 'Action',
|
||||||
|
'dhcpd_ACTIVE_DEVICE' => 'Active Device',
|
||||||
|
'dhcpd_ALL_OF_THEM' => 'All of them',
|
||||||
|
'dhcpd_CHECK_CLIENT_STATUS' => 'Always check the status of computers (Disabled is much faster)',
|
||||||
|
'dhcpd_CLEAN_ALL_DHCPLEASES' => 'You may want to clean the dhcpd.leases',
|
||||||
|
'dhcpd_CLICK_HERE_TO_MAIN_PANEL' => 'Return to the main panel',
|
||||||
|
'dhcpd_CONNECTED_IP' => 'Show DHCP Clients',
|
||||||
|
'dhcpd_CUSTOM_DNS_STATUS' => 'Custom DNS',
|
||||||
|
'dhcpd_CUSTOM_DNS_TITLE' => 'Enable custom DNS servers.',
|
||||||
|
'dhcpd_CUSTOM_GATEWAY_ADDRESS' => 'Gateway address',
|
||||||
|
'dhcpd_CUSTOM_GATEWAY_STATUS' => 'Custom gateway',
|
||||||
|
'dhcpd_CUSTOM_GATEWAY_TITLE' => 'Enable a custom gateway address.',
|
||||||
|
'dhcpd_CUSTOM_LEASETIME' => 'Custom lease time',
|
||||||
|
'dhcpd_CUSTOM_LEASETIME_TITLE' => 'Set the lease time (default is 86400 seconds).',
|
||||||
|
'dhcpd_CUSTOM_WINSERVER_ADDRESS' => 'WINS Server address',
|
||||||
|
'dhcpd_CUSTOM_WINSERVER_STATUS' => 'WINS Server',
|
||||||
|
'dhcpd_CUSTOM_WINSERVER_TITLE' => 'Enable a WINS Server.',
|
||||||
|
'dhcpd_DHCPD_SETTING_ERRORS' => 'DHCPd Settings ERRORS',
|
||||||
|
'dhcpd_DHCPD_SETTINGS_TITLE' => 'DHCP server settings',
|
||||||
|
'dhcpd_DHCPD_TITLE' => 'DHCP Manager',
|
||||||
|
'dhcpd_DHCP_END' => 'DHCP End',
|
||||||
|
'dhcpd_DHCP manager' => 'DHCP Manager',
|
||||||
|
'dhcpd_DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP' =>'Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull',
|
||||||
|
'dhcpd_DHCP_RANGE_WITH_BAD_IP' => 'Incorrect IP in the DHCP range, Update unsuccessfull',
|
||||||
|
'dhcpd_DHCP_START' => 'DHCP Start',
|
||||||
|
'dhcpd_DHCP_START_GREATER_DHCP_END_ERRORS' =>'Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull',
|
||||||
|
'dhcpd_DISABLED' => 'Disabled',
|
||||||
|
'dhcpd_DNS_SERVER_WITH_BAD_IP' => 'Incorrect IP for DNS servers, Update unsuccessfull',
|
||||||
|
'dhcpd_DO_YOU_WANT_TO_SENT' => 'Do you want to send this message to',
|
||||||
|
'dhcpd_ENABLED' => 'Enabled',
|
||||||
|
'dhcpd_END_DATE' => 'End Date',
|
||||||
|
'dhcpd_ERROR_WHILE_REMOVING_ALL_LEASES' => 'Error while removing all dhcpd Leases',
|
||||||
|
'dhcpd_ERROR_WHILE_SAVING_SETTINGS' => 'Error while saving settings',
|
||||||
|
'dhcpd_GATEWAY_BAD_IP' => 'Incorrect IP for Gateway, Update unsuccessfull',
|
||||||
|
'dhcpd_GLOBAL_WINPOPUP' => 'Send Global Netsend WinPopup',
|
||||||
|
'dhcpd_GLOBAL_WINPOPUP_TITLE' => 'Send a global WinPopup with the Net send protocol',
|
||||||
|
'dhcpd_IP' => 'Ip Address',
|
||||||
|
'dhcpd_MAC_ADDRESS' => 'MAC Address',
|
||||||
|
'dhcpd_MANAGING_DHCP_CLIENT' => 'Managing DHCP clients',
|
||||||
|
'dhcpd_NETWORK_NAME' => 'Network Name',
|
||||||
|
'dhcpd_NETWORK_VALUES_FOUND' => 'Please wait .... Your subnet and your netmask appear to be :',
|
||||||
|
'dhcpd_NO_CONNECTED_COMPUTERS' => 'There are no connected computers',
|
||||||
|
'dhcpd_NOT_CHECKED' => 'Not Checked...',
|
||||||
|
'dhcpd_PRIMARY_DNS_ADDRESS' => 'Primary DNS',
|
||||||
|
'dhcpd_REFRESH_CONNECTED_IP_LIST' => 'You may want to refresh this list ?',
|
||||||
|
'dhcpd_REFRESH' => 'Refresh the list',
|
||||||
|
'dhcpd_REMOVE_ACTION' => 'Remove...',
|
||||||
|
'dhcpd_REMOVE_A_DHCP_LEASE_ACTION' => 'You are about to remove a client from the dhcpd.leases file.',
|
||||||
|
'dhcpd_REMOVE_A_DHCP_LEASE' => 'Remove a DHCP lease',
|
||||||
|
'dhcpd_ARE_YOU_SURE' => 'are you sure ?',
|
||||||
|
'dhcpd_REMOVE_A_DHCP_LEASE_TITLE' => 'Removing a DHCP Lease',
|
||||||
|
'dhcpd_REMOVE_ALL_LEASES_ACTION' => 'Remove all dhcpd leases',
|
||||||
|
'dhcpd_REMOVE_ALL_LEASES' => 'Remove all leases',
|
||||||
|
'dhcpd_REMOVE_DHCP_LEASE_TITLE' => 'Removing all DHCP Lease',
|
||||||
|
'dhcpd_REMOVE_DHCP_LEASE_WARNING' => 'Remove all entries in dhcpd.leases may cause issues',
|
||||||
|
'dhcpd_REMOVE' => 'Remove',
|
||||||
|
'dhcpd_SAVE/RESTART' => 'Save/Restart',
|
||||||
|
'dhcpd_SAVE_TITLE' => 'After changing settings above, you must save and restart dhcpd.',
|
||||||
|
'dhcpd_SCANNING_NETWORK_TITLE' => 'Scanning your network, the time needed depends of your subnet mask',
|
||||||
|
'dhcpd_SCAN_YOUR_NETWORK' => 'Scan your network',
|
||||||
|
'dhcpd_SCAN_YOUR_NETWORK_TITLE' => 'Scan your network to show active devices :',
|
||||||
|
'dhcpd_SECONDARY_DNS_ADDRESS' => 'Secondary DNS',
|
||||||
|
'dhcpd_SENDING_A_WINPOPUP' => 'Sending a WinPopup',
|
||||||
|
'dhcpd_SENDING_A_WINPOPUP_TO' => 'You are about to send a WinPopup to ',
|
||||||
|
'dhcpd_SEND_WINPOPUP_TO' => 'Send a WinPopup to',
|
||||||
|
'dhcpd_SHOW_CONNECTED_IP_TITLE' => 'Show all devices connected to the dhcpd server :',
|
||||||
|
'dhcpd_START_DATE' => 'Start Date',
|
||||||
|
'dhcpd_STATUS_CLICK_FOR_WOL' => 'Status - click for WOL',
|
||||||
|
'dhcpd_STATUS_DHCP_SERVER' => 'State of DHCPD',
|
||||||
|
'dhcpd_STATUS_REPORT' => 'Operation status report :',
|
||||||
|
'dhcpd_SUCCESSFULLY_CLIENT_WOL_REQUEST' =>'Successfull request to wake up the client. The computer may take time to wake up.',
|
||||||
|
'dhcpd_SUCCESSFULLY_DELETED_THE_CLIENT' => 'Successfully deleted the client in dhcpd.leases : ',
|
||||||
|
'dhcpd_SUCCESSFULLY_REMOVED_ALL_LEASES' => 'Successfully deleted all leases.',
|
||||||
|
'dhcpd_SUCCESSFULLY_SAVED_SETTINGS' => 'Successfully saved settings',
|
||||||
|
'dhcpd_SUCCESSFULLY_SENT_MESSAGE' => 'Successfully sent message popup to',
|
||||||
|
'dhcpd_TERTIARY_DNS_ADDRESS' => 'Tertiary DNS',
|
||||||
|
'dhcpd_WAKE_UP_ACTION' => '<font color="red">Wake-Up...</font>',
|
||||||
|
'dhcpd_WAKE_UP' => 'Wake UP',
|
||||||
|
'dhcpd_WAKING_A_REMOTE_COMPUTER_ACTION' => 'Are you sure you want to wake on lan the client : ',
|
||||||
|
'dhcpd_WAKING_A_REMOTE_COMPUTER_TITLE' => 'Waking Up a remote computer',
|
||||||
|
'dhcpd_WAKING_A_REMOTE_COMPUTER' => 'You are about to wake up a remote computer.',
|
||||||
|
'dhcpd_WARNING_NO_WINPOPUP_GARANTY' =>'Warning, there is no guarantee that the popup will appear on the remote computer.',
|
||||||
|
'dhcpd_WINPOPUP_ACTION' => 'WinPopup...',
|
||||||
|
'dhcpd_WINSSERVER_BAD_IP' => 'Incorrect IP for WINS Server, Update unsuccessfull',
|
||||||
|
'dhcpd_WRITE_YOUR_MESSAGE' => 'Write your message here',
|
||||||
|
'dhcpd_YOUR_MESSAGE' => 'Your message',
|
||||||
|
'dhcpd_REMOVE_DHCP_LEASE_WARNING2' => 'The lease file is a log-structured file - whenever a lease changes, the
|
||||||
|
contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two
|
||||||
|
or more declarations of the same lease in the lease file at the same
|
||||||
|
time. In that case, the instance of that particular lease that
|
||||||
|
appears last in the file is the one that is in effect.',
|
109
root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Dhcpd/en.pm
Normal file
109
root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Dhcpd/en.pm
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
package SrvMngr::I18N::Modules::Dhcpd::en;
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use utf8;
|
||||||
|
use Mojo::Base 'SrvMngr::I18N';
|
||||||
|
|
||||||
|
use SrvMngr::I18N::Modules::General::en;
|
||||||
|
|
||||||
|
my %lexicon = (
|
||||||
|
'dhcpd_ACTION' => 'Action',
|
||||||
|
'dhcpd_ACTIVE_DEVICE' => 'Active Device',
|
||||||
|
'dhcpd_ALL_OF_THEM' => 'All of them',
|
||||||
|
'dhcpd_CHECK_CLIENT_STATUS' => 'Always check the status of computers (Disabled is much faster)',
|
||||||
|
'dhcpd_CLEAN_ALL_DHCPLEASES' => 'You may want to clean the dhcpd.leases',
|
||||||
|
'dhcpd_CLICK_HERE_TO_MAIN_PANEL' => 'Return to the main panel',
|
||||||
|
'dhcpd_CONNECTED_IP' => 'Show DHCP Clients',
|
||||||
|
'dhcpd_CUSTOM_DNS_STATUS' => 'Custom DNS',
|
||||||
|
'dhcpd_CUSTOM_DNS_TITLE' => 'Enable custom DNS servers.',
|
||||||
|
'dhcpd_CUSTOM_GATEWAY_ADDRESS' => 'Gateway address',
|
||||||
|
'dhcpd_CUSTOM_GATEWAY_STATUS' => 'Custom gateway',
|
||||||
|
'dhcpd_CUSTOM_GATEWAY_TITLE' => 'Enable a custom gateway address.',
|
||||||
|
'dhcpd_CUSTOM_LEASETIME' => 'Custom lease time',
|
||||||
|
'dhcpd_CUSTOM_LEASETIME_TITLE' => 'Set the lease time (default is 86400 seconds).',
|
||||||
|
'dhcpd_CUSTOM_WINSERVER_ADDRESS' => 'WINS Server address',
|
||||||
|
'dhcpd_CUSTOM_WINSERVER_STATUS' => 'WINS Server',
|
||||||
|
'dhcpd_CUSTOM_WINSERVER_TITLE' => 'Enable a WINS Server.',
|
||||||
|
'dhcpd_DHCPD_SETTING_ERRORS' => 'DHCPd Settings ERRORS',
|
||||||
|
'dhcpd_DHCPD_SETTINGS_TITLE' => 'DHCP server settings',
|
||||||
|
'dhcpd_DHCPD_TITLE' => 'DHCP Manager',
|
||||||
|
'dhcpd_DHCP_END' => 'DHCP End',
|
||||||
|
'dhcpd_DHCP manager' => 'DHCP Manager',
|
||||||
|
'dhcpd_DHCP_RANGE_MUST_NOT_INCLUDE_SERVER_IP' =>'Incorrect range of IPs, the range of IP address allocation must not include the server address, Update unsuccessfull',
|
||||||
|
'dhcpd_DHCP_RANGE_WITH_BAD_IP' => 'Incorrect IP in the DHCP range, Update unsuccessfull',
|
||||||
|
'dhcpd_DHCP_START' => 'DHCP Start',
|
||||||
|
'dhcpd_DHCP_START_GREATER_DHCP_END_ERRORS' =>'Incorrect range of IPs, the DHCP Start is greater than the DHCP End , Update unsuccessfull',
|
||||||
|
'dhcpd_DISABLED' => 'Disabled',
|
||||||
|
'dhcpd_DNS_SERVER_WITH_BAD_IP' => 'Incorrect IP for DNS servers, Update unsuccessfull',
|
||||||
|
'dhcpd_DO_YOU_WANT_TO_SENT' => 'Do you want to send this message to',
|
||||||
|
'dhcpd_ENABLED' => 'Enabled',
|
||||||
|
'dhcpd_END_DATE' => 'End Date',
|
||||||
|
'dhcpd_ERROR_WHILE_REMOVING_ALL_LEASES' => 'Error while removing all dhcpd Leases',
|
||||||
|
'dhcpd_ERROR_WHILE_SAVING_SETTINGS' => 'Error while saving settings',
|
||||||
|
'dhcpd_GATEWAY_BAD_IP' => 'Incorrect IP for Gateway, Update unsuccessfull',
|
||||||
|
'dhcpd_GLOBAL_WINPOPUP' => 'Send Global Netsend WinPopup',
|
||||||
|
'dhcpd_GLOBAL_WINPOPUP_TITLE' => 'Send a global WinPopup with the Net send protocol',
|
||||||
|
'dhcpd_IP' => 'Ip Address',
|
||||||
|
'dhcpd_MAC_ADDRESS' => 'MAC Address',
|
||||||
|
'dhcpd_MANAGING_DHCP_CLIENT' => 'Managing DHCP clients',
|
||||||
|
'dhcpd_NETWORK_NAME' => 'Network Name',
|
||||||
|
'dhcpd_NETWORK_VALUES_FOUND' => 'Please wait .... Your subnet and your netmask appear to be :',
|
||||||
|
'dhcpd_NO_CONNECTED_COMPUTERS' => 'There are no connected computers',
|
||||||
|
'dhcpd_NOT_CHECKED' => 'Not Checked...',
|
||||||
|
'dhcpd_PRIMARY_DNS_ADDRESS' => 'Primary DNS',
|
||||||
|
'dhcpd_REFRESH_CONNECTED_IP_LIST' => 'You may want to refresh this list ?',
|
||||||
|
'dhcpd_REFRESH' => 'Refresh the list',
|
||||||
|
'dhcpd_REMOVE_ACTION' => 'Remove...',
|
||||||
|
'dhcpd_REMOVE_A_DHCP_LEASE_ACTION' => 'You are about to remove a client from the dhcpd.leases file.',
|
||||||
|
'dhcpd_REMOVE_A_DHCP_LEASE' => 'Remove a DHCP lease',
|
||||||
|
'dhcpd_ARE_YOU_SURE' => 'are you sure ?',
|
||||||
|
'dhcpd_REMOVE_A_DHCP_LEASE_TITLE' => 'Removing a DHCP Lease',
|
||||||
|
'dhcpd_REMOVE_ALL_LEASES_ACTION' => 'Remove all dhcpd leases',
|
||||||
|
'dhcpd_REMOVE_ALL_LEASES' => 'Remove all leases',
|
||||||
|
'dhcpd_REMOVE_DHCP_LEASE_TITLE' => 'Removing all DHCP Lease',
|
||||||
|
'dhcpd_REMOVE_DHCP_LEASE_WARNING' => 'Remove all entries in dhcpd.leases may cause issues',
|
||||||
|
'dhcpd_REMOVE' => 'Remove',
|
||||||
|
'dhcpd_SAVE/RESTART' => 'Save/Restart',
|
||||||
|
'dhcpd_SAVE_TITLE' => 'After changing settings above, you must save and restart dhcpd.',
|
||||||
|
'dhcpd_SCANNING_NETWORK_TITLE' => 'Scanning your network, the time needed depends on your subnet mask',
|
||||||
|
'dhcpd_SCAN_YOUR_NETWORK' => 'Scan your network',
|
||||||
|
'dhcpd_SCAN_YOUR_NETWORK_TITLE' => 'Scan your network to show active devices :',
|
||||||
|
'dhcpd_SECONDARY_DNS_ADDRESS' => 'Secondary DNS',
|
||||||
|
'dhcpd_SENDING_A_WINPOPUP' => 'Sending a WinPopup',
|
||||||
|
'dhcpd_SENDING_A_WINPOPUP_TO' => 'You are about to send a WinPopup to ',
|
||||||
|
'dhcpd_SEND_WINPOPUP_TO' => 'Send a WinPopup to',
|
||||||
|
'dhcpd_SHOW_CONNECTED_IP_TITLE' => 'Show all devices connected to the dhcpd server :',
|
||||||
|
'dhcpd_START_DATE' => 'Start Date',
|
||||||
|
'dhcpd_STATUS_CLICK_FOR_WOL' => 'Status - click for WOL',
|
||||||
|
'dhcpd_STATUS_DHCP_SERVER' => 'State of DHCPD',
|
||||||
|
'dhcpd_STATUS_REPORT' => 'Operation status report :',
|
||||||
|
'dhcpd_SUCCESSFULLY_CLIENT_WOL_REQUEST' =>'Successfull request to wake up the client. The computer may take time to wake up.',
|
||||||
|
'dhcpd_SUCCESSFULLY_DELETED_THE_CLIENT' => 'Successfully deleted the client in dhcpd.leases : ',
|
||||||
|
'dhcpd_SUCCESSFULLY_REMOVED_ALL_LEASES' => 'Successfully deleted all leases.',
|
||||||
|
'dhcpd_SUCCESSFULLY_SAVED_SETTINGS' => 'Successfully saved settings',
|
||||||
|
'dhcpd_SUCCESSFULLY_SENT_MESSAGE' => 'Successfully sent message popup to',
|
||||||
|
'dhcpd_TERTIARY_DNS_ADDRESS' => 'Tertiary DNS',
|
||||||
|
'dhcpd_WAKE_UP_ACTION' => '<font color="red">Wake-Up...</font>',
|
||||||
|
'dhcpd_WAKE_UP' => 'Wake UP',
|
||||||
|
'dhcpd_WAKING_A_REMOTE_COMPUTER_ACTION' => 'Are you sure you want to wake on lan the client : ',
|
||||||
|
'dhcpd_WAKING_A_REMOTE_COMPUTER_TITLE' => 'Waking Up a remote computer',
|
||||||
|
'dhcpd_WAKING_A_REMOTE_COMPUTER' => 'You are about to wake up a remote computer.',
|
||||||
|
'dhcpd_WARNING_NO_WINPOPUP_GARANTY' =>'Warning, there is no guarantee that the popup will appear on the remote computer.',
|
||||||
|
'dhcpd_WINPOPUP_ACTION' => 'WinPopup...',
|
||||||
|
'dhcpd_WINSSERVER_BAD_IP' => 'Incorrect IP for WINS Server, Update unsuccessfull',
|
||||||
|
'dhcpd_WRITE_YOUR_MESSAGE' => 'Write your message here',
|
||||||
|
'dhcpd_YOUR_MESSAGE' => 'Your message',
|
||||||
|
'dhcpd_REMOVE_DHCP_LEASE_WARNING2' => 'The lease file is a log-structured file - whenever a lease changes, the
|
||||||
|
contents of that lease are written to the end of the file. This means that it is entirely possible for there to be two
|
||||||
|
or more declarations of the same lease in the lease file at the same
|
||||||
|
time. In that case, the instance of that particular lease that
|
||||||
|
appears last in the file is the one that is in effect.',
|
||||||
|
);
|
||||||
|
|
||||||
|
our %Lexicon = (
|
||||||
|
%{ SrvMngr::I18N::Modules::General::en::Lexicon },
|
||||||
|
%lexicon
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
1;
|
219
root/usr/share/smanager/themes/default/templates/dhcpd.html.ep
Normal file
219
root/usr/share/smanager/themes/default/templates/dhcpd.html.ep
Normal file
@ -0,0 +1,219 @@
|
|||||||
|
% layout 'default', title => "Sme server 2 - DHCP Manager", share_dir => './';
|
||||||
|
|
||||||
|
% content_for 'module' => begin
|
||||||
|
|
||||||
|
<div id="module" class="module dhcpman-panel">
|
||||||
|
|
||||||
|
% if ($config->{debug} == 1) {
|
||||||
|
<p>
|
||||||
|
%= dumper $c->current_route
|
||||||
|
</p>
|
||||||
|
% }
|
||||||
|
|
||||||
|
<h1><%=$title%></h1>
|
||||||
|
%= $modul
|
||||||
|
|
||||||
|
%if ($dhcp_data->{first}) {
|
||||||
|
<br><p>
|
||||||
|
%=$c->render_to_string(inline =>$c->l($dhcp_data->{first}))
|
||||||
|
</p>
|
||||||
|
|
||||||
|
%} elsif ($dhcp_data->{success}) {
|
||||||
|
<div class='sme-border'>
|
||||||
|
<h2> Operation Status Report - success</h2><p>
|
||||||
|
<font color=green>
|
||||||
|
%= $c->l($dhcp_data->{success});
|
||||||
|
</font>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
%} elsif ($dhcp_data->{error}) {
|
||||||
|
<div class='sme-error'>
|
||||||
|
<h2> Operation Status Report - error</h2><p>
|
||||||
|
<font color=red>
|
||||||
|
%= $c->l($dhcp_data->{error});
|
||||||
|
</font>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
%} elsif ($dhcp_data->{error}) {
|
||||||
|
<div class='sme-warning'>
|
||||||
|
<h2> Operation Status Report - warning</h2><p>
|
||||||
|
<font color=orange>
|
||||||
|
%= $c->l($dhcp_data->{error});
|
||||||
|
</font>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
%}
|
||||||
|
|
||||||
|
% if ($dhcp_data->{trt} eq 'LEASES') {
|
||||||
|
%= include 'partials/_dhcpd_leases'
|
||||||
|
%} elsif ($dhcp_data->{trt} eq 'SCAN') {
|
||||||
|
%= include 'partials/_dhcpd_scan'
|
||||||
|
%} else { #PARAMS
|
||||||
|
% my $ip_regex = '^((\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.){3}(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$';
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
%= button_to $c->l('dhcpd_CONNECTED_IP') => '/dhcpd1', onclick=>"showSpinnerLeases()", id=>"scanLeases"
|
||||||
|
<button class ="btn btn-primary spinnerButtonOverlay" type = "submit" id="load" style="display:none">
|
||||||
|
Scanning <!--%= $c->l('dhcpd_CONNECTED_IP')-->
|
||||||
|
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
|
||||||
|
</button>
|
||||||
|
</td><td>
|
||||||
|
%= button_to $c->l('dhcpd_SCAN_YOUR_NETWORK') => '/dhcpd3', onclick=>"showSpinnerNetwork()", id=>"scanNetwork"
|
||||||
|
<button class ="btn btn-primary spinnerButtonOverlay" type = "submit" id="loadingNetwork" style="display:none">
|
||||||
|
Scanning <!--%= $c->l('dhcpd_CONNECTED_IP')-->
|
||||||
|
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<hr />
|
||||||
|
<h2>
|
||||||
|
%= $c->l("dhcpd_DHCPD_SETTINGS_TITLE")
|
||||||
|
</h2>
|
||||||
|
% my $btn = l('dhcpd_SAVE/RESTART');
|
||||||
|
%= form_for '/dhcpd5' => (method => 'POST') => begin
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_CHECK_CLIENT_STATUS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_check=>$dhcp_data->{"params"}->{"check"};
|
||||||
|
%=select_field dhcp_check=>$dhcp_data->{"check"}
|
||||||
|
</span><br>
|
||||||
|
<br />
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_STATUS_DHCP_SERVER'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_enable=>$dhcp_data->{"params"}->{"status"};
|
||||||
|
%=select_field dhcp_enable=>$dhcp_data->{"status"}
|
||||||
|
</span><br>
|
||||||
|
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_DHCP_START'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_start=>$dhcp_data->{"params"}->{"start"};
|
||||||
|
%=text_field 'dhcp_start',minlength=>'7',maxlength=>"15",size=>"15",placeholder=>"nnn.nnn.nnn.nnn", pattern=>"$ip_regex"
|
||||||
|
</span><br>
|
||||||
|
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_DHCP_END'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_end=>$dhcp_data->{"params"}->{"end"};
|
||||||
|
%=text_field 'dhcp_end',minlength=>'7',maxlength=>"15",size=>"15",placeholder=>"nnn.nnn.nnn.nnn", pattern=>"$ip_regex"
|
||||||
|
</span><br><br />
|
||||||
|
|
||||||
|
%= $c->l("dhcpd_CUSTOM_WINSERVER_TITLE");
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_CUSTOM_WINSERVER_STATUS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_winscustom=>$dhcp_data->{"params"}->{"winscustom"};
|
||||||
|
%=select_field dhcp_winscustom=>$dhcp_data->{"status"}
|
||||||
|
</span><br>
|
||||||
|
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_CUSTOM_WINSERVER_ADDRESS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_winsserver=>$dhcp_data->{"smbparams"}->{"WINSServer"};
|
||||||
|
%=text_field 'dhcp_winsserver' ,minlength=>'7',maxlength=>"15",size=>"15",placeholder=>"nnn.nnn.nnn.nnn", pattern=>"$ip_regex"
|
||||||
|
</span><br><br />
|
||||||
|
|
||||||
|
%= $c->l("dhcpd_CUSTOM_DNS_TITLE");
|
||||||
|
<br />
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_CUSTOM_DNS_STATUS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_dnscustom=>$dhcp_data->{"params"}->{"dnscustom"};
|
||||||
|
%=select_field dhcp_dnscustom=>$dhcp_data->{"status"}
|
||||||
|
</span><br>
|
||||||
|
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_PRIMARY_DNS_ADDRESS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_dns1server=>$dhcp_data->{"params"}->{"dns1server"};
|
||||||
|
%=text_field 'dhcp_dns1server' ,minlength=>'7',maxlength=>"15",size=>"15",placeholder=>"nnn.nnn.nnn.nnn", pattern=>"$ip_regex"
|
||||||
|
</span><br>
|
||||||
|
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_SECONDARY_DNS_ADDRESS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_dns2server=>$dhcp_data->{"params"}->{"dns2server"};
|
||||||
|
%=text_field 'dhcp_dns2server' ,minlength=>'7',maxlength=>"15",size=>"15",placeholder=>"nnn.nnn.nnn.nnn", pattern=>"$ip_regex"
|
||||||
|
</span><br>
|
||||||
|
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_TERTIARY_DNS_ADDRESS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_dns3server=>$dhcp_data->{"params"}->{"dns3server"};
|
||||||
|
%=text_field 'dhcp_dns3server' ,minlength=>'7',maxlength=>"15",size=>"15",placeholder=>"nnn.nnn.nnn.nnn", pattern=>"$ip_regex"
|
||||||
|
</span><br>
|
||||||
|
|
||||||
|
%= $c->l("dhcpd_CUSTOM_GATEWAY_TITLE");
|
||||||
|
<br />
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_CUSTOM_GATEWAY_STATUS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_gatewaycustom=>$dhcp_data->{"params"}->{"gatewaycustom"};
|
||||||
|
%=select_field dhcp_gatewaycustom=>$dhcp_data->{"status"}
|
||||||
|
</span><br>
|
||||||
|
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_CUSTOM_GATEWAY_ADDRESS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_gateway=>$dhcp_data->{"params"}->{"gateway"};
|
||||||
|
%=text_field 'dhcp_gateway' ,minlength=>'7',maxlength=>"15",size=>"15",placeholder=>"nnn.nnn.nnn.nnn", pattern=>"$ip_regex"
|
||||||
|
</span><br><br />
|
||||||
|
%= $c->l("dhcpd_CUSTOM_LEASETIME_TITLE");
|
||||||
|
<br />
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_CUSTOM_LEASETIME'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_leasetime=>$dhcp_data->{"params"}->{"leasetime"};
|
||||||
|
%=number_field 'dhcp_leasetime'
|
||||||
|
</span><br><br />
|
||||||
|
%= submit_button "$btn", class => 'action'
|
||||||
|
% end
|
||||||
|
%}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
%= javascript begin
|
||||||
|
if (document.getElementById("load")){document.getElementById("load").style.display="none";}
|
||||||
|
if (document.getElementById("loadingNetwork")){document.getElementById("loadingNetwork").style.display="none";}
|
||||||
|
|
||||||
|
function showSpinnerLeases(){
|
||||||
|
document.getElementById("scanLeases").style.display="none";
|
||||||
|
document.getElementById("load").style.display="inline";
|
||||||
|
}
|
||||||
|
|
||||||
|
function showSpinnerNetwork(){
|
||||||
|
document.getElementById("scanNetwork").style.display="none";
|
||||||
|
document.getElementById("loadingNetwork").style.display="inline";
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
|
%= stylesheet begin
|
||||||
|
.spinnerButtonOverlay,
|
||||||
|
.spinnerButtonOverlay:hover,
|
||||||
|
.spinnerButtonOverlay:any-link ,
|
||||||
|
.spinnerButtonOverlay:focus ,
|
||||||
|
.spinnerButtonOverlay:active {
|
||||||
|
appearance: auto;
|
||||||
|
user-select: none;
|
||||||
|
align-items: flex-start;
|
||||||
|
cursor: default;
|
||||||
|
box-sizing: border-box;
|
||||||
|
background-color: #efefef;
|
||||||
|
color: black;
|
||||||
|
padding: 1px 6px;
|
||||||
|
border-width: 2px;
|
||||||
|
border-style: outset;
|
||||||
|
border-color: darkgrey;
|
||||||
|
border-image: initial;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
%end
|
||||||
|
1;
|
@ -0,0 +1,113 @@
|
|||||||
|
<div id='dhcpd-leases'>
|
||||||
|
<table><tr><td>
|
||||||
|
%= button_to $c->l('dhcpd_REFRESH') => '/dhcpd1', onclick=>"showSpinnerLeases()", id=>"scanLeases"
|
||||||
|
<button class ="btn btn-primary spinnerButtonOverlay" type = "submit" id="load" style="display:true">
|
||||||
|
Scanning <!--%= $c->l('dhcpd_CONNECTED_IP')-->
|
||||||
|
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</td><td>
|
||||||
|
%= button_to $c->l('dhcpd_REMOVE_ALL_LEASES') => '/dhcpd4'
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
% my $btn = l('dhcpd_SAVE/RESTART');
|
||||||
|
%= form_for '/dhcpd10' => (method => 'POST') => begin
|
||||||
|
<span class=label>
|
||||||
|
%=l 'dhcpd_CHECK_CLIENT_STATUS'
|
||||||
|
</span><span class=data>
|
||||||
|
% param dhcp_check=>$dhcp_data->{"params"}->{"check"};
|
||||||
|
%=select_field dhcp_check=>$dhcp_data->{"check"}
|
||||||
|
</span><br>
|
||||||
|
<br />
|
||||||
|
%= $c->l("dhcpd_SAVE_TITLE");
|
||||||
|
<br />
|
||||||
|
%= submit_button "$btn", class => 'action'
|
||||||
|
% end
|
||||||
|
<br>
|
||||||
|
<table class="sme-border TableSort"><thead>
|
||||||
|
<tr>
|
||||||
|
<th class='sme-border'>
|
||||||
|
%=l 'dhcpd_IP'
|
||||||
|
</th>
|
||||||
|
<th class='sme-border'>
|
||||||
|
%=l 'dhcpd_NETWORK_NAME'
|
||||||
|
</th>
|
||||||
|
<th class='sme-border'>
|
||||||
|
%=l 'dhcpd_STATUS_CLICK_FOR_WOL'
|
||||||
|
</th>
|
||||||
|
<th class='sme-border'>
|
||||||
|
%=l('dhcpd_START_DATE',"")
|
||||||
|
</th>
|
||||||
|
<th class='sme-border'>
|
||||||
|
%=l 'dhcpd_END_DATE'
|
||||||
|
</th>
|
||||||
|
<th class='sme-border'>
|
||||||
|
%=l 'dhcpd_MAC_ADDRESS'
|
||||||
|
</th>
|
||||||
|
<th class='sme-border' colspan=2>
|
||||||
|
%=l 'dhcpd_ACTION'
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
% foreach my $ip (@$leases) {
|
||||||
|
<tr>
|
||||||
|
%= t td => (class => 'sme-border') => $ip->{ip}
|
||||||
|
%= t td => (class => 'sme-border') => $ip->{name}
|
||||||
|
<td class='sme-border'>
|
||||||
|
% if ($ip->{wol} =~ /ACTIVE/) {
|
||||||
|
<center><%==l $ip->{wol}%></center>
|
||||||
|
%} else {
|
||||||
|
<a href="/smanager/dhcpd9??state=wake_up&MAC=<%= $ip->{mac}%>&name=<%= $ip->{name}%>" onclick="Wol_confirm(event,'<%=$c->l('dhcpd_WAKING_A_REMOTE_COMPUTER')%>',this);"><center><%==l $ip->{wol}%></center></a>
|
||||||
|
%}
|
||||||
|
</td>
|
||||||
|
%= t td => (class => 'sme-border') => $ip->{start}
|
||||||
|
%= t td => (class => 'sme-border') => $ip->{end}
|
||||||
|
%= t td => (class => 'sme-border') => $ip->{mac}
|
||||||
|
<td class = 'sme-border'>
|
||||||
|
<a href="/smanager/dhcpd6?trt=DEL&ip=<%= $ip->{ip}%>&name=<%= $ip->{name}%>" onclick="Remove_lease_confirm(event,'<%=$c->l('dhcpd_REMOVE_A_DHCP_LEASE_ACTION')%>',this);"><center><%=l 'dhcpd_REMOVE'%></center></a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
%}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
%= hidden_field "hiddenmsg"=>"", id=>"hiddenmsg"
|
||||||
|
<br />
|
||||||
|
%= button_to $c->l('dhcpd_CLICK_HERE_TO_MAIN_PANEL') => '/dhcpd'
|
||||||
|
|
||||||
|
%= javascript begin
|
||||||
|
function Wol_confirm(event,msg,current){
|
||||||
|
const getMAC = /.*MAC\=(.*)\&name.*/;
|
||||||
|
var MAC = current.href.match(getMAC)[1];
|
||||||
|
if (confirm(msg+": MAC: "+MAC))
|
||||||
|
{ return true;}
|
||||||
|
else {event.preventDefault();return false;}
|
||||||
|
}
|
||||||
|
|
||||||
|
function Winpop_confirm(event,msg,current){
|
||||||
|
const getIP = /.*ip\=(.*)/;
|
||||||
|
var IP = ": IP: "+current.href.match(getIP)[1];
|
||||||
|
msg = msg.replace("$",IP);
|
||||||
|
var retVal = prompt(msg);
|
||||||
|
if (retVal) {
|
||||||
|
//Write it away in a hidden field
|
||||||
|
$hidden = document.getElementById("hiddenMsg");
|
||||||
|
$hidden.value = retVal;
|
||||||
|
return true;
|
||||||
|
} else {event.preventDefault();return false;}
|
||||||
|
}
|
||||||
|
|
||||||
|
function Remove_lease_confirm(event,msg,current){
|
||||||
|
const getIP = /.*ip\=(.*)/;
|
||||||
|
var IP = current.href.match(getIP)[1];
|
||||||
|
if (confirm(msg+" IP: "+IP))
|
||||||
|
{ return true;}
|
||||||
|
else {event.preventDefault();return false;}
|
||||||
|
}
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
@ -0,0 +1,63 @@
|
|||||||
|
<div id='dhcpd-scan'>
|
||||||
|
<table><tr><td>
|
||||||
|
%= button_to $c->l('dhcpd_REFRESH') => '/dhcpd3', onclick=>"showSpinnerNetwork1()", id=>"scanNetwork1"
|
||||||
|
<button class ="btn btn-primary spinnerButtonOverlay" type = "submit" id="loadingNetwork1" style="display:true">
|
||||||
|
Scanning <!--%= $c->l('dhcpd_CONNECTED_IP')-->
|
||||||
|
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
<table class="sme-border TableSort"><thead>
|
||||||
|
<tr>
|
||||||
|
<th class='sme-border'>
|
||||||
|
%=l 'dhcpd_NETWORK_NAME'
|
||||||
|
</th>
|
||||||
|
<th class='sme-border'>
|
||||||
|
%=l 'dhcpd_IP'
|
||||||
|
</th>
|
||||||
|
<th class='sme-border'>
|
||||||
|
%=l 'dhcpd_MAC_ADDRESS'
|
||||||
|
</th>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
% foreach my $ip (@$scanresults) {
|
||||||
|
<tr>
|
||||||
|
%= t td => (class => 'sme-border') => $ip->{Network}
|
||||||
|
%= t td => (class => 'sme-border') => $ip->{ip}
|
||||||
|
%= t td => (class => 'sme-border') => $ip->{mac}
|
||||||
|
</tr>
|
||||||
|
%}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
%= hidden_field "hiddenmsg"=>"", id=>"hiddenmsg"
|
||||||
|
<br />
|
||||||
|
%= button_to $c->l('dhcpd_CLICK_HERE_TO_MAIN_PANEL') => '/dhcpd'
|
||||||
|
|
||||||
|
%= javascript begin
|
||||||
|
function Wol_confirm(event,msg,current){
|
||||||
|
const getMAC = /.*MAC\=(.*)\&name.*/;
|
||||||
|
var MAC = current.href.match(getMAC)[1];
|
||||||
|
if (confirm(msg+": MAC: "+MAC))
|
||||||
|
{ return true;}
|
||||||
|
else {event.preventDefault();return false;}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
%= javascript begin
|
||||||
|
document.getElementById("loadingNetwork1").style.display="none";
|
||||||
|
|
||||||
|
function showSpinnerNetwork1(){
|
||||||
|
document.getElementById("scanNetwork1").style.display="none";
|
||||||
|
document.getElementById("loadingNetwork1").style.display="inline";
|
||||||
|
}
|
||||||
|
|
||||||
|
%end
|
173
smeserver-dhcpmanager.spec
Normal file
173
smeserver-dhcpmanager.spec
Normal file
@ -0,0 +1,173 @@
|
|||||||
|
%define name smeserver-dhcpmanager
|
||||||
|
%define version 2.0.4
|
||||||
|
%define release 19
|
||||||
|
|
||||||
|
Summary: provide a dhcp panel in the server-manager for The SME Server
|
||||||
|
Name: %{name}
|
||||||
|
Version: %{version}
|
||||||
|
Release: %{release}%{?dist}
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
License: GNU GPL version 2
|
||||||
|
URL: http://www.contribs.org
|
||||||
|
Group: SMEserver/addon
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||||
|
#Prefix: %{_prefix}
|
||||||
|
BuildArchitectures: noarch
|
||||||
|
BuildRequires: e-smith-devtools
|
||||||
|
Requires: e-smith-release >= 9.0
|
||||||
|
Requires: e-smith-base >= 5.8.0-93
|
||||||
|
Requires: net-tools
|
||||||
|
Requires: nmap >= 2:6.25
|
||||||
|
AutoReqProv: no
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc//
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 2.0.4-19.sme
|
||||||
|
- Roll up patches and move to git repo [SME: 12338]
|
||||||
|
|
||||||
|
* Sat Sep 07 2024 BogusDateBot
|
||||||
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
|
by assuming the date is correct and changing the weekday.
|
||||||
|
|
||||||
|
* Thu Sep 05 2024 Terry Fage <terry@fage.id.au> 2.0.4-18.sme
|
||||||
|
- apply locale 2024-09-05.patch
|
||||||
|
|
||||||
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 2.0.4-17.sme
|
||||||
|
- Edit Menu entry to conform to new arrangements [SME: 12493]
|
||||||
|
|
||||||
|
|
||||||
|
* Wed Feb 07 2024 Brian Read <brianr@koozali.org> 2.0.4-16.sme
|
||||||
|
- Fix JS error on load and typo in table class name [SME: 12468]
|
||||||
|
|
||||||
|
* Sat Dec 30 2023 Brian Read <brianr@koozali.org> 2.0.4-15.sme
|
||||||
|
- Add more fixes for SM2 panels [SME:11850]
|
||||||
|
- Add in Network scan page
|
||||||
|
|
||||||
|
* Tue Dec 19 2023 Brian Read <brianr@koozali.org> 2.0.4-14.sme
|
||||||
|
- More fixes for SM2 panels [SME:11850]
|
||||||
|
- Remove Winpopup facility (no longer supported by Windose)
|
||||||
|
- Show Leases page
|
||||||
|
|
||||||
|
* Tue Jan 18 2022 Brian Read <brianr@bjsystems.co.uk> 2.0.4-13.sme
|
||||||
|
- Add panels for SM2 [SME: 11850]
|
||||||
|
- Initial panel with DHCP parameters
|
||||||
|
|
||||||
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.0.4-12.sme
|
||||||
|
- apply locale 2021-08-22 patch
|
||||||
|
|
||||||
|
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.4-11.sme
|
||||||
|
- removing tmeplate custom, merged with core [SME: 11506]
|
||||||
|
- adding third DNS entry [SME: 11506]
|
||||||
|
|
||||||
|
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.4-10.sme
|
||||||
|
- Add Update event to createlinks [SME: 11029]
|
||||||
|
|
||||||
|
* Wed Mar 24 2021 BogusDateBot
|
||||||
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
|
by assuming the date is correct and changing the weekday.
|
||||||
|
|
||||||
|
* Mon Oct 12 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.4-9.sme
|
||||||
|
- Import to SME10 tree - [SME: 11029 ]
|
||||||
|
|
||||||
|
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 2.0.4-8.sme
|
||||||
|
- apply locale 2017-12-02 patch
|
||||||
|
|
||||||
|
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-7.sme
|
||||||
|
- apply locale 2017-03-25 patch
|
||||||
|
|
||||||
|
* Mon Mar 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-6.sme
|
||||||
|
- Add Update event to createlinks issue with last patch deleting pt-br file [SME: 10150]
|
||||||
|
|
||||||
|
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-5.sme
|
||||||
|
- apply locale 2017-02-02.patch
|
||||||
|
|
||||||
|
* Tue Jun 28 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-4.sme
|
||||||
|
- sort the IP table by uniq mac address with the last dhcp lease
|
||||||
|
|
||||||
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0.4-3.sme
|
||||||
|
- apply locale 2016-03-09 patch
|
||||||
|
|
||||||
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-2.sme
|
||||||
|
- Added smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch
|
||||||
|
|
||||||
|
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-1.sme
|
||||||
|
- new tarball 2.0.4
|
||||||
|
|
||||||
|
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.3-1.sme
|
||||||
|
- new tarball 2.0.3
|
||||||
|
|
||||||
|
* Mon Aug 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-2.sme
|
||||||
|
- added locale smeserver-dhcpmanager-2.0.2-locale-2015-08-17.patch
|
||||||
|
|
||||||
|
* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-1.sme
|
||||||
|
- new sources in cvs
|
||||||
|
|
||||||
|
* Wed Aug 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1-1.sme
|
||||||
|
- Initial release to contribs9
|
||||||
|
|
||||||
|
* Wed Aug 12 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-2.0-1.sme
|
||||||
|
-Translations added
|
||||||
|
-new WebUI
|
||||||
|
|
||||||
|
* Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-12
|
||||||
|
- First release to sme9
|
||||||
|
|
||||||
|
* Wed Feb 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-11
|
||||||
|
- add default db values and change options to nmap in order to see name of computer
|
||||||
|
|
||||||
|
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10
|
||||||
|
- english wording correction [sme:8122]
|
||||||
|
- change the nmap version to 6.25 (available in smecontribs) [sme:8120]
|
||||||
|
- add an option to remove all leases
|
||||||
|
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP)
|
||||||
|
- some menu setting box redesigned.
|
||||||
|
|
||||||
|
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5
|
||||||
|
- Add a checkIP routine against wrong IP [sme:8015]
|
||||||
|
- Add a new panel to see connected IP [sme:8113]
|
||||||
|
- Add a counter of host up on the LAN (using nmap) [sme:8111]
|
||||||
|
|
||||||
|
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3
|
||||||
|
- adaptation for SME Server 8.0
|
||||||
|
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net>
|
||||||
|
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
|
||||||
|
rm -rf root/etc/e-smith/templates-custom
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl createlinks
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||||
|
rm -f %{name}-%{version}-filelist
|
||||||
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
|
||||||
|
echo "%doc COPYING" >> %{name}-%{version}-filelist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
cd ..
|
||||||
|
rm -rf %{name}-%{version}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
|
||||||
|
%preun
|
||||||
|
|
||||||
|
%post
|
||||||
|
if (systemctl list-unit-files |grep smanager) then
|
||||||
|
echo "Smanager restart in spec file"
|
||||||
|
/sbin/e-smith/signal-event smanager-refresh;
|
||||||
|
fi
|
||||||
|
true
|
||||||
|
|
||||||
|
|
||||||
|
%postun
|
||||||
|
|
||||||
|
%files -f %{name}-%{version}-filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user