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 4th, 2001
Linuxbloke
Guest
 
Posts: n/a
Question Starting gnut in a diallup session on Linux

OK, i'm a newbie at this - just installed gnut last night.. What I want to be able to do is to start gnut when my computer dials up the internet, which with Freeserve is every 2 hours :-(

I have modified /etc/ppp/ip-up.local to include this line:

gnut -d -i $4

which ensures that gnut knows the dynamic address that I have been allocated. Now, how do I issue commands to that copy of gnut, and how do I close it down again in /etc/ppp/ip-down.local ?

Apart from that, it's very impressive!
Reply With Quote
  #2 (permalink)  
Old April 9th, 2001
none
Guest
 
Posts: n/a
Post

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
various java errors when starting limewire (linux) KrissDeValnor LimeWire Beta Archives 1 June 28th, 2005 10:58 PM
Received Incoming this session...Help!!! hecubusx Download/Upload Problems 0 August 22nd, 2004 02:59 PM
Having connection problems using gnut on linux el bob General Gnutella / Gnutella Network Discussion 3 August 2nd, 2002 03:25 PM
Problems starting 1.6 (Linux) kortaben General Linux Support 0 July 13th, 2001 07:42 AM


All times are GMT -7. The time now is 04:12 PM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.