You are here

Patch to run MeshChat from a raspberry pi without installing it on your node

12 posts / 0 new
Last post
K6LUD
Patch to run MeshChat from a raspberry pi without installing it on your node

Hi,

I have applied this patch to my raspberry pi in order to run meshchat without the need of having meshchat installed on my AREDN node.
It will use the web UI of the node to fetch the list of the other meshchat nodes.

K7FPV, what is your though about that?
I know it is less robust to html changes in the AREDN nodes and it increases the load on the node web interface, but I find it prefereable to running meshchat on the AREDN node because it runs out of RAM.

Maybe could be offered as a configuration option? Or maybe what about an ipk (e.g. meshchat-node) that only contains the code to extract the list of meshchat nodes. You would install this on your AREDN node, and the full meshchat on your raspberry pi.

Thanks,
Ludovico
K6LUD
 

K6LUD
with attachment :)

with attachment :)

Support File Attachments: 
K7FPV
I'm planning on making a node
I'm planning on making a node package that just exposes the api needed for the pi. Just need to find some time to do it.
K7FPV
Ok found some time during
Ok found some time during lunch today. Here is a package to install on node that exposes the API needed by the pi version. Let me know if it works ok for you.

https://s3.amazonaws.com/aredn/meshchat-api_0.7b7_all.ipk
AB8XA
Work with 6.0?

K7FPV, will this node package work with the production 6.0 version of MeshChat on the Pi?

Thanks!

K5DLQ
K5DLQ's picture
yes.  it works with pi beta 6
yes.  it works with pi beta 6
 
AB8XA
Good to know. Thanks, K5DLQ
Good to know. Thanks, K5DLQ
km5l
km5l's picture
pi using MeshChat
Hi, on our North Texas workday we had some issues running MeshChat, darn it I wish I would have seen this post before now. We could see other MeshChat and they could see our posts often, but for some reason we wouldn't see the reverse, just different things going on. We tried assigned the MAC address to the IP and a hostname, still not consistent results.

We were using this download to install MeshChat: 
wget https://s3.amazonaws.com/aredn/meshchat_0.6_all.deb
dpkg -i meshchat_0.6_all.deb
So not sure about the date, etc., but will the patch referenced above fix our issues?

Thanks and 73,
Patrick KM5L
 
K7FPV
Try using the latest beta
Try using the latest beta version from here:

http://www.aredn.org/content/meshchat-v07b7-released
AB8XA
No Joy

I finally got around to installing Mesh Chat v0.7b7 on the Pi (ab8xa-server.local.mesh). Note that in Raspian Jesse, it is now in /var/www/html instead of just /var/www.

I tried to install meshchat-api on the NanoStation. I get the messages (paraphrased):

Installing meshchat-api to root…
Configuring meshchat-api.

That’s all… it just stays there—no completed, etc.

When I launch meshchat on the Pi with [ip_address]/meshchat 
it shows my node as the server, ab8xa-server

Status does not see any other nodes on the mesh (only 1 probably 6.0 as far as I know)

The other node’s meshchat does not see mine in Status.

When I remove the meshchat-api from the NanoStation, I get the message:

Removing meshchat-api

No completed, etc

What could be wrong?

Thanks!

KD7BKO
KD7BKO's picture
No Joy Either
I am too also having the same issue as the last comment.  I have installed Mesh Chat on many direct IP devices, but this is the first Raspberry PI that I have installed behind the NAT when installing it in a network where the Node is on NAT mode.  Is there something different I need to do?  I am not seeing ANYmessages, and the counter keeps going up like its not refreshing.  I thought it might be the Raspberry PI, so I swapped out that one with a newer one, and get the same problem.
KD7BKO
KD7BKO's picture
Found the fix
Just an update.  Here is what I did to fix it.  The last comments on the bottom of this page did the trick.
https://www.aredn.org/content/pi-meshchat-error-sending-message

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer