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 ..