📄 readme.svn-base
字号:
$id$DiffServ4NS provides a set of improvements to the Network Simulator 2 for DiffServ simulations. The current version works for NS2 version 2.291. INSTALLATIONInstalling both ns2.29 and DiffServ patch: 1. download ns2.29 allinone http://sourceforge.net/project/showfiles.php?group_id=149743&package_id=169689&release_id=371538 2. untar and unzip it: tar -zxf ns-allinone-2.29.3.tar.gz 3. download the latest DiffServ4NS tarball https://sourceforge.net/project/showfiles.php?group_id=166902 4. untar and unzip it: tar -zxf DiffServ4NS-x.y.tar.gz 5. replace ns-2.29 files with DiffServ4NS/src files: cp -rf diffserv4ns/src/* ns-allinone-2.29/ns-2.29/ 6. change directory: cd ns-allinone-2.29 7. launch installation program: ./install &> install.out in install.out you can find the log so you can check if everything is ok; it can take several minutes 8. set environment variables as reported at the end of the install.out fileInstalling DIffServ4NS on a working ns-2.29 installation: 1. download the latest DiffServ4NS tarball https://sourceforge.net/project/showfiles.php?group_id=166902 2. untar and unzip it: tar -zxf DiffServ4NS-x.y.tar.gz 3. replace ns-2.29 files with DiffServ4NS/src files: cp -rf diffserv4ns/src/* /path/to/ns-2.29/ 4. change directory: cd /path/to/ns-2.29/ 5. clean object files make clean rm *.o -rf # this is needed because sometimes not all working files are deleted 6. ./configure 7. make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -