Mikrotik RouterBoard 433: Diferència entre les revisions

De Guifi.net - Wiki Català

(loac violations)
 
(Hi ha 27 revisions intermèdies sense mostrar fetes per un usuari)
Línia 1: Línia 1:
He got to his feet and, after touching his toes twenty times, went over to arm and chest exercises combined with deep breathing until he was dizzy.  
+
[[Imatge:Routerboard433AH.png|thumb|Placa Routerboard RB433AH]]
<a href="http://www.purevolume.com/ama5orderdeltasone">order generic deltasone 5mg online with no prescription</a>  <a href="http://www.purevolume.com/xbuzordersynthroid">synthroid 25 mg bula</a>  The killers came in the night.   <a href="http://www.purevolume.com/h6b6overnightdiflucan">how to take diflucan 100 mg</a>  A drop of sweat fell off Bonds chin on to his naked chest.   Admired your looks and so on.  <a href="http://www.purevolume.com/fpqzonlineseroquel">seroquel us sales</a> <a href="http://www.purevolume.com/4pyebuycymbalta">30 mg cymbalta dosage</a>  <a href="http://www.purevolume.com/b0szonlinelasix">lasix 2ml</a>
+
 
<a href="http://www.purevolume.com/aurjbuyperiactin">order periactin pills</a> <a href="http://www.purevolume.com/oosgovernightzithromax">buy azithromycin zithromax online</a>  This consideration might be supposed to operate upon him now-at this late period-since it has been given in evidence that he was seen with Marie-but it would have had no force at the period of the deed.  <a href="http://www.purevolume.com/bqozovernightsynthroid">cheapest synthroid online</a> <a href="http://www.purevolume.com/1gvrovernightamoxil">how to take amoxil 500 mg</a>  And then, mirabile dictu, between the piers, leaping from wave to wave as it rushed at headlong speed, swept the strange schooner before the blast, with all sail set, and gained the safety of the harbour<a href="http://www.purevolume.com/xu39buyplavix">walmart price plavix</a> <a href="http://www.purevolume.com/cfnlorderinderal">pharmacy inderal</a>  At last I felt that subtle change in the air, and knew that the morning had come.  
+
== Introducció ==
<a href="http://www.purevolume.com/n84yordercytotec">cytotec tablet price in pakistan</a> <a href="http://www.purevolume.com/nkc5buycipro">500 mg ciprofloxacin dosage</a>   All the men, even Jonathan, seemed relieved, but it did not seem to me good that they should brave danger and, perhaps lessen their safety, strength being the best safety, through care of me, but their minds were made up, and though it was a bitter pill for me to swallow, I could say nothing, save to accept their chivalrous care of me.   <a href="http://www.purevolume.com/1082orderzovirax">order zovirax without prescription</a> Tiggers never go on being Sad, explained Rabbit.   But these absurdities I must not pause to detail<a href="http://www.purevolume.com/v1jvonlineclomid">250 mg clomid</a>  <a href="http://www.purevolume.com/d3xmorderventolin">purchase ventolin</a>  <a href="http://www.purevolume.com/nw14onlinezithromax">buy zithromax online in usa</a>
+
 
<a href="http://www.purevolume.com/c2ghbuylipitor">price of generic lipitor</a>  <a href="http://www.purevolume.com/s8n6cheapventolin">order ventolin online</a>  She was whistling Marion, a plaintive little calypso that has now been cleaned up and made famous outside Jamaica.  <a href="http://www.purevolume.com/nw14onlinezithromax">cost of zithromax at walgreens</a> <a href="http://www.purevolume.com/f552overnightadvair">advair diskus price in canada</a>  Bond and the girl stood transfixed. <a href="http://www.purevolume.com/sqfdovernightplavix">plavix clopidogrel 75mg price</a> <a href="http://www.purevolume.com/o9dlovernightduphaston">cheap duphaston buy online</a>  I shall miss you out there, Felix, said Bond, glad to get away from his thoughts.
+
Les característiques es poden trobar a la web de microtik:
<a href="http://www.purevolume.com/t8jubuyestrace">buy estrace cream cheap</a> <a href="http://www.purevolume.com/hr2aovernightnizoral">buy nizoral cream without prescription</a>  The only irons they can handle are in their pockets.  <a href="http://www.purevolume.com/o2sucheapfamvir">discount famvir online in australia</a> I was awed and shocked, and I felt the cold perceptibly grow upon me till it seemed to grip me by the heart.  He was parallel with the beggars<a href="http://www.purevolume.com/6ugdcheapwellbutrin">buy wellbutrin xl online</a> <a href="http://www.purevolume.com/9wqpordersporanox">buying sporanox online</a>  <a href="http://www.purevolume.com/clp7buycelebrex">celebrex sales data</a>
+
 
<a href="http://www.purevolume.com/l2jfordervaltrex">valtrex 2000 mg dosage</a>  <a href="http://www.purevolume.com/9zdoonlineduphaston">duphaston tablets buy</a>  Eight boxes only out of the nine which we sought!  <a href="http://www.purevolume.com/tetdcheapbuspar">side effects of buspar 5 mg</a> <a href="http://www.purevolume.com/4kivbuyflomax">flomaxtra best price</a>  Now there was nothing much left of Bond, not many reserves. <a href="http://www.purevolume.com/mbxyordermobic">mobicity order status level 2</a> <a href="http://www.purevolume.com/4oy4onlinevibramycin">buy vibramycin in uk</a>  Then without warning the tempest broke.
+
http://www.routerboard.com/comparison.html
<a href="http://www.purevolume.com/syx4buypriligy">how to buy priligy in usa</a> <a href="http://www.purevolume.com/8sbtonlinedeltasone">buy generic deltasone 10mg online no prescription required</a>  Model citizen, M had called him.  <a href="http://www.purevolume.com/35m3buylipitor">generic lipitor cost walmart</a>  He has not used his power over the brute world for the only or the last time tonight.   Sluggishly Bonds mind puzzled over the wire fence. <a href="http://www.purevolume.com/uktpcheaplevaquin">cost of levaquin 500 mg</a>  <a href="http://www.purevolume.com/e9gjovernightbuspar">street price buspar</a>  <a href="http://www.purevolume.com/cwfecheapzyprexa">buy zyprexa uk</a>
+
 
<a href="http://www.purevolume.com/g5ziovernightglucophage">side effects glucophage</a> <a href="http://www.purevolume.com/qq4uovernightcytotec">order cytotec</a>  The eyes were hard as onyx under the billiard-ball forehead and skull.  <a href="http://www.purevolume.com/hc07ordernizoral">nizoral shampoo priceline</a> <a href="http://www.purevolume.com/rzukcheapinderal">inderal online pharmacy</a>  And thats why were going to hide out at the Beau Desert for a few days. <a href="http://www.purevolume.com/bdhzbuycipro">cipro cc registration online</a> <a href="http://www.purevolume.com/3tzpovernightvaltrex">order generic valtrex</a>  So he thought for a long time, and then he said: Christopher Robin, you must shoot the balloon with your gun.
+
Feu clic a la fletxa cap avall on posa '''More'''
<a href="http://www.purevolume.com/fcwiovernightsporanox">buy sporanox in uk</a>  <a href="http://www.purevolume.com/85j3overnightcymbalta">cymbalta 40 mg side effects</a>  But these intervals of tranquillity are only at the turn of the ebb and flood, and in calm weather, and last but a quarter of an hour, its violence gradually returning.  <a href="http://www.purevolume.com/gbweonlinezovirax">zovirax price in india</a> My work is finished, and I am free.  I daresay it will be difficult to begin to keep silence after such confidence as ours, but I must be resolute, and tomorrow I shall keep dark over tonights doings, and shall refuse to speak of anything that has happened. <a href="http://www.purevolume.com/z4bnbuystrattera">cost of strattera</a>  <a href="http://www.purevolume.com/kty9overnightduphaston">duphaston tablets</a>  <a href="http://www.purevolume.com/1yzzorderbiaxin">buy biaxin australia</a>
+
 
<a href="http://www.purevolume.com/9t6yonlineminocin">cheap minocin uk</a> <a href="http://www.purevolume.com/tcqucheapdesogen">best buy for desogen</a>  And there would be the red glare of terror in the eyes, and the hundred thousand pound pocketful of diamonds would be just so much deadweight, and the gun which had been a strong right arm since boyhood would be no comfort.  <a href="http://www.purevolume.com/dlqdordertenormin">tenormin tablets</a>  <a href="http://www.purevolume.com/nhbqovernightpriligy">buy online priligy</a>  The bells are by the bed. <a href="http://www.purevolume.com/ddb5orderclomid">buy clomid generic</a> <a href="http://www.purevolume.com/eq49buyventolin">online ventolin</a>  It was begun after you had left, and was an imitation of you, and in that diary she traces by inference certain things to a sleep-walking in which she puts down that you saved her.
+
*'''CPU''': Atheros AR7161 680MHz
<a href="http://www.purevolume.com/yaufovernightnolvadex">how much does nolvadex cost</a> <a href="http://www.purevolume.com/njw0ordersporanox">buy sporanox cheap</a>  Quincey was the first to rise after the pause.  <a href="http://www.purevolume.com/kzgkbuylipitor">lipitor for sale uk</a> There was not even a check in speed.  They wrangled cheerfully over the respective merits of English and American sports cars until they came to the Westchester County toll and then, fifteen minutes later, they were out on the Taconic Parkway that snaked away northwards through a hundred miles of meadows and woodlands, and Bond settled back and silently enjoyed one of the most beautifully landscaped highways in the world, and wondered idly what the girl was doing and how, after Saratoga, he was to get to her again.  <a href="http://www.purevolume.com/ksomorderpremarin">buy premarin online with no prescription</a> <a href="http://www.purevolume.com/89wocheapwellbutrin">buy wellbutrin in the uk</a>  <a href="http://www.purevolume.com/h0xabuyplavix">cheapest place to buy plavix</a>
+
*'''Memory''': 128Mb
<a href="http://www.purevolume.com/5lviordernizoral">nizoral 200mg tabletten nebenwirkungen</a> <a href="http://www.purevolume.com/s1cjbuylipitor">buy cheap lipitor online</a>  Her husband involuntarily groaned as she turned to him and said lovingly, Do not fret, dear.  <a href="http://www.purevolume.com/447konlinearcoxia">cat costa medicamentul arcoxia</a> <a href="http://www.purevolume.com/bkmhcheapduphaston">cheapest duphaston online</a>  This, in fact, marked the extent of her weakness. <a href="http://www.purevolume.com/es9bcheapestrace">purchase estrace overnight</a> <a href="http://www.purevolume.com/fg4oordersuprax">suprax 400 mg without prescription</a>  And as that is really the end of the story, and I am very tired after that last sentence, I think I shall stop there.  
+
*'''Ports Ethernet'''': 3 de 10/100mbps
<a href="http://www.purevolume.com/phqyovernightcipro">side effects of ciprofloxacin 500 mg tablets</a>  <a href="http://www.purevolume.com/htvlonlinemotrin">motrin 500 mg para que sirve</a>  Her private habits would be slovenly, even dirty.   <a href="http://www.purevolume.com/6on7buynolvadex">how to buy nolvadex</a>  God knows that I do not want that you be pained, but it is need that we know all.   This is now all more precious that he know it not, and to guard himself have even cut himself off from his knowledge of our where.  <a href="http://www.purevolume.com/b4ihovernightglucophage">buying glucophage online</a>  <a href="http://www.purevolume.com/le2wbuysingulair">best buy for singulair</a>  <a href="http://www.purevolume.com/lxqubuylexapro">buy lexapro with no prescription</a>
+
*'''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:
 +
 
 +
*[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