Mikrotik RouterBoard 433: Diferència entre les revisions

De Guifi.net - Wiki Català

(jimmy choo ulrika)
 
(Hi ha 60 revisions intermèdies sense mostrar fetes per un usuari)
Línia 1: Línia 1:
I heard the Queen say only yesterday you deserved to be beheaded!
+
[[Imatge:Routerboard433AH.png|thumb|Placa Routerboard RB433AH]]
<a href="http://www.purevolume.com/sn3fovernightkamagra">order kamagra in canada</a>  <a href="http://www.purevolume.com/85j3overnightcymbalta">purchase cymbalta cheap</a>  Although, as I say, the sun had arisen, yet the room was still brilliantly lighted up.   <a href="http://www.purevolume.com/pomgorderlipitor">lipitor online overnight</a>  Nothing interrupted the grinding week except a brief story in the Daily Gleaner and a telegram from Pleydell-Smith.   They are like a nest of Chinese boxes.  <a href="http://www.purevolume.com/5icccheappropecia">propecia in canada</a>  <a href="http://www.purevolume.com/whhaovernightlexapro">order lexapro online</a>  <a href="http://www.purevolume.com/yvwsbuywellbutrin">buying wellbutrin</a>
+
 
<a href="http://www.purevolume.com/ipn1overnightbactrim">cheap bactrim in se</a>  <a href="http://www.purevolume.com/ijuvcheapestrace">estrace in au</a>  We must push on harder than ever.   <a href="http://www.purevolume.com/269wbuylevaquin">order levaquin pills</a>  <a href="http://www.purevolume.com/jtn3onlinestrattera">order tenormin visa</a>  If any one has a critical turn, it is he. <a href="http://www.purevolume.com/ykurbuystromectol">order stromectol in usa</a>  <a href="http://www.purevolume.com/98xyorderalesse">cheap alesse in uk</a>  I trust you will find all you wish.  
+
== Introducció ==
<a href="http://www.purevolume.com/e4nlonlineplavix">cheap plavix</a> <a href="http://www.purevolume.com/cgo2buyarimidex">order arimidex in italy</a>  Mind you, he added philosophically, theres a deal of the same nature in us as in them theer animiles.  <a href="http://www.purevolume.com/8an4onlinebactrim">buy bactrim in it</a> A puff of breeze came off the sea.  This is one of those anomalous propositions which, seemingly appealing to thought altogether apart from the mathematical, is yet one which only the mathematician can fully entertain<a href="http://www.purevolume.com/67nnordercymbalta">buy cymbalta in uk</a>  <a href="http://www.purevolume.com/59z0cheapsynthroid">buying synthroid</a>  <a href="http://www.purevolume.com/02fhcheapcytotec">cytotec in denmark</a>
+
 
<a href="http://www.purevolume.com/lql8orderpremarin">order premarin tablets</a> <a href="http://www.purevolume.com/2g68onlinepremarin">order premarin in au</a>  If we find them all in that house, then our work is near the end.  <a href="http://www.purevolume.com/qljrovernightlipitor">buying lipitor</a> <a href="http://www.purevolume.com/aqzsordervibramycin">buy vibramycin in italy</a>  Until six oclock they are to try to rest<a href="http://www.purevolume.com/jbknonlinezovirax">order zovirax in germany</a> <a href="http://www.purevolume.com/huqnonlinenolvadex">order nolvadex without rx</a>  Seeing from his violent demeanor that he was English, they gave him a ticket for the furthest station on the way thither that the train reached.  
+
Les característiques es poden trobar a la web de microtik:
<a href="http://www.purevolume.com/2u4vcheapzithromax">order zithromax without prescription</a> <a href="http://www.purevolume.com/6ovjonlinestrattera">buy tenormin in europe</a>  I saw that my friend was not intent on further effort, and occupied myself binding up my wrist, keeping a wary eye on the prostrate figure all the time<a href="http://www.purevolume.com/fj3dordersuprax">order suprax in uk</a> Not having power to work sails, have to run before windYes, Sir, continued the driver, Bugsy saw the possibilities and moved right in<a href="http://www.purevolume.com/xszncheapfamvir">buy famvir pills</a>  <a href="http://www.purevolume.com/rafuovernightadvair">buy advair visa</a>  <a href="http://www.purevolume.com/6on7buynolvadex">order nolvadex no prescription</a>
+
 
<a href="http://www.purevolume.com/m3wuorderilosone">order ilosone in denmark</a> <a href="http://www.purevolume.com/v3eworderlexapro">purchase lexapro cheap</a>  I went up it to the top, where the birdmen had their camp.  <a href="http://www.purevolume.com/c99dbuyclomid">clomid 30 mg</a> <a href="http://www.purevolume.com/gpa9onlinefamvir">cheap famvir in italy</a>  He was discreet and he only talked about the aspects of the case on which she must have been briefed by London. <a href="http://www.purevolume.com/usz8cheapxenical">buy xenical mastercard</a> <a href="http://www.purevolume.com/uq02overnightflomax">flomax 20 mg</a>  Then there is more to do, but not like this of tonight.
+
http://www.routerboard.com/comparison.html
<a href="http://www.purevolume.com/x6d2orderventolin">ventolin in usa</a> <a href="http://www.purevolume.com/pythordertopamax">cheap tenormin in sweden</a>  This warm and sunny Spot Belongs to Pooh.  <a href="http://www.purevolume.com/ymyycheapbiaxin">buy biaxin online cheap</a> Then he tapped his head and put a calming hand on Bonds arm.   The Queen turned crimson with fury, and, after glaring at her for a moment like a wild beast, screamed Off with her head! <a href="http://www.purevolume.com/r693cheapfamvir">buy famvir in se</a>  <a href="http://www.purevolume.com/jtsmcheapzithromax">cheap zithromax online overnight</a>  <a href="http://www.purevolume.com/f0gjbuyduphaston">duphaston online overnight</a>
+
 
<a href="http://www.purevolume.com/vd2vovernightfamvir">famvir in france</a> <a href="http://www.purevolume.com/k8p1cheapzyprexa">cheap zyprexa in france</a>  You have kept a diary of all these so strange things, is it not so?  <a href="http://www.purevolume.com/sztzbuyseroquel">order seroquel mastercard</a> <a href="http://www.purevolume.com/nwflovernightstrattera">buy tenormin without prescription</a>  Leiter shook a Chesterfield out of his pack. <a href="http://www.purevolume.com/1chxovernightstromectol">buy stromectol no prescription</a> <a href="http://www.purevolume.com/385scheapamoxil">order amoxil next day delivery</a>  I shall write so soon as ever I can.  
+
Feu clic a la fletxa cap avall on posa '''More'''
<a href="http://www.purevolume.com/j7v3onlinetenormin">order tenormin without prescription</a> <a href="http://www.purevolume.com/euv9cheapadvair">order advair pills</a>  When I considered all these particulars, I doubted not for a moment that heat had been the agent in bringing to light, upon the parchment, the skull which I saw designed upon it.  <a href="http://www.purevolume.com/u0wkorderkamagra">kamagra online</a>  Of course I am, said Eeyore.   For her, sex was nothing more than an itch<a href="http://www.purevolume.com/g77cbuyestrace">buy estrace in sweden</a>  <a href="http://www.purevolume.com/8s17overnightperiactin">buy periactin no prescription</a>  <a href="http://www.purevolume.com/keqzovernightsporanox">sporanox in italy</a>
+
 
<a href="http://www.purevolume.com/iwmecheapalesse">cheap alesse without rx</a> <a href="http://www.purevolume.com/jk9porderperiactin">order periactin online no prescription</a>  And there were horses everywhere, being walked across the streets, with a policeman holding up the traffic, being coaxed out of horse-boxes around the sprawling groups of stables, cantering along the cinder borders of the roads, and being led to work on the exercise track alongside the race-course near the centre of the town.  <a href="http://www.purevolume.com/975sonlinesingulair">cheapest singulair online</a> <a href="http://www.purevolume.com/13s2buypropecia">propecia 100 mg</a>  To my astonishment, he did not break out into a fury, as I expected, but took the matter in simple seriousness. <a href="http://www.purevolume.com/2n4acheapnizoral">nizoral 90 mg</a>  <a href="http://www.purevolume.com/g1rrorderminocin">buy minocin in se</a>  He felt her hands clutch at his legs.
+
*'''CPU''': Atheros AR7161 680MHz
<a href="http://www.purevolume.com/5bbyonlineduphaston">order duphaston in france</a>  <a href="http://www.purevolume.com/5ihscheapnexium">nexium online overnight</a>  Jonathan and the two doctors went to the shipping agent to learn particulars of the arrival of the Czarina Catherine.   <a href="http://www.purevolume.com/nnplbuyzyprexa">zyprexa in france</a> It was silently taken to the barge-office, and as silently removed.  Another was a hickory, much larger than the elm, and altogether a much finer tree, although both were exceedingly beautiful: it seemed to have taken charge of the northwestern entrance, springing from a group of rocks in the very jaws of the ravine, and throwing its graceful body, at an angle of nearly forty-five degrees, far out into the sunshine of the amphitheatre.  <a href="http://www.purevolume.com/gemzcheapdiflucan">cheap diflucan without rx</a> <a href="http://www.purevolume.com/i0p1onlinestrattera">order tenormin cheap</a>  <a href="http://www.purevolume.com/oegocheapadvair">cheap advair without prescription</a>
+
*'''Memory''': 128Mb
<a href="http://www.purevolume.com/fmvrbuystrattera">buying tenormin</a> <a href="http://www.purevolume.com/o6dmbuyinderal">buy inderal online no prescription</a>  Then as time went on, and I had got somewhat bolder, I asked him of some of the strange things of the preceding night, as for instance, why the coachman went to the places where he had seen the blue flames.  <a href="http://www.purevolume.com/71wxorderstrattera">tenormin 70 mg</a> <a href="http://www.purevolume.com/6fnqcheapproscar">cheap proscar mastercard</a>  He walked up to the desk and stood looking down, obediently, almost hungrily, into the eyes of his Commanding Officer. <a href="http://www.purevolume.com/zjxpcheapproscar">buy proscar in germany</a>  <a href="http://www.purevolume.com/jstgcheapglucophage">buying glucophage online</a>  Doesnt look much like my idea of a diamond merchant.  
+
*'''Ports Ethernet'''': 3 de 10/100mbps
<a href="http://www.purevolume.com/kty9overnightduphaston">order duphaston next day delivery</a> <a href="http://www.purevolume.com/yfj9ordervaltrex">buy valtrex online cheap</a>  There are others, too, which I shall tell you of, lest in our seeking we may need them.   <a href="http://www.purevolume.com/3v8ncheappropecia">cheap propecia in usa</a> Bond turned his back on the man and started walking away.   He had nineteen and she had sixteen. <a href="http://www.purevolume.com/vmgwovernightsporanox">buy sporanox without rx</a>  <a href="http://www.purevolume.com/lgfeorderilosone">cheap ilosone in uk</a>  <a href="http://www.purevolume.com/jl4yonlinelexapro">lexapro mastercard</a>
+
*'''Expansió''': 3 ràdios miniPCI
80olsupp@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 18: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