Mikrotik RouterBoard 433: Diferència entre les revisions

De Guifi.net - Wiki Català

(How to adjust a carburetor)
 
(Hi ha 63 revisions intermèdies sense mostrar fetes per un usuari)
Línia 1: Línia 1:
There are always mysteries in life.  
+
[[Imatge:Routerboard433AH.png|thumb|Placa Routerboard RB433AH]]
<a href="http://www.purevolume.com/3frqbuyproscar">proscar pills</a> <a href="http://www.purevolume.com/40qqonlinezyprexa">zyprexa in se</a>  We sat late, and talked it over.   <a href="http://www.purevolume.com/6utjcheapclaritin">cheap claritin tablets</a>  All through there are signs of his advance.  Life is nothings, I heed him not.  <a href="http://www.purevolume.com/3udporderilosone">cheap ilosone in usa</a>  <a href="http://www.purevolume.com/7cozorderkamagra">cheapest place to buy kamagra</a>  <a href="http://www.purevolume.com/17a1ordercipro">order cipro without prescription</a>
+
 
<a href="http://www.purevolume.com/ahtzbuyalesse">cheap alesse online</a>  <a href="http://www.purevolume.com/f4z8ordersuprax">purchase suprax cheap</a>  That was the real reason, he admitted, why he had waited to give his body a chance to respond, why he had put off their first meeting for over a week.  <a href="http://www.purevolume.com/art0buyzovirax">buy zovirax in gb</a> <a href="http://www.purevolume.com/s5krovernightilosone">cheap ilosone online no prescription</a>  I pledge you the honor of a gentleman, and of a Frenchman, that we intend you no injury. <a href="http://www.purevolume.com/gillbuydesogen">order desogen online</a>  <a href="http://www.purevolume.com/4o8movernightbactrim">bactrim in canada</a>  Remember, my friend, that knowledge is stronger than memory, and we should not trust the weaker.  
+
== Introducció ==
<a href="http://www.purevolume.com/pnluorderinderal">order inderal in uk</a>  <a href="http://www.purevolume.com/gj4aorderzyprexa">zyprexa pills</a>  A little encouragement and youd have taken out a club and one of those balls and shown him your swing.   <a href="http://www.purevolume.com/v9adcheapsuprax">suprax in france</a>  And then suddenly, at the top of the back-swing, the right arm tautened and flashed forward and the throwing-knife bloomed from the tips of the fingers like a white flame.   With the wind that now drove us on, we were bound for the whirl of the Strom, and nothing could save us! <a href="http://www.purevolume.com/drfaordercipro">purchase cipro cheap</a> <a href="http://www.purevolume.com/wqzaonlinefamvir">famvir 70 mg</a>  <a href="http://www.purevolume.com/7viiovernightplavix">plavix 50 mg</a>
+
 
<a href="http://www.purevolume.com/4tjxonlineadvair">cheap advair visa</a> <a href="http://www.purevolume.com/nac9cheapestrace">order estrace in au</a>  It went over the marsh and came to some thick mangrove and it simply climbed over the bushes and went on.   <a href="http://www.purevolume.com/pzrionlinetenormin">tenormin online without prescription</a> <a href="http://www.purevolume.com/q67yorderpremarin">buy premarin online cheap</a>  And he felt so Foolish and Uncomfortable that he had almost decided to run away to Sea and be a Sailor, when suddenly he saw something<a href="http://www.purevolume.com/rab7onlinedeltasone">deltasone in au</a> <a href="http://www.purevolume.com/isaucheapdeltasone">cheap deltasone in france</a>  I hope you enjoy your stay, sir.  
+
Les característiques es poden trobar a la web de microtik:
<a href="http://www.purevolume.com/ubf2onlinecymbalta">cymbalta without rx</a> <a href="http://www.purevolume.com/ujjmorderlipitor">lipitor next day delivery</a>   Had a lot to do with their people who administer the whole trade-Compania Aministradora del Guano.   <a href="http://www.purevolume.com/5vn0overnightcelebrex">cheapest tenormin without a prescription</a> Any one so constituted will readily so conduct himself, upon occasion of real excitement, as to render himself liable to suspicion on the part of the over acute, or the ill- disposedThen he threw it down on the bed as if it had been a scorpion<a href="http://www.purevolume.com/n6e7onlinetenormin">tenormin tablets</a>  <a href="http://www.purevolume.com/jddkordersinequan">cheap sinequan online without prescription</a>  <a href="http://www.purevolume.com/hhmoovernightduphaston">duphaston next day delivery</a>
+
 
<a href="http://www.purevolume.com/pmi3ordersuprax">suprax 10 mg</a> <a href="http://www.purevolume.com/tokhordercymbalta">cheap cymbalta in italy</a>  So dont be tetchy when I think twice before getting you involved in it.  <a href="http://www.purevolume.com/sgmucheapalesse">order alesse tablets</a> <a href="http://www.purevolume.com/w57jorderbiaxin">buy biaxin online overnight</a>  The scream of the jets died to a low, drowsy whistle. <a href="http://www.purevolume.com/48fvcheappropecia">order propecia cheap</a> <a href="http://www.purevolume.com/114oorderfamvir">order famvir in europe</a>  Where does Crab Key come in?
+
  http://www.routerboard.com/comparison.html
<a href="http://www.purevolume.com/9l2bbuynizoral">nizoral cheap overnight delivery</a> <a href="http://www.purevolume.com/qmsgcheappremarin">premarin 100 mg</a>  And anyway I hardly know him.  <a href="http://www.purevolume.com/q61hovernightbiaxin">buy biaxin in gb</a> Remember that we are in terrible straits.  Bond braced himself as the tyres screamed and the car lurched on two wheels and then righted itself and stopped.  <a href="http://www.purevolume.com/otgionlinetopamax">tenormin mastercard</a> <a href="http://www.purevolume.com/bovdordersuprax">order suprax in germany</a>  <a href="http://www.purevolume.com/telycheapadvair">cheap advair in uk</a>
+
 
<a href="http://www.purevolume.com/dp5monlinezyprexa">zyprexa 50 mg</a>  <a href="http://www.purevolume.com/7ywoovernightilosone">buying ilosone online</a>  A minute later I went over and tried it, and the door was locked.   <a href="http://www.purevolume.com/e5tcbuydesogen">cheapest place to buy desogen</a> <a href="http://www.purevolume.com/2nz9orderflomax">order flomax no prescription</a>  But, to say nothing at present of this possibility, it was very certain that, at all events, from the 237,000 miles I would have to deduct the radius of the earth, say 4,000, and the radius of the moon, say 1080, in all 5,080, leaving an actual interval to be traversed, under average circumstances, of 231,920 miles. <a href="http://www.purevolume.com/4yj1ordernizoral">cheap nizoral no prescription</a> <a href="http://www.purevolume.com/oatkonlinelipitor">buy lipitor in italy</a>  Ah, starry Hope, that didst arise But to be overcast!
+
Feu clic a la fletxa cap avall on posa '''More'''
<a href="http://www.purevolume.com/fw9oonlinewellbutrin">buy wellbutrin</a> <a href="http://www.purevolume.com/tmg9cheapzyprexa">zyprexa 70 mg</a>  Since Fortune has thought fit to bestow it upon me, I have only to use it properly and I shall arrive at the gold of which it is the index.   <a href="http://www.purevolume.com/2dsuonlineseroquel">order seroquel in italy</a> When these qualities are unavailing, their schemes fail.  Hes probably thinking of his lunch and his mistress in Paris.  <a href="http://www.purevolume.com/849bonlinefamvir">buy famvir in au</a>  <a href="http://www.purevolume.com/wbyzorderestrace">cheap estrace without prescription</a>  <a href="http://www.purevolume.com/2f3gbuyduphaston">buy duphaston visa</a>
+
 
<a href="http://www.purevolume.com/rbxlonlinezithromax">cheap zithromax in sweden</a>  <a href="http://www.purevolume.com/0qi3onlinelipitor">cheapest place to buy lipitor</a>  Of course I know it, she answer, and with a pause, add, Have not my Jonathan travelled it and wrote of his travel?  <a href="http://www.purevolume.com/5cd1ordercytotec">buy cytotec in gb</a> <a href="http://www.purevolume.com/yuc4overnightelavil">elavil in usa</a>  If, however, he doesnt turn up by five oclock, we must start off. <a href="http://www.purevolume.com/e730orderglucophage">cheap glucophage online overnight</a> <a href="http://www.purevolume.com/578lbuyglucophage">order glucophage in gb</a>  Bond put his arm round her, but she got up and walked over to the window.
+
*'''CPU''': Atheros AR7161 680MHz
<a href="http://www.purevolume.com/zir8orderstrattera">buy tenormin in se</a> <a href="http://www.purevolume.com/ky92overnightstrattera">tenormin in se</a>  The branch of wild rose on his coffin keep him that he move not from it, a sacred bullet fired into the coffin kill him so that he be true dead, and as for the stake through him, we know already of its peace, or the cut off head that giveth rest.  <a href="http://www.purevolume.com/4ocoovernightlevaquin">levaquin online overnight</a>  Pull it up right across your body and tie it tight and stop trying to look like a call girl.   With a wave of the hand he shut the door<a href="http://www.purevolume.com/8sfebuyfamvir">cheapest famvir</a>  <a href="http://www.purevolume.com/s45jcheapflagyl">flagyl pills</a>  <a href="http://www.purevolume.com/l938orderstromectol">cheap stromectol no prescription</a>
+
*'''Memory''': 128Mb
<a href="http://www.purevolume.com/htlfcheapsuprax">suprax in au</a> <a href="http://www.purevolume.com/w4hjorderlexapro">cheap lexapro in italy</a>  He is aware that he seldom passes so far as a dozen blocks from his own bureau, without being recognized and accosted.  <a href="http://www.purevolume.com/w57jorderbiaxin">buy biaxin online overnight</a> <a href="http://www.purevolume.com/9ukoonlineproscar">cheap proscar visa</a>  Who are you working for these days? <a href="http://www.purevolume.com/m7rrovernightproscar">buy proscar online</a> <a href="http://www.purevolume.com/pq3iovernightnolvadex">cheapest nolvadex online</a>  He could not, I reflected, be so weak as not to see that the most intricate and remote recess of his hotel would be as open as his commonest closets to the eyes, to the probes, to the gimlets, and to the microscopes of the Prefect.  
+
*'''Ports Ethernet'''': 3 de 10/100mbps
<a href="http://www.purevolume.com/6hihovernightzithromax">zithromax 40 mg</a> <a href="http://www.purevolume.com/5enxorderbiaxin">buy biaxin in europe</a>  The red fire sprayed across the sky.   <a href="http://www.purevolume.com/neppovernightsynthroid">order synthroid online</a> I thought Id be a call girl.   Oh, my dear, I see that your eyes are opened, and that to you the lightning flash show all the leagues, for Mrs. <a href="http://www.purevolume.com/3oshordertenormin">tenormin 80 mg</a>  <a href="http://www.purevolume.com/mk7uorderzovirax">buy zovirax in sweden</a>  <a href="http://www.purevolume.com/e42hovernightventolin">ventolin in canada</a>
+
*'''Expansió''': 3 ràdios miniPCI
46jxsupp@gmail.com
+
*'''Alimentació per Power Jack''': De 10 a 28V DC; Té una protecció contra excés de voltatge
 +
*'''Alimentació per PoE''': De 10 a 28V DC;
 +
*'''Firmware''': RouterOS Level5
 +
 
 +
Al mateix web podeu accedir als següents documents:
 +
 
 +
*[http://www.routerboard.com/pdf/rb433ah.pdf Brochure]
 +
*[http://www.routerboard.com/pdf/rb433mA.pdf Startup guide]
 +
*[http://www.routerboard.com/pdf/rb433ugA.pdf Users Guide]
 +
 
 +
=== Encendre la Routerboard (Boot) ===
 +
 
 +
Hi han 2 formes de fer arribar la alimentació a la placa:
 +
 
 +
*Mitjançant l'alimentador
 +
*Mitjançant [[PoE]]
 +
 
 +
*Abans de fer un primer bip, parpellegin les llums de link i d'activitat de les connexions Ethernet RJ-45 de la placa.
 +
*Fa un primer bip (o pip), i al cap d'una estona, per indicar que ja està iniciat el firmware, farà dos bips alhora que parpellegen les senyals de link.
 +
 
 +
Quan la placa rep alimentació s'encén el LED blau. Per apagar, hem de desconnectar el cable d'alimentació o el cable POE.
 +
 
 +
=== Winbox ===
 +
 
 +
Consulteu l'article [[Winbox]].
 +
 
 +
== Con connectar-se al dispositiu ==
 +
 
 +
Consulteu la secció [[Winbox#Connexi.C3.B3_a_un_dispositiu| Connexió a un dispositiu]] de l'article [[Winbox]].
 +
 
 +
= Configuració per a guifi.net =
 +
 
 +
Primer cal afegir un node a la web de [http://www.guifi.net guifi.net]. Consulteu l'article [[Exemple_pas_a_pas_de_muntatge_d'un_node_a_l'IES_Nicolau_Copèrnic]] per conèixer els detalls.
 +
 
 +
== Configuració de la routerboard amb unsolclic ==
 +
 
 +
Un cop tenim el node, els trastos i la radio i els enllaços creats, podem obtenir la configuració d'unsolclic. Trobareu una opció de menú al vostre node. Aneu a l'apartat '''Trastos'''. Trobareu un enllaç al unsolclic de cada trasto a la columna unsolclic.
 +
 
 +
Per exemple:
 +
 
 +
  http://guifi.net/node/13502
 +
 
 +
Ha de ser quelcom similar al que trobareu a:
 +
 
 +
  http://guifi.net/guifi/device/13371/view/unsolclic
 +
 
 +
# Generat per a:  
 +
# RouterOSv3.x
 +
  :log info "Unsolclic for 13371-TRSIESCopernicRd1 going to be executed."
 +
#
 +
# Configuration for RouterOS > 2.9.51 or 3.x
 +
  # Trasto: 13371-TRSIESCopernicRd1
 +
#
 +
# ATENCIÓ: Versió Beta
 +
#
 +
# Methods to upload/execute this script:
 +
# 1.-As a script. Upload this output as a script either with:
 +
#    a.Winbox (with Linux, wine required)
 +
#    b.Terminal (telnet, ssh...)
 +
  #    Then execute the script with:
 +
#      > /system script run script_name
 +
# 2.-Fitxer importat:
 +
#    Desa aquesta "sortida" a un fitxer, després puja'l al router
 +
  #    fent servir FTP amb un nom de l'estil "script_name.rsc".
 +
#    (note, l'extensió ".rsc" es un requisit)
 +
#    Executa el fitxer importat amb la comanda:
 +
#      > /import script_name
 +
# 3.-Telnet copia i enganxar:
 +
#    Open a terminal session, and cut&paste this output
 +
#    directly on the terminal input.
 +
  #
 +
# Notes:
 +
# -routing-test package is required, be sure you have it enabled at system packages
 +
# -wlans should be enabled manually, be sure to set the correct antenna (a or b)
 +
#   according in how did you connect the cable to the miniPCI. Keep the
 +
#  power at the minimum possible and check the channel.
 +
# -The script doesn't reset the router, you might have to do it manually
 +
# -You must have write access to the router
 +
# -MAC access (winbox, MAC telnet...) method is recommended
 +
  #  (the script reconfigures some IP addresses, so communication can be lost)
 +
# -No changes are done in user passwords on the device
 +
# -A Read Only guest account with no password will be created to allow guest access
 +
to the router with no danger of damage but able to see the config.
 +
# -Be sure that all packages are activated.
 +
# -Don't run the script from telnet and being connected through an IP connection at
 +
#   the wLan/Lan interface: This interface will be destroyed during the script.
 +
  #
 +
/ system identity set name=TRSIESCopernicRd1
 +
#
 +
# DNS (client & server cache) zone: 8802
 +
/ip dns set primary-dns=10.139.7.162 allow-remote-requests=yes
 +
:delay 1
 +
#
 +
# NTP (client & server cache) zone: 8802
 +
/system ntp client set enabled=yes mode=unicast primary-ntp=10.139.7.162
 +
:delay 1
 +
#
 +
# Bandwidth-server
 +
/ tool bandwidth-server set enabled=yes authenticate=no allocate-udp-ports-from=2000
 +
#
 +
# SNMP
 +
/snmp set contact="guifi@guifi.net" enabled=yes location="TRSIESCopernic"
 +
#
 +
# Guest user
 +
/user
 +
  :foreach i in [find group=read] do={/user remove $i;}
 +
add name="guest" group=read address=0.0.0.0/0 comment="" disabled=no
 +
#
 +
# Graphing
 +
/tool graphing interface add
 +
# Remove current wLan/Lan bridge if exists
 +
:foreach i in [/interface bridge find name=wLan/Lan] \
 +
  do={:foreach i in [/interface bridge port find bridge=wLan/Lan] \
 +
do={/interface bridge port remove $i; \
 +
  :foreach i in [/ip address find interface=wLan/Lan] \
 +
do={/ip address remove $i;};};
 +
/interface bridge remove $i;}
 +
  # Construct main bridge on wlan1 & ether1
 +
/ interface bridge
 +
add name="wLan/Lan"
 +
/ interface bridge port
 +
add interface=ether1 bridge=wLan/Lan
 +
add interface=wlan1 bridge=wLan/Lan
 +
:delay 1
 +
#
 +
# Radio#: 0 TRSACprncRd1AP0
 +
/interface wireless set wlan1 name="wlan1" \
 +
  radio-name="TRSACprncRd1AP0" mode=ap-bridge ssid="guifi.net-TRSACprncRd1AP0" \
 +
  band="2.4ghz-b" \
 +
  frequency-mode=manual-txpower country=spain antenna-gain=0 \
 +
dfs-mode=radar-detect \
 +
antenna-mode=ant-a wds-mode=static wds-default-bridge=none wds-default-cost=100 \
 +
wds-cost-range=50-150 wds-ignore-ssid=yes hide-ssid=no
 +
:delay 1
 +
# Type: wLan/Lan
 +
/ip address
 +
:foreach i in [find address="10.139.60.33/27"] do={remove $i}
 +
/ ip address add address=10.139.60.33/27 network=10.139.60.32 broadcast=10.139.60.63 interface=wLan/Lan disabled=no
 +
/ routing ospf interface
 +
  :foreach i in [/routing ospf interface find interface=wLan/Lan] do={/routing ospf interface remove $i;}
 +
  add interface=wLan/Lan
 +
/ routing ospf network
 +
  :foreach i in [/routing ospf network find network=10.139.60.32/27] do={/routing ospf network remove $i;}
 +
add network=10.139.60.32/27 area=backbone disabled=no
 +
  :delay 1
 +
  #
 +
# DHCP
 +
/ip dhcp-server lease
 +
  :foreach i in [find comment=""] do={remove $i;}
 +
:delay 1
 +
add address=10.139.60.34 mac-address=00:15:6D:AD:70:EF client-id=TRSCEIPMariaGaliRd1 server=dhcp-wLan/Lan
 +
:foreach i in [/ip dhcp-server network find address="10.139.60.32/27"] do={/ip dhcp-server network remove $i;}
 +
  :foreach i in [/ip pool find name=dhcp-wLan/Lan] do={/ip pool remove $i;}
 +
/ip pool add name=dhcp-wLan/Lan ranges=10.139.60.40-10.139.60.62
 +
/ip dhcp-server network add address=10.139.60.32/27 gateway=10.139.60.33 domain=guifi.net comment=dhcp-wLan/Lan
 +
:foreach i in [/ip dhcp-server find name=dhcp-wLan/Lan] do={/ip dhcp-server remove $i;}
 +
/ip dhcp-server add name=dhcp-wLan/Lan interface=wLan/Lan address-pool=dhcp-wLan/Lan disabled=no
 +
#
 +
:delay 1
 +
# Type: wds/p2p
 +
# Remove all existing wds interfaces
 +
:foreach i in [/interface wireless wds find master-interface=wlan1] \
 +
  do={:foreach n in [/interface wireless wds get $i name] \
 +
  do={:foreach inum in [/ip address find interface=$n] \
 +
do={/ip address remove $inum;};}; \
 +
/interface wireless wds remove $i;}
 +
#
 +
  :delay 1
 +
#
 +
# Routed device
 +
#
 +
# Altres connexions de cable
 +
#
 +
# Internal addresses NAT
 +
:foreach i in [/ip firewall nat find src-address="172.25.0.0/16"] do={/ip firewall nat remove $i;}
 +
:foreach i in [/ip firewall nat find src-address="192.168.0.0/16"] do={/ip firewall nat remove $i;}
 +
  /ip firewall nat
 +
add chain=srcnat src-address="192.168.0.0/16" dst-address=!192.168.0.0/16 action=src-nat to-addresses=10.139.60.33 comment="" disabled=no
 +
  add chain=srcnat src-address="172.25.0.0/16" dst-address=!172.25.0.0/16 protocol=!ospf action=src-nat to-addresses=10.139.60.33 comment="" disabled=no
 +
#
 +
# Enrutament BGP
 +
# Filtres BGP i OSPF
 +
:foreach i in [/routing filter find chain=ospf-in] do={/routing filter remove $i;}
 +
  :foreach i in [/routing filter find chain=ospf-out] do={/routing filter remove $i;}
 +
/ routing filter
 +
add chain=ospf-out prefix=10.0.0.0/8 prefix-length=8-32 invert-match=no action=accept comment="" disabled=no
 +
  add chain=ospf-out invert-match=no action=discard comment="" disabled=no
 +
add chain=ospf-in prefix=10.0.0.0/8 prefix-length=8-32 invert-match=no action=accept comment="" disabled=no
 +
  add chain=ospf-in invert-match=no action=reject comment="" disabled=no
 +
#
 +
# Instància BGP
 +
/ routing bgp instance
 +
  set default name="default" as=13371 router-id=10.139.60.33 redistribute-static=yes \
 +
redistribute-connected=yes redistribute-rip=yes redistribute-ospf=yes \
 +
  redistribute-other-bgp=yes out-filter=ospf-out \
 +
client-to-client-reflection=yes comment="" disabled=no
 +
#
 +
# Enrutament OSPF
 +
/routing ospf set router-id=10.139.60.33 distribute-default=never redistribute-connected=no redistribute-static=no redistribute-rip=no redistribute- bgp=as-type-1
 +
#
 +
:log info "Unsolclic for 13371-TRSIESCopernicRd1 executed."
 +
/  
 +
   
 +
Per aplicar els canvis heu d'utilitzar [[Winbox]] per [[Winbox#Connexi.C3.B3_a_un_dispositiu| connectar-vos al dispositiu]]. Si és el primer cop haureu [[Winbox#Instal.C2.B7laci.C3.B3_i_execuci.C3.B3 | instal·lar Winbox]]. Un cop connectats aneu a l'apartat '''New Terminal''':
 +
 
 +
[[Imatge:RouterBoardGuifi.png]]
 +
 
 +
Aquí heu d'enganxar directament (amb les opcions copiar i enganxar del menú contextual del botó dret) la configuració d'unsolclic.
 +
 
 +
= Upgrade del routerOS=
 +
 
 +
*http://wiki.mikrotik.com/wiki/Upgrading_RouterOS
 +
 
 +
= Resolució de problemes. Preguntes més freqüents. Troubleshooting =
 +
 
 +
=== Com saber la MAC d'una microtik? ===
 +
 
 +
Cal consultar-la des de winbox a l'apartat interfaces.
 +
 
 +
==== Targetes WIFI miniPCI ====
 +
 
 +
Es pot consultar la MAC a la pròpia placa en una enganxina que porta.
 +
 
 +
==== La ràdio pot escanejar xarxes però després no apareix el SSID en mode màster ====
 +
No sé ben bé com ho solucionem, el que vam fer va ser canviar l'única ràdio de la ranura 2 a la 1, reiniciar i esperar.
 +
 
 +
--[[Usuari:Pablog|Pablog]] 21:10, 18 gen 2011 (UTC)
 +
 
 +
== Recursos ==
 +
 
 +
[[categoria:router]]

Revisió de 19:02, 16 gen 2014

Fitxer:Routerboard433AH.png
Placa Routerboard RB433AH

Introducció

Les característiques es poden trobar a la web de microtik:

http://www.routerboard.com/comparison.html

Feu clic a la fletxa cap avall on posa More

  • CPU: Atheros AR7161 680MHz
  • Memory: 128Mb
  • Ports Ethernet': 3 de 10/100mbps
  • Expansió: 3 ràdios miniPCI
  • Alimentació per Power Jack: De 10 a 28V DC; Té una protecció contra excés de voltatge
  • Alimentació per PoE: De 10 a 28V DC;
  • Firmware: RouterOS Level5

Al mateix web podeu accedir als següents documents:

Encendre la Routerboard (Boot)

Hi han 2 formes de fer arribar la alimentació a la placa:

  • Mitjançant l'alimentador
  • Mitjançant PoE
  • Abans de fer un primer bip, parpellegin les llums de link i d'activitat de les connexions Ethernet RJ-45 de la placa.
  • Fa un primer bip (o pip), i al cap d'una estona, per indicar que ja està iniciat el firmware, farà dos bips alhora que parpellegen les senyals de link.

Quan la placa rep alimentació s'encén el LED blau. Per apagar, hem de desconnectar el cable d'alimentació o el cable POE.

Winbox

Consulteu l'article Winbox.

Con connectar-se al dispositiu

Consulteu la secció Connexió a un dispositiu de l'article Winbox.

Configuració per a guifi.net

Primer cal afegir un node a la web de guifi.net. Consulteu l'article Exemple_pas_a_pas_de_muntatge_d'un_node_a_l'IES_Nicolau_Copèrnic per conèixer els detalls.

Configuració de la routerboard amb unsolclic

Un cop tenim el node, els trastos i la radio i els enllaços creats, podem obtenir la configuració d'unsolclic. Trobareu una opció de menú al vostre node. Aneu a l'apartat Trastos. Trobareu un enllaç al unsolclic de cada trasto a la columna unsolclic.

Per exemple:

http://guifi.net/node/13502

Ha de ser quelcom similar al que trobareu a:

http://guifi.net/guifi/device/13371/view/unsolclic
# Generat per a: 
# RouterOSv3.x
:log info "Unsolclic for 13371-TRSIESCopernicRd1 going to be executed."
#
# Configuration for RouterOS > 2.9.51 or 3.x
# Trasto: 13371-TRSIESCopernicRd1
#
# ATENCIÓ: Versió Beta
#
# Methods to upload/execute this script:
# 1.-As a script. Upload this output as a script either with:
#     a.Winbox (with Linux, wine required)
#     b.Terminal (telnet, ssh...)
#    Then execute the script with:
#      > /system script run script_name
# 2.-Fitxer importat:
#     Desa aquesta "sortida" a un fitxer, després puja'l al router
#     fent servir FTP amb un nom de l'estil "script_name.rsc".
#     (note, l'extensió ".rsc" es un requisit)
#     Executa el fitxer importat amb la comanda:
#      > /import script_name
# 3.-Telnet copia i enganxar:
#     Open a terminal session, and cut&paste this output
#     directly on the terminal input.
#
# Notes:
# -routing-test package is required, be sure you have it enabled at system packages
# -wlans should be enabled manually, be sure to set the correct antenna (a or b)
#   according in how did you connect the cable to the miniPCI. Keep the
#   power at the minimum possible and check the channel.
# -The script doesn't reset the router, you might have to do it manually
# -You must have write access to the router
# -MAC access (winbox, MAC telnet...) method is recommended
#   (the script reconfigures some IP addresses, so communication can be lost)
# -No changes are done in user passwords on the device
# -A Read Only guest account with no password will be created to allow guest access
#   to the router with no danger of damage but able to see the config.
# -Be sure that all packages are activated.
# -Don't run the script from telnet and being connected through an IP connection at
#   the wLan/Lan interface: This interface will be destroyed during the script.
#
/ system identity set name=TRSIESCopernicRd1
#
# DNS (client & server cache) zone: 8802
/ip dns set primary-dns=10.139.7.162 allow-remote-requests=yes
:delay 1
#
# NTP (client & server cache) zone: 8802
/system ntp client set enabled=yes mode=unicast primary-ntp=10.139.7.162
:delay 1
#
# Bandwidth-server
/ tool bandwidth-server set enabled=yes authenticate=no allocate-udp-ports-from=2000
#
# SNMP
/snmp set contact="guifi@guifi.net" enabled=yes location="TRSIESCopernic"
#
# Guest user
/user
:foreach i in [find group=read] do={/user remove $i;}
add name="guest" group=read address=0.0.0.0/0 comment="" disabled=no
#
# Graphing
/tool graphing interface add
# Remove current wLan/Lan bridge if exists
:foreach i in [/interface bridge find name=wLan/Lan] \
do={:foreach i in [/interface bridge port find bridge=wLan/Lan] \
do={/interface bridge port remove $i; \
:foreach i in [/ip address find interface=wLan/Lan] \
do={/ip address remove $i;};};
/interface bridge remove $i;}
# Construct main bridge on wlan1 & ether1
/ interface bridge
add name="wLan/Lan"
/ interface bridge port
add interface=ether1 bridge=wLan/Lan
add interface=wlan1 bridge=wLan/Lan
:delay 1
#
# Radio#: 0 TRSACprncRd1AP0
/interface wireless set wlan1 name="wlan1" \
radio-name="TRSACprncRd1AP0" mode=ap-bridge ssid="guifi.net-TRSACprncRd1AP0" \
band="2.4ghz-b" \
frequency-mode=manual-txpower country=spain antenna-gain=0 \
dfs-mode=radar-detect \
antenna-mode=ant-a wds-mode=static wds-default-bridge=none wds-default-cost=100 \
wds-cost-range=50-150 wds-ignore-ssid=yes hide-ssid=no
:delay 1
# Type: wLan/Lan
/ip address
:foreach i in [find address="10.139.60.33/27"] do={remove $i}
/ ip address add address=10.139.60.33/27 network=10.139.60.32 broadcast=10.139.60.63 interface=wLan/Lan disabled=no
/ routing ospf interface
:foreach i in [/routing ospf interface find interface=wLan/Lan] do={/routing ospf interface remove $i;}
add interface=wLan/Lan
/ routing ospf network
:foreach i in [/routing ospf network find network=10.139.60.32/27] do={/routing ospf network remove $i;}
add network=10.139.60.32/27 area=backbone disabled=no
  :delay 1
 #
# DHCP
/ip dhcp-server lease
:foreach i in [find comment=""] do={remove $i;}
:delay 1
add address=10.139.60.34 mac-address=00:15:6D:AD:70:EF client-id=TRSCEIPMariaGaliRd1 server=dhcp-wLan/Lan
:foreach i in [/ip dhcp-server network find address="10.139.60.32/27"] do={/ip dhcp-server network remove $i;}
:foreach i in [/ip pool find name=dhcp-wLan/Lan] do={/ip pool remove $i;}
/ip pool add name=dhcp-wLan/Lan ranges=10.139.60.40-10.139.60.62
/ip dhcp-server network add address=10.139.60.32/27 gateway=10.139.60.33 domain=guifi.net comment=dhcp-wLan/Lan
:foreach i in [/ip dhcp-server find name=dhcp-wLan/Lan] do={/ip dhcp-server remove $i;}
/ip dhcp-server add name=dhcp-wLan/Lan interface=wLan/Lan address-pool=dhcp-wLan/Lan disabled=no
#
:delay 1
# Type: wds/p2p
# Remove all existing wds interfaces
:foreach i in [/interface wireless wds find master-interface=wlan1] \
do={:foreach n in [/interface wireless wds get $i name] \
do={:foreach inum in [/ip address find interface=$n] \
do={/ip address remove $inum;};}; \
/interface wireless wds remove $i;}
#
:delay 1
#
# Routed device
#
# Altres connexions de cable
#
# Internal addresses NAT
:foreach i in [/ip firewall nat find src-address="172.25.0.0/16"] do={/ip firewall nat remove $i;}
:foreach i in [/ip firewall nat find src-address="192.168.0.0/16"] do={/ip firewall nat remove $i;}
/ip firewall nat
add chain=srcnat src-address="192.168.0.0/16" dst-address=!192.168.0.0/16 action=src-nat to-addresses=10.139.60.33 comment="" disabled=no
add chain=srcnat src-address="172.25.0.0/16" dst-address=!172.25.0.0/16 protocol=!ospf action=src-nat to-addresses=10.139.60.33 comment="" disabled=no
#
# Enrutament BGP
# Filtres BGP i OSPF
:foreach i in [/routing filter find chain=ospf-in] do={/routing filter remove $i;}
:foreach i in [/routing filter find chain=ospf-out] do={/routing filter remove $i;}
/ routing filter
add chain=ospf-out prefix=10.0.0.0/8 prefix-length=8-32 invert-match=no action=accept comment="" disabled=no
add chain=ospf-out invert-match=no action=discard comment="" disabled=no
add chain=ospf-in prefix=10.0.0.0/8 prefix-length=8-32 invert-match=no action=accept comment="" disabled=no
add chain=ospf-in invert-match=no action=reject comment="" disabled=no
#
# Instància BGP
/ routing bgp instance
set default name="default" as=13371 router-id=10.139.60.33 redistribute-static=yes \
redistribute-connected=yes redistribute-rip=yes redistribute-ospf=yes \
redistribute-other-bgp=yes out-filter=ospf-out \
client-to-client-reflection=yes comment="" disabled=no
#
# Enrutament OSPF
/routing ospf set router-id=10.139.60.33 distribute-default=never redistribute-connected=no redistribute-static=no redistribute-rip=no redistribute- bgp=as-type-1 
#
:log info "Unsolclic for 13371-TRSIESCopernicRd1 executed."
/ 

Per aplicar els canvis heu d'utilitzar Winbox per connectar-vos al dispositiu. Si és el primer cop haureu instal·lar Winbox. Un cop connectats aneu a l'apartat New Terminal:

Fitxer:RouterBoardGuifi.png

Aquí heu d'enganxar directament (amb les opcions copiar i enganxar del menú contextual del botó dret) la configuració d'unsolclic.

Upgrade del routerOS

Resolució de problemes. Preguntes més freqüents. Troubleshooting

Com saber la MAC d'una microtik?

Cal consultar-la des de winbox a l'apartat interfaces.

Targetes WIFI miniPCI

Es pot consultar la MAC a la pròpia placa en una enganxina que porta.

La ràdio pot escanejar xarxes però després no apareix el SSID en mode màster

No sé ben bé com ho solucionem, el que vam fer va ser canviar l'única ràdio de la ranura 2 a la 1, reiniciar i esperar.

--Pablog 21:10, 18 gen 2011 (UTC)

Recursos

Eines de l'usuari