Networking :: Finding A Network Simulator Code In C++ And Perl Not Using Tcl Or Otcl?
Apr 19, 2011
I need to refer a sample code to develop a network simulator using c++/system c as back end and perl scripting asd front end.CAn anyone please refer to me any websites were this kind code is given.I do not want to use this otcl script language so wothout this is any code available just for sample so i wii know were to start and develop my own code.
View 3 Replies
ADVERTISEMENT
Jun 22, 2010
I am an undergraduate student doing some work in Cambridge, MA on NS2. As my project/paper relates to simulating different types of applications like FTP, RTP, and SIP, as they relate to commercial products (VoIP, email, bittorrent, http) and congestion, I was wondering if anyone knows of any simulation models already available besides the example ones released by NS2 and the contributed code found at [URL]. Also, does anyone know of any tcl scripts that simulate specific applications (including the transport layer and Internet layer)? I am using Ubuntu 10.04 LTS and NS2 2.34
View 1 Replies
View Related
Nov 13, 2009
I want to get the hardware information in linux. As in windows we can have API to get the network adapter information and all. But in linux why dont we have? i try to read network adapter info in /proc/bus/devices file.. but that file is very hard to parse.and i looked at the lspci source c ode. but unfortunately I dint undersatnd that code to get the network adapter information.
View 1 Replies
View Related
May 24, 2011
finding a tcl code for cognitive wireless network scene
View 4 Replies
View Related
Dec 13, 2010
I want to use eclipse to compile and debug source code on ns-2 simulator.
1.how can i configure the parameter on eclipse.
2.how can i compile the source code *.cc
View 3 Replies
View Related
Jan 10, 2010
i have downloaded ex-linkage.cc and ex-linkage.tcl codes while browsing "ns by example" in google.i followed the steps involved as follows:add the object file in makefile then#make
#ns ex-linkage.tclthese steps i followed but got error as cannot create objects for the class connected
View 1 Replies
View Related
Jan 11, 2010
have downloaded ex-linkage.cc and ex-linkage.tcl codes from the linki followed the steps involved as follows:
add the object file in makefile then
#make
#ns ex-linkage.tcl
[code]...
View 3 Replies
View Related
Apr 7, 2011
I am totally new to Linux and have just installed ubuntu 10.10. After configuring the network interface via dhcp I started getting these messages that come in so frequently I can't configure anything else.
[87.186415] Stack:
Why I am getting this messages and more importantly how do I get rid of them.
The installation is on a VM on Hyper-V.
View 1 Replies
View Related
Aug 7, 2011
I run fedora15 64bits on dell xps l401x and i install GNS3 Graphical network simulator as like that [url]after i installed gns3 i can't run that.
View 1 Replies
View Related
Dec 27, 2010
I have to install GrooveNet which is a vehicular network simulaor. I have downloaded it from GrooveNet Vehicular Network Simulator :: University of Pennsylvania & Carnegie Mellon there is a set-uo guide but I have a problem. I have to open the project within KDevelop or go to the src directory and type "make". When I try to build the project the answer is this one: make: *** No rule to make target `/usr/lib/qt3/mkspecs/default/qmake.conf', needed by `Makefile'. Stop. what can I do?
View 7 Replies
View Related
Feb 23, 2011
i have a doubt about NS3, can use the actual network card of my computer in the simulator NS3, that is, if my network card can behave as programmed into the simulator.
View 2 Replies
View Related
Feb 16, 2011
I m d beginer in networking,
Can u please tell which version of linux i must install to get best configuration of NS2
View 3 Replies
View Related
Jun 3, 2010
I want to write some script to do a job which is post some data to the website every one hours .I find some information say the Perl can do this job .I know I can write by the vim.but is these any tools can help for coding .may be it will prompt the class .what tools you use ?
View 10 Replies
View Related
May 25, 2010
I just upgraded servers, and I'm now on 'perl v5.8.8 built for i386-linux-thread-multi' and a simple log script doesn't work. I got it changed to
Code:
#!/usr/bin/perl
use strict;
[code]....
View 4 Replies
View Related
Nov 29, 2010
when I execute the command from the shell command line - it works and no error code.if I do the exact same command from a perl file - it fails with code 32512.the file is created from the same perl script that runs the command that fails. file permission is 0664.
Code:
#! /usr/local/pkg/perl-5.8.8/bin/perl
print "Content-type: text/html
[code]...
View 3 Replies
View Related
Jun 30, 2010
I've installed it and it looks great. my problem is that I cant connect to the net since I could not find the driver for my onboard network adapter. it is a Gigabyte GA 945 GCM S2L board. of coarse I searched their site but it says that Linux driver I have to achieve from 3rd party. the adapter's chipset is a Realtek RTL 8111C but I could not find the driver for it. the only one that I've found - doesn't work. I must point out that when I've searched driver for my Nvidia display adapter- I've found it on Nvidia's site and it works great.
View 2 Replies
View Related
Dec 18, 2010
i want to know mac address of a particular ip but the problem is that i am unable to ping that ip but that ip is being used by someone in my local network that i know from my proxy logs. i want to know the mac address of that ip,
View 5 Replies
View Related
Jan 20, 2010
I've been requested to modify a perl backup script we use which mounts a networked NAS machine. The actual mount command is called inside a system() command. In testing, I can do a test of the return value, so I'm able to tell whether or not I've mounted properly, but I can't make heads or tails out of the return on deliberate errors. (Such as mounting a non-existent box.) I'm displaying the returned value, which is 256 in my tests. The man page for mount listed error messages with values from 1 to 64, but no higher. Am I drawing this error value from the system command somehow? And what would be the best way to determine what this error means?
View 6 Replies
View Related
Mar 21, 2011
I use chrony on my laptop thinking it would be better for it than ntp because I'm frequently connecting and disconnecting from wireless cafe access points and going in and out of suspend mode. But I've also noticed that if chrony is started before the access point is connected it never syncs to the time servers. I have to manually restart it via the service command after I connect. This doesn't seem right to me, if chrony fails to find a network at start time, doesn't it periodically try again ?
View 1 Replies
View Related
Apr 9, 2010
I need to learn how to analyze network traffic for attacks and while finding the attack seems easy in my case I need to identify what hes doing. I will be happy right now if you guys can answer my question. How to identify if an attack has brought the server down? I have packet captures of an attack in progress and I noticed that every now and then the attacker would do something weird and the server would start sending packets with just the RST packet sent in response. Normally I had been seeing the RST ACK flags set or the FIN ACK bits set to terminate a connection. So once again my question is how do I tell if the traffic indicates a server crash?
View 1 Replies
View Related
Apr 14, 2011
where can i find linux kernel source code?
View 4 Replies
View Related
Oct 9, 2010
I installled Ubuntu 10.4.1 on a brand new computer with a Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller on a Foxconn G41MXE motherboard. and I have been unable to connect to wireless network. I have gone through the wireless trouble shooting guide to no avail. When i "check for device recognition" i get the following (note the is no CLAIMED UNCLAIMED ENABLED OR DISABLED)
udo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
[code]...
View 7 Replies
View Related
Jun 29, 2010
is there a recursive shell or Perl script to delete files with the same name as the parent folder? i wish to include the starting folder name as argument to the script.
View 2 Replies
View Related
Jun 23, 2010
First of all, I am pretty new to linux and I have 2 install a USB OVer IP software. I downloaded the software for UBUNTU n I really do not know where to find the installer. I want to find the source code in the package too.. its an open source project. So I believe the source codes are included in that .
View 5 Replies
View Related
Jan 23, 2011
finding / mapping network shares on Win 7 guest in vmware. I am running 10.10 64 bit ubuntu and installed vmware workstation 7 (64 bit version). I created and installed win 7 (ultimate) vm. everything is good so far. The issue is I have a second desktop with ubuntu and I have shared 4 drives on that desktop. I want those shared available to the win 7 guest. And even after enabling the shared folders I do not see them.
Note: I have a shared folder on the same machine where I have vmware installed and win7 has assess to that drive.. its just that the shares on network are not available. Note2: i had virtualbox installed and it worked fine.
View 4 Replies
View Related
Jan 19, 2010
I have problem in installation for CNET simulator for wireless network cnet-3.1.4. I have fedora 8 . The problem is when I execute the make command step. I have already intalled tcl/tk 8.4 But still there is an error. The error I get is cd src && make
make[1]: Entering directory `/home/laxmi/cnet/cnet-3.1.4/src'
make[2]: Entering directory `/home/laxmi/cnet/cnet-3.1.4/src'
gcc -std=c99 -Wall -Werror -pedantic -O -fPIC -c applicationlayer.c
[code]....
I made a search for tcl.h files but they are not there.from where and how can I get this file.
View 1 Replies
View Related
Feb 19, 2011
I want to write Bourne-shell script that will be to do finding and replacement in any web page code (.htm file) name of the tied folder in which have been saved pictures, .css, .js and other files. This folder create a web browser when we save web page completely and has so name as web page and has ending '_files'. I have many web pages where name of their folder are incorrect. Of course, my web browser shows these web pages without pictures. I can count amount of web pages in a folder (/path) needed for me.
1) find /path -type f -name "*.htm*" -print | grep -c .htm or find /path -type f -name *.htm | wc -l I can get list of web pages.
2) ls /path *.htm > out-list But I don't know how to assign the value from out-list (2) or result commands from pipeline (1) to a variable. Then I want to do next:
3)
var="1"
# where variable 'list' is an amount of web pages
while [ $var -le $list ]
[code]....
4)assign the 1st (then 2nd , etc. ) value from out-list (2) to variable 'webfile'
sed -n $var,+0p out-spisok
5)find the 1st string value '_files' in the 'webfile' grep -m1 _files $webfile
6)For example, 'abracadabra_files' is an incorrect folder in the 'webfile' I must to know start and end position 'abracadabra' without ending '_files', "cut" name of the incorrect folder and assign it to the variable 'finder' finder = 'abracadabra' BTW, name of a folder before '_files' is between '="' and '_files' in any web page code.
7)foldernew = $webfile (without '.htm')' foldernew' is equal with name of the tied folder without ending '_files' in the folder '/path'
8)find and replace in the 'webfile' and save result in the 'webfile-out'sed s/$finder/$foldernew/g $webfile > $webfile-out
View 5 Replies
View Related
Aug 6, 2010
I was wondering if there is anyone who has some kind of a small script/code (preferably in C/C++) which reads a partition and just displays the type. For example, the script/code would be called partype and should be something like this: partype /dev/sda1, will read sda1 and display for example ext4, because sda1 was formated as ext4.
Note: I'm not a developer so I have no idea how this should be done, plus I would like the script/code to do it by itself the checking, without using fdisk/sfdisk/cfdisk/parted/gparted, because none of this apps work quite well when it comes to the partition type or file system type.
View 13 Replies
View Related
Apr 9, 2011
I'm trying to install NS2.27. I have to use this version, so I started the installation. There were some errors, I fixed them one by one. But there is an error that I can't pass it. I really tired of searching the Net for errors. The installation process stops here:
Code:
gcc-4.3 -o otclsh -g -O2 -I. -I/home/nabi/Desktop/ns-allinone-2.27/include -I/home/nabi/Desktop/ns-allinone-2.27/include -I/include otclAppInit.c
-L. -lotcl -L/home/nabi/Desktop/ns-allinone-2.27/lib -ltk8.4 -L/home/nabi/Desktop/ns-allinone-2.27/lib -ltcl8.4 -lXext -lX11 -lnsl -ldl -lm
/tmp/cc8MtFKZ.o: In function `Tcl_AppInit':
/home/nabi/Desktop/ns-allinone-2.27/otcl-1.8/otclAppInit.c:237: undefined reference to `Otcl_Init'
collect2: ld returned 1 exit status
make: *** [otclsh] Error 1
otcl-1.8 make failed! Exiting ...
View 4 Replies
View Related
Apr 8, 2009
I am trying to setup the wlan access for my Fedora 9 system. I installed ndiswrapper. But when I run
Code:
ndiswrapper -l
i am getting the error
Code:
/usr/bin/perl: symbol lookup error: /usr/bin/perl: undefined symbol: PL_use_safe_putenv
View 11 Replies
View Related