My Ubuntu version is 12.04 i686 and my OS is LINUX.
I have the mobiwan that suit for NS-2.31 in Ubuntu 12.04. I have finish install and run out the result completely. The patch file for NS-2.31 mobiwan is mobiwan-1__ns231.patch that provide by Sir Knudfl.
But in mobiwan , it just contain the simple-mipv6.tcl , i want to get the HMIPv6 , FMIPv6 and FHMIPv6 tcl file that can run in mobiwan for NS-2.31.
Anyone can provide me those tcl file that suit for NS-2.31 mobiwan ?
I will be really please if you can help me in this problem. Your reply will be really appreciated.
Thank you very much in advance.
I found that the mobiwan patch file only for ns-2.33.
If I want to run the mobiwan in NS-2.31 , anyone can provide the mobiwan patch file that can run in NS-2.31 ? In the same time , can provide me the method to install it in NS-2.31 ?
I will be really please if you can help me in this problem. Your reply will be really appreciated.
Thank you very much in advance.
I am workin on OLSR in ns 2.35 ubuntu 14.10.
I perform all steps and install ns 2.35 and patch um-olsr-ns-2.35_v1.0.patch file after that olsr example run succesfully but problem is every example not run succesfully they showing me fatal error or any line error.
so can u tell me how to solve it
os : ubuntu 14.10 i686.
Hi everyone (i hope this is the right section)
Im trying to install the RT patch preempt_rt 3.18.9 im running Ubuntu 14.04 with kernel v 3.16
i installed the rt patch "patch-3.18.9-rt5.patch" and also a new kernel "3.18.9" i patched the patch file with
patch -p1 < patch-3.18.9.patch
but there is somthing i don't know about linking folders of old kernel and new kernel, i searched about it and found
rm -rf linux && ln -s /usr/src/linux-3.18.9 linux && cd /usr/src/linux
then
make oldconfig
then
make menuconfig
i selected Full preemptive kernel then
make
then this error
cc1: some warnings being treated as errors make[2]: * [kernel/locking/locktorture.o] Error 1 make[1]: * [kernel/locking] Error 2 make: *** [kernel] Error 2
So..... Any help?? can someone walk me through this
or any other real time patch, Thanx.. plzzzzzz
Hello,
I'm new user of ns-2.I've installed the ns-2.29 and nist-ns-2.29.mob
when i tried to install the patch pmip6-for-ns-2.29-nist.patch.
I had this errors
patching file p1
Hunk #1 FAILED at 124.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 304.
Hunk #2 FAILED at 444.
Hunk #3 FAILED at 514.
Hunk #4 FAILED at 639.
Hunk #5 FAILED at 2746.
Hunk #6 FAILED at 3251.
Hunk #7 FAILED at 3284.
Hunk #8 FAILED at 3848.
8 out of 8 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 922.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
The next patch would create the file p1,
which already exists! Assume -R? [n] y
patching file p1
Hunk #1 FAILED at 1.
File p1 is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
The next patch would create the file p1,
which already exists! Assume -R? [n] y
patching file p1
Hunk #1 FAILED at 1.
File p1 is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
The next patch would create the file p1,
which already exists! Assume -R? [n] y
patching file p1
Hunk #1 FAILED at 1.
File p1 is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 77.
Hunk #2 FAILED at 365.
Hunk #3 FAILED at 542.
3 out of 3 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 228.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 177.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 201.
Hunk #2 FAILED at 324.
2 out of 2 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 38.
Hunk #2 FAILED at 52.
Hunk #3 FAILED at 86.
Hunk #4 FAILED at 852.
Hunk #5 FAILED at 968.
5 out of 5 hunks FAILED -- saving rejects to file p1.rej
patching file p1
Hunk #1 FAILED at 316.
1 out of 1 hunk FAILED -- saving rejects to file p1.rej
Could anyone help me???
Hi mates,
I am trying to patch ospf in ns-2.34 i have downloaded the patch file from link:
http://sourceforge.net/projects/ospf...s/ospf4ns2.34/
$ cd ns-allinone-2.34/
$ patch -p0 < 20-ospf4ns2.34-examples.patch
Using : $ cd ns-2.34/
# make install
$ cd tcl/ex/ospf/
$ mkdir out_ospf0 out_ospf1 out_ospf2 out_ospf3 out_ospf4 out_ospf5 out_ospf6 out_ospf7 out_ospf8 out_ospf9
$ ns ospf0.tcl
i followed the procedure from below LQ link post no #3
http://www.linuxquestions.org/questi...-a-4175492253/
it is successfully patchinf file but it is showing error when i execute ospf0.tcl file
Quote:
(TCL) Creating simulator & trace files...
(TCL) Setting up nodes and links...
(TCL) Configuring traffic objects...
(TCL) Configuring routing protocol...
invalid command name "Agent/rtProto/OSPF"
while executing
"Agent/rtProto/OSPF set helloInterval 1"
(file "ospf0.tcl" line 132)
pls anyone suggest me ideas to get rid of this err.
Thanks in Advance,
Pon
Hi Everyone
i m working on ns2.35 ubuntu 12.04
when i follow these steps for olsr patching
all commands ran without error
cd ns-allinone-2.35/ns-2.35/
tar zxvf um-olsr-1.0.tgz
ln -s ./um-olsr-1.0 ./um-olsr
patch -p1 < um-olsr/um-olsr_ns-2.35_v1.0.patch
but while running the olsr.tcl
it again shows the same error
invalid command name "Agent/OLSR"
while executing
"Agent/OLSR set use_mac_ true"
(file "olsr.tcl" line 38)
please help me , thnx in advance
hello
i installed sumo-0.9.8 and ns-2.35 in fedora 15. i want to use TraNS.
i know that TraNS no need to install. but it needs to be configured for using ns-2.
when i use the command patch -p0 < traci.patch
the error is appeared
Quote:
[root@Fedora-15 ns-allinone-2.35]# patch -p0 < traci.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** Makefile.in.2.29 2005-10-20 06:45:22.000000000 +0200
|--- Makefile.in 2007-09-11 13:46:57.000000000 +0200
--------------------------
File to patch: traci.patch
patching file traci.patch
Hunk #1 FAILED at 85.
Hunk #2 succeeded at 90 with fuzz 2 (offset -1 lines).
Hunk #3 succeeded at 152 with fuzz 2 (offset -2 lines).
Hunk #4 succeeded at 318 with fuzz 2 (offset -3 lines).
Hunk #5 FAILED at 345.
2 out of 5 hunks FAILED -- saving rejects to file traci.patch.rej
can't find file to patch at input line 74
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** common/mobilenode.h.2.31 2007-09-20 13:13:18.000000000 +0200
|--- common/mobilenode.h 2007-09-20 13:13:59.000000000 +0200
--------------------------
and when i use the command patch traci.patch
it needs too time to patch .(the traci.patch is 3kB).
what's the matter?
thanks
Hi,
Could anyone please explain as understandable as possible how could I on my Windows 8 open either single file or install (and use) entire software which is supposted to work on Linux and/or Ubuntu? I have absolutelly NO experience with Linux and have never used it. Honestly, I don't know if there is any difference between Linux and Ubuntu. I want to be inside my Windows 8 while using Linux files/sofware. The only solution I could think of are actually two but neither of them is useful for me:
1. Vmware (i don't know how to use it)
2. Rent remote computer (vps/rdp) with linux OS installed (this would let me be in Windows 8 while being able to use Linux file/software [on remote computer] but sooner or later I would want to have Windows installed there too)
Tried program Linux Reader but didn't work on my Windows 8. Although I would need solution for installation/usage of software (that can be used only on linux/ubuntu), regardless of details***, the current problem is basically related to single files only: I have two files, both in IMG extension. Don't know how to open them because Deamon Tools doesn't handle IMG. The problem is that filesystem in one of them is "Linux" and filesystem in another is "142". The error I am getting when I try to open them is:
"File with harddrive/disc snapshot is corrupted."
But this is most likely because they are supposted to be used in linux environment, hence such question.
*** when i said "details" I was referring to basically anything: type of software, size, purpose, whether or not it needs network connection, whether or not it contains logging in (username password, etc) requirement, etc.
The following solution for current situation (quoted error above) works only partially:
http://www.sysprobs.com/simple-tip-h...thout-software
I am able to open/run/mount IMG if I do what is described on this link (im basically opening iso in this case - see the website) but when opening the virtual drive, the following error message proves that the file can be used in linux/ubuntu only:
"Windows cannot access that drive. Drive could be corrupted. Make sure the drive is in condition that can be recognized by Windows. If drive isn't formatted then format it before usage."
Would need detailed instructions, for total beginner, who has never used linux/ubuntu, what to do in such case: how to use in win8 files/software that are supposted to be used in linux/ubuntu. Also answer on how to open IMG would be highly appreciated.
Kindest regards and thank you a million in advance.
Hello every one
please I need your help to fix my problem to install ns2.33allinone on the ubuntu 10.10 in order to run ZRP protocol for security purpose.
before this time I install every thing correctly as follow
The steps I follow to run the ZRP on the Ubuntu 10.10 and Ns2-allinone-2.33
------------------------------------------------------------------
1. first install the Ubuntu 10.10 on VMwear and download the ns2.33 and exract it in the home directory
2.Ubuntu 10.10 - 32´ is old. you have to replace the text in /etc/apt/sources.list , to be able to install packages.
So you write
$ gedit /etc/apt/sources.list
After the file open remove all the text and past the following text instead it.
#
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
#
Then save the file and close.
3.Write the following command to update the system
$ sudo apt-get update
4.download the two files from the following link and save it in the home directory
gcc41-compat , `gcc41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
g++41-compat , `g++41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
5.write the following command to install
$ sudo dpkg -i g++41-compat-4.1.2_i386.deb gcc41-compat-4.1.2_i386.deb
6.write the following command to update the packages
$sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool make automake autoconf g++
7. Download the ZRP from the following link and put it in the ns-allinone-2.33 directory
The latest "patch package" is zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing
8. After that you should follow the next steps
$ cd ns-allinone-2.33/
$ tar xvf zrp-ns233-patching.tar.gz
$ export CC=gcc41 CXX=g++41
$ ./install
$ cd ns-2.33/
$ sudo make install
9. Then you can download the example of the ZRP from the following link and run
ZRP examples : zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing
but now when i try to install it again i got this error
after i run "./install" command
#
============================================================
* Build tcl8.4.18
============================================================
configu WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configu error: in `/home/ali/ns-allinone-2.33/tcl8.4.18/unix':
configu error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
#
so please if any one can help me to fix this problem or give me any advice how to run ZRP protocol and the appropriate environment to run it
thanks in advance for your help
Hello--
I'm trying to locate a file or a command line in a file on my hard drive. I am running Ubuntu 12.05.4 linux. Is there a grep command that will search the whole tree from root down to all the sub-directories?
Thank You.