OTRW2 (incl. Mypage)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 58, 59, 60 ... 62, 63, 64  Next
Author Message
prupert
DD-WRT Novice


Joined: 15 Sep 2010
Posts: 9

PostPosted: Mon Apr 14, 2014 21:27    Post subject: Reply with quote
Hi

I get very high CPU usage via the update_hosts.sh script when I enable mypage (sleep 60 runs and runs and doesn't stop). I was wondering if I am using an out of date version.

I've done some browsing of the source website http://ddwrt.basmaf.com/ but can't tell what the current version of OTRW2 is, to check my version against. Any pointers?

Also, is upgrading the same as installing for the first time, just execute the pre_optware script?

Great job by the way on OTRW2, I love bash.
Sponsor
wabe
DD-WRT Guru


Joined: 17 Jun 2006
Posts: 889

PostPosted: Tue Apr 29, 2014 11:24    Post subject: Reply with quote
Basmaf's site seems to have been down for quite a while. Anyone knows what's up?
goRt
DD-WRT Novice


Joined: 27 Oct 2009
Posts: 30

PostPosted: Tue Apr 29, 2014 13:57    Post subject: Reply with quote
wabe wrote:
Basmaf's site seems to have been down for quite a while. Anyone knows what's up?


It's online for me
emwgee
DD-WRT Novice


Joined: 19 Dec 2013
Posts: 28

PostPosted: Wed May 21, 2014 14:54    Post subject: Rotate_log Reply with quote
Hi,


Can somebody help explain how "rotate_log" works?


Much appreciated.
bkochis
DD-WRT Novice


Joined: 18 May 2014
Posts: 3

PostPosted: Wed Jun 04, 2014 19:02    Post subject: Cannot get Samba to start Reply with quote
Hello all,
I cannot get Samba3 to start at all. I keep getting this error:

root@DD-WRT:/opt/etc/init.d# service samba start
Service "samba" is disabled (/opt/etc/init.d/S08samba)
* samba is not running

I checked the smb.cnf file, looked at a number of other posts online, did a chmod on the S80samba script.

No luck!!
Help, hints, suggestions. (Sorry, Big F__ing Hammer is not a valid one)

Router Name DD-WRT
Router Model Linksys E3000
Firmware Version DD-WRT v24-sp2 (08/12/10) std-usb-ftp - build 14929
MAC Address68:7F:74:9E:9D:7B
Host Name
WAN Domain Name hsd1
LAN Domain Name
Current TimeWed, 04 Jun 2014 18:47:51
Uptime33 min
=========================================
CPU
CPU Model Broadcom BCM4716 chip rev 1
CPU Clock 480 MHz
Load Average
2%0.04, 0.03, 0.00
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1555
Location: Zwolle

PostPosted: Wed Jun 04, 2014 20:17    Post subject: Re: Cannot get Samba to start Reply with quote
bkochis wrote:
Hello all,
I cannot get Samba3 to start at all. I keep getting this error:

root@DD-WRT:/opt/etc/init.d# service samba start
Service "samba" is disabled (/opt/etc/init.d/S08samba)
* samba is not running

I checked the smb.cnf file, looked at a number of other posts online, did a chmod on the S80samba script.

No luck!!
Help, hints, suggestions. (Sorry, Big F__ing Hammer is not a valid one)

Router Name DD-WRT
Router Model Linksys E3000
Firmware Version DD-WRT v24-sp2 (08/12/10) std-usb-ftp - build 14929
MAC Address68:7F:74:9E:9D:7B
Host Name
WAN Domain Name hsd1
LAN Domain Name
Current TimeWed, 04 Jun 2014 18:47:51
Uptime33 min
=========================================
CPU
CPU Model Broadcom BCM4716 chip rev 1
CPU Clock 480 MHz
Load Average
2%0.04, 0.03, 0.00

Use Kong 22000+ (VPN or DLNA).

_________________
2 times APU2 Opnsense 21.1 with Sensei

2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)

3 times Asus RT-N16 shelved

E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)

3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)


bkochis
DD-WRT Novice


Joined: 18 May 2014
Posts: 3

PostPosted: Wed Jun 04, 2014 21:55    Post subject: Re: Cannot get Samba to start Reply with quote
slobodan wrote:
Use Kong 22000+ (VPN or DLNA).


The e3000 would not take the 60k file, update failed. The router did take the 32k file, usb-ftp-samba3-vpn-nv32k-broadcom but then proceeded to brick the router. Power light flashing on/off for about 20 minutes.
madman999
DD-WRT Guru


Joined: 11 Jun 2012
Posts: 1042

PostPosted: Wed Jun 04, 2014 22:28    Post subject: Reply with quote
prupert wrote:
Hi

I get very high CPU usage via the update_hosts.sh script when I enable mypage (sleep 60 runs and runs and doesn't stop). I was wondering if I am using an out of date version.

I've done some browsing of the source website http://ddwrt.basmaf.com/ but can't tell what the current version of OTRW2 is, to check my version against. Any pointers?

Also, is upgrading the same as installing for the first time, just execute the pre_optware script?

Great job by the way on OTRW2, I love bash.


i;d like to know how to update as well. I;ve had my OTRW2 install running for a while and recently my Asus RT-N16 running 19519 died. I replaced it with another RT-N16 running Kong 22000+ and it worked with the same USB stick.

however, I noticed that CPU utilization is higher than before(constantly at 50-70%). Maybe it;s a combo of many factors like PPTP VPN working hard(I can only remote into this router to monitor) or maybe the update script was running correctly with MyPage/BWMon(my BWMon wasn;t updating for some reason in 19519) but like the guy who asked the question, I wonder if maybe my versions are out of date.

thanks in advance

_________________
Please state what make and model router plus the build number and type of DD-WRT you are using. Screen prints and a network diagram can are also helpful. Before you create a new post, use the search function. Chances are your issue has happened to someone else.

Common F.A.Q.
Where can I get the latest test Firmware or older ones?
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/

Asus RT-AC66R on 3.x 28072 Giga
TP-Link Archer C9 on 3.x r54095
ShakyUser
DD-WRT User


Joined: 18 Jun 2011
Posts: 76

PostPosted: Thu Jun 12, 2014 18:16    Post subject: Reply with quote
I have finally found some time to take a stab at Take 2, installing on an E4200 equipped with the latest kingkong 22000++.

The first service I went to set up is vlighttpd, since the has caused me some problems in the past, and sure enough as soon as I start the service I am getting:

Code:
/opt/sbin/lighttpd: symbol 'errno': can't handle reloc type 47


Any fixes or ideas how to get around this?[/code]
madman999
DD-WRT Guru


Joined: 11 Jun 2012
Posts: 1042

PostPosted: Thu Jun 12, 2014 20:19    Post subject: Reply with quote
I had this issue when I first configured lighttpd on my install. I think it was a well known problem.

I believe there was some entry I made into the lighttpd.conf file to fix that. I just don;t remember what it is.

i am currently still running lighttpd on my router.

_________________
Please state what make and model router plus the build number and type of DD-WRT you are using. Screen prints and a network diagram can are also helpful. Before you create a new post, use the search function. Chances are your issue has happened to someone else.

Common F.A.Q.
Where can I get the latest test Firmware or older ones?
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/

Asus RT-AC66R on 3.x 28072 Giga
TP-Link Archer C9 on 3.x r54095
ShakyUser
DD-WRT User


Joined: 18 Jun 2011
Posts: 76

PostPosted: Thu Jun 12, 2014 20:27    Post subject: Reply with quote
madman999 wrote:
I had this issue when I first configured lighttpd on my install. I think it was a well known problem.

I believe there was some entry I made into the lighttpd.conf file to fix that. I just don;t remember what it is.


Many thanks for your reply.

Sorry do you mean lighttpd or vlighttpd?

If it is the latter, could you post the content of the k20vlighttpd configuration file?
madman999
DD-WRT Guru


Joined: 11 Jun 2012
Posts: 1042

PostPosted: Thu Jun 12, 2014 20:40    Post subject: Reply with quote
where is the location of those conf files?
_________________
Please state what make and model router plus the build number and type of DD-WRT you are using. Screen prints and a network diagram can are also helpful. Before you create a new post, use the search function. Chances are your issue has happened to someone else.

Common F.A.Q.
Where can I get the latest test Firmware or older ones?
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/

Asus RT-AC66R on 3.x 28072 Giga
TP-Link Archer C9 on 3.x r54095
ShakyUser
DD-WRT User


Joined: 18 Jun 2011
Posts: 76

PostPosted: Thu Jun 12, 2014 20:45    Post subject: Reply with quote
madman999 wrote:
where is the location of those conf files?


in /opt/etc/init.d/K20vlighttpd

Thanks very much for your help, I really appreciate the effort you are making.
ShakyUser
DD-WRT User


Joined: 18 Jun 2011
Posts: 76

PostPosted: Thu Jun 12, 2014 20:50    Post subject: Reply with quote
madman999 wrote:
is upgrading the same as installing for the first time, just execute the pre_optware script?

That's certainly one way of doing it; just run the install script and it should update any applicable components.
madman999
DD-WRT Guru


Joined: 11 Jun 2012
Posts: 1042

PostPosted: Thu Jun 12, 2014 21:56    Post subject: Reply with quote
here is the contents of my lighttpd.conf

I think there is something here that I had to modify

# lighttpd configuration file
#
# use it as a base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf 8860 2008-08-05 10:56:16Z engy $

############ Options you really have to take care of ####################

## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules = (
# "mod_rewrite",
# "mod_redirect",
# "mod_alias",
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
# "mod_auth",
# "mod_status",
# "mod_setenv",
# "mod_fastcgi",
# "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
# "mod_userdir",
# "mod_cgi",
# "mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire",
# "mod_secdownload",
# "mod_rrdtool",
"mod_accesslog" )

## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/opt/share/www/"

## where to send error-messages to
server.errorlog = "/opt/var/log/lighttpd/error.log"

# files to check for if .../ is requested
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm",
"lighttpd/index.html" )

## set the event-handler (read the performance section in the manual)
server.event-handler = "poll"

#"freebsd-kqueue" # needed on OS X

# mimetype mapping
mimetype.assign = (
".pdf" => "application/pdf",
".sig" => "application/pgp-signature",
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".tar.gz" => "application/x-tgz",
".tgz" => "application/x-tgz",
".tar" => "application/x-tar",
".zip" => "application/zip",
".mp3" => "audio/mpeg",
".m3u" => "audio/x-mpegurl",
".wma" => "audio/x-ms-wma",
".wax" => "audio/x-ms-wax",
".ogg" => "application/ogg",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".xbm" => "image/x-xbitmap",
".xpm" => "image/x-xpixmap",
".xwd" => "image/x-xwindowdump",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".asc" => "text/plain",
".c" => "text/plain",
".cpp" => "text/plain",
".log" => "text/plain",
".conf" => "text/plain",
".text" => "text/plain",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml",
".mpeg" => "video/mpeg",
".mpg" => "video/mpeg",
".mov" => "video/quicktime",
".qt" => "video/quicktime",
".avi" => "video/x-msvideo",
".asf" => "video/x-ms-asf",
".asx" => "video/x-ms-asf",
".wmv" => "video/x-ms-wmv",
".bz2" => "application/x-bzip",
".tbz" => "application/x-bzip-compressed-tar",
".tar.bz2" => "application/x-bzip-compressed-tar"
)

# Use the "Content-Type" extended attribute to obtain mime type if possible
#mimetype.use-xattr = "enable"


## send a different Server: header
## be nice and keep it at lighttpd
# server.tag = "lighttpd"

#### accesslog module
accesslog.filename = "/opt/var/log/lighttpd/access.log"

## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be part
# of the document-root
url.access-deny = ( "~", ".inc" )

$HTTP["url"] =~ "\.pdf$" {
server.range-requests = "disable"
}

##
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( ".fcgi", ".php", ".pl", ".py", ".rb" )

######### Options that are good to be but not neccesary to be changed #######

## bind to port (default: 80)
server.port = 8081

## bind to localhost (default: all interfaces)
#server.bind = "grisu.home.kneschke.de"

## error-handler for status 404
#server.error-handler-404 = "/error-handler.html"
#server.error-handler-404 = "/error-handler.php"

## to help the rc.scripts
server.pid-file = "/var/run/lighttpd.pid"


###### virtual hosts
##
## If you want name-based virtual hosting add the next three settings and load
## mod_simple_vhost
##
## document-root =
## virtual-server-root + virtual-server-default-host + virtual-server-docroot
## or
## virtual-server-root + http-host + virtual-server-docroot
##
#simple-vhost.server-root = "/home/weigon/wwwroot/servers/"
#simple-vhost.default-host = "grisu.home.kneschke.de"
#simple-vhost.document-root = "/pages/"


##
## Format: <errorfile-prefix><status-code>.html
## -> ..../status-404.html for 'File not found'
#server.errorfile-prefix = "/home/weigon/projects/lighttpd/doc/status-"

## virtual directory listings
#dir-listing.activate = "enable"

## enable debugging
#debug.log-request-header = "enable"
#debug.log-response-header = "enable"
#debug.log-request-handling = "enable"
#debug.log-file-not-found = "enable"

### only root can use these options
#
# chroot() to directory (default: no chroot() )
#server.chroot = "/"

## change uid to <uid> (default: don't care)
#server.username = "nobody"

## change uid to <uid> (default: don't care)
#server.groupname = "nobody"

#### compress module
#compress.cache-dir = "/tmp/lighttpd/cache/compress/"
#compress.filetype = ("text/plain", "text/html")

#### proxy module
## read proxy.txt for more info
#proxy.server = ( ".php" =>
# ( "localhost" =>
# (
# "host" => "192.168.0.101",
# "port" => 80
# )
# )
# )

#### fastcgi module
## read fastcgi.txt for more info
#fastcgi.server = ( ".php" =>
# ( "localhost" =>
# (
# "socket" => "/tmp/php-fcgi.sock",
# "bin-path" => "/opt/bin/php-fcgi",
# "bin-environment" => (
# "PHP_FCGI_MAX_REQUESTS" => "4000"
# )
# )
# )
# )

#### CGI module
#cgi.assign = ( ".pl" => "/opt/bin/perl",
# ".cgi" => "/opt/bin/perl" )
#

#### SSL engine
#ssl.engine = "enable"
#ssl.pemfile = "server.pem"
#ssl.ca-file = "ca.crt"
#ssl.verifyclient.activate = "enable"
#ssl.verifyclient.enforce = "enable"
#ssl.verifyclient.depth = 1

#### status module
#status.status-url = "/server-status"
#status.config-url = "/server-config"

#### auth module
## read authentication.txt for more info
#auth.backend = "plain"
#auth.backend.plain.userfile = "lighttpd.user"
#auth.backend.plain.groupfile = "lighttpd.group"

#auth.backend.ldap.hostname = "localhost"
#auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
#auth.backend.ldap.filter = "(uid=$)"

#auth.require = ( "/server-status" =>
# (
# "method" => "digest",
# "realm" => "download archiv",
# "require" => "user=jan"
# ),
# "/server-config" =>
# (
# "method" => "digest",
# "realm" => "download archiv",
# "require" => "valid-user"
# )
# )

#### url handling modules (rewrite, redirect, access)
#url.rewrite = ( "^/$" => "/server-status" )
#url.redirect = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
#### both rewrite/redirect support back reference to regex conditional using %n
#$HTTP["host"] =~ "^www\.(.*)" {
# url.redirect = ( "^/(.*)" => "http://%1/$1" )
#}

#
# define a pattern for the host url finding
# %% => % sign
# %0 => domain name + tld
# %1 => tld
# %2 => domain name without tld
# %3 => subdomain 1 name
# %4 => subdomain 2 name
#
#evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/"

#### expire module
#expire.url = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")

#### ssi
#ssi.extension = ( ".shtml" )

#### rrdtool
#rrdtool.binary = "/opt/bin/rrdtool"
#rrdtool.db-name = "/var/www/lighttpd.rrd"

#### setenv
#setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
#setenv.add-response-header = ( "X-Secret-Message" => "42" )

## for mod_trigger_b4_dl
# trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db"
# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
# trigger-before-download.trigger-url = "^/trigger/"
# trigger-before-download.download-url = "^/download/"
# trigger-before-download.deny-url = "http://127.0.0.1/index.html"
# trigger-before-download.trigger-timeout = 10

## for mod_cml
## don't forget to add index.cml to server.indexfiles
# cml.extension = ".cml"
# cml.memcache-hosts = ( "127.0.0.1:11211" )

#### variable usage:
## variable name without "." is auto prefixed by "var." and becomes "var.bar"
#bar = 1
#var.mystring = "foo"

## integer add
#bar += 1
## string concat, with integer cast as string, result: "www.foo1.com"
#server.name = "www." + mystring + var.bar + ".com"
## array merge
#index-file.names = (foo + ".php") + index-file.names
#index-file.names += (foo + ".php")

#### include
#include /etc/lighttpd/lighttpd-inc.conf
## same as above if you run: "lighttpd -f /etc/lighttpd/lighttpd.conf"
#include "lighttpd-inc.conf"

#### include_shell
#include_shell "echo var.a=1"
## the above is same as:
#var.a=1

# Configuration from other optware packages
include_shell "cat /opt/etc/lighttpd/conf.d/*.conf"

_________________
Please state what make and model router plus the build number and type of DD-WRT you are using. Screen prints and a network diagram can are also helpful. Before you create a new post, use the search function. Chances are your issue has happened to someone else.

Common F.A.Q.
Where can I get the latest test Firmware or older ones?
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/

Asus RT-AC66R on 3.x 28072 Giga
TP-Link Archer C9 on 3.x r54095
Goto page Previous  1, 2, 3 ... 58, 59, 60 ... 62, 63, 64  Next Display posts from previous:    Page 59 of 64
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