<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\IResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php</b> on line <b>70</b><br />
<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\IResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php</b> on line <b>80</b><br />
<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\IResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php</b> on line <b>75</b><br />
<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php</b> on line <b>117</b><br />
<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php</b> on line <b>90</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>199</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>214</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::write($id, $dataStr) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>256</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::destroy($id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>362</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>383</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>624</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>629</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>639</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>634</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>649</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>644</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>659</b><br />
<br />
<b>Deprecated</b>:  Return type of & MediaWiki\Session\Session::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>672</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>681</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>685</b><br />
<br />
<b>Deprecated</b>:  Message implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in <b>/var/www/html/includes/Message.php</b> on line <b>159</b><br />
<br />
<b>Deprecated</b>:  RawMessage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in <b>/var/www/html/includes/RawMessage.php</b> on line <b>34</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property RequestContext::$recursion is deprecated in <b>/var/www/html/includes/context/RequestContext.php</b> on line <b>354</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property Parser::$mPreprocessorClass is deprecated in <b>/var/www/html/includes/parser/Parser.php</b> on line <b>280</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property PPDStack::$accum is deprecated in <b>/var/www/html/includes/parser/Preprocessor_DOM.php</b> on line <b>803</b><br />
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="cs">
		<id>https://wiki.freenetis.org/index.php?action=history&amp;feed=atom&amp;title=CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82</id>
		<title>CGI скрипт - Historie editací</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.freenetis.org/index.php?action=history&amp;feed=atom&amp;title=CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82"/>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82&amp;action=history"/>
		<updated>2026-12-04T08:31:52Z</updated>
		<subtitle>Historie editací této stránky</subtitle>
		<generator>MediaWiki 1.30.0</generator>

<br />
<b>Deprecated</b>:  Creation of dynamic property WikitextContent::$mText is deprecated in <b>/var/www/html/includes/content/TextContent.php</b> on line <b>56</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property WikitextContent::$mText is deprecated in <b>/var/www/html/includes/content/TextContent.php</b> on line <b>56</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property PPDStack::$accum is deprecated in <b>/var/www/html/includes/parser/Preprocessor_DOM.php</b> on line <b>803</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property PPDStack::$accum is deprecated in <b>/var/www/html/includes/parser/Preprocessor_DOM.php</b> on line <b>803</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property BlockLevelPass::$lineStart is deprecated in <b>/var/www/html/includes/parser/BlockLevelPass.php</b> on line <b>60</b><br />
	<entry>
		<id>https://wiki.freenetis.org/index.php?title=CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82&amp;diff=2224&amp;oldid=prev</id>
		<title>Quimi: Quimi přesunul stránku CGI ÑÐºÑ€Ð¸Ð¿Ñ‚ na CGI скрипт bez založení přesměrování</title>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82&amp;diff=2224&amp;oldid=prev"/>
				<updated>2018-01-31T13:59:55Z</updated>
		
		<summary type="html">&lt;p&gt;Quimi přesunul stránku &lt;a href=&quot;/index.php?title=CGI_%C3%91%C2%81%C3%90%C2%BA%C3%91%E2%82%AC%C3%90%C2%B8%C3%90%C2%BF%C3%91%E2%80%9A&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;CGI ÑÐºÑ€Ð¸Ð¿Ñ‚ (stránka neexistuje)&quot;&gt;CGI ÑÐºÑ€Ð¸Ð¿Ñ‚&lt;/a&gt; na &lt;a href=&quot;/index.php/CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82&quot; title=&quot;CGI скрипт&quot;&gt;CGI скрипт&lt;/a&gt; bez založení přesměrování&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;cs&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Starší verze&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Verze z 31. 1. 2018, 13:59&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;cs&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Žádný rozdíl)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Quimi</name></author>	</entry>

<br />
<b>Deprecated</b>:  Creation of dynamic property WikitextContent::$mText is deprecated in <b>/var/www/html/includes/content/TextContent.php</b> on line <b>56</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property WikitextContent::$mText is deprecated in <b>/var/www/html/includes/content/TextContent.php</b> on line <b>56</b><br />
	<entry>
		<id>https://wiki.freenetis.org/index.php?title=CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82&amp;diff=2060&amp;oldid=prev</id>
		<title>Sivosha v 10. 12. 2013, 10:21</title>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82&amp;diff=2060&amp;oldid=prev"/>
				<updated>2013-12-10T10:21:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;cs&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Starší verze&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Verze z 10. 12. 2013, 10:21&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Řádek 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Řádek 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[cs: CGI ]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[cs: CGI &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;skripty&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[en: CGI script]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[en: CGI script]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Поддержка CGI скриптов может быть разрешена в секции Settings.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Поддержка CGI скриптов может быть разрешена в секции Settings.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sivosha</name></author>	</entry>

<br />
<b>Deprecated</b>:  Creation of dynamic property WikitextContent::$mText is deprecated in <b>/var/www/html/includes/content/TextContent.php</b> on line <b>56</b><br />
	<entry>
		<id>https://wiki.freenetis.org/index.php?title=CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82&amp;diff=2058&amp;oldid=prev</id>
		<title>Sivosha: Založena nová stránka: cs: CGI  en: CGI script Поддержка CGI скриптов может быть разрешена в секции Settings.  = Определение MAC ад...</title>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=CGI_%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82&amp;diff=2058&amp;oldid=prev"/>
				<updated>2013-12-10T10:19:50Z</updated>
		
		<summary type="html">&lt;p&gt;Založena nová stránka: &lt;a href=&quot;http://wiki.freenetis.org/index.php/CGI&quot; class=&quot;extiw&quot; title=&quot;cs:CGI&quot;&gt;cs: CGI &lt;/a&gt; &lt;a href=&quot;http://wiki.freenetis.org/index.php/CGI_script&quot; class=&quot;extiw&quot; title=&quot;en:CGI script&quot;&gt;en: CGI script&lt;/a&gt; Поддержка CGI скриптов может быть разрешена в секции Settings.  = Определение MAC ад...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nová stránka&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[cs: CGI ]]&lt;br /&gt;
[[en: CGI script]]&lt;br /&gt;
Поддержка CGI скриптов может быть разрешена в секции Settings.&lt;br /&gt;
&lt;br /&gt;
= Определение MAC адреса =&lt;br /&gt;
&lt;br /&gt;
FreenetIS настоящее время позволяет получить MAC-адрес в дополнение к SNMP и использование пользовательских CGI скриптов, которые вы положили прямо на маршрутизаторе. Сценарий должен возвращать только MAC-адреса.&lt;br /&gt;
&lt;br /&gt;
Путь к скриптам определяется установками CGI скриптов, в частности, на вкладке Сеть в пункте &amp;#039;&amp;#039;&amp;#039;URL for the ARP table&amp;#039;&amp;#039;&amp;#039;. По умолчанию &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://{GATEWAY_IP_ADDRESS}/cgi-bin/arp.cgi?ip_address={IP_ADDRESS}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;, где параметры &amp;#039;&amp;#039;&amp;#039;{GATEWAY_IP_ADDRESS}&amp;#039;&amp;#039;&amp;#039; и &amp;#039;&amp;#039;&amp;#039;{IP_ADDRESS}&amp;#039;&amp;#039;&amp;#039; будут заменены на IP адрес и IP адрес шлюза, где выполняется поиск MAC адресов.&lt;br /&gt;
&lt;br /&gt;
== Получение MAC адресов от ISC DHCP сервера ==&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/local/lib/bashlib&lt;br /&gt;
 echo &amp;quot;Content-type: text/plain&amp;quot;&lt;br /&gt;
 echo &amp;quot;&amp;quot;&lt;br /&gt;
 ip_address=`param ip_address`&lt;br /&gt;
 cat /var/lib/dhcp/dhcpd.leases | grep -A6 $ip_address | grep &amp;quot;hardware ethernet&amp;quot; | cut -d &amp;quot; &amp;quot; -f 5 | sed &amp;#039;s/;//&amp;#039;&lt;/div&gt;</summary>
		<author><name>Sivosha</name></author>	</entry>

	</feed>