Categories
Uncategorized

Hackerbeach Day 0

The view from my hostel’s lobby, featuring Memphis the cat

It’s been hell, doing a 4 flight stint for the better part of a day with no off-plane sleep. I read recently that airplane humidity is typically around 20%, which is drier than the Sahara desert. Lesson learned: always bring and fill your water bottle. When you’re dehydrated, the mucus membranes have trouble keeping a layer of mucus, and can let more dangerous external matter through. That results in a sensation, that, when you swallow, can be unpleasant.

But though the trial, I’m finally here on the Caribbean coast to kick off the Nth annual Hackerbeach in beautiful Santa Marta, Colombia.

The weather is a muggy 31C, not a fluffy cloud in the firmament, and high season is in full swing. I’m the first to arrive, and spending the 29th through the new year in the city before settling down in (hopefully) more peaceful Palomino, further east on the coast.

The Centro Historico where I’m staying is rife with touts. Taxi drivers trying to drum up business, pre-packaged adventure outfits promising the very best ziplines, and plenty of folks standing around with convincing smiles holding a restaurant menu.

Vague electronica fills the muggy air with super hip beats. It would be inappropriate to dance, but we do feel a bit more in tune with the forced vibe.

The night continued on. I took my stroll of the malecon and beach, found a handicraft market, and my guilty pleasure: street meats. Sausage fresh off a charcoal grill, covered in just-squeezed lime and roughly chopped chilis on a bed of yuca in a small styrofoam container for $1. There were a few touts there, but nobody bothered me. It must either be the default expression of a determined scowl, or having low value as a single young foreign male walking by.

While waiting for a hyped up blues-and-rock dive bar to open, I took another stroll through the neighborhood. I changed upon a shrill noise from the super(sub?)sonics of some music hurting my ears while walking through an alleyway. Investigating the source yielded a cultural celebration. It was a delightful cultural dance competition. That occupied a very pleasant half hour of my time until the acts petered out.

Onto my quarry! It’s a small dive bar in the Centro Historico called Crab’s Bar, proudly slinging blues and rock since 1999. The owner is a foreigner and doing an excellent job not paying top 80s rock, which is often the trap of places like this. When I arrive it is empty. I must have come too soon. An hour later and most of the tables are full and the atmosphere of the place is much more convivial. The cocktails are pricey, but all are double-sided, so I give it a pass.

Besides the boilerplate 60s Rock kitsch, the place is run by some excellent bar staff, who are sporting faded tattoos of the place’s logo. It’s always a good sign when folks are (hopefully not coerced into being) that invested and passionate. As the night progresses I am increasingly comfortable. Eventually I head back to my hostel and try to acclimate to the EST timezone.

That’s about it. A simple night as others have yet to arrive. I’ll be on my own for a few more nights wandering and enjoying the city.

Bonus: The exchange rate here is 3,000ish Colombian Pesos (COP) per USD, which is hard to keep in my head. Using the ATM does make me a millionaire though.

Categories
android ARM computer computerbuild gaming hack hackerbeach hardware Linux screen travel

Finding the perfect ancillary travel device

Hackerbeach attendees at the upper dining table
Hackerbeach attendees at the upper dining table

As would be familiar to anybody who knows me, I’m always interested in new tech, especially when it’s running free software and portable enough to be in my every-day carry arsenal.

For the past month or so I’ve been looking at a few devices as a secondary to my laptop to carry with me. In a few weeks I’ll be joining those already there at third installment of Hackerbeach, on the Caribbean island of Dominica.

I wanted an embedded Linux system that could do everything. The scope of this device just kept getting bigger the more I thought about it.

It should:

Categories
hackerbeach hardware

Solving connectivity problems

This post deals with the technical challenges we’ve encountered while trying to establish reliable communications while staying in Rural Kenya. Some background information is necessary to understand the efforts we’ve gone through to remain connected.

This year the prestigious Hacker Beach event is taking place on the island of Lamu off the eastern coast of Kenya. The island is serviced by a single UMTS tower located above the hospital in the main town of Lamu City. However, our accommodation is on the other side of the island.

The situation
The situation

Our accommodation had a previously installed directional antenna on the roof to provide internet access. Unfortunately the access was very slow, with only 14% signal strength. This was complicated by strong winds blowing against antenna, causing it to be pointed in a wrong direction. This further reduced the cellular reception, sometimes making it disconnect completely.

 

The antenna solution. Photo by Sebastian Kippe (CC BY 2.0)
The antenna solution. Photo by Sebastian Kippe (CC BY 2.0)

An additional problem was that WiFi was served by a single Cradlepoint MBR1000 router in a corner of the fort, making it inaccessible through the impenetrably thick fort walls. This meant we were limited to camping in the upstairs dining hall, which worked well enough due to all the seating, but there was some desire to branch out to work from other areas of the fort, such as the knights-of-the-round-table-esque meeting room.

Our conspiratorium

For a group of 18 hackers, this level of connectivity was unacceptable. Many of us were making excursions into town to work at cafes with better reception. This was a problem because it threatened to undermine the spontaneous collaborative nature of Hacker Beach. The way we saw it there were two problems to fix:

  • Reception of the antenna was abysmal. Was this an inherent problem with the location?
  • WiFi reception was limited to only one corner of the house. Ideally the house should have WiFi everywhere.

We attempted to fix this by purchasing local SIM cards and installing them in portable WiFi Hotspot devices. Oddly enough we were able to receive some 3G reception if the devices were placed in some rather random areas of the fort. Unfortunately the connectivity of these devices wasn’t reliable enough for full-time hacking. So we began efforts in earnest to fix the connectivity problem.

We determined that the most appropriate solution to the WiFi problem was to employ PowerLine Ethernet adapters throughout the Fort to distribute connectivity. Simply repeating wireless signal was not a good option because of the lack of strategic locations to place wireless repeaters. The thick walls meant that the signal would be stopped between floors as well. We took a gamble and assumed that most outlets would be on the same power phase (if circuits are on different phases the PowerLine throughput will be severely limited, or likely not work at all). Since we had some new hackers approaching in a few days shipping was out of the question. Thankfully we were able t source some units in Athens, which (after some begging) our gracious friends were kind enough to pick up and bring for us.

The pairing part was easy, with WiFi SSID/password being copied using WPS. After pairing the devices could be moved anywhere in the fort to increase coverage. We installed two devices which are able to blanket the whole fort with connectivity. Problem solved.

PowerLine Ethernet adapter

Next was a trickier bit that required more calibration and special equipment. While inspecting the old antenna we found that the connectors had been tortured by the elements for several years. This meant that the antenna pigtail connectors were rusted, which was likely causing reception issues. Another problem was that the pigtail was being run through a window, which was then closing on it. We feared this was crushing the cable, which could have easily caused our antenna to become useless.

3G Modem and antenna cable run through window

There were several more hackers arriving from Nairobi in a few days, so we asked them to bring some antenna gear to hopefully help improve our connectivity. In total a questionably-EDGE amplifier, directional antenna, and some cabling was delivered when the hackers arrived early yesterday morning. It didn’t take long for us to tear it all open and start installing it.

Equipped with a laptop, an antenna, and a downstairs accomplice we disconnected the old antenna and threw a new line down to connect to the 3G modem. Next I had opened the router’s modem status page to measure signal strength while another hacker determined the direction the antenna should face to get the best reception. Our best direction was pressed against the old antenna; the people who installed the last one must have known what they were doing.

Unfortunately we were only armed with my multitool which meant that proper mounting was going to be impossible. We tried wrenching the existing nuts that held the antenna in place, but they proved to be well stuck with a decade of rust and generally brutal African elements. Not even cooking oil (our improvised WD-40) would help loosen the offending nuts. Ultimately we ended up doing a bodge job to keep the antenna in place. One of the hackers had brought string with him, which we used to tie the new antenna’s base plate to the old antenna. This worked surprisingly well, although is a horrifyingly temporarily solution. The string will not stand up to more than a few days outside here. Next we plan to source some tools locally and perform a permanent installation of the antenna.

With the old antenna the signal strength would consistently be about 14%, which resulted in throughput of about 200 kbit. After out new antenna was installed and calibrated we were able to see signal strength of up to 80%, which gave us upwards of 1800 kbit of throughput with consistent pings of about 250 ms. Hooray!

After applying liberal traffic shaping on the router we are now able to comfortably surf the internet, download packages, and use IRC.

Categories
travel

Concerning Hackers and Beaches

I’m excited to hear that Hackerbeach will be happening again this year. Last year was an amazing and unique experience, and I can’t wait to go again. This year the village hosting us will be Lamu, Kenya.

For the uninitiated, Hackerbeach involves a group of hackers (historically 15-20) gathering in a tropical location for a month to hack on various open source projects. It can be thought of as a month-long hackathon or code sprint for nomadic open source developers. All of the code so far has been focused on the open web ecosystem.