# MAG box IPTV setup

URL: https://blog.vikingiptvofficial.com/iptv-on-mag-box/

> Set up IPTV on a MAG 322, 324, 520 or 540 box: find the MAC address, add the portal URL, and fix "authorization failed" and loading loops.

MAG boxes (made by Infomir) work differently from apps: instead of a username and password, the box is identified by its **MAC address**, and it loads a **portal** your provider gives you. It is a simple, remote-friendly experience once it is running.

## What you need

- The MAC address printed under the box (it starts 00:1A:79).
- The portal URL from your provider. With Viking IPTV you send the MAC, and the portal address comes in your welcome email.

## Adding the portal

- Switch on the box and wait for the main screen.
- Go to **Settings, System settings, Servers, Portals**.
- In **Portal 1 name** type anything (for example "Viking"), and in **Portal 1 URL** type the portal address exactly.
- Press OK to save, go back and choose **Restart portal**.

The box loads the portal and shows the channel list. First load can take a minute while the guide downloads.

## Common messages

Message | Meaning | Fix | 
Authorization failed / STB blocked | The MAC is not activated, or was typed wrongly | Check the MAC you sent matches the sticker | 
Loading portal... never finishes | Wrong URL or no internet | Re-type the URL; test the network in Settings | 
Black screen with sound | Codec or stream issue | Try another channel; update the box firmware | 
Time and guide wrong | Time zone | Settings, System settings, Time zone | 

## Tips

- Use Ethernet; MAG boxes have limited [Wi-Fi](https://blog.vikingiptvofficial.com/iptv-wifi-tips/).
- Update the firmware from **Settings, Software update** when the box offers it.
- Portal 2 lets you keep a backup portal from the same provider.

The MAC address works like a password. Keep it private, and never post a photo of the sticker.

Save 67% on 12 months

## Get Viking IPTV and watch everything in one place

- 25,000+ live channels
- TV guide (EPG) included
- All devices, 4K & Full HD
- 24/7 support

From**$4.16**/month[Get Viking IPTV](https://ww1.vikingiptvofficial.com/pricing/)

Secure checkout via Stripe

## Questions and answers

**Where is the MAC address on a MAG box?**

On the sticker under the box, starting with 00:1A:79. It is also under Settings, System information.

**Why does my MAG box say authorization failed?**

The MAC is not activated for that portal or was copied wrongly. Check it against the sticker.

**Can I use an Xtream login on a MAG box?**

Not in the stock portal menu. MAG boxes use a portal URL activated for their MAC.

## More device setup guides

- [IPTV on a Samsung smart TV](https://blog.vikingiptvofficial.com/iptv-on-samsung-smart-tv/)
- [IPTV on an LG smart TV (webOS)](https://blog.vikingiptvofficial.com/iptv-on-lg-smart-tv/)
- [IPTV on Android TV and Google TV](https://blog.vikingiptvofficial.com/iptv-on-android-tv/)
- [Android TV box for IPTV](https://blog.vikingiptvofficial.com/iptv-on-android-box/)
- [IPTV on iPhone](https://blog.vikingiptvofficial.com/iptv-on-iphone/)

[All Device Setup guides](https://blog.vikingiptvofficial.com/iptv-guides/setup/) · [Every IPTV guide](https://blog.vikingiptvofficial.com/iptv-guides/)

**Viking IPTV Editorial Team**

We open every provider site on our list, record what it offers and re-check the whole list regularly. [Our methodology and disclosure](https://blog.vikingiptvofficial.com/about/).
