hi,
i need source code for clustering and source prefix aggregation in wireless sensor network using tcl in ns2.please help me.
$ source bash: source: filename argument required source: usage: source filename [arguments]
$ cat source #!/bin/bash echo "Hello World"
couldn't read file "/mit/uAMPS/uamps.tcl": no such file or directory while executing "source.orig /mit/uAMPS/uamps.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig[list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig[list $fileName] ..." (procedure "source" line 8) invoked from within "source /mit/uAMPS/uamps.tcl" (file "tcl/mobility/leach.tcl" line 18) invoked from within "source.orig tcl/mobility/leach.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig[list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig[list $fileName] ..." (procedure "source" line 8) invoked from within "source tcl/mobility/$opt(rp).tcl" (file "tcl/ex/wireless.tcl" line 187)
[root@racnode1 ~]# iptables -L -v Chain INPUT (policy ACCEPT 77072 packets, 7890K bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 70306 packets, 129M bytes) pkts bytes target prot opt in out source destination [root@racnode1 ~]#
[root@racnode1 ~]# iptables -A INPUT -s 192.168.0.0/24 -j ACCEPT [root@racnode1 ~]# iptables -L -v Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 178 9055 ACCEPT all -- any any 192.168.0.0/24 anywhere Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 186 packets, 316K bytes) pkts bytes target prot opt in out source destination [root@racnode1 ~]#
[root@racnode1 ~]# iptables --policy INPUT DROP
1 -Change location to the top-level directory of the source distribution.
/
# cd / root@- /# tar xzvf /home/normal/Downloads/mysql-connector-c-6.1.6-src.tar.gz root@- /# cd /mysql-connector-c-6.1.6-src/ root@- /mysql-connector-c-6.1.6-src# cmake -G "Unix Makefiles" root@- /mysql-connector-c-6.1.6-src# make root@- /mysql-connector-c-6.1.6-src# make install
ln -s /usr/local/mysql-5.6.25/include /usr/include
# gcc ctemp.c In file included from ctemp.c:2:0: /usr/include/mysql.h:57:27: fatal error: mysql_version.h: No such file or directory #include "mysql_version.h" ^