Documente Academic
Documente Profesional
Documente Cultură
OUTPUT:
staff@IT-1:~$ SU
SU: command not found
staff@IT-1:~$ su
Password:
The following extra packages will be libice-dev libpthread-stubs0 libpthreadstubs0-dev libsm-dev libx11-dev libx11installed:
doc
autotools-dev dpkg-dev fakeroot g++
libalgorithm-diff-perl libalgorithm-diff- libxau-dev libxcb1-dev libxdmcp-dev
libxext-dev libxmu-dev libxmu-headers
xs-perl
libxt-dev m4
libalgorithm-merge-perl libdpkg-perl
libice-dev libpthread-stubs0 libpthread- x11proto-core-dev x11proto-input-dev
x11proto-kb-dev
x11proto-xext-dev
stubs0-dev
xgraph
libsm-dev libx11-6 libx11-dev libx11doc libxau-dev libxcb1-dev libxdmcp- xorg-sgml-doctools xtrans-dev
dev libxext-dev
The following
upgraded:
packages
will
beInstall
these
packages
verification [y/N]? y
without
libx11-6 libxext6
Get:1
http://10.0.1.23/in.archive.ubuntu.com/ub
2 upgraded, 32 newly installed, 0 tountu/ precise-updates/main libx11-6 i386
remove and 272 not upgraded.
2:1.4.99.1-0ubuntu2.3 [770 kB]
Need to get 8,344 kB of archives.
Get:2
http://10.0.1.23/in.archive.ubuntu.com/ub
After this operation, 26.6 MB ofuntu/ precise-updates/main libxext6 i386
additional disk space will be used.
2:1.3.0-3ubuntu0.2 [34.3 kB]
Do you want to continue [Y/n]? y
Get:3
http://10.0.1.23/in.archive.ubuntu.com/ub
WARNING: The following packagesuntu/ precise/main m4 i386 1.4.16cannot be authenticated!
2ubuntu1 [195 kB]
libx11-6 libxext6 m4 autoconfGet:4
autotools-dev automake g++ libdpkg-perlhttp://10.0.1.23/in.archive.ubuntu.com/ub
dpkg-dev
untu/ precise/main autoconf all 2.681ubuntu2 [560 kB]
build-essential fakeroot libalgorithmdiff-perl libalgorithm-diff-xs-perl
Get:5
http://10.0.1.23/in.archive.ubuntu.com/ub
libalgorithm-merge-perl xorg-sgml-untu/ precise/main autotools-dev all
doctools x11proto-core-dev libice-dev20120210.1ubuntu1 [42.4 kB]
libpthread-stubs0
Get:6
libpthread-stubs0-dev libsm-dev libxau-http://10.0.1.23/in.archive.ubuntu.com/ub
dev libxdmcp-dev x11proto-input-devuntu/ precise/main automake all 1:1.11.3x11proto-kb-dev
1ubuntu2 [571 kB]
xtrans-dev libxcb1-dev libx11-devGet:7
libx11-doc x11proto-xext-dev libxext-http://10.0.1.23/in.archive.ubuntu.com/ub
dev libxt-dev
untu/ precise/main g++ i386 4:4.6.31ubuntu5 [1,444 B]
libxmu-headers libxmu-dev xgraph
Get:8
http://10.0.1.23/in.archive.ubuntu.com/ub
libx11-6
libxext6
(2:1.4.99.1(2:1.3.0-
Setting
up
(1.16.1.2ubuntu7.7) ...
Setting
up
(11.5ubuntu2.1) ...
dpkg-devSetting up x11proto-input-dev
1~precise2) ...
(2.3-
root@IT-1:/home/staff#
ns-allinone-2.35/dei80211mr-1.1.4/src/ra-snr.cc
OUTPUT:
ns-allinone-2.35/install
OUTPUT:
root@IT-1:/home/staff# cd ns-allinone-2.35
root@IT-1:/home/staff/ns-allinone-2.35#
root@IT-1:/home/staff/ns-allinone-2.35# ./install
ns-allinone-2.35/dei80211mr-1.1.4/src/peerstats.cc
tcl8.5.10:
/home/staff/ns-allinone-2.35/
{bin,include,lib}
ns-allinone-2.35/dei80211mr1.1.4/src/test_power_profile.cc
tk8.5.10:
2.35/{bin,include,lib}
ns-allinone-2.35/dei80211mr-1.1.4/src/rbar.h
/home/staff/ns-allinone-
otcl:
ns-allinone-2.35/dei80211mr-1.1.4/src/wireless-phymr.cc 1.14
/home/staff/ns-allinone-2.35/otcl-
tclcl:
1.20
/home/staff/ns-allinone-2.35/tclcl-
ns:
2.35/ns
/home/staff/ns-allinone-2.35/ns-
ns-allinone-2.35/dei80211mr-1.1.4/src/ra-snr.h
ns-allinone-2.35/dei80211mr-1.1.4/src/mac-802_11mr.cc
ns-allinone-2.35/dei80211mr1.1.4/src/Mac80211EventHandler.h
ns-allinone-2.35/dei80211mr-1.1.4/src/PER.h
nam:
/home/staff/ns-allinone-2.35/nam-1.15/nam
ns-allinone-2.35/dei80211mr-1.1.4/src/power_profile.h
xgraph: /home/staff/ns-allinone-2.35/xgraph-12.2
ns-allinone-2.35/dei80211mr-1.1.4/src/mac-timersmr.h
gt-itm:
/home/staff/ns-allinone-2.35/itm, edriver,
sgb2alt, sgb2ns, sgb2comns, sgb2hierns
ns-allinone-2.35/dei80211mr-1.1.4/src/PER.cc
ns-allinone-2.35/dei80211mr-1.1.4/src/papropagation.h
ns-allinone-2.35/dei80211mr1.1.4/src/per_table_80211b_intersil_HFA3861B.tcl
---------------------------------------------------------------------------------
(1) You MUST put /home/staff/ns-allinone-2.35/otcl- environment variables that need to be added to
1.14, /home/staff/ns-allinone-2.35/lib,
your profile. This can be done by editing the
and the
the file:
X libraries
#
LD_LIBRARY_PATH
OTCLLIB=/home/student/ns-allinone-2.35/otcl-1.14
into LD_LIBRARY_PATH.
NS2=/home/student/ns-allinone-2.35/lib
USR_LocalLIB=/usr/local/lib
If you are using csh, you can set it like:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
$OTCLLIB:$NS2:$USR_LocalLIB
setenv
LD_LIBRARY_PATH#
TCL_LIBRARY
TCLIB=/home/student/ns-allinone-2.35/tcl8.5.10/library
<paths>
USRLIB=/usr/lib
export
TCL_LIBRARY=$TCLIB:$USRLIB
If you are using sh, you can set it like:
#
PATH
XGRAPH=/home/student/ns-allinone-2.35/xgraphexport
12.2/:/home/student/ns-allinoneLD_LIBRARY_PATH=<paths>
2.35/bin:/home/student/ns-allinone2.35/tcl8.5.10/unix:/home/student/ns-allinone2.35/tk8.5.10/unix
NS=/home/student/ns-allinone-2.35/ns-2.35/
(2) You MUST put /home/staff/ns-allinone-NAM=/home/student/ns-allinone-2.35/nam-1.15/
2.35/tcl8.5.10/library into your TCL_LIBRARYexport PATH=$PATH:$XGRAPH:$NS:$NAM
environmental
OUTPUT:
root@IT-1:/home/staff/ns-allinone-2.35# nano ~/.bashrc
root@IT-1:/home/staff/ns-allinone-2.35# cd ns-2.35
root@IT-1:/home/staff/ns-allinone-2.35/ns-2.35#
root@IT-1:/home/staff/ns-allinone-2.35/ns-2.35#
./validate
ln -s /home/student/ns-allinpne-2.35/ns-2.35/ns /usr/bin/ns
OUTPUT:
root@IT-1:/home/staff# ln -s /home/student/ns-allinpne2.35/ns-2.35/ns /usr/bin/ns
stats1aBytes root@IT-1:/home/staff#