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.

DNS problem with Eggdrop on QNAP nas

General support and discussion of Eggdrop bots.
Post Reply
j
jackalope
Voice
Posts: 4
Joined: Sun May 02, 2010 7:35 pm

DNS problem with Eggdrop on QNAP nas

Post by jackalope »

hi all
i'm an owner of a qnap nas with arm processor.
from putty shell i used ipkg command to install eggdrop precompiled file (it's like debian apt-get install command)
it installed some packages reported on stable repo list, with the 2 most important:

Code: Select all

Package: eggdrop
Version: 1.6.19-2
Depends: tcl, zlib, adduser
Section: util
Architecture: arm
Maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>
MD5Sum: 364399fa0e3ba6eb921cd36da6a3a9c6
Size: 775721
Filename: eggdrop_1.6.19-2_arm.ipk
Source: ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.19+ctcpfix.tar.bz2
Description: Eggdrop is a popular Open Source IRC bot

AND

Code: Select all

Package: tcl
Version: 8.4.19-2
Section: util
Architecture: arm
Maintainer: Joerg Berg <caplink@gmx.net>
MD5Sum: 64742a73656f5977c7ff81fd4de517a1
Size: 1256939
Filename: tcl_8.4.19-2_arm.ipk
Source: http://easynews.dl.sf.net/sourceforge/tcl//tcl8.4.19-src.tar.gz
Description: The Tool Command Language


after install i edited the conf file for eggdrop with my preferences (i've followed egghelp.org guides and wiki)

then log into putty to the dir with eggdrop executable
then i used
sudo -u ./eggdrop -m <conf path> -n to execute daemon with a sort of debug (-n)

and i obtain this:

Code: Select all

[/opt/share/eggdrop] # sudo -u eggdrop ./eggdrop -m /opt/etc/nicebot.conf -n

Eggdrop v1.6.19+ctcpfix (C) 1997 Robey Pointer (C) 2008 Eggheads
[01:19] Allocated bind table unld (flags 1)
[01:19] Allocated bind table time (flags 1)
[01:19] Allocated bind table note (flags 0)
[01:19] Allocated bind table nkch (flags 1)
[01:19] Allocated bind table load (flags 1)
[01:19] Allocated bind table link (flags 1)
[01:19] Allocated bind table filt (flags 1)
[01:19] Allocated bind table disc (flags 1)
[01:19] Allocated bind table dcc (flags 0)
[01:19] Allocated bind table chpt (flags 1)
[01:19] Allocated bind table chon (flags 1)
[01:19] Allocated bind table chof (flags 1)
[01:19] Allocated bind table chjn (flags 1)
[01:19] Allocated bind table chat (flags 1)
[01:19] Allocated bind table bot (flags 0)
[01:19] Allocated bind table bcst (flags 1)
[01:19] Allocated bind table away (flags 1)
[01:19] Allocated bind table act (flags 1)
[01:19] Allocated bind table evnt (flags 1)
[01:19] --- Loading eggdrop v1.6.19+ctcpfix (Mon May  3 2010)
[01:19] Listening at telnet port 3333 (all).
[01:19] Module loaded: blowfish
[01:19] Module loaded: dns
[01:19] Module loaded: channels
[01:19] Allocated bind table wall (flags 1)
[01:19] Allocated bind table raw (flags 1)
[01:19] Allocated bind table notc (flags 1)
[01:19] Allocated bind table msgm (flags 1)
[01:19] Allocated bind table msg (flags 0)
[01:19] Allocated bind table flud (flags 1)
[01:19] Allocated bind table ctcr (flags 1)
[01:19] Allocated bind table ctcp (flags 1)
[01:19] Module loaded: server
[01:19] Module loaded: ctcp
[01:19] Allocated bind table topc (flags 1)
[01:19] Allocated bind table splt (flags 1)
[01:19] Allocated bind table sign (flags 1)
[01:19] Allocated bind table rejn (flags 1)
[01:19] Allocated bind table part (flags 1)
[01:19] Allocated bind table nick (flags 1)
[01:19] Allocated bind table mode (flags 1)
[01:19] Allocated bind table kick (flags 1)
[01:19] Allocated bind table join (flags 1)
[01:19] Allocated bind table pubm (flags 1)
[01:19] Allocated bind table pub (flags 0)
[01:19] Allocated bind table need (flags 1)
[01:19] Module loaded: irc
[01:19] LANG: Section loaded: notes
[01:19] LANG: 42 messages of 47 lines loaded from ./language/notes.english.lang
[01:19] LANG: 42 adds, 0 updates to message table
[01:19] Module loaded: notes            (with lang support)
[01:19] LANG: Section loaded: console
[01:19] LANG: 10 messages of 15 lines loaded from ./language/console.english.lang
[01:19] LANG: 10 adds, 0 updates to message table
[01:19] Module loaded: console          (with lang support)
[01:19] Module loaded: uptime
[01:19] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[01:19] use '.help userinfo' for commands.


STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type:  /msg lamerbot hello
This will make the bot recognize you as the master.

[01:19] === lamerbot: 0 channels, 0 users.
[01:19] main: entering loop
[01:19] Trying server irc.efnet.org:6667
[01:19] DNS Resolver error: Packet has empty body.
[01:19] DNS Resolver error: Packet has empty body.
[01:20] DNS resolve failed for irc.efnet.org
[01:20] Failed connect to irc.efnet.org (DNS lookup failed)


Do you know why i obtain that error?
usually the nas work good on internet, i use sabnzbd and transmission, and ipkg-opt update and upgrade works good without any problems wih dns.

can you help me?
any suggestion?
do i have to configure other in eggdrop conf file?

thanks
regards
mada mada dane
j
jackalope
Voice
Posts: 4
Joined: Sun May 02, 2010 7:35 pm

Post by jackalope »

PROBLEM SOLVED!!!!

in config file, at the dns section
i put the # in fron of the loadmodule, like this

Dns

# This module provides asynchronous dns support. This will avoid long
# periods where the bot just hangs there, waiting for a hostname to
# resolve, which will often let it timeout on all other connections.
#loadmodule dns

and now it connected to irc server!!!!
wonderful! thanks to meeeeee :D
mada mada dane
Post Reply