background image

Quickstart M15 OmniscreenTV IPTV STB -> Setup a DHCP-Router 

 

1              IPTV-dhcp-OMM15_Manual.1.4.docx 

 

 

 

 

 

 

 

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

https://www.raspberrypi.com/software/operating-

systems/

   and by acting under this tutorial: 

https://linuxhint.com/raspberry_pi_wired_router/

 

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: 

 

Содержание M15 OmniscreenTV IPTV STB

Страница 1: ...OS https www raspberrypi com software operating systems and by acting under this tutorial https linuxhint com raspberry_pi_wired_router We assume that you are familiar with setting up a RPI Download u...

Страница 2: ...Quickstart M15 OmniscreenTV IPTV STB Setup a DHCP Router 2 IPTV dhcp OMM15_Manual 1 4 docx Flashing the OS...

Страница 3: ...you should see a boot drive on your computer Navigate into it Do not format the 2nd linux partition not visible under Windows Just go to the boot partition and insert 2 files use a notepad linux capab...

Страница 4: ..._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...

Страница 5: ...5_Manual 1 4 docx 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...

Страница 6: ...boot sudo nano cmdline txt This may be done before the SDcard is inserted into the RPI Configuring the Network Now create a network configuration file for wlan0 network interface as follows sudo nano...

Страница 7: ...n the following lines and save the configuration file by pressing Ctrl X followed by Y and Enter auto eth0 iface eth0 inet static address 192 168 1 1 netmask 255 255 255 0 Select the range you want to...

Страница 8: ...on 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 Also check the network configuration of eth0 network interface...

Страница 9: ...Router 9 IPTV dhcp OMM15_Manual 1 4 docx Configuring DHCP Server Now update the APT package repository cache with the following command sudo apt update Install ISC DHCP server with the following comm...

Страница 10: ...dhcp OMM15_Manual 1 4 docx 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 reliab...

Страница 11: ...e 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 CTRL X Save Y and exit it Now open the etc default i...

Страница 12: ...i 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 a...

Страница 13: ...emctl status firewalld Now allow DHCP traffic through the firewall with the following command sudo firewall cmd add service dhcp permanent Allow IP packet forwarding with the following command sudo fi...

Страница 14: ...i for the FTP channellist group upload to the boxes and the initial IPTV setup of sending files patching the Omniscreen default Firmware to the IPTV version The Raspi needs to have installed bash OK a...

Страница 15: ...ght commander After the STB has been IPTV Patched you can connect to its IP by FTP using MC After the IPTV patch the FTP access does not need a user password combination and is open So you can down up...

Страница 16: ...talled ssh comandline will also work can establish the remote connection to the IPTV STB Usefull ssh commands with PHP in the box Factory reset php r tncommon_startfactoryreset 0 AreYouSure Disable sc...

Страница 17: ...any of these config entries are only for bigger installations with a middleware server and extra hbbtv tools in the webkit browser and should not work here in the simple P P setup network network pref...

Страница 18: ...le default m20 webkit welcomevideo url nano lamp var www htdocs nanoapps abox42 apps userhomedashboard img welcome mp4 app_auto_update 0 app_hourly_updates 0 url which is used to check if box is onlin...

Страница 19: ...of specialuseragentvalue character will be replaced by since content after will be discarded browser useragent will be used as default useragent priority of special useragent is higher than default u...

Страница 20: ...ndbacktopagehosts ce nowtilus tv rovicorp com browser spatialnavdisabledhosts youtube com 0 disabled browser validate certificates 1 default value enabled browser don t validate certificates browser i...

Страница 21: ...m 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 localhos...

Страница 22: ...uickstart M15 OmniscreenTV IPTV STB Setup a DHCP Router 22 IPTV dhcp OMM15_Manual 1 4 docx After transfer they are located under a folder in the pi home We need to check the execution bit of the scrip...

Страница 23: ...mple we change the DNS in the hybridset txt to google network network prefdns 208 67 222 222 network prefdns 8 8 8 8 network ntp time abox42 com network ntp 192 53 103 108 network ntp time windows com...

Страница 24: ...l 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 So that s all for the moment You...

Отзывы: