Category Archives: 技术 Tech

Yes, our IoT lab

Recently, our Network Research Team@X has been acquiring widgets for building our small, but neat IoT lab, to: teach the students build test beds and experiments build IoT prototype and mostly, have fun With different kinds of main boards, radios, … Continue reading

Posted in 技术 Tech | Leave a comment

Flashing Riot OS for Arduino Boards

Update on Feb 03 2017: I asked the question on the RIOT-OS issue tracker (https://github.com/RIOT-OS/RIOT/issues/6535) Apparently, the problem with Uno and Mega2560 is due to the fact that I used the VM provided (https://github.com/RIOT-OS/RIOT/tree/master/dist/tools/vagrant ). When I retried without the VM, … Continue reading

Posted in 技术 Tech | Tagged , | 3 Comments

Getting the same address of the local variable in GDB? Think about the address randomization

When playing with GDB this afternoon, I noticed a “strange” behavior. Even with simple code like #include <stdio.h> int main(void) { int x = 1; printf(“x=%d\t address: %p\n”, x, &x); return 0; } In GDB, we always get the same … Continue reading

Posted in 技术 Tech | Leave a comment

Mount time capsule to Linux/Raspberrypi

sudo mount.cifs //IP_ADDRESS/DIR MOUNT_POINT -o “user=YOUR_USERNAME,passwd=YOUR_PWD,sec=ntlm” echo “//IP_ADDRESS/MOUNT_POINTMOUNT_POINT cifs user=MOUNT_POINT,pass=YOUR_PWD,rw,uid=1000,iocharset=utf8 0 0” >> /etc/fstab  

Posted in 技术 Tech | Leave a comment

Gnuplot with png and pdf terminal

One might get messages like unknown or ambiguous terminal type; type just ‘set terminal’ for a list To use png as terminal in GNUPlot, libgd2-dev library is needed (which is not provided in some distributions). After installing libgd2-dev, one needs to … Continue reading

Posted in 技术 Tech | Leave a comment

Making use of external libraries in NS3

There are have been some articles introducing how to make used of external libraries in NS3, such as HOWTO use ns-3 with other libraries https://www.nsnam.org/wiki/HOWTO_use_ns-3_with_other_libraries Extending NS3 with your module and extra libraries http://shieldroute.blogspot.fr/2012/08/extending-ns3-with-your-module-and.html   But they are not very … Continue reading

Posted in 技术 Tech | 1 Comment