New Release with "Mesh"-feature - Tester needed

Posted by Matthias 
New Release with "Mesh"-feature - Tester needed
November 01, 2012 08:04AM
Hi,

the mesh feature is getting more and more complete for a first release.

Now, I need test-users, which

Has more than 1 device, the best are 3 or more MR3020 or equal devices.
Has knowledge about linux (and network stuff, if something goes wrong).


Currently the following points are still under development, where useful help is desired:

* JS Shoutbox , seem to work
* Global Shoutbox - mesh wide ; seems to work ( need more tests and a problem- log)
* Testing Forban ( share feature and opportunistic mode (auto download) )
* General tests (Performance, connects, Forum)

Then Ideas are needed for a useful integration of Forban running under Port 12555 (
Language: PHP
http://piratebox.lan:12555
(Url, since Piratebox 0.6.2 / 0.6C and Forban 0.34.2 there is a link on startup page)



Small notepad about install
[piratebox.aod-rpg.de]

Files
[piratebox.aod-rpg.de]


known Issues
* timesave script bug. (fix deployed in 0.6B )
* JS-Shoutbox has no colors (fix deployed in 0.6B )
* special characters (i.e. äöü) breaks forban search (issue created @ forban-project)
* several issues in bash-environment (debian) (few fixed)
* missing dependency on piratebox-mesh on wireless-tools ( fixed in piratebox-mesh-0.2.7 ; no problem if you use custom image )
* MAC adress generation sometimes not unique for mesh0 interface ; added another customization in piratebox-mesh-0.2.8 - fixed in 0.2.8 & deployed
* Fixed upgrade bug ( Overwrite ext image instead of only update piratebox scripts - fixed in piratebox_0.6.2_all.ipk )
* Fixed DNS bug ( removes dns-entry issue - fixed in piratebox_0.6.2_all.ipk )



Matthias

Update 26.12.2012: Changed status of global chatbox from "in concept" to "basically working"
Update 19.01.2013: Uploaded new versions of piratebox-src, fixed mesh-dependency bug and forban 0.34.2 with a link on the startup page
Update 28.02.2013: Updated openwrt package wich removes one update and this nasty DNS thing.



Edited 13 time(s). Last edit at 02/28/2013 04:53AM by Matthias.
Re: New Release with "Mesh"-feature - Tester needed
November 03, 2012 05:41AM
Hello Matthias,

no promises, but I will try to make a live CD for myself with a previous Ubuntu versions, hopefully with Kernel 2.4. I think I am unable to run PB on linux because the new Kernel version is not supporting some stuff in my laptop.

IF this works, I might get 2 laptops and an MR3020 to work together. No promises though, I might try to do it tonight....
Re: New Release with "Mesh"-feature - Tester needed
November 03, 2012 05:54AM
Hi , the Mesh script is not fully supporting the normal laptops.
I'm no iptables "pro", and that is a result of it :/
Re: New Release with "Mesh"-feature - Tester needed
November 04, 2012 10:06AM
I have a pi we can test along with a pc that only works with eth0 unless ndiswrapper works or there's a windows version
Re: New Release with "Mesh"-feature - Tester needed
November 04, 2012 10:24AM
nope, that won't work.
ndiswrapper drivers are really bad drivers for adhoc networks.
Re: New Release with "Mesh"-feature - Tester needed
November 05, 2012 05:34PM
Yeah figured but still if this works over lan and can broadcast through a not hacked router sweet smiling smiley
Re: New Release with "Mesh"-feature - Tester needed
November 06, 2012 12:41PM
Hi, I have 2 MR-3020, and I want to help son what can I do?
Re: New Release with "Mesh"-feature - Tester needed
November 06, 2012 02:41PM
Hi,
I'm going to provide severall files (ipk files & image files) and a small howto - soon.
It would be nice, that you try to upgrade... or the best way: to reinstall both mr3020. After this, try to get some experience with the features (imageboard, you may install it on one system only - shoutbox - Forban).
I want to know, how you fell about the user expierence. Is it performant? Does the Boxes find each other? Such kind of things.

Matthias
Re: New Release with "Mesh"-feature - Tester needed
November 07, 2012 02:48PM
It'll take some time. Today I found an issue with my shoutbox-modifications, which makes some incompatibilities.
I have to raize package-versions and some filenames beside a correct tagging the modifications in github....

(BTW: I upgraded my test-systems to 2 MR3020 , one MR3040 and one RB411 (which has to be updated) winking smiley )



Edited 2 time(s). Last edit at 11/07/2012 02:49PM by Matthias.
hi,
back in town ;-)
Here we 've got many Piratebox routeurs: MR3020, 703N (5 and 1). We will try it.

However, you have written on Notepad =
Notepad for Mesh stuff
* install piratebox >= 0.5.2[/i] >>>>>>>> WHERE IS IT?
* Activate Timesave scripts: /opt/piratebox/bin/timesave.sh /opt/piratebox/conf/piratebox.conf install
* install Mesh-Stuff
opkg install piratebox-mesh_0.2.6_all.ipk
/etc/init.d/mesh init
/etc/init.d/mesh enable
* install forban
opkg install piratebox-forban*
* reboot
* device is getting slow now. Wait until it is okay again. If you are able to SSH
you can check and the first value at load average should drop below 1.0
can take around 5 Minutes


Thanks
Olala22000
Re: New Release with "Mesh"-feature - Tester needed
November 08, 2012 01:35PM
Hi,
thank you for your support.
I changed a few things today to fix problems I found in the last days. I want to test these first.

After this, I'll provide the set of files you need to create mesh-able piratebox.

Matthias
Re: New Release with "Mesh"-feature - Tester needed
November 09, 2012 12:58AM
Well, I made a few tests this morning and it seems to work.

You can find all need filese here
Place all of them (instead of the openwrt-images) to you usb-device, so you are working with this test-images instead of the stable ones.


The small notepad about the install is here: [piratebox.aod-rpg.de]

You reach the forban network on

Language: PHP
piratebox.lan:12555

Be patient, sometime it takes a while untill everything is up

Known issues
Forban's "Opportunistic mode" hast trouble with big files and slows down the system alot
No global shoutbox



Edited 1 time(s). Last edit at 11/09/2012 12:59AM by Matthias.
Re: New Release with "Mesh"-feature - Tester needed
November 09, 2012 01:34PM
Short Video about it

smileys with beer


I'm sorry for long response times, it is still my free time project.
About Matthias ; Flattr
Re: New Release with "Mesh"-feature - Tester needed
November 21, 2012 02:43AM
There is currently a bug @ timesave-Feature. It creates a wrong crontab.
I'll fix that soon.
Re: New Release with "Mesh"-feature - Tester needed
November 26, 2012 02:30PM
I will test it on 3 MR-3020, thanks for your awesome work!!
Re: New Release with "Mesh"-feature - Tester needed
November 26, 2012 02:48PM
I'm looking forward to your results.
Re: New Release with "Mesh"-feature - Tester needed
November 27, 2012 10:31AM
Just a little thing, you said "Place all of them (instead of the openwrt-images) to you usb-device" but where in Piratebox folder or at the root of usb stick?
Re: New Release with "Mesh"-feature - Tester needed
November 27, 2012 10:49AM
root folder of the usb stick
Re: New Release with "Mesh"-feature - Tester needed
November 27, 2012 10:53AM
I know I'm a bit heavy but which files, all?? I don't want to make mistakes...
Re: New Release with "Mesh"-feature - Tester needed
November 27, 2012 11:25AM
yes, everything without (or if you want with) the openwrt* files.

grinning smiley
Re: New Release with "Mesh"-feature - Tester needed
November 27, 2012 11:30AM
And I have only that to do?
Re: New Release with "Mesh"-feature - Tester needed
November 27, 2012 12:25PM
You flash the device like described on the DIY by david.

Instead of

Language: PHP
cd /tmp wget http://piratebox.aod-rpg.de/piratebox_0.5.1_all.ipk opkg update && opkg install piratebox*

do this

Language: PHP
cd /tmp mount /dev/sda1 /mnt cp /mnt/piratebox_*ipk /tmp umount /mnt opkg update && opkg install piratebox* cd /mnt/usb

Then follow the howto: [piratebox.aod-rpg.de]
Re: New Release with "Mesh"-feature - Tester needed
November 27, 2012 02:24PM
released an update for the scripts.
Added the post above to the wiki. These steps are only needed while beta!!
Re: New Release with "Mesh"-feature - Tester needed
November 27, 2012 02:28PM
Thanks I will do that tomorrow and I will say you if it works (I'm sure it does grinning smiley)
Re: New Release with "Mesh"-feature - Tester needed
November 29, 2012 02:34PM
Seems that it can't mount the usb stick, see:
root@OpenWRT:~# cd /tmp
root@OpenWRT:/tmp# mount /dev/sda1 /mnt
root@OpenWRT:/tmp# cp /mnt/piratebox_*ipk /tmp
root@OpenWRT:/tmp# umount /mnt
root@OpenWRT:/tmp# opkg update && opkg install piratebox*
Downloading [downloads.openwrt.org].
Collected errors:
* opkg_download: Failed to download [downloads.openwrt.org], wget returned 4.
root@OpenWRT:/tmp# cd /mnt/usb
-ash: cd: can't cd to /mnt/usb
root@OpenWRT:/tmp# /opt/piratebox/bin/timesave.sh
-ash: /opt/piratebox/bin/timesave.sh: not found
root@OpenWRT:/tmp# /opt/piratebox/conf/piratebox.conf install
-ash: /opt/piratebox/conf/piratebox.conf: not found
root@OpenWRT:/tmp# opkg install piratebox-mesh_0.2.6_all.ipk
Collected errors:
* wfopen: piratebox-mesh_0.2.6_all.ipk: No such file or directory.
* pkg_init_from_file: Failed to extract control file from piratebox-mesh_0.2.6_all.ipk.
root@OpenWRT:/tmp# /etc/init.d/mesh init
-ash: /etc/init.d/mesh: not found
root@OpenWRT:/tmp# /etc/init.d/mesh enable
-ash: /etc/init.d/mesh: not found
root@OpenWRT:/tmp# opkg install piratebox-forban*
Unknown package 'piratebox-forban*'.
Collected errors:
* opkg_install_cmd: Cannot install package piratebox-forban*.
root@OpenWRT:/tmp#
Re: New Release with "Mesh"-feature - Tester needed
November 29, 2012 03:01PM
well.. did you ensure that your internet connection? Seems not.
Remember: Follow the normal tutorial as usual and then exchange the install of the piratebox package
Re: New Release with "Mesh"-feature - Tester needed
November 29, 2012 03:06PM
I didn't understand it like that sorry, but now since I've done it I can only access to the piratebox by telnet sad smiley
Re: New Release with "Mesh"-feature - Tester needed
November 29, 2012 03:23PM
strange. no problem. we can fix that. what was your last action?

Are you able to login via telnet or telnet via failsafe mode?

Why didn't you choose the custom image?



Edited 1 time(s). Last edit at 11/29/2012 03:25PM by Matthias.
Re: New Release with "Mesh"-feature - Tester needed
November 29, 2012 03:33PM
I follow your small notepad but without an internet connection and I can only by telnet in failsafe.
I use your custom openwrt firmware
Re: New Release with "Mesh"-feature - Tester needed
November 30, 2012 01:40AM
I'm sorry for that... but that is the reason why you should have some experience with that.

Try to reflash it and start from the beginning.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
 ********         **   *******   **    **  **     ** 
 **     **        **  **     **  **   **    **   **  
 **     **        **         **  **  **      ** **   
 **     **        **   *******   *****        ***    
 **     **  **    **         **  **  **      ** **   
 **     **  **    **  **     **  **   **    **   **  
 ********    ******    *******   **    **  **     ** 
Message: