dhondta / rpl-attacks

RPL attacks framework for simulating WSN with a malicious mote based on Contiki
GNU General Public License v3.0
74 stars 45 forks source link

Installation question #40

Closed whiteysy closed 5 years ago

whiteysy commented 5 years ago

Hi, After installing vagrant and virtualbox, which box should i select from the web " http://www.vagrantbox.es/" to add the vagrant box? Look forward to your reply.

dhondta commented 5 years ago

Hi, The box is hosted at the following location: https://app.vagrantup.com/dhondta/boxes/rpl-attacks/versions/1.0.0 Note that it is not listed on vagrantbox.es (yet). The process of running the Vagrant box is explained on the README ; once you have cloned the repository, you can vagrant login then vagrant up. This implies you have an account on Vagrant Cloud. Please tell me if you still have problems to run the box.

whiteysy commented 5 years ago

OK! Thanks for your reply!

whiteysy commented 5 years ago

Hi, I have installed the box successfully and enter the machine by ssh. But I can not find lines staring with "config.proxy" in the Vagrantfile after running the command "vagrant plugin install vagrant-proxyconf". And I want to know how to use the rpl-attacks simulator? What relationship do they have between simulator and the box machine? Look forward to your reply! 2018-12-10 18-55-39

holyrocklee commented 5 years ago

Hello ,dhondta : I have some questions about installation. My environment is VMwareworkstation+contiki3.0. Then I want to simulate blackhoel attacks in RPL. How to reailze the model in your repository? According to the README.md, I tried to install it in my contiki3.0 but failed at last. I don't know if my system still does not meet the requirements. It must be noted that I can implement RPL topologies。 I'm looking forward to your reply!

dhondta commented 5 years ago

Hi @whiteysy

The Vagrantfile template mentions the related lines in comment. You can just use and tune these to the proxy of your environment in your Vagrantfile. The RPL Attacks Framework box is an Ubuntu 18.04 Desktop, ready to use. You can just start it and start playing with the framework with the shortcuts defined on the desktop.

I hope this answers your questions.

dhondta commented 5 years ago

Hi @holyrocklee

Could you please provide more details about the failure for your installation ? Could you also provide some details about your settings (distribution, Java version, ...) ? Do you use InstantContiki or do you try to install everything manually ? If so, I would advise you to use the Vagrant box, it will be really easier. Please note that, if you're trying to use Java >8, it will fail as the current version of Cooja is only supported by Java 8.

For the blackhole attack, it is already implemented in rpl-attacks.json, except that the drop-messages building-block is not ready yet. You can deploy this case by using the demo command (note that it can take a while to make every experiment run, so please be patient).

What do you mean when you tell that you can implement RPL topologies ? Would you mind adding new WSN topologies for complementing the current ones ?

whiteysy commented 5 years ago

Thanks for your reply and I will try it now.

SUNvega commented 5 years ago

excuse me,My system version is contiki-3.0. After I opened it, there were only 2GB of memory left. How should I install the 3.66GB virtualbox in the cloud you provided .Can contiki only use 10GB?

SUNvega commented 5 years ago

image Excuse me, how can I solve this problem

saideepd commented 5 years ago

image Excuse me, how can I solve this problem

Try these steps for installation: Vagrant Install & Setup

saideepd commented 5 years ago

excuse me,My system version is contiki-3.0. After I opened it, there were only 2GB of memory left. How should I install the 3.66GB virtualbox in the cloud you provided .Can contiki only use 10GB?

If possible, expand the Storage space of your Virtual Machine, else try any other Linux Distro. Also this Link can be helpful to make some space.