dlinknctu / OpenNet

A Simulator for Software-Defined Wireless Local Area Network
GNU General Public License v2.0
72 stars 44 forks source link

OpenNet Installation error need help new to OpenNet #123

Open memran2 opened 6 years ago

memran2 commented 6 years ago

I installed OpenNet on Ubuntu 14.04 using Oracle Virtual box on mac laptop by creating a Ubuntu virtual machine. Every thing worked smoothly at the end I got one error regarding the installation of NS-3. The error I have pasted below:

TASK [ns3 : Set NS3] ***** ok: [master]

TASK [ns3 : Download NS3] **** fatal: [master]: FAILED! => {"changed": false, "failed": true, "msg": "failed to create temporary content file: The read operation timed out"}

NO MORE HOSTS LEFT *** to retry, use: --limit @/root/OpenNet/ansible/playbook.retry

PLAY RECAP *** master : ok=51 changed=36 unreachable=0 failed=1

It seems to me that ns-3 is not installed can anyone please guide me what should be the solution for this error.

Complete installation log file I can attach also if some one wants to look on installation log. Regards, Emran

daviddvs commented 6 years ago

Hello Emran, Download NS3 task does something similar to a wget command and places a tar file in your home directory. The command is executed from ansible/roles/ns3/tasks/main.yml and you can find more information about it here.

Common problems are:

Do not forget to install and run OpenNet as root user!

memran2 commented 6 years ago

Hello Daviddvs, Many thanks for your help and support I have successfully installed the OpenNet. Can you please suggest some good tutorial or video to learn OpenNet as from Internet I am not getting related material. Sincere Regards, Emran

daviddvs commented 6 years ago

Hi Emran, Apart from the doc/TUTORIAL I can't recommend you any other material. I suggest that you to read the documentation about mininet and ns3 frameworks, as OpenNet is based on both of them. You may also take a look at the OpenNet examples (mininet/mininet/examples/opennet) about WIFI and LTE. David

memran2 commented 5 years ago

many thanks I followed your guidance and got a lot from these tutorials.