# Script installation

To install the script:

1. SSH into your router with WinSCP and Putty as described in [Tools for SBC products](https://app.gitbook.com/o/vTf4HrtXl9bgDwvJVSxV/s/TkNcqXMlEcaKT7pfTYLd/ "mention"). The IP address of the router is 192.168.1.1, user is root and password is the same as for the web UI (Rasp4icu).

{% hint style="warning" %}
Please note that WinSCP must use SCP protocol.
{% endhint %}

<figure><img src="https://2605103602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsp4j9Tn2xGb8D5438KRm%2Fuploads%2FaBXIBvKXJSFm5iT1NzSS%2Fimage.png?alt=media&#x26;token=66176689-195e-4a1f-a3c2-121c5b6aede2" alt=""><figcaption></figcaption></figure>

3. Upload the script to /usr/bin/.
4. Make it executable running the command below in Putty:

```sh
chmod +x /usr/bin/poll_api.sh
```

4. If you edited the file in Windows then clean the file running the command below in Putty:

```sh
sed -i 's/\r$//' /usr/bin/poll_api.sh
```

5. Continue to [additional-settings](https://help.boomerang3.com/b3-sms-device-installation-manual/installation-procedures/router-setup/additional-settings "mention").
