Odtone - : - Open Dot Twenty One
Odtone - : - Open Dot Twenty One
Odtone - : - Open Dot Twenty One
1
Contents
1 ODTONE Installation 3
1.1 Required Dependencies . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Getting ODTONE . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Compilling and installing ODTONE . . . . . . . . . . . . . . . . 3
2
1 ODTONE Installation
As ODTONE is developed in order to work in several platforms, we therefore
won't provide detailed tutorials for each mainstream operating system. We
will rather present the main guidelines for installing ODTONE and any relevant
notes on specic platforms that might prove an obstacle.
In order to correctly use ODTONE you must rst make sure you have the
required dependencies installed.
You can get the ODTONE source code tarball from our project page,
at http://helios.av.it.pt/projects/odtone/files. Then just un-
pack it and you are ready to compile and install ODTONE.
• From the git repository You can clone the git repository, from http://helios.av.it.pt/projects/odton
therefore creating your own local copy.
• Windows
Using Visual Studio 2008, choose the option to open an existing
project. Browse to the folder vc90/ on your ODTONE folder and select
and open the ODTONE project. Then just build the project.
3
NOTE that this is still an alpha version, therefore in future releases
Windows support will be improved, in this manual.
• Linux/Unix
You just need to run the ./autogen.sh script and then run ./configure
and nally make to compile the code. Install is not yet required, and
therefore all applications are local and can be found under the src/
folder.
4
2 ODTONE User Guide
For now the MIHFs capabilities are read from conguration les. Future
versions will inquire the available Link SAPs for the required information.
2.1.1 Conguration
To run the local demo you will need to edit the default conguration le
odtone.conf that is stored in the src/ directory. The le is well documented
and you will need to edit the link_addr_list entrance and add the MAC
address of your computer's network cards.
Now it's time to start the Link_SAP, on your third terminal, and send
some Link indications to the MIHF and check that the MIH_User received
notications .
So that the Link_SAP detects some events you should now proceed to
disconnect, disable or shutdown you network cable/interface or your wireless
card according to your conguration le (odtone.conf ).
5
2.2 Remote Demo
2.2.1 Conguration
As was said earlier, automatic remote peer MIHF discovery is not yet imple-
mented, so you need to add the remote MIHFs IP address and port number
to the conguration le (odtone.conf ).
Edit the le and add an entry to peers in the form:
<mihf_id> is the identier of the remote MIHF, <ip> and <port> are self
explanatory.
NOTE that you need to edit the conguration le on both machines.
[mihf]
id = mihf1
local_port = 1025
remote_port = 4551
peers = mihf2 <mihf2_IP_address> 4551
users = user 1234
6
[mihf]
id = mihf2
local_port = 1025
remote_port = 4551
peers = mihf1 <mihf1_IP_address> 4551
links = link 1235
link_addr_list = 802_11 <mac_address>,ethernet <mac_address>
event_list = link_detected, link_up, link_down,
link_parameters_report, link_going_down,
link_handover_imminent, link_handover_complete
NOTE that you need to setup the MAC addresses of the mihf2 inter-
faces.