Pixelserv Problem

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Sat Dec 27, 2014 22:51    Post subject: Pixelserv Problem Reply with quote
I have been running optware the right way (OTRW) and the take two version. The only modules I actually run is asia block, and pixelserv. Pixelserv requires xinetd.

Build is 19342, K24, std_nokaid. 19342 was the last dd-wrt build in which an SD card worked. The hardware is a TM.

It has been flawless for quite a long time. The power went out and was out for hours so I had no choice but to shut down the networking gear because the UPS was not going to last more than 4 hours.

When the router boots with pixelserv, PS checks the blacks file. If it is more than 4 days old, a new hosts file is downloaded and imported into the blacks file.

Because the router was running for over two years without a reboot, the blacks file was never rebuilt.. There was no need.

Now.. It will not import the hosts file. Pixelserv gets it from http://winhelp2002.mvps.org/hosts.txt

This file must have changed in regard to format.. Pixelserv downloads it five times. I don't believe that is the way is used to work.

Nothing from the hosts file is imported into the blacks file, only entries that are in the hosts.include file which are entries I made are imported.

I have been messing with this for days and I am at my wits end. Any help or suggestions would be appreciated.

I have manually added the downloaded hosts file after a lot of editing to the include file. That works sort of.. It takes forever to add the 3000 entries (rounding) and the router is left with no ram so that is not the solution.

_________________
[Moderator Deleted] Shocked
Sponsor
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sat Dec 27, 2014 23:33    Post subject: Reply with quote
Layout of the file has changed.
Apply this fix

https://code.google.com/p/dd-ware/source/diff?spec=svn44&old=40&r=44&format=unidiff&path=%2Fotrw2%2FS45pixelserv
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Sun Dec 28, 2014 1:03    Post subject: Reply with quote
Thanks... You Beez Da Man..

I always thought the 0.0.0.0 was stripped so it didn't matter if the preceding was 0.0.0.0 or 127.0.0.1 or anything else for that matter..

That took care of it.. Thanks again.

_________________
[Moderator Deleted] Shocked
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Tue Jan 06, 2015 8:01    Post subject: Reply with quote
To speedup file creation change it once more.

https://code.google.com/p/dd-ware/source/diff?spec=svn45&old=44&r=45&format=unidiff&path=%2Fotrw2%2FS45pixelserv

Code:
wget -qO - ${url} 2>/dev/null |  awk '/^[0-9]/ && ! /localhost #IPv4/{print var"\t"$2}' var=$PixelIP >$hostfile
a15995
DD-WRT User


Joined: 18 Oct 2016
Posts: 96
Location: Copenhagen, Denmark

PostPosted: Sun Nov 06, 2016 21:50    Post subject: Reply with quote
basmaf wrote:
Layout of the file has changed.
Apply this fix

https://code.google.com/p/dd-ware/source/diff?spec=svn44&old=40&r=44&format=unidiff&path=%2Fotrw2%2FS45pixelserv


Would someone please repost the changes in plain text or upload the fix since the link doesn't work?

Also, I get the following error when launching the command...

Code:
/jffs/dns/pixelserv 192.168.1.254 -p 80


-sh: /jffs/dns/pixelserv: not found

If I do...

Code:
sh /jffs/dns/pixelserv 192.168.1.254 -p 80


/jffs/dns/pixelserv: line 1: syntax error: unexpected "("

Pixelserv will not run! The file is there and is executable (may have failed since updating to latest build of DD-WRT).

Thanks,

_________________
/Søren
Netgear Nighthawk X4S (R7800 ver. 1) | Atheros/Qualcomm(ARMv7) | IPQ8065 dual-core 1.7 GHz | AC2600 | 512 MB RAM | 128 MB FLASH | 128 KB NVRAM
Firmware: DD-WRT v3.0-r55109 std (02/09/24)
Install guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614

Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum