This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Fileserver, DCC, etc.

Old posts that have not been replied to for several years.
Locked
t
tobias-jordan

Fileserver, DCC, etc.

Post by tobias-jordan »

Hi !

My Problem:

With the Modules "Filesystem" & "Transfer" activated, and the command "get filename.zip" for me (i´m via LAN connected to the IRC-Server) it´s possible to download files. But for People, connected via Internet NOT ! The DCC Session starts but the transfer NOT ! In Partyline I (botmaster) get Timeout-Messages of those who want to transfer. Uploading works just great ! Both, the Internet-Users and LAN users can Upload ! But, only for me it´s possible to download.
The funny thing is: DCC Chat with the Bot is working properly ! The Internet-Users can join Partyline, naviagte in the Filesystem.


Here´s my config:
#################

eggdrop.conf:
-------------
loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 0
set xfer-timeout 120
...
loadmodule filesys
set files-path "/usr/local/pics"
set incoming-path "/usr/local/pics/incoming"
set upload-to-pwd 1
set filedb-path "/usr/local/pics/filedb"
set max-file-users 5
set max-filesize 8096
....

The Server is connected to a router (Hardware-Router, SMC) and assigned as DMZ (192.168.123.23), Firewall/packet-filter is disabled ! Outside-IP is changing all 24 hours. But I´m using Dyndns (Router-integrated)...

My Computer (192.168.123.22)is also connected to this Router.

If you need more informations, or if you can´t understand... feel free to ask :D

Greets !!
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

WHat settings have you used for my-ip and nat-ip in the config file?
t
tobias-jordan

Post by tobias-jordan »

None !
They are both commented (#)

What settings should I use ? 192.168.123.23 for set my-IP and hostname ?
The hostname used in /etc/hosts or The Dyndns name ?

Thank you for your quick reply !! :)

I´ll try !

Thanks

edited:

Sh*t ! Don´t works !
Tried both ... set my-IP and set my-hostname

....
I didn´t find the NAT Settings in the Bot.conf
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You should set my-ip to the IP internal to your network (the 192.168. one).

You can ignore the my-hostname setting for now. SO long as you have a hostname setup in /etc/hosts for that address.

you can simply add the nat-ip setting. This should be set to the value of your external IP. IE
set nat-ip 123.456.789.012
We understand your external IP changes daily, but this is a setup eggdrop was never intended for.
t
tobias-jordan

@ppslim

Post by tobias-jordan »

yep !
I worked !

When I use:

set nat-ip "hostname" ????

Thank you !!!
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

See eggdrop.advanced.conf (see eggdrop.conf for 1.6.13 and above).

The setting is documented in there.
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Wasn't advanced/simple/complete combined to a single eggdrop.conf file in .13?
# $Id: eggdrop.conf,v 1.7 2002/11/18 05:39:34 wcc Exp $
#
# This is a sample Eggdrop configuration file which includes all possible
# settings that can be used to configure your bot.
#
# More detailed descriptions of all these settings can be found in
# doc/settings/.
:P
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Please re-read the post, those details where allready posted.
t
tobias-jordan

Post by tobias-jordan »

Is it possible to share more than one path ?

like this:

set files-path "/usr/local/pics"
set files-path "/usr/local/mp3"

?

Or

Does the Bot follow "symbolic Links" ?

Greets
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The config file, is a simplified Tcl script. As such, settings are limmited to those available by Tcl commands.

Using the set command, you explicitly set a variable.

As such, in your example above, the second item will replace the first. Thus losing your original data.

I don't know about how eggdrop would handle symlinks.
Locked