basmaf: Can you see if anything can be done about pixelserv slowing down the loading of some webpages? Some sites I go to take an incredible amount of time to load (if ever) when pixelserv is started.
I've found a problem with the dbus script (S20dbus).
What seem to happen is the following:
When rebooting the router a file 'pid' is left in /opt/var/run/dbus/ and prevent the start of dbus when the router starts again.
Executing 'service dbus stop' removes the file cleanly and a manual 'service dbus start' works after this.
I've found a problem with the dbus script (S20dbus).
What seem to happen is the following:
When rebooting the router a file 'pid' is left in /opt/var/run/dbus/ and prevent the start of dbus when the router starts again.
Executing 'service dbus stop' removes the file cleanly and a manual 'service dbus start' works after this.
On my installation i don't have the dbus script??
But to solve this create a symlink in to K20dbus.
By default all executable K* scripts will perform a "stop" command on reboot/shutdown.
Thanks! I'll try it out. I've made some small changes to the script to make it work with a never version of dbus (the default one segment faults). If you want to add this to your update effort of OTRW, please let me know.
I made a mistake in the order of fixing bugs in the prep script... will update the script later.
For fixing your problem.
Files need to be created again
Remove files created by asia and run the prep script again
Code:
service asiablock stop
rm /opt/etc/iptables.asia*
wget -O /tmp/prep_optware http://www.dd-wrt.com/phpBB2/download.php?id=22258
sh /tmp/prep_optware
service asiablock start
basmaf....
Thank you and the rest of the crew for maintaining this very useful tool. Many thanks to Frater for creating it in the first place. I hope he is doing well and will eventually make it back to the scene.
I ran the update above and have an error on restart:
Code:
grep: can't load library 'libpore.so.1'
which repeats before eventually dumping out to system prompt. Would you please recommend next steps to resolve?
basmaf: Can you see if anything can be done about pixelserv slowing down the loading of some webpages? Some sites I go to take an incredible amount of time to load (if ever) when pixelserv is started.
I'm using pixelserv as is.
I don't experience any extreme delays but will check if i can find something
Can you give me some example websites?
Thanx
basmaf
Thanks! I'll try it out. I've made some small changes to the script to make it work with a never version of dbus (the default one segment faults). If you want to add this to your update effort of OTRW, please let me know.
Anyway, when I PuTTY across my LAN and run
~$ perl showtime.pl
where ~/showtime.pl contains
Code:
#!/usr/bin/perl
use POSIX qw(strftime);#<--Deals with formatting the Time output.
print("\n**Script to show the local and GMT time**\n\n");
#Formats the output
my $format = '%I:%M:%S %p - %d/%m/%Y';
print("The local time is: " . strftime($format, localtime()) ."\n");
print("The GMT time is: " . strftime($format, gmtime()) . "\n");
print("\n**DONE**\n")
my linux box (which has perl 5.10.0 on it) properly shows me both the local time and UTC time.
But when I copy showtime.pl into /opt/tmp and run
# /opt/bin/perl /opt/tmp/showtime.pl
(either in PuTTY or from DD-WRT's web interface on Administration->Commands using the Run Commands button), it shows the same time for both localtime and for gmtime.
Yes, I have an NPT server entered at the bottom of the Setup->Basic Setup tab, and as far as I can tell DD-WRT is using it since the correct date/time is shown on the Status tab.
So, how do I tell if the problem is in DD-WRT's linux or in Optware's perl?
For what it's worth, I tried making showtime.pl rwxrwxrwx (777) and pointing the first line to #!/opt/bin/perl and to #!/opt/bin/sh -- # -*- perl -*-
and a few other ways, but it still wouldn't execute without passing it to perl manually in DD-WRT.
Still, that part doesn't matter so much... I'd just like to make Optware's perl display localtime and gmtime properly, as it does on my linux box.
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Tue Apr 24, 2012 21:43 Post subject:
Darr247 wrote:
So, how do I tell if the problem is in DD-WRT's linux or in Optware's perl?
The problem is in DD-WRT and not in the perl for it. DD-WRT does not distinguish between time zones. It is all considered the same (little to no provisions for time zone). _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
hello
I am running optware on kong 18777Mega 3-19-12. also my page . in the log I get the following anyone know what it means?
I get it is dropping but do not get the kernel warn. is something set wrong? I have no special needs running this just as a router and I get something is trying to come in and get out.
any help
thanks
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Thu Apr 26, 2012 3:23 Post subject:
jack_90125 wrote:
hello
I am running optware on kong 18777Mega 3-19-12. also my page . in the log I get the following anyone know what it means?
I get it is dropping but do not get the kernel warn. is something set wrong? I have no special needs running this just as a router and I get something is trying to come in and get out.
any help
thanks
Have you tried (at least temporarily) without optware? And as you did not mention, what router are you running optware on? If you are trying to run any of the media servers, those do not work on the K26 kernel at this time. _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
I have Frater's optware installed w/ the updated Asiablock script from a few pages earlier. A few issues I'm looking for a little guidance on:
1 - when router is reboot through GUI or telnet, it hangs & does not fully reboot...web interface/telnet are not accessible & unit requires unplug to reset. I remember reading something where DBUS is causing this...but I'm not sure. Any hints?
2 - when router is reset by power on/off, it fails to get WAN ip unless modem is reset immediately prior to router power-on. My automated WAN IP refresh script does not renew, neither does DHCP release/renew in the web interface. Could this be due to pixelserv at all?
3 - Birmablock reads:
Quote:
birmablock is blocking -3 subnets whilst whitelisting -4
It is referred to 0 time(s) in the chain FORWARD and 0 times in the chain INPUT
The updated S95 script fixed a similar problem I was having with asiablock, but birmablock doesnt seem to want to function
4 - When I run a test on stophammer (grc.com) I can see entries in the log (tail -f /opt/ver/log/messages) but the test causes extreme router slowdown & sometimes a crash/reboot...is this normal???
5 - is there a way to "update" my optware to the newly hosted version instead of doing a full reinstall from the new repo?