Talk:Wiviz

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 06:11, 8 October 2006 (edit)
Togo (Talk | contribs)
(breaks wiviz - shell script problem)
← Previous diff
Current revision (08:36, 17 July 2007) (edit) (undo)
Tempnegro (Talk | contribs)

 
(19 intermediate revisions not shown.)
Line 13: Line 13:
echo Content-type: text/html echo Content-type: text/html
echo echo
- killall -USR1 wiviz >/dev/null 2>&1+ killall -USR1 wiviz >/dev/null 2>
- if [ 0 -ne $? ]+
- then #### Wi-Viz daemon not running, start it+
- $WIVIZ_PATH >/dev/null </dev/null 2>&1 &+
- killall -USR1 wiviz > /dev/null+
- fi+
- echo "<html><head><script language='JavaScript1.2'>"+
- cat /tmp/wiviz-pipe+
- echo "</script></head><body></body></html>"+
- +
- +
-These are the files that come with the current wiwiz tar.gz :+
- usr/lib/ipkg/lists+
- usr/sbin/wiviz+
- www/wiviz/pip-idle.gif+
- www/wiviz/pip-idle.png+
- www/wiviz/wiviz.html+
- www/wiviz/ap-wep-idle.gif+
- www/wiviz/ap-wep-idle.png+
- www/wiviz/adhoc-idle.gif+
- www/wiviz/adhoc-idle.png+
- www/wiviz/station.gif+
- www/wiviz/station.png+
- www/wiviz/ap-idle.gif+
- www/wiviz/ap-idle.png+
- www/wiviz/wiviz.css+
- www/wiviz/ap.gif+
- www/wiviz/ap.png+
- www/wiviz/station-idle.gif+
- www/wiviz/station-idle.png+
- www/wiviz/adhoc.gif+
- www/wiviz/adhoc.png+
- www/wiviz/wiviz.js+
- www/wiviz/ap-wep.gif+
- www/wiviz/ap-wep.png+
- www/wiviz/pip.gif+
- www/wiviz/pip.png+
- www/cgi-bin/wiviz-get.sh+
- www/cgi-bin/wiviz-set.sh+
- +
-==Memory Problerms?==+
-It appears that the Linksys WRT54G V4 does not have enough memory to download the file.+
-This is what I get:<br /><br />+
-/jffs # wget http://lament.rutka.net/wiviz-jffs.tar.gz <br />+
-wget: wiviz-jffs.tar.gz: No space left on device+
-<br /><br />+
---~~rh+
---+
- +
-== Drifting hosts ==+
- +
-If there are alot of hosts on the screen it seems that one (or more) of them will drift away, pushing the rest of the hosts off the opposite edge of the screen so you end up with a blank screen because all the hosts ran away.+
--the procedure to fix this is editing the wiviz.js as listed on the article!+

Current revision

[edit] Does DD-WRT v23 SP2 (09/15/06) mini - build 3932 breaks wiviz ?

It does so for me! togo 23:27, 4 Oct 2006 (CEST)

What hardware version are you having Wiviz problems with?
I have a WRT54G version 3 ... Meanwhile I found that
ln -s /jffs/www/wiviz/ /tmp/www/wiviz
makes it possible to see the page, HOWEVER Wiviz does not seem able to connect to the wl interface that gives it data! This interface seems to be acomplished by means of a Wi-Viz daemon that is being woken and called by the wiviz-get.sh CGI which is called by the wiviz.js invoked by the loaded wiviz.html page...

I can currently not see any evidence of the demon (which is probably usr/sbin/wiviz) runs while the wiviz page is open! However executing usr/sbin/wiviz manually works and deliver usefull output to the console. togo 08:05, 8 Oct 2006 (CEST)

I suspect something is wrong in the www/cgi-bin/wiviz-get.sh shell script which says:

#!/bin/sh
WIVIZ_PATH=/jffs/usr/sbin/wiviz
echo Content-type: text/html
echo 
killall -USR1 wiviz >/dev/null 2>