LaFonera Hardware Serial-Cable-Port

From DD-WRT Wiki

Revision as of 21:27, 10 August 2007 by Wildblue (Talk | contribs)
Jump to: navigation, search

You are here: DD-WRT wiki mainpage / LaFonera / Hardware / Serial-Cable-Port

Accessing serial console on the Fon

Image:LaFonera_Hardware_Serial-Cable-Port_01.jpg Out of the box the foneros wireless router has Telnet and SSH turned off. By accessing the buit in serial console you can turn SSH on and access various settings and reflash the firmware.


Read on and you’ll find out how.


See LaFonera Hardware Disassembling for how to dissassemble your router. You will need to find the serial console. See the image below:

Image:LaFonera_Hardware_Serial-Cable-Port_02.jpg


Image:LaFonera_Hardware_Serial-Cable-Port_03.jpg In order to connect it to your PC we need to convert the 3.3 volts from the Vcc of the router to the levels of your PC serial port wich operates at -12 to 12 volts.


For this you can use any kind of TTL to RS232 level shifter. These can be bought as kits or made from for example a phone data cable. Using a MAX 232 you can wire it up like this:

Image:LaFonera_Hardware_Serial-Cable-Port_04.jpg


Using a dremel or a knife we need to cut out a hole for the Serial connector:

Image:LaFonera_Hardware_Serial-Cable-Port_05.jpg


Draw along the connector to mark out where to cut:

Image:LaFonera_Hardware_Serial-Cable-Port_06.jpg



If you use a dremel, use a low rpm so that the plastic don’t melt.

The finished cutout for the DB9 connector:

Image:LaFonera_Hardware_Serial-Cable-Port_07.jpg


All done! Ain’t it beatuiful?

Image:Fonera_-_serielles_kabel_-_klein.jpg


Image:LaFonera_Hardware_Serial-Cable-Port_08.jpg


To access it you can use any terminal application. HyperTerminal ships with windows and it will do fine.Connect your fon to Com1 and Start hyperterminal from:

Start->Programs->Accessories->Communications->HyperTerminal .

You will need to set up communication settings to

9600-8-N-1 and no flow control:

Image:LaFonera_Hardware_Serial-Cable-Port_09.jpg


And here you have it:

Image:LaFonera_Hardware_Serial-Cable-Port_10.jpg


Alternate and Easier Serial Circuit

Alternate Serial Circuit

There is also another solution to using a Max232 chip that is less work, and less parts. That means its easier to build, and it is a smaller circuit. All you need is a serial connector and a Dallas DS275. Here is a link to the DS275 If your really slick, you can have them shipped at no cost as a "free sample."

Here is the diagram to wire up this chip to attach to the fon. The chip will operate on 5v, so you can use the pin on the Fon's board to power it.

Image:Dsbs8.gif

You will enjoy the results immensely. I love you all.

Other Tutorials

There are other possibilities to build a serial-port to your LaFonera. Some of them could be found here:

  1. Build a serial connection-cable from a mobile-phone-pc-adapter original spanish website [http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=es_en