Wiviz
From DD-WRT Wiki
Revision as of 09:55, 2 March 2006 (edit) WikiSysop (Talk | contribs) m (Wiederhergestellt zur letzten Änderung von Joshua7878) ← Previous diff |
Revision as of 18:16, 6 March 2006 (edit) (undo) Sailor (Talk | contribs) Next diff → |
||
Line 25: | Line 25: | ||
'''ln -s /jffs/www /tmp/''' ''This makes the symlink. Please note that there are 3 spaces in this line'' | '''ln -s /jffs/www /tmp/''' ''This makes the symlink. Please note that there are 3 spaces in this line'' | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
That should allow your browser to see the wiviz page at | That should allow your browser to see the wiviz page at | ||
Line 37: | Line 34: | ||
'''rm wiviz-jffs.tar.gz''' ''This will remove the downloaded compressed file'' | '''rm wiviz-jffs.tar.gz''' ''This will remove the downloaded compressed file'' | ||
+ | |||
+ | |||
+ | |||
+ | '''IMPORTANT:''' The link is only for the current session, and must be recreated for each session. Perform the following instructions to create the link automatically on startup. | ||
+ | |||
+ | You will need to create a subdirectory /jffs/etc/ if it doesn't already exist. | ||
+ | |||
+ | '''ls /jffs/''' ''List the jffs/ directory to see if etc/ exists.'' | ||
+ | |||
+ | If not, then '''mkdir /jffs/etc''' ''Makes the new subdirectory etc/'' | ||
+ | |||
+ | '''mkdir /jffs/etc/config''' ''Creates a new subdirectory to /jffs/etc/ of config/'' | ||
+ | |||
+ | '''echo "ln -s /jffs/www /tmp/" > /jffs/etc/config/wi-viz.startup''' ''Creates startup file'' | ||
+ | |||
+ | '''chmod 700 /jffs/etc/config/wi-viz.startup''' ''Sets file permissions'' | ||
+ | |||
+ | |||
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0 1em 1em 1em; background-color:#FFE0E0; align:right;"> | <div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0 1em 1em 1em; background-color:#FFE0E0; align:right;"> | ||
Note: The wiviz page only displays output - the input settings do not function with DD-WRT. | Note: The wiviz page only displays output - the input settings do not function with DD-WRT. |
Revision as of 18:16, 6 March 2006
What is Wiviz?
For those interested in using a WRT54G to access public networks, imagine a dynamic Javascript-based interface, to scan for networks and see signal strength and effects of antenna adjustment in real time! Wiviz is the Open Source project under GNU GPL that does just this. Visit http://students.washington.edu/natetrue/wiviz/ for the projects home page!
What would be nice to eventually see is a point and click option to configure the link up to a selected network.
Wiviz on DD-WRT
Thanks to User Lament who has ported Wiviz to DD-WRT! See Forum Post.
Installation
First enable jffs2, and clean jffs2, found under the administration tab/management tab of the web DD-WRT Control Interface, if you have not done so already.
Use telnet or SSH (if enabled) to log in as root on the router. If using Windows XP, you can type 'telnet' from a run command, and use the command 'open 192.168.1.1' (assuming your router ip is 192.168.1.1), to gain access to the router. Type 'root' as username, and your router password, as the password.
Next type the following commands (in bold).
cd /jffs/ This puts us in the jffs directory from root directory
wget http://lament.rutka.net/wiviz-jffs.tar.gz This downloads the permanent (ie, stored in jffs file structure) program
tar -xvzf wiviz-jffs.tar.gz This extracts files
ln -s /jffs/www /tmp/ This makes the symlink. Please note that there are 3 spaces in this line
That should allow your browser to see the wiviz page at
http://192.168.1.1/user/wiviz/wiviz.html or http://routerip/user/wiviz/wiviz.html
Finally clean up by typing
rm wiviz-jffs.tar.gz This will remove the downloaded compressed file
IMPORTANT: The link is only for the current session, and must be recreated for each session. Perform the following instructions to create the link automatically on startup.
You will need to create a subdirectory /jffs/etc/ if it doesn't already exist.
ls /jffs/ List the jffs/ directory to see if etc/ exists.
If not, then mkdir /jffs/etc Makes the new subdirectory etc/
mkdir /jffs/etc/config Creates a new subdirectory to /jffs/etc/ of config/
echo "ln -s /jffs/www /tmp/" > /jffs/etc/config/wi-viz.startup Creates startup file
chmod 700 /jffs/etc/config/wi-viz.startup Sets file permissions
Note: The wiviz page only displays output - the input settings do not function with DD-WRT.
In order to get around not being able to change to channel hopping, you can manually create a wiviz config file.
echo "channelsel=hop&hopseq=1,6,11" > /tmp/wiviz-cfg
channelsel = Either the word "hop" or the channel number to monitor. The default is to monitor the channel already in use by the card.
hopseq = A comma seperated list of channels to hop through in the order of your choice.
Remember: Channel hopping does NOT work when in AP mode.