Breaker

My OpenWRT Development Environment on OSX with Vagrant

You can find how to build OpenWRT on Mac OSX from my previous posts, here I’ll share my development environment for wireless devices. IDE:  After XCode, Clion is the best IDE for C/C++ development on OS X.  Only disadvantage is, it doesn’t support remote debugging. Toolchain: Cross compiled toolchain for openWRT Vagrant: There are boxes for openwrt I use qqshfox/openwrt-barrier_breaker and …

Breaker

OpenWRT 15.05 Chaos Calmer on Mac OS X El Capitan 10.11

When I try to build new OpenWRT release 15.05 Chaos Calmer on OSX 10.11 mkimage build fails with following error: Undefined symbols for architecture x86_64: “_ERR_remove_thread_state”, referenced from: _rsa_sign in rsa-sign.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[5]: *** [tools/dumpimage] …

Breaker

Building OpenWRT with Homebrew on Yosemite Mac OS X 10.10

Recently homebrew is more popular than macports and has support  most of the packages you may need on Mac OS X. To get OpenWRT complied on OS X prepare a disk image with  Disk Utiliy->New Image-> Case sensitive, sparse disk Image. Second, install XCode from App Store, and Command Line Tools: xcode-select –install Install Homebrew: ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” Install required packages by …

Breaker

Configure Eclipse NS3 on Mac OS X 10.10 Yosemite

To get ns3 running with Mac OS X 10.10 Yosemite: Configure Development Environment Download Xcode from Apple App Store https://itunes.apple.com/tr/app/xcode/id497799835?mt=12 Install Xcode Download and install command line tools. You can type `xcode-select –install` terminal or https://developer.apple.com/downloads/index.action gdb 7 has some problems with on Mac OS X so, install gdb 6 with macports using `sudo port …

Breaker

Carambola2 OpenWRT on Mac OS X Mavericks

There are some sources about building developing OpenWRT on Mac OS X, you have follow different instructions in different web sites. Here is the complete steps to build OpenWRT on Mac OS X 10.9 Mavericks. I tested it both Carambola 2 native and OpenWRT x86 architectures. First, you need a disk image on your mac. …

Breaker

How to set EDCA/DCF parameters in NS3?

Having throughput problems in OMNET++, we have to switch to the NS3 as network simulation platform. It  doesn’t have a builtin IDE like OMNET and simulation language is either C++ or python. I prefer C++. After a long time period of  searching, I’ve managed to set DCF and EDCA parameters (like contention window) for wireless …

Breaker

OMNET++ INET 802.11e Throughput Problem

It seems Omnet++ Inet still has problems with 802.11 mac layer  implementation.  The problem I face is, throughput decreases to half when the Max Contention Window  parameter is set to same value with Min Contention Window. I made the experiment with throughput example supplied in Inet. Simulation environment is set up as 1 AP and 1 …

Breaker

Fixing OMNET++ on Mac OS X 10.9 Mavericks

Upgrading to Mac OS X 10.9 Mavericks breaks OMNET++, some actions required to get it working correctly. Here is the steps that I followed; Install latest Xcode 5.0.1 from Mac App Store Install command line tools  xcode-select –install Install macports Mavericks build Install gcc version 4.7 via macports sudo port selfupdate sudo port install gcc47 …