Want To Implement Ting Protocol Similar To Ping Protocol

Hello!
I want to implement a new protocol Ting which is exactly similar to Ping but for learning purpose I have changed its name and its classes for ping to ting.
Even I am able to make but while validation it is giving Agent/Ting command doesn't exist.

Kindly help me!
I am trying to implement since 4 days but couldn't succeed.


Similar Content



How Implement Blackhole Attack

hello
As part of my research paper,I want to implement blackhole attack in manet using AODV protocol in NS2.Also I want to make changes in AODV protocol to implement my solution to detect blackhole attack and prevent it. How can I configure the attacker node? Which files should be changed to improve AODV protocol? and how run aodv protocol?

How To Implement A LEACH Protocol Using Ns-2.30?

Hi.. I want to implement a LEACH protocol in ns-2.30 (ubuntu 10.04 version) for my project. Can anyone help me out..

Construction Of Packet In NS2

I am implementing a new protocol in NS2.
I stucked at a point. kindly help me.
Is it possible to make two different type of packets(containing different headers) in the same simulation
In my protocol there are two types of struct header { } . At few instances i want to use one and at other instances want to use another.One of the structure has very less fields compared to other so this would reduce the size of packet i'm sending.
Is it possible ? and if yes then how to implement that?

Watchdog & Pathrater Implementation In AODV Protocol In Ns2.35

Hi,

i wana implement the watchdog & pathrater on AODV protocol in MANETS for misbehaving nodes on NS2.35. I wana show its performance analysis via xgraph. I have added a malicious node on AODV protocol after that i couldnt figure out how can i implement watchdog and pathrater and show analysis via xgraph. I have chcked the similar threads here but it was for ns 2.34 but still i tried it and m getting errors. I downloaded the watchdog zip files and followed the instructions of text file of it. One more thing, is it necessary to set all nodes for promiscuous mode??I also need code for that. I put the watchdog-basic.zip folder in AODV folder which was inside of ns-2.35 but what should be the tcl script for watch dog i have aodv tcl file in which malicious node is added too. I am new to ns2 and linux. Please help anyone i urgently need answers.

Need A Patch For MAODV Plz..

Hi,

I am working on project in ns2.33 where I should implement multicast in hwmp protocol.As I am going to work on on-demand routing concept alone in WMN, I found MAODV routing protocol where they have already implemented the multicast concept.I have tried to download the patch. But, it doesnt work. Do anyone have the patch of MAODV which is a correct one? If so,Please send me!

Thanks for your help inadvance!

Difference Between These Function Calls In A Routing Protocol In Ns2

Could you please tell me the difference between agent->function name() vs this->function name ().
Actually i am taking about LAR.cc file (LAR routing protocol) but these function calls can be part of any routing protocol.

As you can see below , they are calling the same function with this and agent in LAR.cc . What is the difference between when we are calling a function with "agent" or calling with "this"

>
> void LARRouteRequestTimer::expire(Event *e)
> {
> ......
> .....
> agent->sendRouteRequest(this->dest, forwardMethod, this->routeInfo, false); //ringZero=false
> .....
> ...
> }
>
>
> void LARAgent::routeRequest(Packet *p)
> {
> .....
> ....
> ...
> this->sendRouteRequest(dest, larhdr->forwardCode(), &(destPtr->second), useRingZeroSearch);
> .....
> .....
> }

I have to do some changes in this file . kindly give some information on this issue .

Simple Ping Bash Script

Hello, I am trying to implement this script, but for some reason, it limits to pinging 192.1681.1 and then 192.168.1.2 infinitely.
Any idea what is wrong with it? Thanks!

Quote:
PREFIX=192.168.1
OCTET=1
while [ "$OCTET" -lt "255" ]; do
echo -en "Pinging ${PREFIX}.${OCTET}..."
ping -c1 -w1 ${PREFIX}.${OCTET}
if [ "$?" -eq "0" ]; then
echo "OK"
else
echo "Failed"
let OCTET=$OCTET+1
fi
done

Linux Not Accepting Udp And Tcp Ethernet Packets

I am trying to build a socket to retrieve the ethernet packets from ecu. When i run my code on windows there is no problem and the code runs correctly. But when i run my code on Linux it gets stuck at s.recv(65565). I have already set static ip in /etc/network/interfaces as follows: iface eth0 inet static address 160.48.199.91 netmask 255.255.255.0 gateway 160.48.199.254

I tried a simple code of socket on raspberry pi. but it still gets stuck at s.recv(65565). I also tried to implement the program using multicast. but the problem is that when i create a socket for icmp protocols then I could see the data from the ECU after using command "ping -I echo 239.192.255.251" in another terminal. (where 239.192.255.251 is the multicast address) But when I change the socket protocol type to udp, tcp or raw then it again gets stuck at s.recv().

Imp: When i run the "netstat -s" command in terminal then i could see that there are 0 messages received for udp and tcp. But in Wireshark i could see the udp messages from ECU. Is linux killing all the udp and tcp packets ? How should i solve this ?
(complete setup is connected as: ECU ---> Media converter ---> Raspberry Pi. There is no LAN, no firewall, no internet)

Could anyone please help me with this problem ?

Is It Not Possible Run Lte On Ns 2.35

I want to run LTE files on ns 2.35.i tried a lot to patch lte on ns 2.35,2.33 and 2.34


now i m fed up.is there any solution to implement lte on ns 2.35

or any other suggestion to implement lte.......please help.

i m using ubuntu 14.04.please dont say to change the version as i already lost my complete data during installation of ubuntu.

Couldn't Ping Or Ssh Linux Virtual Machine

Hi guys when i try to "ssh or ping" on linux virtual machine using windows putty it's showing this attached image error. Thanks advance.