Category Archives: Networks

Section about network technology, mostly focus on wifi.
Astuces autour des technologies réseaux et principalement réseaux sans fils

MQTT compared to HTML for its network saving

I’m interested by MQTT for two reason, the first one is related to its services and QoS management, the second by its network efficiency because I’d like to use it over a 3G communication system with a small and low cost plan.

MQTT promise is to be network efficient but, i’d like to see it with my eyes, so I’ll try to give you some measures I’ve done to confirm it. My fear is that keep alive communication for subscriber costs could be high and request some software adaptations.

See full article to get details and eventually reproduce

Continue reading

Posted in Networks | Tagged | 3 Comments

Raspberry PI – wan emulation

PIWan project : Here is a new, quick & dirty project to be done with a raspberry PI : At work we currently have to simulate our application for a worldwide usage. We have really great tools for that but they need expertise and specific campaigns. The purpose of this document is to describe a RPI based solution with two Ethernet cards and some clever command lines to simulate a wan network for developers. The advantage of this solution will be to cost less than 100euros and will be easy to use with the right documentation.

See next pages for implementation details:

Continue reading

Posted in Hardware, Networks, Systems | Tagged , , , | 6 Comments

BeagleBone Black – configure NTP client

The BeagleBone black do not have Real Time Clock and as a consequence each time you reboot, you’re back at time 0. To get it updated to the local hour, you can configure NTP client (if connected to network) using the following commands:

root@beaglebone:~# opkg update
root@beaglebone:~# opkg install ntp ntpdate
root@beaglebone:~# mv /etc/localtime /etc/localtime.old
root@beaglebone:~# ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime
root@beaglebone:~# killall -KILL ntpd
root@beaglebone:~# ntpdate
root@beaglebone:~# /etc/init.d/ntpd start
root@beaglebone:~# date
Sun Jun  2 17:41:10 CEST 2013
Posted in Hardware, Networks, Systems | Tagged , | Leave a comment

Configurer la DMZ sur une BBox Sensation

Un petit article, plus pour le troll qu’autre chose … Depuis que je suis passé à la fibre Bouygues je dévouvre la bbox sensation et son niveau de bug jamais atteind par ce type d’équipement … Aujourd’hui après un reset factory default (seul moyen pour réactivé le Wifi une fois désactivé), j’ai souhaité configuré la DMZ pour ne pas avoir à recommencer la configuration NAT un peu plus longue.

J’avais précédemment rencontré des problèmes que j’avais attribué au fait d’avoir changer l’adresse IP par défaut. Il n’en est en fait rien : la fonctionnalité ne mache simplement pas, tout du moins sur firefox ou safari. Le Javascrit executé ne savant visiblement pas lire le champ prérempli contenant l’IP cible. Ainsi un joli message vous indique que tous les champs ne sont pas rempli et la validation est impossible.

J’en suis donc passé par FireBug : la methode est simple (enfin si l’on veut)

1. Aller sur la page DMZ, se loguer en lançant firefox et activant l’onglet JS

2. Recherche la fonction OnSubmit()

function onSubmit()
   if (element('displayIP').style.display == '') { 
      var ip = '';
   } else { 
      var ip = checkInput(false);
      if (ip)

3. Mettre un point d’arret dessus
4. Exécuter jusqu’à la ligne if(ip)
5. Modifier la variable IP pour lui mettre l’IP cible ex : “”
6. Continuer l’exécution

Après l’exécution de la fonction, si vous revenez sur l’onglet DMZ, vous verez que celle-ci est activée.

Après, si ca ne marche pas, il ne faut peut etre pas jeter la pierre à Bouygues … ils ont peut etre testé avec IE6, qui sait !



Posted in Networks | Tagged , , | 2 Comments

PirateBox upgrade to Forban

I’m looking to upgrade my two pirate box to test the mesh network forban between the two. Apparently, this will slow down the device as the TP Link small devices are not so powerful, but i like the idea to be able to create mesh network between piratebox. In my point of view it is the right way to make this project real.

I actually have my two piratebox configured in version 0.5, i’ll firstly update them to the latest version, then add the Forban tool following Matthias’s materials.

I’ll upgrade my TP Link Mr3020 and TP Link MR3040.

Continue reading

Posted in Networks, Systems | Tagged , , , , | Leave a comment

Promiscious mode wifi capture on iMac with Atheros 5416

Sound a old hardware, but as it is not the first time I have issue to dump (tcpdump or wireshark) wifi connection on promiscuous mode, I prefer to write it once of all … It is not working !!!

If any of you have a solution to make it works, I’ll be happy to update this post. For the others, I expect you will loss less time searching and trying.

I’ve try to change the rights on the /dev/bfp* devices

I’ve try to use tcpdump -i en1 host xx.xx.xx.xx instead of wireshark

And at the end, I finally just got the broadcast traffic and the local traffic.


Posted in Networks, Systems | Tagged , , , | Leave a comment

Customizing PirateBox configuration

After installing the piratebox, it’s nice to customize it a little bit… There are many reason for this, the first one, in my point of view is to have a more understandable SSID name depend on your country… Here are the list of the step of the customizations I made on myne.

Continue reading

Posted in Networks, Systems | Tagged , , , | 2 Comments

TP-Link MR3040, autonomy test

As promise, I’m looking for MR-3040 information about autonomy. This device is really interesting as it provides an internal battery to power the device on. The question was, how many time can we use it, is the autonomy good enough to have a real mobile device you don’t have to care about autonomy when bring out to public !

The first thing is to reload the battery, from 0 to 100% it takes 3:10 using the given equipment.  The next thing is to empty the battery by just doing nothing else than switch it on, as a result, the MR-3040 ran during 7hours. This is a really good result as it means that we can bring it out most of one day (or night).

The last step is to empty the battery transferring file from & to to mr3040, in this scenario, the battery autonomy should be smaller but the result is an autonomy of 5 full hours with a transfer rate about 1.5MB/s. I was expecting a shorter time so it is a good news.

The main issue I can raised after this test is the coverage area of these kind of devices (MR3040 or MR3020) really limited to a some meters and really blocked by rock walls. This is limiting the share with the neighborhood capability. It makes it more recommended to have a share into a room.

Posted in Hardware, Networks, Non classé, Systems | Tagged , | 3 Comments