Rodi Home
Lesson 1.0

Download Rodi package (file Rodi.zip) from SourceForge
Unzip file rodi.jar from the archive and copy it any place on your disk
Click the file
Type ? and press [Enter]
Type debug and press [Enter]
Type dbg and press [Enter]

Q. I downloaded the source code, all I got is a heap of classes ... can anyone explain how
to use rodi to a layman ...


A. If you do not want to compile Rodi you can download binary files from http://sourceforge.net/projects/rodi/.

Unzip the archive and copy two JAR files in some directory, let's say \temp\rodi If you run Windows and Java2 Environment is installed simply click rodiTimple.jar file and then follow instructions in lesson 6 of the User Manual
If you use Linux command

java -jar rodiTimple.jar

should help and the same command can be executed from DOS command shell in Windows you can also try

javaw -jar rodiTimple.jar  
start javaw -jar rodiTimple.jar

If you are behind NAT/Firewall you should forward the port Rodi binds (screenshot)


Q. I can't run this thing. When i click 'Try it' link nothing happens


A. Rodi is written in Java and requires Java Run Time environment on your desktop (yes, i know that Java is not open source and as such is evil, but there is going to be port for C++/GCC in the future). If Azureus runs on your desktop Rodi should run too.
To download Java Runtime Environment (JRE) click http://java.sun.com/j2se/index.jsp choose any platform from available (currently J2SE 1.4.2 or J2SE 5.0), click 'Downloads' (left side of the screen at the top), click 'Download J2SE JRE', accept Licanse Agreement, click Windows Offline Installation. You probably will need to click more than once. Someitmes the server does not respond immediately. Download and run binary installation.

There are two ways to run Rodi. The first is click 'Try it', the second to downoad Rodi package (not Rodi WWW, but just Rodi) from SourceForge.net , unzip all files from rodi_??.zip and click runRodiWin32.bat. If everything is Ok you will get something like this Screen Click button SetupWizard, see more in lesson 6.0


Q. I am running it under Linux and I get

[justin@bream rodi]$ java -classpath . rodi.jar 
Exception in thread "main" java.lang.NoClassDefFoundError: rodi/jar

It might be my java setup, but other stuff works as far as


A. Most likely the problem you have because you use

java rodi.jar
try
java -jar rodi.jar
instead, or
javaw -jar rodi.jar

See also screenshots taken using Fedora 1, 2, 3


Q. I am running on Linux and I get

Failed to bind socket port 53
java.net.BindException: Permission denied

A. Try to change local port by using command line argument LocalPort followed by port number

java -jar rodi.jar LocalPort 31100

(screenshots: 1, 2)


Q. What command line options are supported by rodi.jar ?


A. LocalPort followed by number of IP port to specify port to bind.
AWTConsole followed by flag true or false to use Rodi from SSH/Telnet/command shell
ConfigurationScript followed by path (URL/URI) to the initialization script
Example: java -jar rodi.jar LocalPort 4500 AWTConsole false ConfigurationScript file:///home/rodi/rodiCore.script (screenshot)


Q. Rodi fails with following error

java.net.BindException: Address already in use: Cannot bind
        at java.net.PlainDatagramSocketImpl.bind(Native Method)
        at java.net.DatagramSocket.bind(Unknown Source)
Failed to bind socket port 81

A. Probably port 81 is not free on your desktop. Check in your firewall is there any application listening on this port. Check in your firewall that Java can access port 81. Try to run Rodi from your disk - download Rodi.zip from SourceForge. Use command

java -jar rodi.jar LocalPort 31100

to bind diffent (in this example 31100) port on your system.

Lesson 1.1

Install FireFox from http://www.getfirefox.com/ Read help for command script
Try command script http://larytet.sourceforge.net/scripts/script_CLI
Open file http://larytet.sourceforge.net/scripts/script_CLI in your browser and read it.

Q. May I use Rodi on my website to save upstream?


A. Absolutely. Rodi core can run scripts. URL to the initialization script can be specified in the parameters for the applet. Size of the applet window can easily be changed. Because Rodi is open source you are free to fork the source code any time and make customization like background color, fonts, no log window, etc. (screenshot)


Q. I run Linux. I do not see any packets going out from the application. Command 'dbg tx' reports that all send attempts failed


A. In progress

Lesson 1.2

Try command help all.This command supported from version 0.0.2D. Try to download previous version of Rodi and execute the same command