Ref: DTN Code f or ns-2.35 pdf available online. i failed to implement paragraph two
refer
https://www.netlab.tkk.fi/tutkimus/dtn/ns/DTN_ns235.pdf im trying to emplement dtn routing protocols in ns-2.35 as the paper detailed. I have made necessary changes as instructed but I don't know how to make the following suggested changes "The DTN code may work with earlier ns-2 versions, too. However, special attention should be paid when modifying packet.h. Moreover, the example script has to be modified: use the default (CMU) IEEE 802.11 model instead of the dei80211mr model [2]." I GET THE FOLLOWING ERROR DURING FIRST SIMULATION... HP@DESKTOP-Q6V3RGT /cygdrive/c/cygwin/home/ns2dtn $ dynamic loading is not currently available on this system while executing "load ../ns-allinone-2.35/dei80211mr-1.1.4/src/.libs/libdei80211mr.so" (file "bundle-test-large-scen.tcl" line 9) THANKS IN ADVANCE N756500@GMAIL.COM |
Welcome to LQ.
DTN pdf etc.: My links from 2013 and 2015 are : . https://wiki.aalto.fi/download/attac...=1351509787000 . http://www.netlab.tkk.fi/tutkimus/dtn/ns/ . http://www.netlab.tkk.fi/tutkimus/dtn/ns/DTN_ns235.pdf . http://www.netlab.tkk.fi/tutkimus/dtn/ns/ns2dtn.tar.gz . http://www.netlab.tkk.fi/tutkimus/dt...ampaign.tar.gz The ns-2.35 patch is `dtn_ns235.patch´ https://drive.google.com/file/d/0B7S...ew?usp=sharing My setup : Code:
ns-allinone-2.35/ Code:
$ tar xvf ns-allinone-2.35_gcc5.tar.gz ## 2014 .. 2017 update Code:
$ cd ns-allinone-2.35/ ## Conditions : The above "setup" Simulation info https://www.linuxquestions.org/quest...-4175550305/#3 P.S.: Today's simulation "$ ./simulate_dtn.sh", with Intel i3-2120 : The result in "Run1/" is {bundle_delays.tr 23.7kB, dtn.txt 194.1kB, qtrace.tr 8.9MB, receipt_delays.tr 21.9kB}. Plot examples $ xgraph bundle_delays.tr -geometry 2000x1600 & $ xgraph receipt_delays.tr -geometry 2000x1600 & - |
(thanks a lot ) after applying all the procedures you suggested here i got stacked
Quote:
here is my terminal commands, after following your all procedures mwangoboy@mwangoboy-virtual-machine:~/Documents/ns-allinone-2.35/DTN_C$ nohup ./simulate_aodv.sh & [2] 29150 [1] Done nohup ./simulate_dtn.sh mwangoboy@mwangoboy-virtual-machine:~/Documents/ns-allinone-2.35/DTN_C$ nohup: ignoring input and appending output to 'nohup.out' nohup: failed to run command './simulate_aodv.sh': No such file or directory /simulate_dtn.sh & [3] 29230 [2] Exit 127 nohup ./simulate_aodv.sh mwangoboy@mwangoboy-virtual-machine:~/Documents/ns-allinone-2.35/DTN_C$ nohup: ignoring input and appending output to 'nohup.out' [3]+ Done nohup ./simulate_dtn.sh mwangoboy@mwangoboy-virtual-machine:~/Documents/ns-allinone-2.35/DTN_C$ here seems to be a problem now couldn't load file "/home/jlakkako/ns-allinone-2.35/dei80211mr-1.1.4/src/.libs/libdei80211mr.so": /home/jlakkako/ns-allinone-2.35/dei80211mr-1.1.4/src/.libs/libdei80211mr.so: cannot open shared object file: No such file or directory while executing "load /home/jlakkako/ns-allinone-2.35/dei80211mr-1.1.4/src/.libs/libdei80211mr.so" (file "bundle-test-large-scen.tcl" line 10) |
1 Attachment(s)
Re #3 : Please do not quote entire posts. A "one word reference" will do.
Quote:
My 64bits setup in ns-allinone-2.35/ : Code:
[ns-allinone-2.35]$ tree -L 1 My simulate_dtn.sh is attached as "simulate_dtn.sh.txt". Your missing "/home/jlakkako/ns-allinone-2.35/dei80211mr-1.1.4/src/.libs/libdei80211mr.so" : dei80211mr* must be built with no errors. - |
Quote:
mwangoboy@mwangoboy-virtual-machine:~/Documents/ns-allinone-2.35$ ./simulate_dtn.sh & [1] 82931 mwangoboy@mwangoboy-virtual-machine:~/Documents/ns-allinone-2.35$ couldn't load file "../ns-allinone-2.35/dei80211mr-1.1.4/src/.libs/libdei80211mr.so": ../ns-allinone-2.35/dei80211mr-1.1.4/src/.libs/libdei80211mr.so: file too short while executing "load ../ns-allinone-2.35/dei80211mr-1.1.4/src/.libs/libdei80211mr.so" (file "bundle-test-large-scen.tcl" line 10) thanks very much n756500@gmail.com mwangosi.emmanuel@yahoo.com |
Re #5.
Quote:
... Can you run ns2 files in e.g. Ubuntu 18.04.4 ? Conditions for ns2 : A "Linux OS" installed to a hard disk partition. I.e. no guaranties that you can build ns2 with Cygwin or a VirtualMachine. Mostly poor build results with wmWare, VirtualBox the last three years. I can build ns-2.35 + DTN as an "ns2 application.deb". Like `dtn-ns2_2.35-1.ubuntu16_amd64.deb´ : These apps will usually work OK in a Virtual Machine. All current ns2 apps https://drive.google.com/drive/folde...FE?usp=sharing - |
Re #5.
The package `dtn-ns2_2.35-1ubuntu16_amd64.deb´ (2.4MB) was created (with Ubuntu 16.04) : Provides /usr/local/bin/ns235-DTN. And tested OK with Ubuntu 18.04.4 by using the setup "DTN-setup-files-16.tar.gz". DTN-setup-files-16.tar.gz can be unpacked in any directory in /home/name/. Install the downloaded dtn-ns2_2.35-1ubuntu16_amd64.deb : Code:
sudo gdebi Downloads/dtn-ns2_2.35-1ubuntu16_amd64.deb Code:
cd DTN-setup-files/ns-allinone-2.35/ && ./DTN__simulate_dtn.sh - |
All times are GMT -5. The time now is 06:34 PM. |