TFTP is very simple, but not very safe by nature. So keeping the TFTP server wide open all the time was not an option. Instead, the m9 opens the TFTP server only for 20 seconds after a fresh reboot and it only waits for the writing of one file: auth.txt. This file must contain the username and the password, which you would also use when logging into the web interface. For example, the file could look like this:
- adrbook: This directory contains the address book entries.
- ata-app: This is the main application that e.g. runs the SIP stack and the web server
- ata-ctrl: This thing is responsible for getting the m9 up and running. This one runs the TFTP server and other network services.
- ata-media: This program is responsible for the RTP processing.
- base-type.txt: Here the m9 keeps track what DECT version it is (e.g. us or row for USA and the rest of the world)
- base.bin: This contains the firmware for the DECT module
- base.txt: The short version text for the DECT module. If this one is different from the one being reported during the boot phase, the m9 will perform a software update for the DECT base station.
- certificate.txt: This file contains the certificate for the device.
- dectvoice.ko: This is the driver for the DECT module.
- dhcp.info: Here is some additional information that cannot be stored in the resolv.conf file.
- handset.bin: This is the firmware for the handset
- handset.txt: Short description for the handset firmware.
- handset17.bin: Because there are two handset versions out there, this one contains the firmware for the new “17” version handset.
- handset17.txt: Short version name.
- html: This directory contains all the HTML templates for the web server.
- mac.txt: This file stores the MAC address for the device.
- privatekey.txt: This file contains the private key for the device.
- random.txt: Here the m9 stores the last random number, so that every reboot cycle comes up with a new random number.
- rc.snom: This is the bootup script for the device
- resolv.conf: This links actually to /etc/resolv.conf and is used by the standard programs to find out about DNS
- rfpi.txt: This file stores the RFPI number for the base (DECT stuff)
- serial.txt: Stores a serial number from production.
- settings.xml: This file contains all the settings for the device.
- version: In this file, the m9 keeps track which firmware version has been loaded.