Dependencies
- Xhost
- sshfs
- Libnbtk version 1.2
- Libclutter version 1.0
- Uses http://www.olsr.org/ as the mesh daemon, a custom plugin needs to be built for this, see below
1. Preparation:
Understand your rights, This code released under a GNU GPL license http://www.gnu.org/licenses/gpl.html
make a .ebp directory in your home folder
configs:
-> ssh_config
-> sshd_config
scripts:
sshfs_toclient
start_srv
Download the compressed file (ebp.tgz), see link at the end of this page and copy the files into your .ebp directory
Amongst other settings we are using X over SSH forwarding enabled here.
2. Generate your SSH keys
the system uses private and pubic keys with a combination of settings in ssh to allow access to the machines b/w each other. This is a huge security risk and for now, please use this only in a controlled test environment, its how we use it. The future roadmaps include things like this as one of the first things to fix... any help here, is always appreciated.
We are gonna create the following files
( used in .ebp/ssh_config )
clientkeys : DSA privatekey
( used in .ebp/sshd_config )
ssh_host_dsa_key
ssh_host_rsa_key
**HOWTO**
cd ~/.ebp/ebp
ssh-keygen -t dsa -f clientkeys
ssh-keygen -t dsa -f ssh_host_dsa_key
**select NO PASSPHRASE when asked
--one more thing, copy the .ebp/ebp/clientkeys.pub into .ebp/authorizedkeys
cat .ebp/ebp/clientkeys.pub > .ebp/authorizedkeys
Again....
These keys are very important, copy this directory across to the machine you want to grant access too. Again, please remember to do this in a trial test environment which you have full control over. This creates a massive security hole and opens your machine to anyone having the private/public key set.
3. Source download (you need a GIT client)
Public Access:
Download the code!! git clone git://ebrain.in/ebp.git
You will see two source directories
ebp-client
this is the main eBrain client application
ebp_olsrd-plugin
This is a custom plugin for the olsrd mesh daemon.
once built, copy this into your olsrd plugins directory, It is /usr/lib/olsrd/ in Debian
4. Build client
This needs Libnbtk version 1.2 and Libclutter version 1.0 to build this client
cd ebp-client
./configure
make
if all goes well, there will be an ebp binary in src/ directory
5. build olsrd plugin
cd ebp-olsrd-plugin
see README file for build instructions
Needs OLSR src, this is built against the 0.5 src tree
get this src
http://www.olsr.org/releases/0.5/olsrd-0.5.6-r7.tar.gz
Remember changes to olsrd.conf
look at the sample configuration in the README file
make those changes to /etc/olsrd.conf
Also make the changes in olsrd.conf to include your interfaces on which you need olsrd to listen on. The olsrd.conf file is well documented. We use a line as so
Interface "eth1" "eth0" "wlan0" "wlan1" "ath0" "ath1"
6. start OLSRD
This needs at least two clients to determine, test out locally, use the debug options to check if the two machines are able to talk to each other
tip:
olsrd expects its config in /etc by default if we have it any other place use the -f [path]
7. start client
If all is well, you should see the other machine (with the username you filled in for olsrd.conf) show up. You will also be able to see a list of applications exported from that machine. Click any to start one. A message will popup on the remote machine asking for user confirmation, once the remote user accepts it, the application will start remotely and show up on your screen for you to use.
--NOTES
1. Ad-Hoc Wireless
We run our tests on ad-hoc wireless. If you need help setting this up, here is some good documentation http://wiki.debian.org/WiFi/AdHoc
2. copy the icon from src/ebrain_logo_1.png into /usr/share/ebp/
--
What we ask
1. Use, test, comment, play, code with this. Submit your patches back to, we are in the process of setting up our dev systems to accommodate anyone interested. Your help will be appreciated in any form, be it an idea, a comment, a suggestion too. So please feel free to contact us with you ideas and suggestions.
Our Mailing list
http://ebrain.in/cgi-bin/mailman/listinfo/mailman
| Attachment | Size |
|---|---|
| 2.16 KB |

Recent comments