Category: Karma On The Fon

Karma On The Fon: Serial Interface Mod

Does that plug belong there? Or not? I hope it looks like it does.

Does that plug belong there?  Or not?  I hope it looks like it does.

This is a 2 piece addition to the fonera so that you can more easily access the serial interface of the device. I’ve found that it makes talking to the fonera via serial so much more stable versus connecting with the cables onto the board.

I’m a big fan of sparkfun. I’ve always been treated well, shipping is fair, and they are more then willing to lend a hand with your problems. I source what I can from them. They have a device similar to the FTDIfriend from adafruit – but I have not used it so I can’t recommend it to you.

Note that in my experience sometimes the fonera is willing to boot with a seriel cable connected, and other times it is not. This precludes just mounting the FTDFriend inside of the fonera (plus its quite hard to convince everything to fit). Using a jack system like this allows you to plug into system just after powering on so you don’t have to worry about whether or not the fonera is happy today.

  1. The same adafruit usb to serial converter I advised earlier.
  2. A 3.5 mm panel mount stereo audio jack
  3. a 3.5 mm stereo audio plug
  4. shrink wrap
  5. Soldering iron
  6. Optional: The Heaterizer XL 3000. The instructions are the best part, and it works better then a lighter.
  7. Drill, drill bit the size of the 3.5 mm audio jack. (What? you don’t have a caliper?)

Installing the Fonera Side

  1. I drilled my hole between the ethernet jack and the antenna port.
  2. Install the stereo audio jack, taking care to make sure that you don’t let the metal of the jack contact any of the components or contacts in the circuit board. Do not glue the jack or anything like that, just finger tighten it.
  3. Cull 3 wires from the connector that came with ftdifriend.
  4. On one end of all three wires, bend the contacts so that just after the bit that a header pin fits into.
  5. Fit them onto the appropriate header pins on the fonera motherboard and loop them over to the audio jack and cut them to length.  Reference this page by digininja for the fonera pinout.  Be conservative – you are going to use the bits that you cut off again for the serial converter adaptor so you will need these.
  6. Shrink wrap the female header pin receptacles so that if they wiggle they can’t bump and mess with data transmission. You could possibly just solder them on, but I didn’t like that idea at the time.
  7. Remove the audio plug, remember how I said finger tight?
  8. Strip and solder the other ends of the cables to the audio jack.
  9. Reinstall the audio jack.  This time go ahead and tighten it up with a pair of pliers.  I didn’t strip the threads but other sparkfun customers have reported that these have a tendency to strip if you put much torque on it.  Be wary.
This is where you connect the female header pins to.  Note the shrink wrap to keep them from shorting each other out.

This is where you connect the female header pins to. Note the shrink wrap to keep them from shorting each other out.

See how the wires run up to the audio jack?

See how the wires run up to the audio jack?

The Serial converter side

  1. Remove the female headers from their pins on the fonera.  Use a continuity tester to figure out which pin on the audio jack goes to the Tx, Rx, and Ground wires.
  2. Flip the Tx and Rx pin connections.  Solder the three leads that you saved to the audio plug.
  3. Plug the other end into the respective female header pins so that you can connect it to the ftdi friend.

The Serial Converter Side

The End

Connect everything back up, double checking your connections are right. Then button up the case. I use GTKTerm on linux. Go ahead and fire that up (maybe as root). Boot up the fonera, plug in the ftdifriend to both the fonera and the computer. Soothe your fonera. You’re finished.


Karma On The Fon: Self Powered Jasager

Or, how to make a battery pack for your fonera.

You’ll need a multimeter, a 2.5mm by 5.5mm barrel plug (available on Amazon or better yet Radio Shack) and a 4 AA (or AAA, they supply the same voltage level). I also used some velcro so that the battery pack would be able to attach to the top of the fonera.

The outside of the barrel plug is negative and the inside is positive. Double check yours with the multimeter.

I also swapped the antenna for the bigger one from my other router.

Now, I can turn it on and leave it in my backpack to be even less suspicious 😀


Karm On the Fon: Again.

I recently managed to find a job. Not a great job, but a job. I had some money that I decided to purchase a fon with. Of course, the purpose was to gain another router. The purpose was to make a jasager device. The Jasager is custom firmware for the fonera by Robin Wood, aka digininja.

Background

So, when a computer boots (if it has a wireless network card) it will send out broadcasts looking for networks it know. The idea behind the jasager firmware is that after installing you now have a device that will answer, “yup, that’s me!” anytime it receives those probe requests. If someone is looking for their home network at a coffee shop, they shouldn’t find it. The jasager is kind enough to say, yup, connect to me anyway.

Why?

Because after a client connects to your router, its YOUR client on YOUR network. Think of the fun.

Order a Serial Cable

Seriously

Or, why it took me five weekend to get this thing to work

Its taken me about 5 weeks to finally get jasager actually installed on the damn router. Partially because I had 0.7.1 r2. The tough cookie firmware. The first week I tried setting up a local version of Kolonfonium. Didn’t work. I even tried the hosted. It still didn’t work.

So I ordered what I had hoped would be the correct cable from ebay. For reference, a TXDATA1046 is not the cable you’re looking for. It was dead. I received a replacement. That was when I found out it was the incorrect cable.

I finally ordered an FTDI Friend from lady ada. I didn’t get it that weekend, so I didn’t work on my fon. As a statement, no I am not receiving funds for endorsing this product. I just think it does the job well and has the most flexibility I have seen of the various USB serial products available. You’ll also want this cable because you only need the three pins (GND, TX, & RX).

Some people have tricks and what not that they use. I’m just saying that, by the time you try those tricks and they (possibly) fail, you will still need the serial cable. If you brick your fon, you will need a serial cable. If you get a UK fon from ebay, you will have to have a serial cable. Just buy one. Update: Also, if you forget your password or screw up one of the network configuration files, you can fix it without reflashing the fonera.

The week after that I managed to get openwrt flashed. I skipped the week after that (I think). Tonight I installed the firmware package from the jasager website. I just followed the guide that digininja posted. So really, the hardest part in the whole process was figuring out how to talk to the little bastard.

Get the serial cable.