32C3 – Recommended Videos of Day 1

It's day 2 of the 32C3 in Hamburg and I'm really happy that I was able to attend in person this year. My previous tip to use a 5 GHz Wifi capable Android phone as a WiFi USB dongle for my notebook has paid out as the 2.4 GHz range is hopelessly overloaded in most places as promised. With 12.000 people attending and more streams going on in parallel than one could ever hope to follow it's total information overload so my pre-planning of what to attend paid out. In the meantime the video streams from day one are online and I can personally recommend the following ones I attended:

Towards (reasonably) trustworthy x86 laptops: Ever felt save by running Linux on your notebook? No? Well, then you probably have Coreboot as a Bios replacment and fell much better. Yes? No, have a look at the video of this session to get an idea of how Intel ME and the little microprocessors and flash in many other components of your notebook make it very hard to have trust in your hardware.

Running your own 3G/3.5G network: GSM and Osmocom are old friends and LaF0rge is working hard to bring 3G femtocells into the mix. He's almost there and if you ever wondered if you were just a bit dumb or whether ASN.1 is just a bit hard to understand, the talk will give you an answer as well. The stream's not yet online at the time of writing this but I'm sure you'll find it here by the time you read this.

How the (not so) Great Firewall discovers hidden circumvention servers: Very interesting presentation on research is presented here on how the Chinese Internet firewall actively reaches out to find out if a web server is really a web server or a hidden TOR gateway.

The Ultimate Amiga 500 Talk: For computer historians who had an Amiga of their own this 60 minute talk is a great refresher on the Amiga 500 hardware and programming. Those were the days 🙂

Lots and lots of other stuff was presented on day one is now online which will keep me busy once I'm back home as it's impossible to follow it all in real time. So head over and enjoy.

Things That Moved Me In 2015

It’s become almost a tradition for me in December each year to have a look back at what happened in the previous 12 months in the telecoms industry and in my private technology endeavors that have left long lasting impression or have marked the start of something new.  And so here we go again, in the 10th year of this blog’s existence. Yes, it has already been a decade, time passes quickly!

First lets have a look at the telecoms sector. Early in 2015, 3GPP announced that they have embarked on their voyage to 5G and have published a time table that shows what they intend to do right into the 2020s. Everybody is talking about it but nobody seems to know what it really is. NGNM has published a whitpaper containing use cases and 3GPP now looks how specifications can be enhanced and newly created to fulfill those visions. I had quite a number of posts on various aspects of 5G, such as thinking about what 5G is in the first place, debunking the 1 ms 5G myth and two looks at the use of super high frequencies beyond 5 GHz, stating that such frequency bands are only usable for transmitting data over very short distances and an opposite statement made in a very interesting IEEE paper.

On the other end of the spectrum, GSM networks are starting to be switched-off and many announcing a switch-off in the years to come. 3G also has limited lifetime left with some network operators thinking about a 2020 switch-off date. Personally, I can’t wait for GSM to be switched-off.

In recent years we have seen quite a number of network operators merging in different parts of Europe, thus reducing competition which made me wonder if Free in France will keep the title as last launched 4th network operator in Europe forever. There are certainly no signs they are going to lose that tile anytime soon.

Speaking of evolution I had a look back of how mobiles looked like a couple of years ago to show what has changed in mobile computing in the last 5 years and how that compares to the (few) changes in the desktop computer industry. Quite a contrast. And speaking of change, we are now officially past peak telephony in many countries in Europe including Germany when fixed line and mobile phone minutes are combined.

Over the clouds we haven’t peaked anywhere yet when it comes to connectivity. I had a number of positive ‘over the cloud’ connectivity experiences this year but with LTE ground to air it is likely to be topped in the future.

Back on earth with wires attached, I’ve been migrated from VDSL+ISDN at home to an all-IP connection with fixed line VoIP. Not that it had been my free will but I got quite a number of advantages from the move, including an upgrade from 25 to 50 Mbit/s in the downlink direction, from 5 to 10 Mbit/s in the uplink direction and HD-voice speech quality between fixed line and mobile.

Staying for a moment longer in the voice call domain, despite moving past peak telephony, I was really glad to get rid of Skype on the PC and to put it on a tablet where this proprietary piece of software will hopefully do less harm. On the other hand, I learned to like Skype while traveling to Asia as Skype over LTE is significantly cheaper than circuit switched voice for me while voice quality is significantly better. Not that I would install it on my mobile device that contains my private data but I rarely travel with only a single mobile device.

On the hardware side there have been a number of really important projects for my private development this year. The most important one, no doubt, has been the 4-Bit Nibbler CPU project about which I had many blog entries and on which I spend many weeks to put it together and finally realizing my dream understanding how computers really work by actually building a CPU from several chips.

On a more global scale, I was rocked by the announcement of the Raspberry Pi Zero, the first fully working computer that has been shipped as a magazine complement. This is a milestone in computing history not only for being small and cheap enough to fit onto the cover of a computer magazine. If you’ve lived under a stone for the past few months and haven’t heard of it, this is the story to check out!

When it comes to vintage computing, 2015 has also been an interesting year for me in that area, too. I’m a proud owner again of a Commodore C64 and an Amiga 500 and disk drives that take today’s SD cards instead of real 5.25 or 3.5 floppy disks have greatly helped me to explore my personal computing history and home computing history in general. The culmination in my vintage adventure has certainly been the 30th anniversary celebration of the Amiga in Neuss, Germany and the many people I met there with a similar passion for the home computers that had a significant impact on them when they were teenagers.

Before I get too nostalgic let’s better get back to 2015. My software discovery of the year has certainly been ‘Conversations’ an open source XMPP client app for Android that looks and feels very much like Whatsapp but offers privacy and confidentiality without compromising usability. I’m using it for about half a year now and in the meantime I’ve been able to convince quite a number of my friends that this is the way to communicate not only with me but also with their friends. Further on the software side, the Selfoss RSS reader continues to be an important tool I user several times a day to keep up to date with what is going on in the world. As it’s open source, I contributed some code for it as part of keeping myself current with PHP and database programming.

And last, but not least, I’ve read a couple of great books about computing this year, especially to better understand computing history and the history of free and open source software. ‘The Innovators‘ and ‘Fire in the Valley‘ comes to mind as well as ‘Rebel Code‘,  ‘Commodore – A Company on the Edge’,  ‘Amiga – The Future was here’ and ‘Diary of an 80s Computer Geek‘. And on the fiction side, I very much enjoyed ‘Chronos‘ and ‘The Martian‘, both excellent reads. As far as ‘The Martian’ is concerned, there’s a movie based on the book now, which I haven’t seen because in my opinion there’s no way it can be even half as good as the book has been. So if you haven’t seen it either, my advice is not to go for the DVD but to read the book.

There we go, this has been 2015 for me on the technology side. What a great year!

No 5 GHz Wifi in Your Notebook For 32C3? Use Your Smartphone As A Wi-Fi Dongle over USB!

Usb-tethering-wifiIt almost time for the 32C3 now and I'm on my way to attend in person this year. One thing the organizers have kept pointing out over the last few years is that due to the very limited spectrum available in the 2.4 GHz band, the network experience will be rather mediocre in this band. To get much better throughput, participants are advised to use the 5 GHz band instead. That's all nice and well but my notebook, and I guess the notebooks of many others, does not support the 5 GHz band with the built-in Wi-Fi PCI card. But there's an elegant solution!

These days even medium-priced smartphones come with 2.4 + 5 GHz Wi-Fi built in. What many people don't know is that the smartphones Internet connectivity, no matter whether it is over cellular or over Wi-Fi can be shared with a PC over USB. It's called USB tethering and can be activated in the tethering menu as shown on the left.

To make sure Wi-Fi is used as the backhaul, go to flight mode and only enable Wi-Fi on the smartphone. On the PC, disable Wi-Fi connectivity. Once the smartphone is connected to the Wi-Fi network, connect it to the PC and activate USB tethering if not already done. And that's it, your smartphone is now acting as a USB Wi-Fi dongle for your PC.

Note: I'm not sure if Windows requires a driver for this to work but on Ubuntu this works out of the box. But who uses Windows at the 32C3 anyway…

VoLTE Roaming – S8HR in 3GPP S8HR TR 23.749

In Ocotober 2015, NTT Docomo was the first network operator who has started VoLTE Roaming based on a pre-standard implementation of the S8 Home Routing (S8HR) concept. I wrote about it at the time and speculated how they might have implemented the service as there was little official technical documentation available. In the meantime, 3GPP has continued their investigation of what is necessary to fully standardize the S8-HR concept and the details can be found in Technical Report (which is not a specification, it's just a report) TR 23.749 for 3GPP Release 14 (!). In December 2015, version 1.0.0. of the document was published that contains a number of interesting insights into what is already available and what is still missing in the specifications depending on which features an operator wants to use for VoLTE S8HR Roaming.

Dedicated Bearers for voice packets possible: At the time I wrote that if a network operator wants to play things purely on his own, VoLTE Roaming can be deployed without any interaction with the visited network operator except for the need, of course, to have a general LTE roaming requirement in place. If some more cooperation between home and visited network is put in place it is even possible to assign a dedicated bearer for voice packets by the IMS system in the home network to prefer voice packets in the network and especially on the air interface.

As shown in TR 23.749 in figure 4-2.1 this works without any additional specification work as the PCRF (Packet Control Resource Function) in the home network is told by the VoLTE IMS system in the home network to establish a dedicated bearer. The PCRF then talks to the Packet Gateway (P-GW) in the home network which in turn forwards the request to the Serving Gateway (S-GW) in the visited network. From there it goes to the LTE base station (eNodeB) and from there to the mobile device. In principle it is the same message flow as in a non-roaming scenario but the roaming interconnect has to let such configuration messages pass between P-GW and S-GW. The big advantage of the approach is that the VoLTE client on the mobile device does not have to behave differently when roaming abroad, i.e. there is no need for it to decide whether it has to wait for a dedicated bearer for the voice packets or not before proceeding the call.

Single Radio Voice Call Continuity: One of the main drawbacks off S8-HR VoLTE roaming that it is more difficult to put a mechanism in place to switched over from an IP-based LTE bearer to a circuit switched 2G or 3G channel at the edge of LTE coverage. TR. 23.749 points out that from an architectural point of view, no additional specifications are necessary for SR-VCC to work across borders in a Release 8 SR-VCC configuration. I presume, however, that quite a number of network operators have already gone to a post-Release 8 SR-VCC implementation in the network which has a number of additional components to speed up the process. For this setup, SR-VCC across borders is not possible with the current specification. Interestingly enough the 3GPP technical report excludes discussions of potential solutions from the document. In other words, it seems to be complicated enough to be put into a separate TR. It would be interesting to know of Docomo has actually implemented SR-VCC for their S8HR VoLTE roaming with Korea or if they just went ahead without it as LTE coverage is said to be pretty much deployed everywhere in Korea in the meantime anyway so there's no need for it in the first place.

There are two other topics discussed in the technical report, how emergency calls could be made properly and how to best signal to the VoLTE IMS system that the device is not at home but roaming in another country. Falling back to 2G or 3G cellular for emergency calls is a quick and working solution but the report also gives some details of how it could be done over VoLTE. If you are interested have a look at the document.

While the document had a few positive surprises for me it by and large confirms that S8HR VoLTE roaming should not be too difficult to implement and I wonder how long it will take for other network operators to follow Docomo's lead!?

Ubuntu – Have Two Windows Share the Screen

Tip of the day: Sometimes simple things can massively improve productivity! Recently I saw a friend resizing two windows on a Mac with a key combination so they each occupied exactly half of the screen. That's very helpful in many situations I thought and immediately wondered if and how that would work on Ubuntu as well. And indeed there are key combinations for resizing windows this way as well:

To set a window occupying the left half of the screen use this shortcut:

Ctrl + Super + ←

And for the right half:

Ctrl + Super + →

(Super = the W*ndows key…)

VDSL Speed Upgrade and All-IP – My ISDN Days Are Over

Decomissioned-isdn-equipmentI'm a bit nostalgic today because my ISDN telephony days are over. A few days ago, I was “upgraded” to an all-IP line at home because my network operator of choice wants to decommission its ISDN public telephone network, offer VDSL vectoring (instead of fiber connectivity, yeah, right…) and migrate everyone to Voice Over IP. For me an era comes to an end.

Back in the days at the end of the 1990's when 52 kbit/s modems for analog lines where the hype of the day I switched to an ISDN line at home so I could make phone calls and be connected to the Internet at the same time. Another plus was being able to bundle the two 64 kbit/s ISDN channels for a blazing Internet speed of 128 kbit/s. Back in the day that was not only considered ultra-fast but it actually also felt like it as web pages and stuff to download were tiny compared to the multi-megabyte downloads when accessing a single web page these days with all the adds included (if you don't have an add-blocker installed). Even when I switched from ISDN to DSL for Internet access I kept my ISDN line to benefit from several phone numbers, immediate call forwarding to other destinations on some of them and other 'digital' features that were not so easy to get on analog lines.

Now after almost 20 years, ISDN has gone. The picture on the left shows my decommissioned ISDN equipment: ISDN base phone with a DECT unit, a DECT cordless phone, DSL/ISDN splitter and an NTBA (ISDN network terminator). But to sweeten things up I got four very worthwhile things as part of the “upgrade”.

First, in anticipation of the switch, I bought a new fixed line cordless DECT (or CAT-iq as it's called today) phone a few months ago that can be connected to both ISDN and a VoIP core network which is HD-Voice capable. Not only will I have a much better voice quality to other VoIP fixed line phones in the country, but there's also an HD-Voice gateway between the VoIP fixed line network and my mobile network operator of choice's GSM and UMTS network that converts the 12.2 kbit/s WB-AMR codec used in mobile networks (G.722.2) into the 64 kbit/s wideband codec used in fixed line networks (G.722). Works great and the audio quality is much improved.

Second, my VDSL line was upgraded from 25 Mbit/s in the downlink direction and 5 Mbit/s in the uplink direction to 50 down and 10 up. I fail to be really impressed by that as my fiber line in Paris gives me 264 Mbit/s in the downlink and 48 Mbit/s in the uplink. But every bit/s counts and I did notice the increased speed immediately when I downloaded a Linux image the other day. Also, my VPN server and Owncloud server that I host at home very much benefit from the 10 Mbit/s in the uplink direction.

Third, my VDSL line is now IPv6 enabled so I will finally be able to connect to my servers over IPv6 while out and about, at least while I'm in my home country, as my mobile network operator of choice has introduced IPv4v6 connectivity this summer. Also, it will help me to better understand the IPv6 firewall features of the mobile network and my VDSL router at home. More about that in a future post.

And finally, the overall package now only costs about half of what I paid before. I'm the conservative type when it comes to connectivity so I hadn't changed my fixed line subscription in 6 years. Never change a running system…

LTE dual-SIM, dual standby, GSM-only for the second SIM

Three and a half years ago I had a closer look at how a dual-SIM 3G mobile worked in practice and how both SIM cards can be used simultaneously, or not. Up to today, the two articles (see here and here) remain one of the most viewed ones so I'm not alone with my interest. These days, there are also dual-SIM LTE phones available, not only in the mid- and low-range market but also in the high-end sector. Time to have a look how these work in practice and if two networks can be used simultaneously.

By and large, the behavior of the dual-SIM LTE phone I had is pretty much identical to the Dual-SIM 3G phone from three and a half years back. The phone can receive (i.e. listen) to two networks simultaneously but can only be active (i.e. transmit and receive) in one at at a time. One can, for example, browse the Internet via one network (used with the first SIM card) while the device keeps listening for incoming voice calls and SMS messages on the other network (with the second SIM card). When a voice call comes in on the second SIM card, the mobile interrupts the communication with the first network during the phone call. In other words, it's not possible to access the Internet via one network and have a phone call over the other network at the same time. That means that, like three and a half years ago, it's still a dual-standby approach.

Also, like the device three and a half years ago, one transceiver chain is limited to GSM while the other chain is capable of GSM, UMTS and LTE. SIM cards can by assigned to one of those chains via the menu so its possible to switch SIM cards to and from the LTE chain for data transfers when necessary. This is useful, for example, when using one SIM card for Internet access in the home country and another SIM card for Internet access when traveling abroad. To get an idea of how that looks like in practice click on the links above. The user interface looks a bit different now but the steps to switch and select SIM cards are still the same.

The Nibbler 4-Bit CPU Project – First Run

Nibbler-first-run-smI you haven’t seen my previous posts on the Nibbler, have a look here for what happened so far.

It’s a November evening which means it’s dark and cold outside and I’m looking out my windows to see a steady stream of car headlights. I’m glad I’m back home. Earlier today I’ve bought the missing chip for my Nibbler board and it’s time after all the effort put into understanding the concept and assembling the hardware if it will actually work. Adrenaline is flowing freely now, not only because my progress was slowed down by a pre-scheduled visit to the dentist. I was close to canceling it, I had a good enough ‘technical’ reason but it would have been that, just an excuse. So one dentist appointment later I finally sit at my desk and insert the remaining chip into the waiting socket on the Nibbler board. Once more I verify that all sockets contain the correct chip and come away satisfied.

Time for attaching the board to the power supply. If all goes well, “press any button” should show up on the display. I should have changed the text it into “hello world” but I decided to go ahead with a binary from the author rather than something written myself. More time for playing around with the software later, it’s a hardware thing today. I connect the board to my 5V battery I normally use for recharging my phone as I don’t even a regulated power supply. I intend to run it on a 5V USB mobile phone charger later but as I’m not quite sure the 5V delivered by a charger is flat enough for the Nibbler I decided on the battery instead.

I flip the master switch on the board and the green power supply LED turns on instantly – Apart from that – NOTHING happens on the display. What!?

Pressing the reset button a couple of times I refuse to believe that something could be seriously wrong. But the display remains dark. I then press the up/down/left/right keys and the piezo speaker starts making noises every time I press a button. Hope returns as the program I flashed into the ROM is supposed to do that. So the program must be running! Yay! But why is there nothing on the display, is the display or the output port chip broken? Then comes the flash of insight – I soldered a potentiometer onto the board to control the LCD module’s contrast. During the assembly phase I put it into a middle setting to ensure that I would at least see something when I first power-up the board. Perhaps a middle setting is not good enough? So I change the setting with a screwdriver first in one direction, resulting in nothing, then in the other direction and suddenly “press any button” shows up on the display. HURRAY – it’s only the contrast setting! As you can imagine, I’m overjoyed!

For the next half our I run a number of programs Steve Chamberlain has put together for the Nibbler, all in a single ROM and accessible via different jumper settings, a cool idea from William Bucholz, the creator of the PCB board. Everything works as it should. Wonderful! Now that the hardware is running I can further explore the hardware in ways that are just not possible with a simulator. But before that some sleep is in order to get the adrenaline from the dentist appointment and from those seconds between power-on and realizing that the contrast level has to be adjusted to see something on the display out of the system.

To be continued…

Is the Raspberry Pi Zero The First Computer Shipped As A Magazine Supplement?

When I was a teenager it took me two years to convince my parents to buy me a computer. I would have taken anything, big small, TV output, LCD display, whatever, just programmable please. I finally got one but it took too long, mostly because even home computers were expensive at the time. Well, times have really changed, haven't they!?

Yesterday, Eben Upton, one of the creators of the Raspberry Pi, announced the $5 Raspberry Pi Zero. It's much smaller than a "normal" Raspberry Pi, has fewer connectors but is more powerful than the first Raspbery Pi and can act as a fully functional as a desktop computer as it has an HDMI (mini) out and old fashioned TV interface (for which a connector has to be soldered onto the board). Even better, to get one, just go around the corner to a newsstand (at least in the UK) and pick up the latest edition of the Magpi magazine for 6 pounds in which the Raspberry Pi Zero is included as a supplement. Wow, I just imagine myself as a boy having done that instead of having had to preach to my parents for years about the need for having a computer.

I wasn't quite sure when I started writing this article but while writing it, I found this video in which Eben confirms that the Pi Zero is the first "real" computer ever shipped as a magazine supplement! True, an SD card is needed as a mass storage device in addition to an HDMI cable to connect it to a TV as well as a mouse and keyboard which easily exceed the price of the Pi itself, but hey, compared to two years preaching that's a hurdle that can be overcome easily as all of these things are available in abundance and can probably be gotten second hand for next to nothing.

A "real" computer as a supplement in a computer magazine that can be bought at a news stand! I'm sure the late Steve J. would agree, this is insanely great!