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...