What's new
  • 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.
Thanks lonelycoder, The post-mount file is exactly as above but when I try to run the command you describe I get the error "sh: can't open..."
Just to clarify, for <your device> I am entering RT-AC68U-OCF8, is this correct?
Is there a clean way to uninstall/delete and re-install?
It's the device AB is installed on:
sh /tmp/mnt/sda1/ab-solution.sh or
sh /tmp/mnt/usbstick/ab-solution.sh

Whatever the device is labeled.
This line in post-mount tells you the full path to ab-solution.sh:
ln -s /tmp/mnt/<your device>/ab-solution.sh /root/ab-solution.sh

There is no need to reinstall it if it runs. AB either runs error free or not.
 
It's the device AB is installed on:
sh /tmp/mnt/sda1/ab-solution.sh or
sh /tmp/mnt/usbstick/ab-solution.sh

Whatever the device is labeled.
This line in post-mount tells you the full path to ab-solution.sh:
ln -s /tmp/mnt/<your device>/ab-solution.sh /root/ab-solution.sh

There is no need to reinstall it if it runs. AB either runs error free or not.
Right, sorry, wasn't thinking straight.
So, according to post-mount it's in /tmp/mnt/sdb1/ab-solution.sh
Running sh /tmp/mnt/sdb1/ab-solution.sh returns "can't open"
If I run fdisk -l it shows the usb in question on sdc with the partition it's installed to on sdc1??
Running sh /tmp/mnt/sdc1/ab-solution.sh also returns "can't open"
 
Right, sorry, wasn't thinking straight.
So, according to post-mount it's in /tmp/mnt/sdb1/ab-solution.sh
Running sh /tmp/mnt/sdb1/ab-solution.sh returns "can't open"
If I run fdisk -l it shows the usb in question on sdc with the partition it's installed to on sdc1??
Running sh /tmp/mnt/sdc1/ab-solution.sh also returns "can't open"
Seems like your usb device has a new label, given by the router OS.
It is always best to label devices. That way they have a distinctive name and not something generic as 'sda1' or 'sdb' given during mounting.

There is not much AB can do about it, and it certainly won't change a wrong device name.
- Start from scratch by first setting a label to the device somehow.
- Delete all files in /jffs/scripts/
- Reboot router
- Use curl install command from website
- Select Re-Install, unless you have deleted the AB files on your device (this preserves your white- and blacklist)
 
Seems like your usb device has a new label, given by the router OS.
It is always best to label devices. That way they have a distinctive name and not something generic as 'sda1' or 'sdb' given during mounting.

There is not much AB can do about it, and it certainly won't change a wrong device name.
- Start from scratch by first setting a label to the device somehow.
- Delete all files in /jffs/scripts/
- Reboot router
- Use curl install command from website
- Select Re-Install, unless you have deleted the AB files on your device (this preserves your white- and blacklist)
Hmmm, done all that but when I run the curl command it runs but doesn't open the installer, just drops back to the command prompt after running and outputting the following..
Code:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  145k  100  145k    0     0   532k      0 --:--:-- --:--:-- --:--:--  763k
sh: can't open 'ab'
sh: sh:: not found
 
Hmmm, done all that but when I run the curl command it runs but doesn't open the installer, just drops back to the command prompt after running and outputting the following..
Code:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  145k  100  145k    0     0   532k      0 --:--:-- --:--:-- --:--:--  763k
sh: can't open 'ab'
sh: sh:: not found
You either have a more widespread problem on your router or you did not copy/paste the full command.
If I only partially paste it, like this:
(removed partial command)
then I get this error, similar to yours: sh: can't open 'ab'
You have to copy/paste the full line into the terminal, not just pieces of it.
If that still does not work, enter this and post output:
Code:
sh --help
 
Last edited:
You either have a more widespread problem on your router or you did not copy/paste the full command.
If I only partially paste it, like this:
curl -O ab-solution.info/releases/latest/ab-solution.sh && sh ab
then I get this error, similar to yours: sh: can't open 'ab'
You have to copy/paste the full line into the terminal, not just pieces of it.
If that still does not work, enter this and post output:
Code:
sh --help
OMG, what a plonker. So sorry to be such an idiot :oops::rolleyes:
Looking good again now. Thanks for your patience
 
Hi,

is there any solution to enable/disable absolution remotely? For example with a web interface.
Without login in router and run the script...

Thanks
 
Hi,

is there any solution to enable/disable absolution remotely? For example with a web interface.
Without login in router and run the script...

Thanks
No
 
Hi,

is there any solution to enable/disable absolution remotely? For example with a web interface.
Without login in router and run the script...

Thanks
Except you use a VPN and an ssh client on your mobile, like I do..
 
Just noticed a strange one.

Router "A" was updated to 380.65. Router "A" runs OpenVPN client with Redirect Internet Traffic set to "All". AB-Solution works.

Updated Router "B" to 380.65. Router "B" runs OpenVPN client with Redirect Internet Traffic set to "Policy Rules". All clients use native WAN except for the Roku Player. I set up my laptop Ethernet connection to get a static IP and assigned this IP goes through the VPN so I could test that the VPN connection was working. I did the whatismyipaddress dot com and dnsleaktest dot com to make sure all is good. I then went to a few websites and noticed I see advertisements. Ouch!

I disconnected from my Ethernet connection and connected to the router via WiFi which assigns an IP that goes through the WAN. I saw no advertisements.

I never tested this before with 380.64_2. I added the options dhcp-option DNS xxx.xxx.xxx.xxx for the two DNS servers of Torguard in additional config section just to be safe. But say no change in ad blocking.

Does anyone else have AB-Solution working with OpenVPN Policy Rules when the traffic goes through the VPN?

Update:
RESOLVED by changing Accept DNS Configuration from "Exclusive" to "Strict" on OpenVPN Client page.
 
Last edited:
I found one site that is perfect to test AB-solutions, it has a very aggressive ad system!, I used the "ads gone host file", and still get a lot ads from there, thanks to that site I added 40 new sites to the black list. Since the wildcard system was removed I had to add one by one.

PS: I like it better without the wildcard system even if is harder to block some sites.
 
I have just updated my ASUS RT-AC88U router to the latest Merlin FW (380.65.2) and the USB drive containing ABSolution 'disappeared'.

Being a noob with this I had to completely wipe the USB and install ABSolution from scratch.

What is the best way to do this when I update my router FW in the future?

Thanks.
 
I have just updated my ASUS RT-AC88U router to the latest Merlin FW (380.65.2) and the USB drive containing ABSolution 'disappeared'.

Being a noob with this I had to completely wipe the USB and install ABSolution from scratch.

What is the best way to do this when I update my router FW in the future?

Thanks.
You probably had the USB stick not given a label (name)?
If you give it a name that will be used to reference the USB stick. If not labeled it will use the internal given name in the scripts. This name can change between reboots or fw upgrades.

Verstuurd vanaf mijn A0001 met Tapatalk
 
What is the best way to do this when I update my router FW in the future?
The save way to do it is to:
- Save Settings in Administration / Restore/Save/Upload Setting
- Save Backup JFFS partition in Administration / Restore/Save/Upload Setting
- Unplug router, remove all plugged in USB devices
- Boot up router, run the update
- When all went well, plug in your USB devices

AB will start up, including Entware if installed and /jffs/ partition was not wiped.
Else, do a restore of /jffs/ from your Backup

And, as @HeMaN writes, always give your devices a name by labeling it. But you have to do that before installing stuff on it that depends on the label name in the /jffs/ scripts.
 
Last edited:
You probably had the USB stick not given a label (name)?
If you give it a name that will be used to reference the USB stick. If not labeled it will use the internal given name in the scripts. This name can change between reboots or fw upgrades.

Verstuurd vanaf mijn A0001 met Tapatalk

Thanks. I think that would have been the problem.
 
The save way to do it is to:
- Save Settings in Administration / Restore/Save/Upload Setting
- Save Backup JFFS partition in Administration / Restore/Save/Upload Setting
- Unplug router, remove all plugged in USB devices
- Boot up router, run the update
- When all went well, plug in your USB devices

AB will start up, including Entware if installed and /jffs/ partition was not wiped.
Else, do a restore of /jffs/ from your Backup


Thank you. I will do this next time I update the FW.
 
Thank you. I will do this next time I update the FW.
It's the save way.
But that does not mean I ever do it that way. Never happened to me, on none of the four routers when upgrading.
Downgrading, as I do often to test things, is a different matter.
But testing AB's limits, installing on the weirdest configurations is what I do...
 
Hi, i have R7000 router with xwrt-vortex, i have dnscrypt and ab-solution 3.6.5 installed, i use shooter file list, but some sites are blocked, so i add them to the whitelist and process it, but i still cannot access the site unless i turn off ab-solution, anyone else have these problems, where can i look, thanks
 
Tried to change the blocking file tonight. Originally configured with built-in choice 2. Wanted to try built-in choice 1. The new host files are failing to download. Tried running the update manually as well with same result ... any suggestions?

running update-hosts.add v3.6.5.1.1 in verbose mode

using temporary update-hosts file to lower
memory usage while updating

downloading Standard blocking files
using "172.16.1.2" as blocking IP
adding "::" as IPv6 blocking IP, service is enabled

getting hosts file 1, preprocessing file...
http://winhelp2002.mvps.org/hosts.txt

download hosts file 1 failed, using backup file

getting hosts file 2, preprocessing file...
http://someonewhocares.org/hosts/zero/hosts

download hosts file 2 failed, using backup file

getting hosts file 3, preprocessing file...
http://pgl.yoyo.org/adservers/serve...&showintro=0&mimetype=plaintext&useip=0.0.0.0

download hosts file 3 failed, using backup file
 
Status
Not open for further replies.

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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