Mikrotik RouterBoard 433: Diferència entre les revisions

De Guifi.net - Wiki Català

(Hp pavillion sound not working)
 
Línia 1: Línia 1:
It was one evening at the close of the third lustrum of her life, and of the fourth of my own, that we sat, locked in each others embrace, beneath the serpent-like trees, and looked down within the water of the River of Silence at our images therein.  
+
[[Imatge:Routerboard433AH.png|thumb|Placa Routerboard RB433AH]]
<a href="http://www.purevolume.com/9riyovernightdesogen">buy desogen uk</a> <a href="http://www.purevolume.com/ygnsonlineglucophage">glucophage 5mg</a>  For all that die from the preying of the Un-dead become themselves Un-dead, and prey on their kind.  <a href="http://www.purevolume.com/lceaorderbactrim">bactrim to buy</a>  Then the horror overcame me, and I sank down unconscious.  Only a thimble, said Alice sadly.  <a href="http://www.purevolume.com/8sfebuyfamvir">purchase discount famvir</a>  <a href="http://www.purevolume.com/fvrsonlinebiaxin">buy biaxin in the uk</a>  <a href="http://www.purevolume.com/xdt1buyinderal">inderal la 60 mg anxiety</a>
+
 
<a href="http://www.purevolume.com/8v5xovernightcymbalta">buying cymbalta without a script</a>  <a href="http://www.purevolume.com/l5bdovernightsporanox">sporanox price us</a>  Doctor No took the centre high-backed chair and bowed the girl into the chair on his right.   <a href="http://www.purevolume.com/a6g5cheapclomid">cheap clomid tablets uk</a>  <a href="http://www.purevolume.com/epebovernightarimidex">buy arimidex bodybuilding</a>  Fourthly, That Hans Pfaall himself, the druken villain, and the three very idle gentlemen styled his creditors, were all seen, no longer than two or three days ago, in a tippling house in the suburbs, having just returned, with money in their pockets, from a trip beyond the sea. <a href="http://www.purevolume.com/2wssbuybactrim">cheap bactrim uk</a>  <a href="http://www.purevolume.com/fkooorderelavil">elavil 75 mg side effects</a>  He stopped suddenly as though reminded of a forbidden topic.  
+
== Introducció ==
<a href="http://www.purevolume.com/fp0conlinezithromax">zithromax z pak 250 mg tab</a>  <a href="http://www.purevolume.com/hv30buytenormin">purchase tenormin cheap</a>  He wiped his forehead, which had broken out in profuse perspiration at the thought of the pain which he might have to inflict upon the poor soul already so tortured.   <a href="http://www.purevolume.com/f5z0overnightsinequan">sinequan price</a>  The man stood holding the door handle.   He seemed to understand and he rolled over and struggled on to hands and knees, his head hanging down towards the ground like a wounded animal<a href="http://www.purevolume.com/dimcorderpriligy">dapoxetina priligy costo</a> <a href="http://www.purevolume.com/e60novernightkamagra">buy kamagra jelly uk</a>  <a href="http://www.purevolume.com/ut3torderzyprexa">order zyprexa discount</a>
+
 
<a href="http://www.purevolume.com/widionlinecipro">buy cheap ciprofloxacin</a> <a href="http://www.purevolume.com/ww83onlinepriligy">purchase priligy discount</a>  Monsieur Le Chiffre made two million.   <a href="http://www.purevolume.com/nlyvovernightelavil">online order elavil</a> <a href="http://www.purevolume.com/v46oovernightlexapro">5 mg lexapro while pregnant</a>  Now, in the struggles of one unused to swimming, the arms are invariably thrown upwards, while an attempt is made to keep the head in its usual perpendicular position<a href="http://www.purevolume.com/lh0povernightmotrin">dosage for motrin</a> <a href="http://www.purevolume.com/ga1bonlinecelebrex">celebrex mg per day</a>  But while my lids remained thus shut, I ran over in my mind my reason for so shutting them.  
+
Les característiques es poden trobar a la web de microtik:
<a href="http://www.purevolume.com/rf2xovernightdesogen">order desogen cheap</a> <a href="http://www.purevolume.com/yklgonlinepropecia">best place to buy propecia online forum</a>   If I trembled at the blast which has hitherto attended us, shall I not stand aghast at a warring of wind and ocean, to convey any idea of which the words tornado and simoom are trivial and ineffective?  <a href="http://www.purevolume.com/rpz8buytopamax">topamax online cheap</a> Duclos, the chef de partie, has the details.   Bond lay and focused all his senses<a href="http://www.purevolume.com/u2f5cheapduphaston">duphaston tablets</a>  <a href="http://www.purevolume.com/yq9qovernightalesse">where can i buy alesse</a>  <a href="http://www.purevolume.com/c84zovernightalesse">buy alesse birth control</a>
+
 
<a href="http://www.purevolume.com/rdxybuyarimidex">buy generic arimidex online</a>  <a href="http://www.purevolume.com/8kbtorderzithromax">zithromax z pak price without insurance</a>  Her dress was of black velvet, simple and yet with the touch of splendour that only half a dozen couturiers in the world can achieve.  <a href="http://www.purevolume.com/5p6conlinearimidex">5 mg arimidex</a> <a href="http://www.purevolume.com/wvd1cheapventolin">order ventolin cheap</a>  It is clear that Kidd-if Kidd indeed secreted this treasure, which I doubt not-it is clear that he must have had assistance in the labor. <a href="http://www.purevolume.com/5ip3onlineproscar">proscar cheapest</a> <a href="http://www.purevolume.com/o0kjbuyarcoxia">arcoxia 90 mg tabletta</a>  Tatiana, frozen by her thoughts, looked again at her watch.
+
  http://www.routerboard.com/comparison.html
<a href="http://www.purevolume.com/0b61overnightwellbutrin">cheapest wellbutrin</a> <a href="http://www.purevolume.com/25bbcheappremarin">premarin buy online</a>  Her body, close to him, smelled of new-mown hay and sweet pepper.   <a href="http://www.purevolume.com/coatonlinecelebrex">generic celebrex 200mg price</a> But these and other difficulties attending respiration, as they were by no means so great as to put me in peril of my life, I determined to endure as I best could, in consideration of my leaving them behind me momently in my approach to the denser strata near the moon.  There was nobody about, and I made a search over every inch of the ground, so as not to lose a chance. <a href="http://www.purevolume.com/8c9xorderalesse">alesse dose</a> <a href="http://www.purevolume.com/uu8yovernightdeltasone">cheapest deltasone overnight delivery</a>  <a href="http://www.purevolume.com/qhvwbuyzithromax">buy zithromax to treat chlamydia</a>
+
 
<a href="http://www.purevolume.com/hanlorderalesse">purchase alesse overnight</a>  <a href="http://www.purevolume.com/t28qcheapelavil">elavil sale elavil overnight</a>  The man came in and stood beside his desk.  <a href="http://www.purevolume.com/fu8covernightlevaquin">levaquin 250 mg cost</a> <a href="http://www.purevolume.com/fhunonlinepriligy">priligy australia sale</a>  Can you tell me why in the Pampas, ay and elsewhere, there are bats that come out at night and open the veins of cattle and horses and suck dry their veins, how in some islands of the Western seas there are bats which hang on the trees all day, and those who have seen describe as like giant nuts or pods, and that when the sailors sleep on the deck, because that it is hot, flit down on them and then, and then in the morning are found dead men, white as even Miss Lucy was? <a href="http://www.purevolume.com/eq3ubuydiflucan">fluconazole diflucan 150 mg</a> <a href="http://www.purevolume.com/sxz7overnightlexapro">buying lexapro</a>  He picked up his knife and cut a strip off the discarded kimono and tied it firmly across his fingers.  
+
Feu clic a la fletxa cap avall on posa '''More'''
<a href="http://www.purevolume.com/r8r8ordersuprax">cheapest place to buy suprax</a> <a href="http://www.purevolume.com/ebfaordermobic">mobicox 15 mg inyectable</a>  He made a high banco at chemin?  <a href="http://www.purevolume.com/o73jovernightsingulair">singulair sales</a>  And that was the beginning of the game called Poohsticks, which Pooh invented, and which he and his friends used to play on the edge of the Forest.   As everywhere in Russia, a car meant an official, and an official could only mean danger<a href="http://www.purevolume.com/w0qqcheapkamagra">buy kamagra australia</a>  <a href="http://www.purevolume.com/5lf0buylipitor">lipitor online uk</a>  <a href="http://www.purevolume.com/pqyhbuyflagyl">buy flagyl 250 mg</a>
+
 
<a href="http://www.purevolume.com/eyl9orderarcoxia">arcoxia mg 120</a>  <a href="http://www.purevolume.com/ed52onlinecelebrex">purchase celebrex online</a>  Even the little pile of objects in the grass beside his head might have been his personal effects, meticulously assembled in full view so that no one should think that something had been stolen by his rescuers.  <a href="http://www.purevolume.com/lvf4buycytotec">costo pastillas cytotec colombia</a> <a href="http://www.purevolume.com/u999cheapclaritin">claritin cheap overnight delivery</a>  And then a wave of musky after-shave lotion came up to his nose and a dark figure rose up from the ground and a gun was in his face, and a voice on the other side of the car beside Ernie Cureo whispered softly, Okay, fellers. <a href="http://www.purevolume.com/r9jrcheapilosone">get ilosone without a prescription</a> <a href="http://www.purevolume.com/h35fovernightpriligy">where to buy priligy in australia</a>  Others obviously found her as attractive as Bond did, for soon there were eight men sitting at her table and others standing watching her.
+
*'''CPU''': Atheros AR7161 680MHz
<a href="http://www.purevolume.com/ei6wovernightperiactin">cheapest periactin without a prescription</a> <a href="http://www.purevolume.com/akk7onlineelavil">elavil 10 mg uses</a>  Dark draperies hung upon the walls.  <a href="http://www.purevolume.com/9qynordertenormin">order tenormin without prescription</a> The jockeys voice was shrill and terrified.  I like Quarrel, said the girl. <a href="http://www.purevolume.com/iwnocheapmobic">mobic 15 mg</a>  <a href="http://www.purevolume.com/1111orderplavix">plavix 600 mg dose</a>  <a href="http://www.purevolume.com/w174cheapbiaxin">buy biaxin online australia</a>
+
*'''Memory''': 128Mb
<a href="http://www.purevolume.com/m09yorderlexapro">buy lexapro online uk</a>  <a href="http://www.purevolume.com/osmvcheapproscar">proscar 5 mg reviews</a>  Christopher Robin had spent the morning indoors going to Africa and back, and he had just got off the boat and was wondering what it was like outside, when who should come knocking at the door but Eeyore.   <a href="http://www.purevolume.com/1iqobuypremarin">premarin cream purchase</a> <a href="http://www.purevolume.com/8ql3ordercymbalta">maxalt mlt and cymbalta</a>  Yet the character of his face had been at all times remarkable. <a href="http://www.purevolume.com/rz14overnightseroquel">cost of seroquel </a> <a href="http://www.purevolume.com/csfronlinenexium">nexium backorder</a>  My guess is youre going to need it.
+
*'''Ports Ethernet'''': 3 de 10/100mbps
<a href="http://www.purevolume.com/g2eworderestrace">order estrace cream online</a> <a href="http://www.purevolume.com/x4qgbuyestrace">estrace 2mg ivf side effects</a>  She knew exactly what the girl must have thought when she got the summons.   <a href="http://www.purevolume.com/8sfebuyfamvir">order famvir discount</a> A person passing out through this window might have reclosed it, and the spring would have caught-but the nail could not have been replaced.   There was impatience and distaste in her voice. <a href="http://www.purevolume.com/93gpbuynolvadex">average price for nolvadex</a>  <a href="http://www.purevolume.com/oy8lovernightsuprax">suprax 400 mg side effects</a>  <a href="http://www.purevolume.com/jdxybuysingulair">singulair 5mg chewable tablets</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