BlackHole Softcams Oscam 10648 Oscam 10648/CCcam 2.1.3 Oscam 10648/CCcam 2.3.0 Oscam 10648/MGcamd 1.38C Backup existing configs before install if necessary.
![]() Ten Below
Admin
BlackHole - How to install softcams
Currently BlackHole do not provide softcams in their addons feeds installing them is easy though, here i will cover the 3 of the most common methods of installing on the BlackHole image. Method 1: Install specially made BlackHole Cam files. 1. Fist visit this page & download the softcam you want to install: Download BlackHole Softcams The files you download should have a .ipk or .tgz extension, if you have .rar or .zip extract the files before proceeding to the next step. 2. Use your favourite ftp client to transfer the cam install file to the /tmp location on your receiver in this example using DCC we see the /tmp location as a symlink pointing to /var/volatile/tmp, click on this then follow the second picture to transfer the file. 3. Now we can install the file using the remote, first press the Green button. Now the yellow button. If your file had the .tgz extension choose Manually install BH packages. If your file had the .ipk extension choose Manually install ipk packages. Now follow the on screen menu to complete the install. Configure as necessary then the cam can be controlled from the blue button. Method 2: vuplus-images-addons panel 1. First go to this page and download: vuplus-images-addons panel 2. Follow from step 2 above to install the ipk install file on your VU+. 3. Follow the pictures below to install your chosen cam(s). Method 3: Manually install cam script & binary files Not recommended for beginners but you may find parts of this come in handy later. 1. Ftp your cam binary file to the /usr/bin/ directory then make it exectable (chmod 755). 2. your cam script needs to be named in the following way to showup in BlackHole Blue panel (softcam manager) Ncam_CAM-NAME.sh E.G Ncam_CCcam.sh Pay attention to the following lines: CAMNAME='CCcam' This text is used as your cam description in BlackHole blue panel. /usr/bin/CCcam & killall -9 CCcam 2>/dev/null These must be named exactly the same as the cam binary file you want to start/stop that you have in /usr/bin/ from step 1. Script for running more than 1 cam. For example Oscam & CCcam together with CCcam starting 10 seconds later to stop it taking over the card reader. If you need to change a cams config directory. For example you have Oscam installed but want to add OscamYMOD then add to the cam starting line. -c /path to custom directory E.G /usr/bin/oscam_ymod -c /etc/tuxbox/config/ymod & Send your cam scripts to the directory /usr/camscript & make them executable (chmod755), as soon as that is done they will show up in blue panel so then just a case of adding your configs. Example scripts attached below. Have Fun. Pi-hole's Default Block Lists
UPDATE: As of version 3.0, adlist management can now be done via the web UI, you no longer need to touch the command line for this! You can find it under Settings > Pi-Hole's Block Lists.
By default, when
pihole -g pulls in lists of domains to block, we combine several lists, which are defined in /etc/pihole/adlists.list :
How To Parse A List To Get Just The Domain
Imagine you found a list you want to use, but it is formatted with a bunch of extra characters:
You can use
sed and/or awk (or other commands) to remove the extra characters to get just the domain name. It helps to be familiar with scripting, but if you wanted to parse down the list above, you could do something like this:
![]()
This would remove the two pipes at the beginning of the lines, so your list would then look like this:
![]()
Then, you could use
sed again, or even something like cut . Since the domains won't have a carat in the name, you can use it as a delimiter with the cut command to display only the domain name.
Which leaves you with just the domain names:
There is more than one way to parse the list down and there is no right way, however, some methods are faster. If you can combine most of your parsing into a single awk command, it can process a large list much faster. For each | that you use in the command, you are slowing down the processing as it is running in another subshell.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |