From AirOS 5.5.X to 5.6.X the size of memories on the flash changes so
that flashing OpenWRT (or other non AirOS firmwares) bricks the device.
From https://wiki.openwrt.org/toh/ubiquiti/airmaxm
"Special Firmware Note: AirOS XM.v5.5.X images used U-Boot 1.1.4.2-s594
(Dec 5 2012 - 15:23:07). The OpenWRT image can be successfully flashed
onto these versions of firmware. However, in July 2015 Ubiquiti released
a new version of firmware XM.v5.6.X. With this firmware a new U-Boot
version was released, U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50). The
newer U-Boot version changes the memory size and starting address for
rootfs, cfg, and EEPROM. LOADING AN OPENWRT IMAGE ON A U-Boot
1.1.4.2-s956 WILL CAUSE THE DEVICE TO BE BRICKED!!!
If the device has XM.v5.6.X, an older version of XM firmware can be
loaded from the AirOS webgui (for example XM.v5.5.10) and U-Boot will be
overwritten with the older version. OpenWRT can then be loaded onto the
device successfully."
Anyway if you have a way for un-bricking such devices let me know, as I
have 4 devices bricked this way.
There's also a bug report on this problem
https://dev.openwrt.org/ticket/20982
Bye,
Ilario
PS sorry for cross-posting
--
Ilario Gelmetti
iochesonome(a)gmail.com
igelmetti(a)iciq.es
ilario.gelmetti(a)estudiants.urv.cat
This is not strictly Libre-Mesh related but more an OpenWRT related
problem, I'm sharing this because I think it can be a common problem.
I got this problem connecting a the WAN port of a device running
Libre-Mesh to a network where the dns server was used also for private
addresses of the local network (using a custom TLD [1]).
So when a wireless or cabled client connects to this LiMe node it
receives as DNS server the address of the LiMe node which runs dnsmasq
as dns server.
This server in Libre-Mesh is by default configured for ask to 8.8.8.8
which is a DNS server run by Google which clearly ignores the local
sites names which exists just on the local DNS server.
I supposed that manually adding the line
list resolvers '172.31.16.4' (the IP of the local DNS server)
under the
config lime 'network'
section of the /etc/config/lime file should solve the problem.
Indeed it didn't work and I finally got that was a protection against
some kind of attack [2]:
dnsmasq: possible DNS-rebind attack detected: etherpad.calafou
This protection avoids to accept a private IP [3] as an answer for a
request which is expected to have a public IP.
So I had to add the
list rebind_domain '/calafou/' (where .calafou was the local TLD)
option [4] under the
config dnsmasq
section of the /etc/config/dhcp file.
In your opinion, isn't better to leave empty the DNS field in the
default configuration so that LiMe is going to use the one suggested by
the DHCP server instead of fixing 8.8.8.8?
Ciao!
Ilario
PS notice that if in /etc/config/lime you configure just one entry for
the "list resolvers" this replaces the whole list of resolvers in
/etc/config/lime-defaults, so also the IPv6 resolver.
[1] https://en.wikipedia.org/wiki/Top-level_domain
[2] https://en.wikipedia.org/wiki/DNS_rebinding
[3]
https://en.wikipedia.org/wiki/Private_network#Private_IPv4_address_spaces
[4] https://wiki.openwrt.org/doc/uci/dhcp#all_options
--
Ilario Gelmetti
iochesonome(a)gmail.com
igelmetti(a)iciq.es
ilario.gelmetti(a)estudiants.urv.cat
Hi guys, sorry if i use this ml for this OT but i remember there are
also Argentina lime community . At moment i have a friend at Buenos
Aires hospital.
"Necesitamos 14 dadores de sangre de todo tipo en el Hospital Italiano
(Juan D. Peron 4190, CABA) para Carlo que sigue en terapia intensiva y
necesita transfusiones. Los que puedan hacerlo por favor acerquense de 8
a 15 hs y digan que es por el paciente Carlo Iannuzzi, reparto de
Terapia Intensiva, cama 4030. No conviene estar en ayunas. Para mas
informacion pueden llamar al 4959-0200 internos 8531/8413. Muchas muchas
gracias."
Thank you
--
--------------------
BornAgain
bornagain [at] autoproduzioni.net
Nodi su rete wireless comunitaria Ninux.orghttp://map.ninux.org/select/reggiocalbornagain/http://map.ninux.org/select/romapandora/
ed altri ..
Hi!
Yesterday trizonelabs reported an issue with Libre-Mesh lime-webui
package dependencies, and this looks very easy to solve.
Is there anyone willing to start playing with the LiMe source code?
You can find the issue #28 on github [1].
I think the same problem is present also in other LiMe packages, for
example we could fix what I addressed badly in #24 [2] using the same
approach.
Bye,
Ilario
[1] https://github.com/libre-mesh/lime-packages/issues/28
[2] https://github.com/libre-mesh/lime-packages/pull/24
--
Ilario Gelmetti
iochesonome(a)gmail.com
igelmetti(a)iciq.es
ilario.gelmetti(a)estudiants.urv.cat
Hi libre-mesh folks - I'm trying to create an account on Chef so I can
experiment with creating firmwares, but I'm getting a 502 error.
I'm using this page:
https://chef.altermundi.net/accounts/register/?next=/
Is there another way to register?
Thanks,
-Andy
--
Andy Gunn, Senior Field Engineer
Open Technology Institute, New America
andygunn(a)opentechinstitute.org | 202-596-3484
PGP: F1D2 CD5E 9F15 EEB0 232A 1EFA EEDC DC5C F1D5 653C
-------- Forwarded Message --------
Subject: [lime-dev] Academic text on libre-mesh
Date: Mon, 28 Sep 2015 12:01:28 +0200
From: Gio <gio(a)diveni.re>
Reply-To: libre-mesh developement <dev(a)lists.libre-mesh.org>
To: dev(a)lists.libre-mesh.org
I am completing graduation in Computer Science, as subject of my final
work I
have choosed to implement interoperability between Guifi.net classic
networks
and Libre-Mesh based networks, the paper describe this work plus most
parts of
Libre-Mesh meta-firmware.
The paper is public and released under creative common. If you spot some
error
feel free to give feedback.
https://bitly.com/1KU6sRp
_______________________________________________
Dev mailing list
Dev(a)lists.libre-mesh.org
https://lists.libre-mesh.org/mailman/listinfo/dev
Ciao!
Sulla pagina Libre-Mesh nel wiki Ninux ho inserito una tabella con la
descrizione dei moduli di Libre-Mesh, spero possa esservi utile!
http://wiki.ninux.org/Libre-Mesh#Selezionare_i_moduli_di_Libre-Mesh
Ciao!
Ilario
--
Ilario Gelmetti
iochesonome(a)gmail.com
igelmetti(a)iciq.es
ilario.gelmetti(a)estudiants.urv.cat
Hi!
We are trying to improve the documentation about lime config files,
please forgive if it's in Italian, we need to share some notes taken
talking with Gio: it's just a work in progress and will be translated
at some point.
ci sono tanti branch quante feature sono correntemente in sviluppo, il
nome canonico e' "feature/$qualcosa"
develop E' IL MAIN BRANCH
LE STABLE HANNO IL NOME CON LA VERSIONE DI RILASCIO "15_04"
Le stable sono di fatto "meno malleabili" per permettere la
generazione di immagini da rilascio.
Quindi al momento develop e' il branch giusto da usare per il target
"utenti avanzati"
prima di tutto partendo da un .config pulito
in base system rimuovi: dnsmasq, firewall
in network rimuovi: odhcpd
Configurazione: feeds/lime/packages/lime-system/files/etc/config/lime
e feeds/lime/packages/lime-system/files/etc/config/lime-defaults:
cio' che non c'e' in "lime" viene cercato in "lime-defaults".
NB differenza tra "list" "option"
Attenzione i parametri di tipo "list" sono atomici questo significa
che la definizio di un'opzione "list" in "lime" annulla tutte quelle
definite in "lime-defaults".
L'idea di base e' questa: lime-defaults dovrebbe essere editato con i
settings di base condivisi dall'isola ed e' pensato per essere editato
solo da utenti esperti.
"lime" invece e' dedicato ai settings specifici del singolo nodo.
"lime-config" controlla prima i setting in "lime" e nel caso manchi
qualche voce necessaria va a cercarla i "lime-defaults".
La radice dell'ipv6 option main_ipv6_address '2001:db8::%M5%M6/64' e'
relativa ai defaults, andrebbe chiesta una radice a librenet(o ad un
altro provider ipv6) per la rete bolognese.
list protocols batadv:%N1 attenzione %N1 definisce alla vlan su cui
parla batman ed e' definito all'essid e quindi un gruppo di nodi
diventa un isola batman in base all'essid spammato.
In multicast la negoziazione del rate dei pacchetti non funziona...
option adhoc_mcast_rate_2ghz '24000'
option adhoc_mcast_rate_5ghz '6000'
questi due parametri sono esposti perche' impattano molto sui
protocolli mesh perche' un rate multicast molto diverso da quello
negoziato in unicast tra nodi porta a dare valutazioni sbagliate sulle
qualita' dei link.
I valori di default sono sperimentati empiricamente e dovrebbero essere buoni.
------------------------------------------------
settings specifici del file
feeds/lime/packages/lime-system/files/etc/config/lime
# option bmx6_over_batman false
questa opzione se messa a true permette di condividere le informazioni
relative ai nodi BMX6(o altro a livello IP) nella mesh batman in modo
che la rete di nodi batman sappia condividere le informazioni tra
border gateway
___
ls /usr/lib/lua/lime/proto permette di listare i moduli attivi nel
sistema in produzione
Hi guys,
I'm revisiting an old issue. When we started with our network model
(cheap dual radio nodes), we used an atheros based USB dongle to add a
second radio to cheap MR3220 routers.
This was interesting for our first experiments but then we realized that
the ath9k_htc driver behaves horribly with these devices in adhoc mode.
We ended up using dual band routers.
The thing is that we are now facing a problem with 2.4Ghz band
saturation, even in very small towns, so the nodes are effectively
behaving as single radio in many cases, considering the 2.4Ghz path is
almost unusable.
So... I decided to take a look again at 5Ghz USB adapters.
I found this (2014) thread in the OpenWrt forum:
https://forum.openwrt.org/viewtopic.php?id=48248
where a guy says the RT3573-based stick Netgear WNDA4100 is behaving
well in 5Ghz AP mode. Found no information on people using these for
adhoc, but I'd like to give it a try. The rt2800usb is supposed to
support this mode.
Does any of you have any experience with this particular (or similar)
usb dongle in adhoc mode?
Cheers!
Nico
Hello lime team !
I've been trying to create an image for tp-link mr3020 using lime-build with the stable lime bing bang. Unfortunately i'am getting this error when the utility tries to download openssl
http://pastebin.com/vvWEYtqj
any suggestions to fix it will be highly appreaciated. Thanks for all the efforts on making lime stable.
Leonardo.