View Poll Results: Do you find Dist Hardware Evolution User Friendly to install and run?

Voters
4. You may not vote on this poll
  • Yes, I have had no problems.

    1 25.00%
  • No, I have had many problems installing and running it.

    1 25.00%
  • Yes, but it could be much better.

    1 25.00%
  • No, I can't get it running at all.

    1 25.00%
Results 1 to 17 of 17

Thread: Very Confusing

  1. #1

    Very Confusing

    Hello All,

    I reallly think this experiment is very cool, but I have found it very difficult to get things running properly.

    I went through the steps, and under services, it shows Distributed Hardware Evolution Island as started. I looked in the folder and see no dowloaded files. I checked the stats and can't find my username.

    I tried to use the graphic client but I don't know how to edit a batch file in order to configure it.

    I am running on a pIII 1.3 ghz under xp.

    I am involved with other dc projects, and frankly am ready to just move on and continue contributing to other projects. I don't mean to be critical, but this is one of the most user unfriendly projects I have been involved with. You would have far greater participation if you bundled any kind of graphic client, even a textual one that could be easily configured by filling in the address and user name. The GUI should have a couple of fill in the blank windows the first time it is started or something like dnet.

    I would like to contribute if possible, but have already spent a lot of time on this and have no idea if it is running or not. Any suggestions would be appreciated.


    Cheers,


    -John

  2. #2
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    Ok here is what the default batch file looks like

    cd INSTALL_DIR
    :begin
    java -Djava.security.policy=java.policy -jar ITClient.jar 139.184.166.27 KingKong YOUR_NAME -i 30 -c 60 YOUR@EMAIL
    goto begin

    Ok this will all be example. Say I installed it to c:\dhep and I wanted to be on Free-DC team. I would edit the batch file to look like so:

    cd c:\dhep
    :begin
    java -Djava.security.policy=java.policy -jar ITClient.jar 139.184.166.27 KingKong magnav0x -i 30 -c 60 my@email.com Free-DC
    goto begin

    Then I would just run the batchfile and it would run

    1) replace c:\dhep with the folder you installed it to
    2) replace magnav0x with your username
    3) replace my@email.com with your e-mail address
    4) replace Free-DC with whatever team you are on. Or delete it you are on no team
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  3. #3
    Thanks for the quick reply. I will try. I am a former Mac user and not used to dealing with batch files.

    However, I am afraid that perhaps (a la your sig file) that if I run the batch file, you will rule my computer and emerge me in darkness.

    Cheers,

    -John

  4. #4
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    However, I am afraid that perhaps (a la your sig file) that if I run the batch file, you will rule my computer and emerge me in darkness.


    That is just a Lord of the Rings spoof for the Gentoo Linux 'emerge' command that totatly rocks
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  5. #5
    Administrator PCZ's Avatar
    Join Date
    Jun 2003
    Location
    Chertsey Surrey UK
    Posts
    2,428
    what batch file ?

    I run it as a service.
    I can edit the dhep.conf file to change teams usernames etc

  6. #6
    I typed exactly what you put after cd-ing to the right directory, and when i ran Islandnt, it still shows "your name" "myname.com or whatever the default is" and then access denied when trying to download.

    I tried a few times. I am not sure what I am doing wrong, but that it's for me. There are enough projects out there that I can participate in with a few clicks, that I don't need this.

    Good luck to all participants.

    -John

  7. #7
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    You don't type that in, that's what your batch file should look like.
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  8. #8
    Originally posted by magnav0x
    You don't type that in, that's what your batch file should look like.

    In the instructions for how to install manually (since auto didn't work for me), it says:

    Download Java executable Jar file and Java policy file into some directory. Make sure the latter is saved as java.policy and not java.policy.txt. Now download this batch file and change INSTALL_DIR to where you downloaded these files and YOUR_NAME and YOUR@EMAIL to your own. You now launch your island by clicking on this batch file. Don't forget to put it file in the Start->Programs->Startup folder so it runs every time.

    How do I change install_Dir , etc.?

  9. #9
    This is what I get when I try to run IslandNT:


    C:\Program Files\disthard>cd INSTALL_DIR
    The system cannot find the path specified.

    C:\Program Files\disthard>start /low /b /wait java -Djava.security.policy=java.p
    olicy -jar ITClient.jar 139.184.166.27 KingKong YOUR_NAME -i 30 -c 60 YOUR@EMAIL

    Interact period is 30 minutes.
    Connect period is 60 minutes.
    Trying to get task from server //139.184.166.27/KingKong
    InteractiveTaskClient exception: access denied (java.net.SocketPermission 139.18
    4.166.27:1099 connect,resolve)
    java.security.AccessControlException: access denied (java.net.SocketPermission 1
    39.184.166.27:1099 connect,resolve)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkConnect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown S
    ource)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown S
    ource)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.newCall(Unknown Source)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Unknown Source)
    at distrit.client.InteractiveTaskClient.connectLoop(InteractiveTaskClien
    t.java:72)
    at distrit.client.InteractiveTaskClient.main(InteractiveTaskClient.java:
    236)

  10. #10
    Stats Developer magnav0x's Avatar
    Join Date
    Mar 2002
    Location
    Dallas, TX
    Posts
    1,747
    It's because you didn't edit your batch file at all..........

    EDIT your batch file, delete what's in it and put this:

    cd C:\Program Files\disthard
    :begin
    java -Djava.security.policy=java.policy -jar ITClient.jar 139.184.166.27 KingKong jfk-i 30 -c 60 jfk@something.com Free-DC
    goto begin
    Warning this Post is Rated "M" for Mature

    -Contains Harsh Language
    -L337 HaX0r W3RD2!
    -Partial Nudity

    I haven't lost my mind; it's backed up on tape drive somewhere.

  11. #11
    Originally posted by magnav0x
    It's because you didn't edit your batch file at all..........

    EDIT your batch file, delete what's in it and put this:

    cd C:\Program Files\disthard
    :begin
    java -Djava.security.policy=java.policy -jar ITClient.jar 139.184.166.27 KingKong jfk-i 30 -c 60 jfk@something.com Free-DC
    goto begin


    That is my whole question. I DONT KNOW HOW TO EDIT THE BATCH FILE. I should have been clearer.

  12. #12

    Re: Very Confusing

    Originally posted by jfk
    I tried to use the graphic client but I don't know how to edit a batch file in order to configure it.

    Actually, this is kind of clear, poke poke ;-)

  13. #13
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    Actually, for windows, it should be just like this in your batchfile.
    Bring up Windows Explorer (file manager)
    Goto where you installed the client
    right click the .bat file and choose edit
    remove everything that's in there and replace it with this (copy/paste)

    @echo off
    C:
    cd "\Program Files\disthard"
    :begin
    java -Djava.security.policy=java.policy -jar ITClient.jar 139.184.166.27 KingKong jfk-i 30 -c 60 jfk@something.com Free-DC
    goto begin

  14. #14
    Thanks for the help. But after editing the file as you described, I get this:

    Connect period is 60 minutes.
    Trying to get task from server //139.184.166.27/KingKong
    InteractiveTaskClient exception: access denied (java.net.SocketPermission 139.18
    4.166.27:1099 connect,resolve)
    java.security.AccessControlException: access denied (java.net.SocketPermission 1
    39.184.166.27:1099 connect,resolve)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkConnect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown S
    ource)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown S
    ource)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.newCall(Unknown Source)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Unknown Source)
    at distrit.client.InteractiveTaskClient.connectLoop(InteractiveTaskClien
    t.java:72)
    at distrit.client.InteractiveTaskClient.main(InteractiveTaskClient.java:
    236)


    I'm sorry for being so much trouble, but I just cant get this thing running.

    Cheers,

    -John

  15. #15
    Stats Developer prokaryote's Avatar
    Join Date
    Dec 2001
    Location
    Broomfield, Colorado. USA
    Posts
    270
    Hi jfk, bummer about all of the trouble getting this to run.

    I pulled this from the getting started sticky thread:


    2a. To install the client, follow the instructions at the site. However, it does require that you have a Java JRE installed on the machine first. If you have problems with W2K installing this may help:

    Install Java JRE
    download and unzip the two jar files to a directory of your chosing (I called mine DHEP in the program files sub-directory)

    edit the IslandNT batch file and the wrapper.conf file

    edit the islandNT batch file to remove the 1st line comment (it say's something like "DHEP DIRECTORY HERE" or somesuch, and add the appropriate island name and team name (see below). I just placed the batch file in the same directory as the rest of DHEP. I think that this is used by the GUI version of the client, but I'm not sure so I changed it as well (the "xxxxxxxxx@xxxx.xxx" is to be replaced by your e-mail addy).

    Here's an example of the islandNT batch file after mods Notice that I added the name of one of my islands, "Tick". Substitute with whatever you want to call your island:

    :begin
    start /low /b /wait java -Djava.security.policy=java.policy -jar ITClient.jar 139.184.166.27 KingKong Tick -i 30 -c 60 xxxxxxx@xxxx.xxx Free-DC
    goto begin




    Next, to modify the wrapper.conf file, you just have to edit 2 lines and add the "wrapper.app.parameter.10=Free-DC" line. Substitute your desired island name for "Tick", overwrite the "xxxxxxxxxxxx@xxxx.xxx" with your e-mail address and add the last line as explained in the sentence above:

    #************************************************
    # Distribute dHardware Evolution NT Service Configuration:
    # Just replace USER_NAME and E@MAIL below with your own.
    #************************************************
    wrapper.app.parameter.4=Tick
    wrapper.app.parameter.5=xxxxxxxxxx@xxxx.xxx
    wrapper.app.parameter.10=Free-DC



    Then run the InstallIsland batch file to set DHEP as a service.

    Start the service or reboot (it sets the service to run automatically at start-up).

  16. #16
    Thanks for the reply. I have JRE installed, maybe I need to update it? I have also made all the changes, editing batch and wrapper config.

    But the results are the same, no go. The output seems to suggest that the problem is with java.

    Cheers,

    -John

  17. #17
    Stats God in Training Darkness Productions's Avatar
    Join Date
    Dec 2001
    Location
    The land of dp!
    Posts
    4,164
    Are you running the client on a work machine, or a machine that's behind a firewall? If so, you may need to have a port opened for it to work...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •