What's new

[Release] AB-Solution 3 - The Ad Blocking Solution

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Status
Not open for further replies.
writing the pixelserv-tls startup script
restarting pixelserv-tls to apply changes
Shutting down pixelserv-tls... done.
Starting pixelserv-tls (AB-Solution)... done.
checking if 192.168.0.110 responds
192.168.0.110 responded, continuing

8124667e009f81e156a27ef329d21cee.jpg


Thank you!
As I said, read through the thread, this has been posted before.
 
As I said, read through the thread, this has been posted before.
appState:5 stage:cinst prevSett:1 news:0 nMsg:0
vUpd:0 majVer:3 instVer:3.3 appChk:1
dev:/tmp/mnt/ASUS path:/tmp/mnt/ASUS
tmpdev: psInstSt:6 psState:eek:n
entware:1 entState:eek:n entDevice:/tmp/mnt/ASUS
entDescr: readlink: /tmp/mnt/ASUS/ab-solution.sh
-------------------- dev Mode --------------------

checking AB-Solution installation
--------------------------------------------------
appState:5 stage:md prevSett:1 news:0 nMsg:0
vUpd:0 majVer:3 instVer:3.3 appChk:0
dev:/tmp/mnt/ASUS path:/tmp/mnt/ASUS
tmpdev: psInstSt:6 psState:eek:n
entware:1 entState:eek:n entDevice:/tmp/mnt/ASUS
entDescr: readlink: /tmp/mnt/ASUS/ab-solution.sh
-------------------- dev Mode --------------------

checking Entware device
device verified, looks good

checking /jffs/scripts/dnsmasq.postconf
file found
content looks good

checking /jffs/scripts/post-mount
file found
content looks good

checking /jffs/scripts/services-start
file found
content looks good

checking /jffs/scripts/services-stop
file found
content looks good

checking /jffs/scripts/wan-start
file found
content looks good

checking Entware state
Entware running, looks good
/tmp/opt looks good

checking /opt/etc/init.d/S80pixelserv-tls
file found
content looks good

checking pixelserv-tls
192.168.0.110 responded, looks good
pixelserv-tls is not running, restarting

Shutting down pixelserv-tls... done.
Starting pixelserv-tls (AB-Solution)... done.
pixelserv-tls is not running

checking ab_dnsmasq_postconf.sh
file found
content looks good

checking white and black list
files found, no further checks

checking hosts-adblock
file found
content looks good

checking ab-solution.cfg
file found
content looks good

checking update-hosts.add
file found
content looks good

checking rotate-logs.add
file found
content looks good

checking log-stats.add
file found
content looks good

checking weekly-log-stats.sh
file found
content looks good

checking email.cfg
file found
content looks good

checking cron job hosts update
content looks good

checking cron job log rotate
content looks good

checking cron job weekly stats
30 1 * * 5 /tmp/mnt/ASUS/adblocking/scripts/weekly-log-stats.sh #WeeklyStats#
30 1 * * 5 /tmp/mnt/ASUS/adblocking/scripts/weekly-log-stats.sh #WeeklyStats#
content looks good

checking symlink state
file found
content looks good

checking dnsmasq.conf
file found
adblocking state looks good
logging state looks good

Errors found.
Read the check's output for clues.

Hit [Enter] to return to Menu

894d292ddb76cc63564cf06760d591e2.jpg
 
Hi halex4u... what is the name of your entware folder? If you take a look in /jffs/scripts/post-mount you will see something like this
Code:
if [ "$1" = "/tmp/mnt/ASUS" ] ; then
  ln -nsf $1/entware-ng /tmp/opt
fi
if the sym link and entware folder name are anything other than "entware" or "entware-ng" you will need to change them to get AB to work properly with pixelserv-tls.
 
Last edited:
Hi halex4u... what is the name of your entware folder? If you take a look in /jffs/scripts/post-mount you will see something like this
Code:
if [ "$1" = "/tmp/mnt/ASUS" ] ; then
  ln -nsf $1/entware-ng /tmp/opt
fi
if the sym link and entware folder name are anything other than "entware" or "entware-ng" you will need to change them to get AB to work properly with pixelserv-tls.
The Entware folder name is OK, otherwise no path would be shown.
 
appState:5 stage:cinst prevSett:1 news:0 nMsg:0
vUpd:0 majVer:3 instVer:3.3 appChk:1
dev:/tmp/mnt/ASUS path:/tmp/mnt/ASUS
tmpdev: psInstSt:6 psState:eek:n
entware:1 entState:eek:n entDevice:/tmp/mnt/ASUS
entDescr: readlink: /tmp/mnt/ASUS/ab-solution.sh
-------------------- dev Mode --------------------

checking AB-Solution installation
--------------------------------------------------
appState:5 stage:md prevSett:1 news:0 nMsg:0
vUpd:0 majVer:3 instVer:3.3 appChk:0
dev:/tmp/mnt/ASUS path:/tmp/mnt/ASUS
tmpdev: psInstSt:6 psState:eek:n
entware:1 entState:eek:n entDevice:/tmp/mnt/ASUS
entDescr: readlink: /tmp/mnt/ASUS/ab-solution.sh
-------------------- dev Mode --------------------

checking Entware device
device verified, looks good

checking /jffs/scripts/dnsmasq.postconf
file found
content looks good

checking /jffs/scripts/post-mount
file found
content looks good

checking /jffs/scripts/services-start
file found
content looks good

checking /jffs/scripts/services-stop
file found
content looks good

checking /jffs/scripts/wan-start
file found
content looks good

checking Entware state
Entware running, looks good
/tmp/opt looks good

checking /opt/etc/init.d/S80pixelserv-tls
file found
content looks good

checking pixelserv-tls
192.168.0.110 responded, looks good
pixelserv-tls is not running, restarting

Shutting down pixelserv-tls... done.
Starting pixelserv-tls (AB-Solution)... done.
pixelserv-tls is not running

checking ab_dnsmasq_postconf.sh
file found
content looks good

checking white and black list
files found, no further checks

checking hosts-adblock
file found
content looks good

checking ab-solution.cfg
file found
content looks good

checking update-hosts.add
file found
content looks good

checking rotate-logs.add
file found
content looks good

checking log-stats.add
file found
content looks good

checking weekly-log-stats.sh
file found
content looks good

checking email.cfg
file found
content looks good

checking cron job hosts update
content looks good

checking cron job log rotate
content looks good

checking cron job weekly stats
30 1 * * 5 /tmp/mnt/ASUS/adblocking/scripts/weekly-log-stats.sh #WeeklyStats#
30 1 * * 5 /tmp/mnt/ASUS/adblocking/scripts/weekly-log-stats.sh #WeeklyStats#
content looks good

checking symlink state
file found
content looks good

checking dnsmasq.conf
file found
adblocking state looks good
logging state looks good

Errors found.
Read the check's output for clues.

Hit [Enter] to return to Menu

894d292ddb76cc63564cf06760d591e2.jpg
Check in a browser <pixelserv IP>/servstats.txt
If you see the stats, all is fine and you have a non standard asuswrt-merlin installed that has problems with (simple) wget commands. Ask your fork maintainer for clarification.
 
Hi halex4u... what is the name of your entware folder? If you take a look in /jffs/scripts/post-mount you will see something like this
Code:
if [ "$1" = "/tmp/mnt/ASUS" ] ; then
  ln -nsf $1/entware-ng /tmp/opt
fi
if the sym link and entware folder name are anything other than "entware" or "entware-ng" you will need to change them to get AB to work properly with pixelserv-tls.
So I have this: /mnt/ASUS/entware.

I should rename "ASUS" folder? With what?

Thank you!
 
The Entware folder name is OK, otherwise no path would be shown.
Yup i see the dev mode output....just trying to get a handle on what is going on.
So I have this: /mnt/ASUS/entware.

I should rename "ASUS" folder? With what?

Thank you!
ASUS is the name of your USB device. When the device is mounted that is passed as an argument ($1) to the post-mount script. So now the statement $1 = /tmp/mnt/ASUS will be true.
the problem is that different installs of entware will call the entware folder by different names.
the symbolic link is creating a link called /tmp/opt to the full pathname of that folder. So that now /tmp/mnt/ASUS/entware will become /tmp/opt
If your entware folder name is entware or entware-ng everything will work ok.
 
Yup i see the dev mode output....just trying to get a handle on what is going on.

ASUS is the name of your USB device. When the device is mounted that is passed as an argument ($1) to the post-mount script. So now the statement $1 = /tmp/mnt/ASUS will be true.
the problem is that different installs of entware will call the entware folder by different names.
the symbolic link is creating a link called /tmp/opt to the full pathname of that folder. So that now /tmp/mnt/ASUS/entware will become /tmp/opt
If your entware folder name is entware or entware-ng everything will work ok.
No, this only shows the $entwareDevice variable, his Entware installation is certainly in that device root, with a supported folder name. Otherwise, it would not be able to verify the install in the first line of the posted 22 check output.
 
Previous saw post about pixelserv not responding. Seemed to be releated to another service using the same port on the router.

Check your AI cloud, is it running? if yes, probably on port 443 for https, just like pixelsrv is.
Change the AI Cloud port in that case
 
Previous saw post about pixelserv not responding. Seemed to be releated to another service using the same port on the router.

Check your AI cloud, is it running? if yes, probably on port 443 for https, just like pixelsrv is.
Change the AI Cloud port in that case
Thank you very much!

That did the trick: after changing the AiCloud port number I see no error in AB-Solution GUI.

One question still: do I need to configure something else after enabling the pixelserv-tls to make it work with https ads, or the AB-Solution did everything?


It is possible to get a gift image in place where the ad was blocked?

Cheers!
 
Last edited:
Thank you very much!

That did the trick: after changing the AiCloud port number I see no error in AB-Solution GUI.

One question still: do I need to configure something else after enabling the pixelserv-tls to make it work with https ads, or the AB-Solution did everything?


It is possible to get a gift image in place where the ad was blocked?

Cheers!
Thats interesting....another victim of AiCloud, but this time no mention of the port already in use like the previous case.
Makes me wonder if trend micro have any other surprises up their sleeves......
 
I seem to be getting certificate errors now in my browser.

Issued to *.g.doubleclick.net
Issued by Pixelserv CA
valid from 8/11/2016 to 06/11/2026

If I try and add it I just get the pop again later on IE11
I have the same problem. Did you solve it somehow?
 
Import the ca.crt from pixelserv in your browser to be a trusted ca?
the certificate can be found here: /mnt/<your usb>/entware/var/cache/pixelserv

there is a special topic for pixelserv on this forum with hints and tips ;)
That topic is too technical for me as windows user but your answer is gold.
Thank you, I will try tomorrow.
 
Thats interesting....another victim of AiCloud, but this time no mention of the port already in use like the previous case.
Makes me wonder if trend micro have any other surprises up their sleeves......


I was the first victim, i saw the ip in use ( was really the port) in merlin logs, when i enabled ps to report logs.
 
Might be usefull tot make a backup of the ca.crt and key file. If you ever reinstall pixelserv just put those files back so it will use the same ca again and no need tot import again on tour systems

Verstuurd vanaf mijn A0001 met Tapatalk
 
PS IP, they are only converted when PS is turned off.
 
Status
Not open for further replies.

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top