New Release with "Mesh"-feature - Tester needed

Posted by Matthias 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Re: New Release with "Mesh"-feature - Tester needed
November 30, 2012 09:45AM
How can i do via telnet?
Re: New Release with "Mesh"-feature - Tester needed
November 30, 2012 02:00PM
Re: New Release with "Mesh"-feature - Tester needed
November 30, 2012 06:43PM
Both doesn't work, with the first it can't mount the usb stick and for the second one, I can't connect to my MR-3020, I've tryed 192.168.1.2 via telnet and SSH, and 192.168.0.34 telnet SSH (this is the IP I set up)
Re: New Release with "Mesh"-feature - Tester needed
December 01, 2012 09:42AM
First of all please write a few more information about, when something don't work.

Lets do it step by step again:

1. Boot your Mr3020 in failsafe mode with pushing the button during boot.
2. Setup your computer to a static IP 192.168.1.2 (as you mentioned)
3. if you haven't already done: place the openwrt-image-file on the usb-stick
4. connect your computre & usb stick to the mr3020
5. connect with telnet
6. run boot-commands (this is something , what I'm forgot everytime)
  /etc/init.d/boot start
 (some error-messages are ok)
7. run
  dmesg | tail -n 20
No you should see something with "sda" in the messages
8. mount usb & flash
   mount /dev/sda1 /mnt 
   cd /mnt
   mtd write openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin firmware
   reboot -f

then you should have a clean fresh install
Re: New Release with "Mesh"-feature - Tester needed
December 01, 2012 11:41AM
You rock!! Awesome now I try to install mesh again. Thanks a lot!!
Re: New Release with "Mesh"-feature - Tester needed
December 01, 2012 11:59AM
I've tried again and here are the problem:
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].
^C
It try to download the packages...
Re: New Release with "Mesh"-feature - Tester needed
December 01, 2012 12:06PM
why do you cancel the Downloading [downloads.openwrt.org]. ? It needs it.
and it seems that you are using and old image, because you are not downloading from stable.openwrt.piratebox.de

smiling smiley
Re: New Release with "Mesh"-feature - Tester needed
December 01, 2012 01:08PM
Ok i've done it again and with stable.openwrt... and it seems doesn't work, after reboot, i can connect to pirateboxut if i open the browser i can't access to the 'normal' piratebox page
Re: New Release with "Mesh"-feature - Tester needed
December 01, 2012 01:14PM
I don't understand what the problem is.
Did you have any messages while installing the piratebox- if yes: WHICH???

it seems that you missunderstood something... I don't know what :/



Edited 1 time(s). Last edit at 12/01/2012 01:15PM by Matthias.
Re: New Release with "Mesh"-feature - Tester needed
December 01, 2012 01:23PM
I just found out, there was a wrong file uploaded to mesh_test folder angry smiley

a big sorry for that
download piratebox_ws_0.6_img.tar.gz and place it to your usb stick.

After this, please start again with the procedure. sad smiley

edit: I updated Notepad for mesh too! There you can find the list of files you need.



Edited 2 time(s). Last edit at 12/01/2012 01:28PM by Matthias.
Re: New Release with "Mesh"-feature - Tester needed
December 01, 2012 05:26PM
Have I to do a rm overlay before reinstall?
Re: New Release with "Mesh"-feature - Tester needed
December 01, 2012 11:13PM
No, I don't think so.
Re: New Release with "Mesh"-feature - Tester needed
December 02, 2012 05:41PM
Ok it seems that everything things work, just the "upload file" part that doesn't really work, as you can see.




Edited 1 time(s). Last edit at 12/02/2012 05:43PM by tutur9212.
Re: New Release with "Mesh"-feature - Tester needed
December 02, 2012 07:20PM
curios. I just installed the stuff on my mikrotik RB411 without problems sad smiley

Please login via SSH or Telnet and run

/etc/init.d/forban stop
/etc/init.d/piratebox stop
/etc/init.d/piratebox start

And copy&paste the output into this thread, please
Re: New Release with "Mesh"-feature - Tester needed
December 02, 2012 07:28PM
Here it is :
root@T7gTerLS:~# /etc/init.d/forban stop
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site.py", line 62, in <module>
import os
File "/usr/local/lib/python2.7/os.py", line 49, in <module>
import posixpath as path
File "/usr/local/lib/python2.7/posixpath.py", line 17, in <module>
import warnings
ValueError: bad marshal data (unknown type code)
root@T7gTerLS:~# /etc/init.d/piratebox stop
Stopping script piratebox
Stopping dnsmasq...
0
Stopping droopy...
start-stop-daemon: warning: killing process 1759: No such process
1
Stopping lighttpd...
0
root@T7gTerLS:~# /etc/init.d/piratebox start
Starting script piratebox
Generating hosts file ....
Generating dnsmasq.conf .....
Empty tmp folder
rm: /opt/piratebox/tmp: is a directory
Starting dnsmasq...
0
Starting droopy...
0
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site.py", line 62, in <module>
import os
File "/usr/local/lib/python2.7/os.py", line 49, in <module>
import posixpath as path
File "/usr/local/lib/python2.7/posixpath.py", line 17, in <module>
import warnings
ValueError: bad marshal data (unknown type code)
Starting lighttpd...
0
root@T7gTerLS:~#
Re: New Release with "Mesh"-feature - Tester needed
December 02, 2012 08:59PM
The problem is this error-message: "ValueError: bad marshal data (unknown type code) "

You can run:

find /usr/local/* -iname \*.pyo -exec rm {} \;
find /usr/local/* -iname \*.pyc -exec rm {} \;


But this only may solve your problem. For me, I had to do a complete fresh install
Re: New Release with "Mesh"-feature - Tester needed
December 03, 2012 05:07PM
It works! Now i I will do a second one to test the mesh
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 16, 2012 12:10PM
Hi,

where is link "wget …../piratebox-mesh_0.2.6_all.ipk"

I have not found the link.

no package piratebox-mesh_0.2.6_all.ipk or piratebox-mesh_XXXX.all.ipk
here : [downloads.openwrt.org]

where is link please?

Tank you!
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 16, 2012 01:01PM
Hi! No needs link, just donwload the files, put them on your USB stick and follow the how to on the notepad.
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 16, 2012 03:39PM
I find a command but its not work on my Mr3020 with piratebox_0.5.1_all.ipk

packages with default : [downloads.openwrt.org]
root@piratebox:/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.



packages with : [stable.openwrt.piratebox.de]
Upgrade ok!
root@piratebox:/tmp# opkg update
Downloading [downloads.openwrt.org].
Inflating [downloads.openwrt.org].
Updated list of available packages in /var/opkg-lists/attitude_adjustment.


root@piratebox:/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.


what is the command to install piratebox-mesh_0.2.6_all.ipk please.

Thank you.
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 16, 2012 04:03PM
it's good I thought!

[piratebox.aod-rpg.de]
[piratebox.aod-rpg.de]

wget [piratebox.aod-rpg.de]
opkg install-piratebox mesh_0.2.6_all.ipk
/ etc / init.d / init mesh
/ etc / init.d / enable mesh

wow it's been three hours since I sigh galley.

Thank You!!!
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 17, 2012 06:32AM
Ehm.
What do you want to reach with this partly-installed Mesh? The mesh feature is still experimental.

Matthias
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 17, 2012 05:54PM
Test and possibly use mesh. with virtualbox openwrt, usb wifi card alpha 1w, 2w

if I'm not mistaken you must install piratebox 0.6.0
because it does not work with 0.5.1 piratebox



Edited 1 time(s). Last edit at 12/17/2012 05:58PM by djullius.
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 17, 2012 05:59PM
Quote

Test and possibly use mesh.
ok, don't take me wrong.. because I want to avoid, that people think it is everything ok and are disappointed later on.

With 0.6.0 you get alot more functions (i.e. a JavaScript shoutbox & Timesave feature).
You can install piratebox 0.5.1 without any trouble.

If you want to test the real "key" feature: Install forban!!
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 17, 2012 06:18PM
yes I already use 0.5.1 piratebox
I installed 0.5.1 with mesh on piratebox.
But piratebox mesh does not launch it, was not visible "PBmesh."

I therefore want more tests later on piratebox0.6-because I think that it was not compatible with 0.5



Edited 1 time(s). Last edit at 12/17/2012 06:19PM by djullius.
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 17, 2012 08:24PM
mh, I'm wondering a bit about that.. but that's ok smiling smiley
Re: where is link "wget …../piratebox-mesh_0.2.6_all.ipk"
December 17, 2012 08:59PM
Thats right the mesh feature is bring by the 0.6 version, without it, no mesh...
Re: New Release with "Mesh"-feature - Tester needed
December 24, 2012 12:31AM
Hi, where is : timesave.sh

/opt/piratebox/bin/timesave.sh /opt/piratebox/conf/piratebox.conf install

Setup complete, PirateBox started.
You can remove the WAN connection now.
Please reboot your PirateBox now:
# reboot
root@OpenWRT:/tmp# cd /mnt/usb
root@OpenWRT:/mnt/usb# /opt/piratebox/bin/timesave.sh /opt/piratebox/conf/piratebox.conf install
-ash: /opt/piratebox/bin/timesave.sh: not found

root@OpenWRT:/mnt/usb# ls /opt/piratebox/bin/
delete_empty.sh hooks station_cnt.sh
droopy install_piratebox.sh
generate_config_files.sh piratebox_setup_wlan.sh

root@OpenWRT:/mnt/usb# ls /opt/piratebox/conf/
dnsmasq_default.conf hosts lighttpd
dnsmasq_generated.conf hosts_generated piratebox.conf
hook_custom.conf init_done
hostapd.conf ipv6.conf

not timesave.sh. what is it timesave.sh?


Thank you!
Re: New Release with "Mesh"-feature - Tester needed
December 24, 2012 07:45AM
Hi,
you used piratebox 0.5.1 .
In my small howto I requested that you should use the new version 0.6 uploaded at the same location like the mesh & forban packages .
Quote

Notepad for mesh
forban_img.tar.gz
piratebox_0.6.0_all.ipk
piratebox_ws_0.6_img.tar.gz
piratebox-forban_0.33.1_all.ipk
piratebox-mesh_0.2.6_all.ipk

Matthias
Re: New Release with "Mesh"-feature - Tester needed
December 26, 2012 06:30PM
Updated 1st post in thread.