Error::Wrong Mapagent Error In Ns-233fhmip

Hi all,

I patched ns233fhmip.tar.gz in ns-2.33. patching was successful, but on executing
ns fhmip_simula.tcl i am getting following error

num of nodes set
PHP Code:
Wrong Map agent!!! 




Similar Content



Error IIN PATCHING OLSR (Ns2.35 Ubuntu 12.04)

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

Error:: "wrong # Args: Should Be "set VarName ?newValue?" " While Running TCL Script

I m learning Tcl and write short code. After running code i got same error repeatedly and not able to find mistake,,,i wrote it as it is from a tutorial. here is the code below

set ns [new Simulator]

set f1 [open out.nam w] #open nam file out.nam
$ns namtrace-all $f1

proc finish{} {
global ns f1
$ns flush-trace
#close $tracefile1
close $f1
exec nam out.nam &
exit 0
}


set n1 [$ns node] # 3 nodes defined
set n2 [$ns node]
set n3 [$ns node]

set duplex-link $n1 $n2 10mb 10ms Droptail
set duplex-link $n2 $n3 10mb 10ms DropTail
set duplex-link $n3 $n1 10mb 10ms DropTail

set udp1 [new Agent/UDP] #UDP agent attached to node n1
$ns attach-agent $n1 $udp1

set cbr1 [new Application/traffic/CBR]
$cbr1 set packetSize_ 500
$cbr1 set interval_ 0.005
$ns attach-agent cbr1 udp1

set null1 [new Aggent/Null]
$ns attach-agent $n2 $null1


$ns connect $udp1 $null1

$ns at 0.5 "$cbr0 start"
$ns at 4.5 "$cbr0 stop"


$ns at 12.0 "finish"

$ns run



ERROR:wrong # args: should be "set varName ?newValue?"
while executing
"set f1 [open out.nam w] #open nam file out.nam"
(file "11.tcl" line 19)

After Install Gpsr, Test The Perimeter Mode , It Has Throw "Wrong The Other Node"

hello there!
the common communication between nodes is fine, but when i want to test the perimeter mode it has throw the error "Wrong the other node", it seems that it couldn't find its next hop node.
i trace the code as show below
Code:
int
GPSRNeighbors::intersect(nsaddr_t theother, double sx, double sy,
			 double dx, double dy){
  //line 1 (x1,y1)--(x2,y2) is the segment
  //line 2 (x3,y3)--(x4,y4) is the xD 
  struct gpsr_neighbor *other = getnb(theother);

  if(other==NULL){
    printf("Wrong the other node\n");
    exit(1);
  }


  ****************

struct gpsr_neighbor*
GPSRNeighbors::getnb(nsaddr_t nid){
  struct gpsr_neighbor *temp = head_;
  while(temp){
    if(temp->id_ == nid){
      if((GPSR_CURRENT - temp->ts_) < DEFAULT_GPSR_TIMEOUT)
	return temp;
      else {
	delnb(temp); //if this entry expire, delete it and return NULL
	return NULL;
      }
      return temp;
    }
    temp = temp->next_;
  }
  return NULL;
}

the simulation scene was shown in the attachment.
when i make node 0 send packet to node 1, the error will occur.
would somebody know how to solve it?
thank you for your time!

Need Help With An Error Message For Ubuntu 13.10

Greetings All,

I'm NEW to Linux 13.10. I'm getting a error message on start up.
In the past, I would just press S to skip mounting. That is NOT
working any more.

Error Message : An error occurred while mounting/mnt/3F3C-1AF6.
Press S to skip mounting or M for manual recovery

Is there a command, that I can use to continue to boot or at
least find out what is wrong with my Ubuntu 13.10?
When I press S or M .... nothing happens.

Thanks in advance!

PEACE to ALL .... MJ

Eth0:no IPv6 Routers Present

When I try to open my filesystem I get the following error message:

Unable to mount 496GB filesystem error mounting:mount:wrong fs type, bad option,bad superblock on /dev/sdb2, missing codepage or helper program, or other error. In some cases useful info is found in syslog - try dmesg | tail or so. What does all this mean? Everything had worked so far until now. I'm using Debian V 7.8.0

Thanks for any help I can get

Gary

About Install Awstats

I follow the URL to install awstats , the installation process seems successful .

http://thelinuxfaq.com/90-how-to-ins...os-fedora-rhel

But when I try to run the report by
Code:
http://192.168.0.1/awstats/awstats.pl?config=mydomain.com ,

it pops the error.

Code:
Not Found

The requested URL /awstats/awstats.pl was not found on this server.

then I create /awstats/awstats.pl in DocumentRoot directory , now when I re-try to run the report , it display the program code of the awstats.pl but not show the report , would advise what is wrong ?

Can Not Use Phpmyadmin

I have installed phpmyadmin , when access http://192.1010.118.0/phpmyadmin ,it pops the error

Code:
Forbidden

You don't have permission to access /phpmyadmin on this server.

I check the phpmyadmin.conf , I have released "allow all" to all directory .

I also check the /var/log/httpd/error_log, it have the following error , I tried change all files permission to 777 but still not work , would advise what is wrong in my server ? thanks

Code:
[authz_co error] [pid 2525] [client 192.1010.118.0:51878] AH01630: client denied by server configuration: /usr/share/phpMyAdmin

Error While Executing Ns2

i had added my own red.cc to ns2.34 when i run the tcl script it runs correctly, but after adding my own varible to red.cc and red.h the tcl script showing segmentation fault
please help me to remove the error

Urgently Plz Reply Error In The Code

Helllo,
I defined the variable like this : set interval [lindex $argv 1].
When i execute my code, i got this error :



can't read "interval": no such variable
while executing
"$cbr_ set interval_ $interval"
(file "te.tcl" line 597)



How can i read this variable



Plz replyyy

How To Patch OSPF In Ns2.34

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