NS2 + Wimax, Erro Ao Executa O Script.

Hello, good guys am new to linux and also the issue of NS2, I need to run by the NS2 + WiMAX + LTE, the more I'm in trouble, I did this step by step http://gotoanswer.stanford.edu/?q=in...imax+in+ns2.35, installed straight over at the time I enter / ns2-35 / tcl / wimax and run a script with the $ ns wimax-script.tcl command it returns an error as shown in the image below, if anyone can help me I would be very grateful, hugs.

@obs.:I am using windows to make the simulation more the same error is repeated in linux.

https://dl-web.dropbox.com/get/Captu...K-UC2uSPQn_xtA


Similar Content



Waf Command In Ns3

I need to run the script qos-test of wimax with the "./waf --run qos-test" command but an error says that ./waf doesn not exist. waf do exist at the high level on ns3 but soesnot exist at "ns-allinone-3.21/ns-3.21/src/wimax/test"
what should I do?

Erreur When Install Ns2.34

Hi , i desinstall ns2.34 and i want to reinstall again so i was follow your step
$ tar xvf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34/
$ patch -p0 < lwx+LTE+dccp+MPTCP.patch
$ export CC=gcc41 CXX=g++41 && ./install

and with this patch i add another patch for wimax "wimax-awg26_ns235.patch"

but when i install ns2.34 this erreur was showen
common/packet.h: In static member function ‘static void p_info::initName()’:
common/packet.h:402: error: ‘PT_WIMAXBS’ was not declared in this scope
make: *** [common/scheduler.o] Error 1
Ns make failed!

can you tell me where is the problem ???

NS2 Nam And Trace Files Are Always Empty

Hi everybody,
I need help!
I wrote a script in which, a mobile node across the umts, the WIMAX and the WIFI coverage to test the vertical handover .
But the out.nam file and the trace one are always empty, the script is correct there is no errors !!!!
please help

Ns2 And Matlab Integration

Hi everyone
I try to implement a WiMAX network with smart antennas, the design need co-simulation to be implemented. Does the integration between ns2 and matlab helpful? or only useful for NCS?

Best Way To Run Two Interdependent Scripts

Hi All,

I have two scripts, the aim of these two scripts is, to check whether a particular script is running or not, if it wont runs, then throw a mail.

How i Achieved this output is, I wrote first script.

I created an infinite while loop which performs below steps

1. It creates a touch file
2. Triggers the script which needs to be monitored if its working or not.
3. Removes the touch file.

If the second step fails, then the remove file command will not happen and the script will stuck there itself.

I created an another script which checks the creation time of the touch file and if it is more than ten minutes, it means the second step in the first script is hanged, which also means that particular script is not working.

So if the creation time is more than 2 minutes the second script will throw a mail.

Below are the two scripts.

Code:
#!/bin/ksh



userid="chansd"

filename="/apps/log/check.txt"

while true ;do
touch $filename
pass=`/apps/eDMZ/call_st.ksh $userid`
sleep 20
rm $filename
done

Below script checks the file creation time and throws email if it is older than 2 minutes
Code:
#!/bin/ksh


filename="/apps/log/check.txt"

if [ -f "${filename}" ]
then
if test "`find $filename -mmin +2`"
then
echo "script is not working ! Please act on it" | mail -s "Script  is not working" Example@mail.com
fi


else

        exit 1

fi


What im going to do is

1. I am going to run the first script in background so it runs forever.
2. I am going to run the second script in cron forevry 5 mins to check the file creation time.

3. So if the first script hangs . I will kill the process using process id and after the issue resolves with the inner script, I will run the main script again.

I am new to Linux, Please let me know if this approach will work as expected.

Trying To Install SVN

Hello all,
I'm having real trouble trying to get SVN 1.8.9 installed on a linux box which is now my responsibility to look after, I think it is centos or scientific linux.
EDIT: it is Scientific Linux release 6.4 (Carbon)

What I've done so far: SVN 1.6 was installed and working fine. I installed smartsvn so that I had a 'nice' GUI to look at the repos on the machine. Smartsvn then upgraded my repos. The svn client on the command line does not work with the upgraded repos. I tried yum install svn but the latest svn is already installed (1.6). I then installed 1.7 from source and still that version was too old. I then installed 1.8.9 from source - yey this worked locally fine. There are cron jobs that run and use the svn client to push to an svn server The SVN I installed from source does not commit properly and gives this error:
svn: E170000: Unrecognized URL scheme for 'http://.....' I googled around and found I need to install svn with configure --with-serf option. This fails as the SVN install needs serf 1.2.1 or newer. So I install serf 1.3.something from an rpm. That installs fine and I retry the configure step but it fails giving the same error. rpm -ql serf returns: /usr/lib/libserf-1.so
/usr/lib/libserf-1.so.1
/usr/lib/libserf-1.so.1.3.0
So I think 1.3 is installed...?
Does anyone know how to make the configure step of svn know where serf is? --with-serf=/usr/lib/ did not work at all for me.

Thanks for any help and I'm happy to post more information.

Cheers

Handover Vertical

Hello , guys can reap the handover of data between wifi and wimax ? and identify the impact that occur at the time the handover ?

Problem With Running Bash Script

Hi

I have just started to use Linux on my Raspberry Pi to host a home automation server & I'm having a problem when trying to run a bash script.

The script in question is to turn off my Viera TV & is as follows
Code:
#!/bin/sh
curl -i \
-H "Accept: text/xml" \
-H "Cache-Control: no-cache" \
-H "Pragma: no-cache" \
-H 'SOAPACTION: "urn:panasonic-com:service:p00NetworkControl:1#X_SendKey"' \
-H "Content-Length: 200" \
-H 'Content-Type: text/xml;charset="utf-8"' \
-X POST --data '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> \
<s:Body> \
<u:X_SendKey xmlns:u="urn:panasonic-com:service:p00NetworkControl:1"> \
<X_KeyEvent>NRC_POWER-ONOFF</X_KeyEvent> \
</u:X_SendKey> \
</s:Body> \
</s:Envelope>' http://192.168.1.87:55000/nrc/control_0/

If I run this from the command line it works fine but when I try to run it from within the Home Automation application it returns error code 32512 which I've seen elsewhere is actually exit status 127 & basically down to not being able to find the program to execute.

Permissions are fine & I've tried using the full path name for both curl and the script itself but I still get the error. Has anyone any idea what I need to change as this looks to be a pure Linux (or rather my misunderstanding of Linux) issue rather than the home automation program

Thanks

Steve

Need Help To Get The Available Hosts Among Many Hosts

I have many hosts as following. But those hosts are dual operating system (Linux and Windows). I always run program background. If someone is using Linux, it is fine. But if someone is using windows or the host is offline. Then, I cannot use ssh. The way I do preiviously is first ssh one by one. And then find the hosts which are offline or windows. And write them down one by one. And then ssh to hosts except them. Let us assume the number of programs is less than the total available hosts. Can someone write a shell script to output the all available hosts to a file like "host_available"?
Here is the host file.
https://www.dropbox.com/s/vbz6w864y3...tlist.txt?dl=0
I am using ssh to connect the computers on campus. If the computer I am trying to connect is offline or using windows, the ssh will take long time, and finally it will failed. I write a shell script to generate the hostlist
Code:
#!/bin/bash
for i in `seq -w 1 28`
do
echo "c15-0330-$i.ad.mtu.edu"
# I would like to add a command here to see whether ssh c15-0330-$i.ad.mtu.edu it succeeds or not. And then output a #file which contains the all available host.
done
for i in `seq -w 1 20`
do
echo "c28-0112-$i.ad.mtu.edu"
done
for i in `seq -w 1 20`
do
echo "c28-112a-$i.ad.mtu.edu"
done

I do not how to set a certain time to see whether connection is successful or not (see the comment in the shell script).

Python FTP Send Command

hello Experts!
need some help here with python FTP. so what i'm trying to do is, from a linux machine, ill be sending over a python script to a windows machine via python ftp. that works fine with no problem. now, i want to execute that python script i sent remotely. im having trouble with that. here's my code to just execute the script:

p.s : please dont suggest other options such as python paramiko due to many network security reasons

Code:
ftp = ftplib.FTP("windows machine name")
ftp.login("username", "password")
ftp.cwd("where\\python\\script\\is kept\\")

ftp.sendcmd("python myscript.py")

but looks like it doesn't recognize that command. how do i accomplish this please?