2

I want to have data communication between two Ubuntu computers using wireless without the need of internet. I want them to transmit and receive wirelessly but I want to build my own communication process. Is there any tool/lib that allows me to control the wireless card? I want to have data communication, but I would like to define how and what data is transmuted between the two computers.

For now I would be glad with simple answers to:

  1. How to connect two Ubuntu computers wirelessly without using the Internet
  2. How to control data sent through a wireless card

I want to use python or java, but any answer will help.

Fabby
  • 34,259
lapisdecor
  • 1,627

1 Answers1

3
  1. Set up one of the computers as an AP WiFi hotspot

  2. Use NitroShare to actually send/receive data

    sudo add-apt-repository ppa:george-edison55/nitroshare-dev
    sudo apt-get update
    sudo apt-get install nitroshare
    

As NitroShare is FLOSS, you can fork the C++ code if it would not meet your needs or even better: start contributing! The NitroShare author is active on Ask Ubuntu, so drop by in the chat room if you're willing to do this.

Fabby
  • 34,259
  • Will Nitroshare discover devices not connected to my network? I want to create a network of all devices (fridge, disk, sensor) and make them communicate without internet. Then, if one of the discovered devices has internet connection, all will). Kind of transforming tcp/ip on a p2p. This way with enough devices close to each other(mine and neighbour, and all the world) there would be no need to have an ISP. Like if you could transform all existing routers to communicate with the closest neighbour router instead of connecting to your ISP. – lapisdecor Mar 13 '15 at 13:56
  • No. Nitroshare will do one thing and one thing only and do it extremely efficiently: send/Receive files from connected devices running all sorts of OSes... What you're trying to do needs #1 but all the other stuff would be a new question entirely. – Fabby Mar 14 '15 at 13:02
  • @lapisdecor: If this answer helped you, don't forget to click the grey at the left of this text, which means Yes, this answer is valid! ;-) – Fabby Aug 29 '15 at 21:48