User Tools

Site Tools


toh:mikrotik:rb493g

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

toh:mikrotik:rb493g [2013/01/09 11:26]
toh:mikrotik:rb493g [2014/10/09 13:47] (current)
theoradicus add gt32flash tag
Line 30: Line 30:
 The bootloader is able to load an image in ELF-format via BOOTP/DHCP and TFTP into RAM and execute it. The bootloader is able to load an image in ELF-format via BOOTP/DHCP and TFTP into RAM and execute it.
  
-=== Setup another OpenWrt router as host ===+=== Use another OpenWrt router as netboot server ​===
  
 This is the easiest way to achieve a live boot of your RB493G, but it requires that you already have an OpenWrt router with net-access available. You will need to obtain an elf-image for the RB493G, and make it available to the other router. If you have enough memory available on the other router, you can put the image on the /tmp folder there, e.g., like this: This is the easiest way to achieve a live boot of your RB493G, but it requires that you already have an OpenWrt router with net-access available. You will need to obtain an elf-image for the RB493G, and make it available to the other router. If you have enough memory available on the other router, you can put the image on the /tmp folder there, e.g., like this:
 <​code>​ssh root@192.168.1.1 <​code>​ssh root@192.168.1.1
-wget --directory-prefix=/​tmp http://​downloads.openwrt.org/​attitude_adjustment/​12.09-rc1/​ar71xx/​nand/​openwrt-ar71xx-nand-vmlinux-initramfs.elf</​code>​+wget --directory-prefix=/​tmp http://​downloads.openwrt.org/​attitude_adjustment/​12.09-beta2/​ar71xx/​nand/​openwrt-ar71xx-nand-vmlinux-initramfs.elf</​code>​
 Now enable dnsmasq'​s built in tftp server, and point it to the correct locations, e.g., like this: Now enable dnsmasq'​s built in tftp server, and point it to the correct locations, e.g., like this:
 {{ :​toh:​mikrotik:​tftpnetbootconfig.png?​630 |Setting up netboot in Luci, note the full path for the filename. }} {{ :​toh:​mikrotik:​tftpnetbootconfig.png?​630 |Setting up netboot in Luci, note the full path for the filename. }}
 That's it, Save and apply, connect the Eth1/WAN port of RB493G to one of the other routers LAN ports, and continue to [[toh:​mikrotik:​rb493g#​setup.the.routerboard|Setup the Routerboard]]. That's it, Save and apply, connect the Eth1/WAN port of RB493G to one of the other routers LAN ports, and continue to [[toh:​mikrotik:​rb493g#​setup.the.routerboard|Setup the Routerboard]].
  
-=== Setup a Debian based host ===+=== Use a Debian based server for netboot ​===
  
 You need a BOOTP- and a TFTP-server on your host-machine,​ we use ''​dnsmasq''​ here, since it can provide both services. Install dnsmasq with: You need a BOOTP- and a TFTP-server on your host-machine,​ we use ''​dnsmasq''​ here, since it can provide both services. Install dnsmasq with:
Line 58: Line 58:
   - enable dnsmasq'​s built-in TFTP-server <​code>​enable-tftp</​code>​   - enable dnsmasq'​s built-in TFTP-server <​code>​enable-tftp</​code>​
   - set the root directory-for files available via TFTP. <​code>​tftp-root=/​srv/​tftp</​code>​   - set the root directory-for files available via TFTP. <​code>​tftp-root=/​srv/​tftp</​code>​
-  - download initramfs-kernel-image into root-directory of the TFTP-server:​ <​code>​wget --directory-prefix=/​srv/​tftp http://www.ozo.com/​airo/​openwrt/​firmware/latest/2.6/ar71xx/26878/​openwrt-ar71xx-nand-vmlinux-initramfs.elf</​code>​+  - download initramfs-kernel-image into root-directory of the TFTP-server:​ <​code>​wget --directory-prefix=/​srv/​tftp http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/nand/​openwrt-ar71xx-nand-vmlinux-initramfs.elf</​code>​
   - set filename of kernel image for tftp-server/​BOOTP:<​code>​dhcp-boot=/​srv/​tftp/​openwrt-ar71xx-nand-vmlinux-initramfs.elf</​code>​   - set filename of kernel image for tftp-server/​BOOTP:<​code>​dhcp-boot=/​srv/​tftp/​openwrt-ar71xx-nand-vmlinux-initramfs.elf</​code>​
  
Line 126: Line 126:
 Press **Enter** and you are in the console of OpenWRT running from RAM and booted via BOOTP/TFTP. Press **Enter** and you are in the console of OpenWRT running from RAM and booted via BOOTP/TFTP.
  
-Note that you may need to set dns servers to get net-access. Enter a working dns for you in+Note that you may need to set dns servers to get net-access ​while running the netbooted image. Enter a working dns for you in
 <​code>​vi /​tmp/​resolv.conf.auto</​code>​ <​code>​vi /​tmp/​resolv.conf.auto</​code>​
 then restart dnsmasq to make the change effective (cross-check that you indeed have net-access afterwords):​ then restart dnsmasq to make the change effective (cross-check that you indeed have net-access afterwords):​
Line 150: Line 150:
   - Execute:   - Execute:
 <​code>​ <​code>​
-wget2nand http://​downloads.openwrt.org/​attitude_adjustment/​12.09-beta/​ar71xx/​nand/​+wget2nand http://​downloads.openwrt.org/​attitude_adjustment/​12.09/​ar71xx/​nand/​
 </​code>​ </​code>​
  
-You can adjust the path-part dependend on the OpenWRT-version ('​attitude_adjustment/​12.09-beta'), but make sure you use the '​ar71xx/​nand/'​-branch and at least version '​12.09-beta'.+You can adjust the path-part dependend on the OpenWRT-version ('​attitude_adjustment/​12.09'​),​ but make sure you use the '​ar71xx/​nand/'​-branch and at least version '​12.09-rc2'.
  
 ==== Upgrading OpenWrt ==== ==== Upgrading OpenWrt ====
Line 203: Line 203:
 ==== Micro-SD-Card-Reader ==== ==== Micro-SD-Card-Reader ====
  
-Does it work for anyone?+The SD-card reader is now supposed to work, but the needed patch is currently not in trunk. You will find the ticket with history here: https://​dev.openwrt.org/​ticket/​12349
  
 +Hence precompiled images with working SD-card reader is not yet available from the OpenWrt server. Until that is resolved, you can find compiled kernel and rootfs here:
 +http://​ubuntuone.com/​1bZTk4vlKwroZezcdeJa4l
 +http://​ubuntuone.com/​2V1BoearwvvMOsNzUz7mcx
 +
 +Provide them on a web-server, or copy them manually over to the kernel and rootfs partitions on the nand.
  
 ==== USB ==== ==== USB ====
Line 217: Line 222:
  
 See [[doc:​howto:​usb.essentials]] for configuration. See [[doc:​howto:​usb.essentials]] for configuration.
- 
-=== USB-MOD === 
- 
-Components: 
- 
-| 1x | PCB | 
-| 1x | USB-2.0-dual-A-socket | 
-| 1x | USB-2.0- A-plug | 
-| 1x | Traco TSR 1-2450 step-down-converter 5VDC/1A (doesn'​t need any other components like capacitors or heatsink) | 
-| 1x | Multifuse 60VDC/0,5A I<​sub>​hold</​sub>/​1A I<​sub>​trip</​sub>​ | 
- 
-Proto-type and diagrams/​layouts aren't beauties, but maybe someone with more Cadsoft-Eagle-experience can make a nice circuit-diagram and a real PCB-layout. {{:​toh:​mikrotik:​rb493g-usb-mod.zip|Eagle files and datasheets}} ;-) 
- 
-Rudimentary circuit-diagram with USB-2.0 data-port (1) and generic USB-2.0 charger port (2), both supplied by a step-down-converter via the fan-connector of the RB493G: 
-{{:​toh:​mikrotik:​rb493g_usb-mod_circuit-diagram.png|}} 
- 
-Rudimentary PCB-layout, not applicable:​\\ ​ 
-{{:​toh:​mikrotik:​rb493g-usb-mod_pcb.png|}} 
- 
-USB-mod prototype top-view:​\\ ​ 
-{{:​toh:​mikrotik:​usb-mod-top.jpg|}} 
- 
-USB-mod prototype bottom-view:​\\ ​ 
-{{:​toh:​mikrotik:​usb-mod-bottom.jpg|}} 
- 
-USB-mod prototype attached:​\\ ​ 
-{{:​toh:​mikrotik:​usb-mod-attached.jpg|}} 
  
 ===== Hardware ===== ===== Hardware =====
Line 270: Line 248:
 ==== Photos ==== ==== Photos ====
  
-Enclosure:+CasingMikrotik CA493 with two N-pigtails and -antennas (antennas are ALFA ARS-N19CW, 2.4GHz 9dBi - pigtails and antennas not included in enclosure package)
  
-Enclosure Mikrotik CA493 with two N-pigtails and -antennas (antennas are ALFA ARS-N19CW, 2.4GHz 9dBi - pigtails and antennas not included in enclosure package) +{{:​toh:​mikrotik:​case_antennas.jpg?400|}}
- +
-{{:​toh:​mikrotik:​case_antennas.jpg|}}+
  
  
 //Front:// //Front://
  
-Enclosure ​Mikrotik CA493 with serial port, ethernet-port, LEDs and power-connector of Routerboard RB493G+Casing: ​Mikrotik CA493 with serial port, Ethernet-port, LEDs and power-connector of Routerboard RB493G
  
-{{:​toh:​mikrotik:​frontside.jpg|}}+{{:​toh:​mikrotik:​frontside.jpg?400|}}
  
  
 //Back:// //Back://
  
-Enclosure ​Mikrotik CA493 with two N-pigtails (not included), multi-purpose hole (e.g. N-connector,​ Swivel-antenna,​ ...) and ground-screw+Casing: ​Mikrotik CA493 with two N-pigtails (not included), multi-purpose hole (e.g. N-connector,​ Swivel-antenna,​ ...) and ground-screw
  
-{{:​toh:​mikrotik:​backside.jpg|}}+{{:​toh:​mikrotik:​backside.jpg?400|}}
  
  
 //​Left/​Top://​ //​Left/​Top://​
  
-Enclosure ​Mikrotik CA493 with eight ethernet-ports of Routerboard RB493G+Casing: ​Mikrotik CA493 with eight Ethernet-ports of Routerboard RB493G
  
-{{:​toh:​mikrotik:​left_top.jpg|}}+{{:​toh:​mikrotik:​left_top.jpg?400|}}
  
  
 //Right:// //Right://
  
-Enclosure ​Mikrotik CA493 with venting holes+Casing: ​Mikrotik CA493 with venting holes
  
-{{:​toh:​mikrotik:​right.jpg|}}+{{:​toh:​mikrotik:​right.jpg?400|}}
  
  
 //Bottom:// //Bottom://
  
-Enclosure ​Mikrotik CA493 +Casing: ​Mikrotik CA493 
  
-{{:​toh:​mikrotik:​bottom.jpg|}}+{{:​toh:​mikrotik:​bottom.jpg?400|}}
  
-Enclosure ​opened:+Casing ​opened:
  
-Enclosure ​Mikrotik CA493 with two N-pigtails (not included), Routerboard 493G and Routerboard R52nM (Wifi-card)+Casing: ​Mikrotik CA493 with two N-pigtails (not included), Routerboard 493G and Routerboard R52nM (Wifi-card)
  
-{{:​toh:​mikrotik:​case_pcb.jpg|}}+{{:​toh:​mikrotik:​case_pcb.jpg?400|}}
  
  
Line 369: Line 345:
 In worst case keep "​Reset"​-button pressed when powering on the Routerboard to access the recovery-boot-loader via serial console. In worst case keep "​Reset"​-button pressed when powering on the Routerboard to access the recovery-boot-loader via serial console.
 That way the Routerboard can be re-flashed with a RouterOS-image (NPK-file) using the origin MikroTik-Netinstall-software (BOOTP/​TFTP). That way the Routerboard can be re-flashed with a RouterOS-image (NPK-file) using the origin MikroTik-Netinstall-software (BOOTP/​TFTP).
 +
 +
 +===== Hardware Mods =====
 +  - as a beginner, you really should inform yourself about [[doc:​hardware:​soldering]] in general and then even obtain some experience!
 +
 +==== USB-Modification ====
 +
 +Components:
 +
 +| 1x | PCB |
 +| 1x | USB-2.0-dual-A-socket,​ e.g., [[http://​dx.com/​p/​diy-dual-usb-female-type-a-180-degree-dip-socket-connector-silver-10-piece-pack-127653|these]]. |
 +| 1x | USB-2.0- A-plug, e.g., [[http://​dx.com/​p/​diy-usb-4-pin-female-type-a-smt-socket-connector-silver-10-piece-pack-127642|these]]. |
 +| 1x | Traco TSR 1-2450 step-down-converter 5VDC/1A (doesn'​t need any other components like capacitors or heatsink). As of this writing you will find the LM7805V voltage regulator at [[http://​dx.com/​p/​lm7805l-5v-voltage-regulator-ics-10-pcs-157382 | DealExtreme]] |
 +| 1x | Multifuse 60VDC/0,5A I<​sub>​hold</​sub>/​1A I<​sub>​trip</​sub>​ |
 +
 +Proto-type and diagrams/​layouts aren't beauties, but maybe someone with more Cadsoft-Eagle-experience can make a nice circuit-diagram and a real PCB-layout: {{:​toh:​mikrotik:​rb493g-usb-mod.zip|Eagle files and datasheets}} ;-)
 +
 +Rudimentary circuit-diagram with USB-2.0 data-port (1) and generic USB-2.0 charger port (2), both supplied by a step-down-converter via the fan-connector of the RB493G:
 +{{:​toh:​mikrotik:​rb493g_usb-mod_circuit-diagram.png?​400|}}
 +
 +Rudimentary PCB-layout, not applicable:​\\ ​
 +{{:​toh:​mikrotik:​rb493g-usb-mod_pcb.png?​400|}}
 +
 +USB-mod prototype top-view:​\\ ​
 +{{:​toh:​mikrotik:​usb-mod-top.jpg?​400|}}
 +
 +USB-mod prototype bottom-view:​\\ ​
 +{{:​toh:​mikrotik:​usb-mod-bottom.jpg?​400|}}
 +
 +USB-mod prototype attached:​\\ ​
 +{{:​toh:​mikrotik:​usb-mod-attached.jpg?​400|}}
 +
  
 ===== Tags ===== ===== Tags =====
 For some Help with the Tags, please have a look here: [[meta/​tags]] For some Help with the Tags, please have a look here: [[meta/​tags]]
  
-{{tag>​GigabitEthernet ​FastEthernet ​9Port 2PHY USB DetachableAntenna 256RAM 128Flash MIPS MIPS32 24Kc}} +{{tag>​GigabitEthernet ​2NIC 0WNIC 9Port USB DetachableAntenna 256RAM 128Flash ​gt32flash miniPCI 3miniPCI ​MIPS MIPS32 24Kc}}
toh/mikrotik/rb493g.1357727197.txt.bz2 · Last modified: 2013/01/09 11:26 (external edit)