# How to set up IPTV on Enigma2 with an autoscript

> Run an IPTV provider autoscript on an Enigma2 receiver over Telnet and load the IPTV bouquet.

Enigma2 is open-source software on Linux-based receivers such as VU+ and Dreambox. It adds features such as auto-bouquets, a 7-day [EPG](https://iptvfiesta.sx/help-center/article/what-is-epg) (electronic program guide), and picons (channel icons).

Older VU+ set-top boxes use MIPS processors. Newer models use ARM processors and run Enigma2 image-based firmware. The firmware is officially user-upgradable because the receiver is a Linux computer, unlike third-party patching of other receivers. Enigma2 was originally designed for Dreambox by Dream Multimedia. For a Dreambox, see [how to set up IPTV on Enigma2 with the XtreamTV plugin](https://iptvfiesta.sx/help-center/article/how-to-setup-iptv-on-enigma-2-via-xtreamtv-plugin).

## Before you start

You need Dreambox Control Center for Enigma2 (DCC_E2) on a computer on the same network as the receiver. You also need the autoscript command from your IPTV provider. The receiver username and password are usually `root` and `root`.

## Find the receiver IP address

1. Press **Menu** on the remote.

2. Go to **Settings**.

3. Select **Network Settings**.

4. Note the **IP Address** shown on the screen.

   ![Enigma2 Network Setup screen showing the IP address](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-Setup-IPTV-on-Enigma-2-via-Autoscript-2.jpg)

## Connect with DCC_E2

1. Open DCC_E2 on your computer.

2. Enter the receiver IP address.

3. Enter the username and password. The defaults are usually `root` and `root`.

4. Select **Telnet**.

   ![Dreambox Control Center E2 with the Telnet button highlighted](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-Setup-IPTV-on-Enigma-2-via-Autoscript-1.jpg)

## Run the autoscript

The autoscript command comes from your IPTV provider. It has two versions:

- **OE1.6** uses Python 2.6. Use this version on non-Dreambox receivers.
- **OE2.0** uses Python 2.7. Use this version on Dreambox receivers.

For a Dreambox, the command looks like this:

```bash
wget -O /etc/enigma2/iptv.sh "http://tv.yourdns.com/get.php?username=your-line-username&password=your-line-password&type=enigma216_script&output=ts" && chmod 777 /etc/enigma2/iptv.sh && /etc/enigma2/iptv.sh
```

1. Paste the command into the Telnet terminal.

2. Press **Enter** to run it.

   ![Dreambox Control Center E2 Telnet window after the autoscript command runs](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-Setup-IPTV-on-Enigma-2-via-Autoscript-3.jpg)

3. Type `reboot`.

4. Press **Enter** to restart the receiver.

   ![Dreambox Control Center E2 Telnet window with the reboot command entered](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-Setup-IPTV-on-Enigma-2-via-Autoscript-4.jpg)

5. After the reboot, check the bouquet list for a new group called **IPTV**.

   ![OpenWebif bouquet list showing the new IPTV group](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-Setup-IPTV-on-Enigma-2-via-Autoscript-5.jpg)
