<meta name="description" CONTENT="íÏÊ ÓÏÂÓÔ×ÅÎÎÙÊ ÏÐÙÔ ÎÁÓÔÒÏÊËÉ
ÂÌÀÔÕÓÎÏÇÏ Network access point">
</HEAD><BODY>
+
+á×ÔÏÒ ×ÙÒÁÖÁÅÔ ÂÌÁÇÏÄÁÒÎÏÓÔØ <a href="http://vap.livejournal.com">áÎÄÒÅÀ
+÷ÁÓÉÌØÅ×Õ</a> ÚÁ ÐÏÄÓËÁÚËÕ ÎÁÓÞÅÔ ËÏÎÆÉÇÕÒÉÒÏ×ÁÎÉÑ bridge ÞÅÒÅÚ ÆÁÊÌ
+interfaces.
+
<H1>óÏÅÄÉÎÅÎÉÅ ËÏÍÐØÀÔÅÒÏ× × ÓÅÔØ ÞÅÒÅÚ bluetooth</H1>
ëÏÇÄÁ Õ ÍÅÎÑ ÚÁ×ÅÌÁÓØ × ÄÏÍÅ ÐÁÒÏÞËÁ Bluetooth ÁÄÁÐÔÅÒÏ×, ÍÎÅ ÚÁÈÏÔÅÌÏÓØ
<li>îÅ ×ËÌÀÞÁÅÍ ÎÉ ÏÄÎÏÇÏ ÆÉÚÉÞÅÓËÏÇÏ ÉÎÔÅÒÆÅÊÓÁ × ÜÔÏÔ ÂÒÉÄÖ
<li>îÁÐÕÓËÁÅÍ ÎÁ ÜÔÏÔ ÂÒÉÄÖ dhcpd.
</ol>
-<p>
-çÏÔÏ×ÏÇÏ ÓËÒÉÐÔÁ ËÕÄÁ ÍÏÖÎÏ ×ÐÉÓÁÔØ ËÏÍÁÎÄÙ ÓÏÚÄÁÎÉÑ ÂÒÉÄÖÁ Ñ ÎÅ ÎÁÛÅÌ.
-ðÏÜÔÏÍÕ × /etc/init.d ÂÙÌ ÄÏÂÁ×ÌÅÎ ÓËÒÉÐÔ ÓÌÅÄÕÀÝÅÇÏ ÓÏÄÅÒÖÁÎÉÑ:
-
+îÁÓÔÏÒÊËÉ bridge, ÒÅËÏÍÅÎÄÏ×ÁÎÎÙÅ × HOWTO-PAN ÓÌÅÄÕÀÝÉÅ:
<pre>
-#!/bin/sh
-#
-# This script configures bridge interface for Bluetooth Personal Area
-# network. This interface should be up before dhcpd started
-#
-#
-IFACE=pan0
-ADDRESS=10.0.0.1
-NETMASK=255.255.255.0
-BROADCAST=10.0.0.255
-
-case "$1" in
-start)
- # Creating bridge interface $IFACE
- brctl addbr $IFACE
- # Setting options according to HOWTO-PAN
- brctl setfd $IFACE 0
- brctl stp $IFACE off
- # Configuring interface
- ifconfig $IFACE $ADDRESS netmask $NETMASK broadcast $BROADCAST
- ;;
-stop) ifconfig pan0 down
- ;;
-*)
- echo "Usage $0 start|stop" >&2
-;;
-esac
+brctl setfd pan0 0
+</pre>
+õÓÔÁÎÏ×ÉÔØ <tt>forward delay</tt> - ÚÁÄÅÒÖËÕ × ÐÅÒÅÓÙÌËÅ ÐÁËÅÔÁ × 0
+<pre>
+brctl stp pan0 off
</pre>
+úÁÐÒÅÔÉÔØ ÉÓÐÏÌØÚÏ×ÁÎÉÅ Spanning tree protocol.
+<p>
+üÔÉ ×ÏÚÍÏÖÎÏÓÔÉ ËÏÄÁ bridging × ÌÉÎÕËÓÏ×ÏÍ ÑÄÒÅ ÐÒÅÄÎÁÚÎÁÞÅÎÙ ÄÌÑ
+ÓÉÔÕÁÃÉÊ, ËÏÇÄÁ ÓÅÔÉ ÏÂßÅÄÉÎÑÀÔÓÑ ÂÏÌÅÅ ÞÅÍ ÏÄÎÉÍ bridge É ÎÕÖÎÏ
+ÐÒÉÎÉÍÁÔØ ÍÅÒÙ ÄÌÑ ÔÏÇÏ ÞÔÏÂÙ ÐÁËÅÔÙ ÎÅ ÂÅÇÁÌÉ ÐÏ ËÒÕÇÕ. ÷ ÄÁÎÎÏÊ
+ÐÒÏÓÔÏÊ ÓÉÔÕÁÃÉÉ - ÔÏÐÏÌÏÇÉÑ "Ú×ÅÚÄÁ", ÎÁÍ ÜÔÏ ÎÅ ÎÕÖÎÏ, Á ÚÁÄÅÒÖËÉ ÏÎÏ
+ÄÏÂÁ×ÌÑÅÔ.
-îÁ ÜÔÏÔ ÓËÒÉÐÔ ÓÏÚÄÁÎ ÓÉÍÌÉÎË × /etc/rc2.d Ó ÎÏÍÅÒÏÍ, ÍÅÎØÛÉÍ ÞÅÍ Õ
-dhcpd (ÔÏÔ S20, Á ÜÔÏÔ S15)
<p>
-÷ ÐÒÉÎÃÉÐÅ, ÍÏÖÎÏ ÂÙÌÏ ÂÙ ÎÅ ×ËÌÀÞÁÔØ × ÜÔÏÔ ÓËÒÉÐÔ ËÏÍÁÎÄÕ ifconfig, Á
-ÞÅÓÔÎÏ ÏÐÉÓÁÔØ ÅÇÏ × /etc/network/interfaces ËÁË
+óÅÔÅ×ÙÅ ÉÎÔÅÒÆÅÊÓÙ × debian ÏÐÉÓÙ×ÁÀÔÓÑ × ÆÁÊÌÅ
+<tt>/etc/network/interfaces</tt>,
+ÄÏËÕÍÅÎÔÉÒÏ×ÁÎÎÏÍ × man-ÓÔÒÁÎÉÃÅ <b>interfaces</b>(5). îÁ ÐÅÒ×ÙÊ ×ÚÇÌÑÄ,
+ÎÉÞÅÇÏ ËÁÓÁÀÝÅÇÏÓÑ ÂÒÉÄÖÅÊ ÔÁÍ ÎÅ ÏÂÎÁÒÕÖÉ×ÁÅÔÓÑ. îÏ, ÏËÁÚÙ×ÁÅÔÓÑ,
+ÓÉÎÔÁËÓÉÓ ÜÔÏÇÏ ÆÁÊÌÁ ÒÁÓÛÉÒÑÅÍ Ó ÐÏÍÏÝØÀ ÓËÒÉÐÔÏ×, ÐÏÍÅÝÁÅÍÙÈ ×
+<tt>/etc/network/if*.d</tt>.
+<p>
+ðÁËÅÔ bridge-utils ÐÒÉÎÏÓÉÔ Ó ÓÏÂÏÊ É ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ×
+/etc/network/if-pre-up.d ÓËÒÉÐÔ bridge, ËÏÔÏÒÙÊ ÏÂÒÁÂÁÔÙ×ÁÅÔ ËÏÍÁÎÄÙ
+ËÏÎÆÉÇÕÒÉÒÏ×ÁÎÉÑ bridge. äÏÐÏÌÎÉÔÅÌØÎÙÅ ÄÉÒÅËÔÉ×Ù ËÏÎÆÉÇÕÒÁÃÉÉ
+ÉÎÔÅÒÆÅÊÓÁ, ÏÂÒÁÂÁÔÙ×ÁÅÍÙÅ ÜÔÉÍ ÓËÒÉÐÔÏÍ, ÏÐÉÓÁÎÙ ×
+<tt>/usr/share/doc/bridge-utils/README.Debian.gz</tt>.
+<p>
+ðÏÜÔÏÍÕ ÄÏÂÁ×ÌÑÅÍ × <tt>/etc/network/interfaces</tt> ÆÒÁÇÍÅÎÔ ÓÌÅÄÕÀÝÅÇÏ
+ÓÏÄÅÒÖÁÎÉÑ:
<pre>
auto pan0
iface pan0 inet static
+ bridge_ports none
+ bridge_fd 0
+ bridge_stp off
address 10.0.0.1
- network 10.0.0.0
netmask 255.255.255.0
- broadcast 10.0.0.255
+ brodcast 10.0.0.255
</pre>
-
-îÏ ÔÏÇÄÁ ÓÌÅÄÕÅÔ ÐÏÚÁÂÏÔÉÔØÓÑ, ÞÔÏÂÙ ÓËÒÉÐÔ, ×ÙÐÏÌÎÑÀÝÉÊ <tt>brctl
-addbr</tt>. ×ÙÐÏÌÎÑÌÓÑ ÄÏ /etc/init.d/networking, Ô.Å. × /etc/rcS.d.
-ðÏÞÅÍÕ-ÔÏ ÍÎÅ ÜÔÁ ÉÄÅÑ ÎÅ ÐÏÎÒÁ×ÉÌÁÓØ.
+îÁÉÂÏÌÅÅ ×ÁÖÎÏÊ × ÜÔÏÊ ËÏÎÓÔÒÕËÃÉÉ Ñ×ÌÑÅÔÓÑ ÄÉÒÅËÔÉ×Á bridge_ports none.
+óËÒÉÐÔ bridge ×ÓÔÕÐÁÅÔ × ÒÁÂÏÔÕ ÉÍÅÎÎÏ ÐÒÉ ÎÁÌÉÞÉÉ ÄÉÒÅËÔÉ×Ù
+bridge_ports Ó ÎÅÐÕÓÔÙÍ ÓÐÉÓËÏÍ ÉÎÔÅÒÆÅÊÓÏ×. ðÏÓËÏÌØËÕ ÎÁ ÓÁÍÏÍ ÄÅÌÅ ÍÙ
+ÎÅ ÈÏÔÉÍ ÄÏÂÁ×ÌÑÔØ ËÁËÉÅ-ÌÉÂÏ ÉÎÔÅÒÆÅÊÓÙ × ÓÐÉÓÏË ÓÒÁÚÕ (ÔÏÌØËÏ ÐÏ ÍÅÒÅ
+ÐÏÄËÌÀÞÅÎÉÑ bluetooth-ËÌÉÅÎÔÏ×) ÔÏ ÉÓÐÏÌØÚÕÅÍ ÚÁÒÅÚÅÒ×ÉÒÏ×ÁÎÎÏÅ ÓÌÏ×Ï
+none.
+<p>
+ä×Å ÄÒÕÇÉÅ ÓÔÒÏËÉ, ÎÁÞÉÎÁÀÝÉÅÓÑ Ó bridge ÓÏÏÔ×ÅÔÓÔ×ÕÀÔ ×ÙÛÅÐÒÉ×ÅÄÅÎÎÙÍ
+ËÏÍÁÎÄÁÍ ËÏÎÆÉÇÕÒÁÃÉÉ.
<p>
ôÅÐÅÒØ ËÏÇÄÁ Õ ÎÁÓ ÅÓÔØ ÉÎÔÅÒÆÅÊÓ, ÍÙ ÍÏÖÅÍ ÐÒÏÐÉÓÁÔØ × /etc/dhcpd.conf
ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÕÀ subnet É ÄÏÂÁ×ÉÔØ ÉÍÑ ÜÔÏÇÏ ÉÎÔÅÒÆÅÊÓÁ × ÓÔÒÏÞËÕ
ðÅÒ×ÁÑ ËÏÍÁÎÄÁ × ÜÔÏÍ ÓËÒÉÐÔÅ ÄÏÂÁ×ÌÑÅ ÉÎÔÅÒÆÅÊÓ $1 (Ô.Å. ÔÏÔ, ËÏÔÏÒÙÊ
pand ÐÅÒÅÄÁÌ × ËÁÞÅÓÔ×Å ÐÁÒÁÍÅÔÒÁ ÓËÒÉÐÔÕ) × ÂÒÉÄÖ pan0.
÷ÔÏÒÁÑ ËÏÍÁÎÄÁ - ÐÏÄÎÉÍÁÅÔ ÉÎÔÅÒÆÅÊÓ. õÓÔÁÎÁ×ÌÉ×ÁÔØ ÏÓÍÙÓÌÅÎÎÙÊ IP ÔÁÍ
-ÎÅ ÎÁÄÏ, Ï ÜÔÏÍ ÐÏÚÁÂÏÔÉÔÓÑ ÕÒÏ×ÅÎØ ÂÒÉÄÖÁ.
-
-
+ÎÅ ÎÁÄÏ, Ï ÜÔÏÍ ÐÏÚÁÂÏÔÉÔÓÑ ÕÒÏ×ÅÎØ ÂÒÉÄÖÁ. ÷ÅÒÏÑÔÎÏ, ÂÙÌÏ ÂÙ
+ÄÏÓÔÁÔÏÞÎÏ ÐÒÏÐÉÓÁÔØ ÔÕÄÁ up ×ÍÅÓÔÏ ÎÕÌÅ×ÏÇÏ ÁÄÒÅÓÁ.
<p>
äÁ, ÅÝÅ. òÅËÏÍÅÎÄÕÀ ÚÁÍÅÎÉÔØ ÎÁ ÜÔÏÍ ËÏÍÐØÀÔÅÒÅ ÓÔÁÎÄÁÒÔÎÙÊ ÓËÒÉÐÔ
bluez-pin ÎÁ ÞÔÏ-ÎÉÂÕÄØ ÍÅÎÅÅ ÉÎÔÅÒÁËÔÉ×ÎÏÅ. éÎÁÞÅ ×Ï ×ÓÑËÏÍ ÓÌÕÞÁÅ ÐÒÉ