Download Print this page

Advertisement

Quick Links

Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router
Because this box has been stripped down for easy handling, you should know some essential facts:
-
See also : IPTV-Multicast-OMM15_Manual.1.4.pdf
-
Factory defaults: It must be connected to the Internet to get the basic OS installed online
o After the installing of the basic OS it needs to get a script from a connected Linux
Device running to prepare it for the Digital Signage / IPTV Multicast streaming's
o The STB displays Time and date information on the main screen so it needs a NTP
connection either getting these from the router or from the internet.
o So it is almost helpful to have a tiny router installed which serves the boxes with
small internet connection and also handles their DHCP.-IP addresses IPv4
We now like to give you a short introduction to setup a DHCP-Router for these boxes: Using a
raspberry PI3/4 and its original Raspberry Pi OS:
systems/
and by acting under this tutorial:
We assume that you are familiar with setting up a RPI: Download, use RPImager and flash it. Than
stay at the µSDCard by your windows/Linux-PC and add following to the USB-Boot-Folder:
Things You Need:
In order to configure your Raspberry Pi as a wired router, you need the following things:
1) A Raspberry Pi single board computer
2) A Raspberry Pi power adapter or a 2.1A USB power bank
3) A SD card reader for flashing Raspbian OS onto the microSD card.
4) A microSD card
5) A network switch (10/100/1000 or 100/1000 Autosensing)
6) Ethernet cables
7) A Wi-Fi network to connect the Raspberry Pi to
8) A computer/laptop for configuring the Raspberry Pi
In this example case, we have an external WIFI-USP-Stick connected to the PI and a WIFI-in Reach.
We are using for this tutorial an older RPI2-Model.
The Network-switches can be set to the static IP address ranges and been managed by a connected
PC in the same static or dynamic range at the switches. The Raspi can be handled by a laptop in the
same WIFI - See picture:
https://www.raspberrypi.com/software/operating-
https://linuxhint.com/raspberry_pi_wired_router/
1
IPTV-dhcp-OMM15_Manual.1.4.docx

Advertisement

loading
Need help?

Need help?

Do you have a question about the M15 OmniscreenTV IPTV STB and is the answer not in the manual?

Questions and answers

Summary of Contents for Blankom M15 OmniscreenTV IPTV STB

  • Page 1 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Because this box has been stripped down for easy handling, you should know some essential facts: See also : IPTV-Multicast-OMM15_Manual.1.4.pdf Factory defaults: It must be connected to the Internet to get the basic OS installed online o After the installing of the basic OS it needs to get a script from a connected Linux Device running to prepare it for the Digital Signage / IPTV Multicast streaming’s...
  • Page 2 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Flashing the OS: IPTV-dhcp-OMM15_Manual.1.4.docx...
  • Page 3 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Flashing: Re-Connect the USB-penkey: Now, you should see a boot drive on your computer. Navigate into it. Do not format the 2 linux partition (not visible under Windows)!!! Just go to the boot-partition and insert 2 files (use a notepad++ linux capable text editor –...
  • Page 4 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Create a new file wpa_supplicant.conf and type in the following lines to it: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=US network={ ssid="YOUR_WIFI_SSID" psk="YOUR_WIFI_PASSWORD" scan_ssid=1 priority=1 Change US to your land, DE in our case and here we use the I-Netrouter WIFI access: WIFI-PW= 21166445981716195140 , SSID = IRENIS2,4 This file will be copied to the /etc/wpa…...
  • Page 5 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Select the WIFI access and let run the updates and check IP: As you can see, the Ethernet port is not configured yet. If you are running the RPI as headless device w/o a connected HDMI-Monitor, Check your router what IP address has been delivered to your RPI…...
  • Page 6: Configuring The Network

    Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Terminal access by SSH with Putty or Kitty: Now, open the cmdline.txt file and add ipv6.disable=1 at the end of the line to disable IPv6: cd /boot sudo nano cmdline.txt: This may be done before the SDcard is inserted into the RPI.
  • Page 7 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Now, create a network configuration file for eth0 network interface as follows: $ sudo nano /etc/network/interfaces.d/eth0 Now, type in the following lines and save the configuration file by pressing <Ctrl> + X followed by Y and <Enter>.
  • Page 8 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Once your Raspberry Pi starts, check the network configuration of wlan0 network interface as follows: $ ip addr show wlan0 wlan0 should get an IP address via DHCP But it can be a different than before...
  • Page 9: Configuring Dhcp Server

    Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Configuring DHCP Server: Now, update the APT package repository cache with the following command: $ sudo apt update Install ISC DHCP server with the following command: $ sudo apt install isc-dhcp-server Off course Y IPTV-dhcp-OMM15_Manual.1.4.docx...
  • Page 10 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Now, open the dhcpd.conf file as follows: $ sudo nano /etc/dhcp/dhcpd.conf Set the domain-name and domain-name-servers as follows. Or any other DNS in your region which is reliable… We increase the lease time to 90 hours instead of 10 (600 sec).
  • Page 11 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Scroll down a little bit and uncomment authoritative; line: Than add these lines somewhere in the file: subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.50 192.168.1.240; option routers 192.168.1.1; option subnet-mask 255.255.255.0;...
  • Page 12 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Once your Raspberry Pi starts, the isc-dhcp-server service should be active (running). $ sudo systemctl status isc-dhcp-server Configuring the Firewall and Enable Packet Forwarding: Now, install firewalld (daemon) as follows: $ sudo apt install firewalld Press Y and then press <Enter>...
  • Page 13 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router The firewalld service should be active (running) by default. Enter for checking: $ sudo systemctl status firewalld Now, allow DHCP traffic through the firewall with the following command: $ sudo firewall-cmd --add-service=dhcp --permanent...
  • Page 14 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router With tail –f /var/log/syslog you’ll see the DHCP actions with every connected box. Now we can prepare the Raspi for the FTP- channellist/group upload to the boxes and the initial IPTV setup of sending files, patching the Omniscreen...
  • Page 15 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Via the RPI to manage the STB: You need to install an FTP client or use the midnight commander: After the STB has been IPTV-Patched, you can connect to its IP by FTP using After the IPTV patch the FTP access does not need a user/password combination and is open.
  • Page 16 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Of course your PC (or the RASPI itself) with Putty installed (ssh comandline will also work) can establish the remote connection to the IPTV-STB: Usefull ssh commands with PHP in the box: •...
  • Page 17 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router … There are a lot more …. For the specialistst who knows php… One essential file for the STB-Configuration is: hybridset.txt and is linked /stored in an extra flash nonvolatile partition: cd /opt/data/settings/tv2next/: This file hybridset.txt is transferred with the IPTV patch from Omniscreen to this IPTV...
  • Page 18 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router #key.portal=http://localhost/nanoapps/branded/brandeddashboard/index.html key.portal=http://localhost/developer/index.html key.info=http:// [apps] # the app which will be activated when the box startup. FirstRunApp=portalstack # the app which will be run # for example: if we define RunPortal=portalstack, it means there is a portalstack directory under rootfs/root, a portalstack.sh file under the portalstack directory,...
  • Page 19 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router [saas] ## used for nano apps ---Software as a service??? #saas.lcm.url=https://m15.lifecycleabox42app.com/provisioning/ #saas.lcm.secret=abox42-m15prod-89be579233bba59c5324afed7d677331 #saas.signature.url=https://m15.signatureabox42app.com/api2/ #saas.signature.secret=abox42-m15prod-7a4aa6f2d119b38e10db5b8acb6fdc069 # saas.cm.url=https://m15.customersabox42app.com/api/ # saas.cm.secret=m15prod_a5850a50ff73c21c305247b59c326579 # saas.tvs.url=https://m15.tvservicesabox42app.com/api/ # saas.tvs.secret=m15prod_caf3fb45cb3a487a611e966d6d90c28b # saas.reporting.url=https://m15.collectorabox42app.com/inbox [Device] # "none" is also valid value here productname=Omniscreen OMM15 marketing_version=1.10...
  • Page 20 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router ## 2: go to index.html or index.php or deploy.php in /opt/data/settings/nano- htdocs/developer if valid on startup. check_starturl=0 ## only valid when branded app url works. ## 0: default value, this parameter does not take effect and will be ignored.
  • Page 21 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router acamar.net,*.connectedvod.com,*.redbull.tv,*.kabeleins.de,*.kinderkino.de,82.79.128 .163:8080,websiteapp.download.arte.tv,digitalbloom.dev.ping247.de,*.hatcolorsoft.co m,*.kicker.de,*.nacamar.net,*.putpat.tv,*.onlinetvrecorder.com,*.connept.tv,4t1.ch, *.assense.com,*.tv-id.net,*.grid-service.net,*.sportdigital.services.nrmmh.tv,*.n- tv.de,*.sport1.de,*.nexxclients.com,*.international- tv.de,*.radiotime.com,*.kinowelttv.c.nmdn.net,*.tvbuddy.com,*.youtube.com,*.motorsp ort- total.com,*.nowtilus.tv,*.hollystar.ch,*.jaast.com,*.autozine.de,*.freshmilk.tv,*.c ellmp.de,*.swissinfo.ch,*.swisstxt.ch ## used to set in which hosts script inject is allowed. scriptInjectedHosts=localhost,127.0.0.1 [proxy] #proxy.server=192.168.2.100 #proxy.port=8888 #proxy.username=usr #proxy.password=pwd #proxy.excludedhosts=localhost,127.0.0.1 [vm] #add verimatrix server IP and port here #vm.server=74.62.179.31...
  • Page 22 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router After transfer they are located under a folder in the pi-home: We need to check the execution bit of the script: IPTV-dhcp-OMM15_Manual.1.4.docx...
  • Page 23 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router No it isn’t !!! so we need to make it executable: sudo chmod 755 abox_42_iptv_setup.sh Now we can use that to change values in an already DHCP-connected STB: Example: we change the DNS in the hybridset.txt to google: [network] #network.prefdns=208.67.222.222...
  • Page 24 Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router Hybridset.txt will be overwritten as well as the channels – and group.json – files which contains the channel-list and groups for the user: That worked: DNS changed to 9.9.9.9 … ping it ;-) Ntp time to time.windows.com...