Differences

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

toh:fon:fonera [2012/11/16 18:00]
gene_wood
toh:fon:fonera [2014/02/25 04:35] (current)
dllud Added detailed explanation on how to add a 2nd external antenna to FON2200. Added FON2200 PCB photos.
Line 25: Line 25:
  * Antenna   * Antenna
  * SPI-Bus   * SPI-Bus
 +
 +FON2200 PCB front
 +{{:media:fon2200-pcb-front.jpg}}
 +
 +FON2200 PCB back
 +{{:media:toh:fon2200-pcb-back.jpg}}
==== Power ==== ==== Power ====
Line 54: Line 60:
</code> </code>
-[[http://jauzsi.hu/img/others/fonera_serial.jpg|Here]], you can have a visual confirmation of pining for [[http://jauzsi.hu/img/others/fonera_serial.jpg|FON2100 serial port]] with corresponding signals:+[[http://www.hidaba.com/wp-content/uploads/2007/11/fonera-serial.jpg|Picture with labels]] 
 +[[http://www.shadowandy.net/wp/wp-content/uploads/laFoneraSerialPinout.jpg|Another picture with labels]] 
 + 
 + 
 +[[http://fonblog.files.wordpress.com/2006/10/fonera_serial.jpg|Here]], you can have a visual confirmation of pining for [[http://fonblog.files.wordpress.com/2006/10/fonera_serial.jpg|FON2100 serial port]] with corresponding signals:
^ Signal ^ Color ^ ^ Signal ^ Color ^
Line 72: Line 82:
E | |RAM                  | E | |RAM                  |
R | |                    | R | |                    |
 +
</code> </code>
 +=== Open-Mesh OM1P ===
 +Looking inside, with the connectors at your left hand:
 +<code>
 +---+  +----------------+
 + P |  |3.3V RXD TXD GND|
 + O |  +----------------+
 + W | +---------------------+
 + E | |RAM                  |
 + R | |                    |
 +</code>
==== GPIO ==== ==== GPIO ====
| GPIO | Description | | GPIO | Description |
Line 472: Line 493:
</code> </code>
-We now configure the address of the TFTP (or HTTP) server.  Below, replace the two IP address placeholders with something that applies to you.  The router IP address is only temporary, it must be a free IP address from the subnet of the server.  If you are connected to RedBoot via Telnet, use the same address that you telnetted to.+We now configure the address of the TFTP (or HTTP) server.  Below, replace the two IP address placeholders with something that applies to you.  The first IP in the command, "IP address of the server", is the IP address of the TFTP server that you have running that will serve the OpenWRT images to La Fonera. The second IP in the command, "IP address for the router" is only temporary, it must be a free IP address in the same subnet as the TFTP server.  If you are connected to RedBoot via Telnet, set the "IP address for the router" to the IP address that you telneted to (192.168.1.254). The switch //-l// is for //local//.
<code> <code>
RedBoot> ip_address -h <IP address of the server> -l <IP address for the router>/24 RedBoot> ip_address -h <IP address of the server> -l <IP address for the router>/24
Line 488: Line 509:
</code> </code>
The target addresses given in the above message will vary, depending on kernel size. (**Note:*** to load via HTTP append "''-m HTTP''" to the ''load'' command. Not tested.) The target addresses given in the above message will vary, depending on kernel size. (**Note:*** to load via HTTP append "''-m HTTP''" to the ''load'' command. Not tested.)
 +
 +**Note:** sometimes tftp need absolute path of the file. Example: //load -r -b %{FREEMEMLO} "/srv/tftp/openwrt-atheros-vmlinux.lzma"//
Next, we initialize the FIS (flash memory partition table).  //This will wipe the currently installed system off the router, caveat emptor!// Next, we initialize the FIS (flash memory partition table).  //This will wipe the currently installed system off the router, caveat emptor!//
Line 682: Line 705:
  Done. Restarting device...   Done. Restarting device...
</code> </code>
 +
 +===== Software Hacks =====
 +
 +==== Disabling serial console ====
 +
 +Easy hack to disable serial console without recompiling kernel, unpack vmlinuz.lzma, search for console= and replace with null and spaces using mfill in redboot. Also comment out /dev/ttyS0 in /etc/inittab. This is fconfig for Backfire 10.03.1 :
 +
 +<code>
 +RedBoot> fconfig -l
 +Run script at boot: true
 +Boot script:
 +.. fis load -l vmlinux.bin.l7
 +.. mfill -b 0x802B3FF8 -l 4 -4 -p 0x6E756C6C
 +.. mfill -b 0x802B3FFc -l 6 -1 -p 0x20
 +.. exec
 +Boot script timeout (1000ms resolution): 10
 +Use BOOTP for network configuration: false
 +Gateway IP address: 0.0.0.0
 +Local IP address: 192.168.1.1
 +Local IP address mask: 255.255.255.0
 +Default server IP address: 192.168.1.10
 +Console baud rate: 9600
 +GDB connection port: 9000
 +Force console for special debug messages: false
 +Network debug at boot time: false
 +</code>
 +
===== Hardware Hacks ===== ===== Hardware Hacks =====
-As with most routers, the Fonera has some GPIO pins that extra hardware can be connected to.+==== Second antenna ==== 
 +=== FON2100 === 
 +The FON2100 PCB has a pad ready to solder a second antenna. With it you can use antenna diversity to increase your signal quality in environments with reflections (e.g. due to walls) and moving clients. Check the instructions on: [[http://www.dd-wrt.com/wiki/index.php/LaFonera_Hardware_Second-Antenna|]] 
 + 
 +=== FON2200 === 
 +On the other hand FON2200 has the second antenna already etched into the PCB. Still, you can replace it with an external antenna to take further advantage of antenna diversity. Replacing the etched antenna by a regular omnidirectional external antenna like the Fonera stock one can get you more 4 dBm on antenna 2. However, this mod will only improve your link quality if antenna diversity is highly used, for instance due to moving clients. In other scenarios an unmodified FON2200 just selects antenna 1 (the best one) do to all the transmissions/receptions; adding a copy of it will improve nothing. 
 + 
 +== How to do it == 
 +{{ :media:toh:fon2200-PCB-front-highlighted.jpg }} 
 +The picture above shows an annotated photo of FON2200 PCB. On the downer right corner there are the antenna outputs, with antenna 1 highlighted in red and antenna 2 in yellow. As can be seen antenna 1 goes to the center of the coaxial cable leading to the external antenna. On the other hand antenna 2 goes to a via (through-hole path) which is then connected to ground. The etched antenna which can be seen on the upper right conner is connected to ground and thus to antenna 2 output. 
 + 
 +In this scenario you can solder a RP-SMA pigtail connected to antenna 2 output in at least two different places. 
 + 
 +== Place 1: downer right corner, after the chip == 
 +{{ :media:toh:fon2200-after-chip-mod.jpg }} 
 +Take a look at the picture above. You need to: 
 +  - Cut the path which connects antenna 2 output to the via going to ground. Use a continuity tester connected between antenna 2 output and any ground point to make sure the cut was done properly. 
 +  - Scrape out the PCB varnish coating from the middle of the right-side long rectangular pad. Solder the center of the coaxial cable from the RP-SMA pigtail here. 
 +  - Solder the coaxial cable shield to ground. The easiest place to do so is along the rectangular copper line where FON2100 had its Faraday cage and cooler connected to ground. Along this line there are tinned points which should be used to facilitate the work. 
 + 
 +Final result should look like the pictures below. 
 +{{ :media:toh:fon2200-2nd-antenna-mod-soldering-detail.jpg }} 
 +{{ :media:toh:fon2200-2nd-antenna-mod.jpg }} 
 + 
 +Advantages: tested and working, easily reversible. 
 +Disadvantages: difficult to solder the coaxial cable center on a point which does not come tinned from factory. 
 + 
 +Original idea by Cardiak on [[http://foro.seguridadwireless.net/hardware/anadir-una-2a-antena-a-fonera-2200/|Añadir una 2ª antena a fonera 2200 - Foro Seguridad Wireless]]. 
 + 
 +== Place 2: upper right corner, before the etched antenna == 
 +{{ :media:toh:fon2200-before-ant-mod.jpg }} 
 +Take a look at the picture above. You need to: 
 +  - Desolder capacitor C146. 
 +  - Solder the center of the coaxial cable from the RP-SMA pigtail to the inferior pad of C146. 
 +  - Solder the shield of the coaxial cable to the left pad of the missing R159, which is connected to ground. 
 + 
 +Advantages: easier to solder as all points are tinned. 
 +Disadvantages: hardly reversible (you would have to resolder C146), not tested. 
 + 
 +Original idea by radio3 on [[http://www.wifi-ita.com/forum/viewtopic.php?t=10451|Fonera 2200 e 2° antenna - Forum WiFi-ITA.com]]
==== Hardware mp3 client ==== ==== Hardware mp3 client ====
Line 702: Line 791:
  * [[http://code.google.com/p/fonera-i2c/wiki/FoneraHacks|Fonera I²C bus with GPIO]]   * [[http://code.google.com/p/fonera-i2c/wiki/FoneraHacks|Fonera I²C bus with GPIO]]
-==== Various Hardware Mods ==== +==== Various hardware mods ==== 
-  * [[http://www.dd-wrt.com/wiki/index.php/Category:LaFonera_Hardware_%28en%29| Various hw mods on dd-wrt page (32MB RAM, second antenna, etc.)]]+  * [[http://www.dd-wrt.com/wiki/index.php/Category:LaFonera_Hardware_%28en%29| Various hw mods on dd-wrt page (32 MB RAM, second antenna, etc.)]] 
===== Resources ===== ===== Resources =====
Line 725: Line 815:
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>FastEthernet 1Port serial integrated 802.11bg DetachableAntenna 16RAM 8Flash MIPS 4KEc}}+{{tag>FastEthernet 1NIC no_switch serial integrated 802.11bg DetachableAntenna 16RAM 8Flash MIPS 4KEc}}

Back to top

toh/fon/fonera.1353085201.txt.bz2 · Last modified: 2012/11/16 18:00 by gene_wood