bikashsahoo1636 / adhocnetworking Goto Github PK
View Code? Open in Web Editor NEWThis project forked from spandankumarsahu/adhocnetworking
Ad-hoc network creation
This project forked from spandankumarsahu/adhocnetworking
Ad-hoc network creation
How to Run : 1. Place the codes in all the devices. ( Turning off proxy suggested) 2. Get into the root. ( Type sudo -i ) - Necessary because netwrok creation can only done in sudo mode. 3. Go into the directory of the code. 4. May have to grant permissions to all the files. So type, chmod +rwxrwxrwx * (This needs to be done once, before the script is run for the first time ever) 5. Type python Starter.py 6. This will get you all the devices connected. 7. Incase you want to run a server client model, we had designed one. In the Starter.py file, I have commented out two lines. Just uncomment them and run Starter.py again 8. Please read AddToStartup document. Note: 1. The server-client model was not tested well enough. It has some bugs: a) Untill all the clients are connected with the server, the server won't update any of the client's information. b) There is some algorithmic fault, that the information gets updated wrongly. 2. Other possible errors might include: a) I have assumed this to be run on devices running Ubuntu 14.04. Network Manager has to be installed. b) python interpreter must be present c) This is only if you run the client-server model: Though by default ( in Ubuntu 14.04 ) the first IP is automatically assigned 10.42.0.1, if the starting system has different IP, then open client.cpp and change 10.42.0.1 to the IP. and do the same in call_client.sh and server.cpp To view IP of your current connection, type ifconfig. d) In the rarest of the rarest case, you might be already using the same socket. In that case, simply change 17000 to any number between 10000 and 50000 in both call_client.sh and call_server.sh e) Another assumption that all devices have wifi interface as wlan0. By default, it should be wlan0 and all devices presumably have this one. If you have multiple wifi devices and change it to something else, you may need to go through codes. For further help: mail to : [email protected]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.