====== Troubleshoot the gateway ======
===== Access the log =====
Two types of logs are available on the gateway:
* Public log: these logs can be accessed and read by the user. Public logs help the user to install and manage the gateway
* Internal log: these logs can be retrieved by the user. Internal logs are for internal Kerlink debug purposes only. Once retrieved, the logs can be sent to Kerlink for analysis.
Logs can be retrieved thanks to:
* The web user interface log menu
* The local FTP server service
* The USB key service
{{.:..:webui:log_public.png?800|Public logs}}
===== Factory reset =====
A factory reset can be ordered. This action will:
* Remove all received frames and downstream frames
* Remove all logs
* Reset product configuration to default
* Remove fleet configuration
The factory reset can be triggered thanks to:
* The web user interface ''Administration => Gateway => Factory reset'' menu.
* The HTTP REST API
* The local FTP server service
* The USB key service
* SMS service
===== Reactivate the Ethernet interface using SMS =====
The Station and the iFemtocell-Evolution have a SIM card slot that can be used to get a cellular connection.
By default the connection is disabled but the SMS interface is activated, using this interface you can reactivate Ethernet if you have disabled it by error.
you just need to send the following SMS to the phone number of the SIM card in the gateway:
```
[spn:spnpwd] [coset3] configuration/set_value network.lan.type "dhcp"
```
the gateway will answer ''[coset3:ok]'' if the command is valid.\\
\\
Then send this SMS:
```
[spn:spnpwd] [updreb] update/reboot
```
The gateway will answer ''[updreb:ok]''
The gateway will reboot and ethernet connection will be activated on the gateway