Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:ubiquiti:ubiquiti_wa_cfg_partition [2018/07/08 02:52] – [Layout] tsystoh:ubiquiti:ubiquiti_wa_cfg_partition [2018/07/17 05:35] – [id] tsys
Line 1: Line 1:
-===== Ubiquiti cfg partition =====+====== Ubiquiti cfg partition ======
 Ubiquiti WA devices contain a cfg mtd patition. It uses a proprietary format and holds device configuration as well as the contents of ''/var/etc/persistent'' Ubiquiti WA devices contain a cfg mtd patition. It uses a proprietary format and holds device configuration as well as the contents of ''/var/etc/persistent''
  
-==== Layout ====+===== Layout =====
 The config partition can store multiple configurations. The config partition can store multiple configurations.
  
Line 14: Line 14:
 ^ value  |  0x12345678    |                  |              |              |                |  0x00000000  | ^ value  |  0x12345678    |                  |              |              |                |  0x00000000  |
  
-===id===+==== id ====
 Seen values: 0x01000000, 0x02000000 Seen values: 0x01000000, 0x02000000
-Seems to identify the config currently in use, config with 0x01000000 is current config+Seems to identify the config currently in use, config with 0x01000000 is backup config
  
-===crc===+==== crc ====
 CRC32 of zlib deflated textual device config CRC32 of zlib deflated textual device config
  
-===unknown===+==== unknown ====
 The two most significant bytes seem to be always 0. The two most significant bytes seem to be always 0.
  
Line 30: Line 30:
 ^ device c  |  0x2ad4  |  0b0010100000110001  | ^ device c  |  0x2ad4  |  0b0010100000110001  |
  
-====Payload format===+===== Payload format =====
  
-The payload is zlib compressed and consits of the concatenation of textual device config and the tared and gziped folder /var/etc/persistent+The payload is zlib compressed and consists of the concatenation of textual device config and the tared and gziped folder ''/var/etc/persistent''
  
  • Last modified: 2019/06/20 07:35
  • by tsys