Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella / Gnutella Network Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella / Gnutella Network Discussion For general discussion about Gnutella and the Gnutella network.
For discussion about a specific Gnutella client program, please post in one of the client forums above.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 17th, 2001
schnarff
Guest
 
Posts: n/a
Post gnut questions

Is there any good way to get info out of gnut-0.4.21 when it's running daemon mode (gnut -d)? I'd like to make sure that I'm sharing properly, and I'd also like to make sure that I'm not zapping anyone's transfer before I ever shut off.

Also, does anyone know of anywhere I could find info on scripting for gnut? I'd like to tweak that considerably, and the help is minimal.

Any pointers to any resources on gnut would be handy. Thanks!

Alex Le Fevre
alex@schnarff.com
Reply With Quote
  #2 (permalink)  
Old April 18th, 2001
ghildstr
Guest
 
Posts: n/a
Post

Hello. I use Linux 2.4.2 and Gnut 0.4.21. I don't know how to use daemon mode, but I do know how to use scripting. It is really handy for setting config params correctly and making sure you aren't booting any users. You can type 'help load' for a quick scripting example. The Gnut manual for basic and advanced usage should have come with your distribution in /gnut-0.4.21/doc/gnut.html. You can also get the manual at http://www.gnutelliums.com/linux_uni.../doc/gnut.html
This explains pretty much everything you can change using commands & script. You can get to a couple more variables by typing 'set', which will list all config variables and their current values. Hope this helps.
Reply With Quote
  #3 (permalink)  
Old April 20th, 2001
radded
Guest
 
Posts: n/a
Cool

You could monitor it with a task manager cause it creates a new version of itself for every connection. You can have it print to a log file instead of deamon mode, see the script below. This isn't the best idea so when something else is available, use it.

Code:
I made a script (fix the word wrap) I use pppd to connect on demand, see the wake up stuff it's logged in within 90 seconds, I called this script from cron every night at 8PM, then had the gnutRUN.txt file do stuff (with delays allowing it to start downloading files) all night for 12 hours. I run gnut out of it's own directory, put the gnutRUN file in that directory with shared, downloads ect.. Nice to let everyone share my files. The gnutRUN file is last (partial, you do your own) HAVE FUN! (a few people doing this is probably not a problem, but find something better to do this with it hammers the net fairly hard. I stopped doing the downloading and just have it run nightly with all my shared files, I use Gtk-Gnutella now, you should try it, please respect the Gnet, thanks)

NOW, please tell us how you get a free ISP connection going via Linux, thanks. I would like to create a script to use a free ISP till it's time is up and then switch to another free ISP so I can share files like a crazy RIAA hater!

#!/bin/sh

# change to the working dir

cd /home/user1/folder1/

# wake up the connnection, ping nothing
ping asef.fds
sleep 90

# run it, get conmmands from gnutRUN and redirect output and errors to a log file

/home/user1/folder1/gnut -c gnutRUN.txt >> log.txt 2>&1

END OF SCRIPT

gnutRUN.txt file:


###############################################################
#
# AUTO RUN !!!!
#

# set your default download path
set download_path downloads

# export the shared directory to the world
share shared

scan

# turn on autoclear so you don't look at old transfers
set auto_clear 1

# set your max ttl to 4
set ttl 7

# set your max upload bandwidth to 10000 bytes/s per connection
set default_upload_cap 4000

# limit the leechers to 10 connections
set max_uploads 1

# keep the network from getting too joined
set max_incoming 1

# the connnection speed I report
set speed 56

set max_downloads 2

#################################### AUTO!!!

set wait_after_find 0

set paginate 0

# get well connected
! echo -----------------------------------------------------------
! date
! echo ----- AUTO: getting connected -----

open gnutellahosts.com:6346
sleep 30
open router.limewire.com:6346
sleep 30
open gnet1.ath.cx:6346
sleep 30
open connect.gnutellanet.com:6346

# now wait till we are really well connected

! echo ----- AUTO: CONNECTED now wait -----

sleep 120

i h
i c

find naked women having sex mpg

sleep 120

find

sleep 10

get 1-999

! echo ----- AUTO: downloads started -----

###########################################################
sleep 3600

! echo -----------------------------------------------------------
! date
! echo ----- AUTO: getting connected -----

open gnutellahosts.com:6346
sleep 30
open router.limewire.com:6346
sleep 30
open gnet1.ath.cx:6346
sleep 30
open connect.gnutellanet.com:6346

# now wait till we are really well connected

! echo ----- AUTO: CONNECTED now wait -----

sleep 120

i h
i c

forget 1-999

sleep 10

find naked mpg

sleep 120

find

sleep 10

get 1-999

! echo ----- AUTO: downloads started -----

###########################################################
sleep 3600

! echo -----------------------------------------------------------

END OF FILE, YOU GET THE IDEA, RINSE REPEAT ALL NIGHT LONG, DO A QUIT COMMAND LAST AND IT IS DONE...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnut help. enchance Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) 3 July 31st, 2003 04:54 AM
Gnut hosts? QuadriplegicMonkey General Gnutella / Gnutella Network Discussion 0 October 29th, 2002 06:02 PM
.gnut files portiz General Gnutella / Gnutella Network Discussion 1 June 4th, 2001 11:56 AM
New to Gnut/what to download? gueswhoo General Gnutella / Gnutella Network Discussion 1 March 3rd, 2001 09:26 PM
Gnut in the Backgroup snatchitup General Gnutella / Gnutella Network Discussion 2 January 17th, 2001 04:53 PM


All times are GMT -7. The time now is 07:31 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.