Simone,

Below are the detailed steps for obtaining the 0.8.1 source and applying
the universalphy_stalepathlosspropagation.patch patch.

[] Download emane 0.8.1 source bundle

# wget
http://downloads.pf.itd.nrl.navy.mil/emane/0.8.1-r1/emane-0.8.1-release-1.src.tgz

[] Unpack the source bundle
# tar zxvf emane-0.8.1-release-1.src.tgz

[] Navigate to the src directory
# cd emane-0.8.1-release-1/src

[] Unpack emane 0.8.1
# tar zxvf emane-0.8.1.tar.gz

[] Navigate to the src directory
# cd emane-0.8.1

[] Apply the patch
# patch -p 1 < <PATCH
DIR>/emane-0.8.1-universalphy_stalepathlosspropagation.patch

[] Configure emane
# ./configure --prefix=/usr

[] Build emane
# make

After a successful build the patched Universal PHY plugin will be
located here:

 emane-0.8.1/models/universal/phylayer/.libs/libuniversalphylayer.so

At this point you have two options:

1. Simply replace the library installed on your system with the one you
just built

(on my system)

# sudo cp models/universal/phylayer/.libs/libuniversalphylayer.so
/usr/lib64/libuniversalphylayer.so

2. Do a complete install:

# sudo make install


Note: All the development packages required to build emane are available
via your distribution package manager with one exception, ACE. You can
find the ACE development package in the package directory of your
distribution specific emane 0.8.1 bundle.

All distribution specific bundles are located here:

 http://downloads.pf.itd.nrl.navy.mil/emane/0.8.1-r1/

The procedure for installing any of the other patches is similar.


-- 
Steven Galgano
Adjacent Link LLC
www.adjacentlink.com


On 07/25/2013 11:12 AM, smlabs wrote:
> Hello Steve,
> 
> which is the procedure to apply the patch?
> 
> Regards,
> Simone
> 
> 
> On Jul 25, 2013, at 3:37 PM, Steven Galgano <[email protected]> wrote:
> 
>> A bug was found in EMANE 0.8.1 that will cause a stale pathloss value
>> and a stale propagation time to be used for receive processing within
>> the Universal PHY when a transmitting NEM's location changes but the
>> receiving NEM's location remains the same. These stale values will be
>> reported until the receiving NEM's location changes.  At which time both
>> the pathloss and propagation time from the transmitting NEM to the
>> receiving NEM will be recalculated.
>>
>> This bug affects *all* Universal PHY instances. Those instances
>> configured to use EMANE's built in propagation algorithms, those with
>> the 'pathlossmode' configuration parameter set to 'freespace' or '2ray',
>> will have *both* the stale pathloss and the stale propagation time
>> issue. Those Universal PHY instances with 'pathlossmode' set to
>> 'pathloss' will *only* have the stale propagation time issue.
>>
>> The attached patch fixes the stale pathloss and propagation time issues:
>> emane-0.8.1-universalphy_stalepathlosspropagation .patch (emane)
>>
>> Since the release of 0.8.1 there have been a total of 3 patches (not
>> including this one):
>>
>> * Set TTL for OTA and Event multicast channels (emane)
>>    emane-0.8.1-ttl_ota_event_channels.patch
>>
>> * Fix Comm Effect EEL event addressing  (emanegeneel add-on)
>>    emanegeneel-0.2.1-commeffectaddressing.patch
>>
>> * Fix Comm Effect off-by-on loss percentage (emanecommeffect add-on)
>>    emanecommeffect-0.5.1-loss_probability.patch
>>
>> All 0.8.1 patches to date have been attached for your convenience.
>>
>> -- 
>> Steven Galgano
>> Adjacent Link LLC
>> www.adjacentlink.com
>> <emane-0.8.1-universalphy_stalepathlosspropagation.patch><emane-0.8.1-ttl_ota_event_channels.patch><emanegeneel-0.2.1-commeffectaddressing.patch><emanecommeffect-0.5.1-loss_probability.patch>_______________________________________________
>> emane-users mailing list
>> [email protected]
>> http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users
> 
_______________________________________________
emane-users mailing list
[email protected]
http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users

Reply via email to