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.

bot dont recognize because of dynamic ip

General support and discussion of Eggdrop bots.
c
chubbychub
Voice
Posts: 38
Joined: Sun Oct 09, 2005 5:30 am
Location: gotham city

bot dont recognize because of dynamic ip

Post by chubbychub »

i got the eggy to work for 1 month, and everything was fine until my ip changed. the bot dont recognize me and i can't dcc chat. i have set my settings to :

set protect-telnet 1
set open-telnets 1

how can i make the bot recognize me agian and how can i prevent this from happening? (to make the bot recognize me even tho my ip changes with just username and password)
I
IRCNick
Halfop
Posts: 64
Joined: Wed Oct 12, 2005 9:43 pm
Location: Germany
Contact:

Post by IRCNick »

You can try these methods:
1. add to yourself a host -telnet!*@* to use telnet from everywhere
2. We say that your dynamic host looks like dynamic-18.somehost.com You can add to yourself a host *!Ident@*.somehost.com
3. You can add to yourself by nick: Nick!*@*
4. You can add to yourself by ident: *!ident@*
c
chubbychub
Voice
Posts: 38
Joined: Sun Oct 09, 2005 5:30 am
Location: gotham city

Post by chubbychub »

where do i add that? can you give me a link or show me the steps plz? i never have added a host before? is it in the conf file?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Adding nick!*@* or *!ident@* is very insecure and is never recommended. You simply need to telnet to your bot and add your new host to your handle. Another things to look at are the private ident and addhost commands in the .conf file.
# Many takeover attempts occur due to lame users blindly /msg ident'ing to
# the bot and attempting to guess passwords. We now unbind this command by
# default to discourage them. You can enable these commands by commenting the
# following two lines.
unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
Read the comments carefuly, you've been warned.
c
chubbychub
Voice
Posts: 38
Joined: Sun Oct 09, 2005 5:30 am
Location: gotham city

Post by chubbychub »

but in what lines do i add my nick with host in?
and how the format should be like this:
add ~chubby@*.telenor.net
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Code: Select all

.+host chubbychub *!chubby@*.telenor.net
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
I
IRCNick
Halfop
Posts: 64
Joined: Wed Oct 12, 2005 9:43 pm
Location: Germany
Contact:

Post by IRCNick »

Alchera wrote:

Code: Select all

.+host chubbychub *!chubby@*.telenor.net
If u are using a 9 handle eggdrop, u handle have to be only 9 chars long and u eggdrop will cut u nick to chubbychu . Just telnet or dcc to u bot and try:

Code: Select all

.+host chubbychu *!chubby@*.telenor.net
c
chubbychub
Voice
Posts: 38
Joined: Sun Oct 09, 2005 5:30 am
Location: gotham city

Post by chubbychub »

oh.. you mean thru dcc chat.. i thought it was the conf file that i was supposed to add. I can't dcc chat to it now since it dont recognizes me.
how else can i add myself in? someone on irc told me to telnet in but i dunno how and he wasn't specific and didn't tell me more than that. thaks in advance.
do i need to edit a new conf file , msg hello , then add my host ? is there a way to get around making a new conf file?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

telnet <my-ip> <listen-port>
this is the same as DCC chat, <my-ip> is the my-ip setting in your config and <listen-port> is the port you specify in the config (example: listen 3333 all)

Another solution would be to delete the .user file and restart the bot, then you can /msg <bot> hello again.
c
chubbychub
Voice
Posts: 38
Joined: Sun Oct 09, 2005 5:30 am
Location: gotham city

Post by chubbychub »

when i ssh into the shell and remover the bot.user file, with this command: rm bot.user
then ls
i dont see the file but when i restart the bot the file appears agian
why??
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Because you are supposed to kill the bot for a start and then delete BOTH .user and .user~bak
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
c
chubbychub
Voice
Posts: 38
Joined: Sun Oct 09, 2005 5:30 am
Location: gotham city

Post by chubbychub »

ok.. i got it to work and to recognized me
by adding the host.. but i need it to add this command in:
.+host *chubby*
now it works.. but i dunno what that command does if someone could tell me plz. someone on irc told me to do that.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

.+host *chubby*!*@* and now anybody that has 'chubby' in his nick can access your eggdrop, good luck :)
c
chubbychub
Voice
Posts: 38
Joined: Sun Oct 09, 2005 5:30 am
Location: gotham city

Post by chubbychub »

they will need to know my password to be able to dcc chat with them right? if they dont get the right password.. it will drop the connection.. is this correct?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

chubbychub wrote:they will need to know my password to be able to dcc chat with them right? if they dont get the right password.. it will drop the connection.. is this correct?
yes
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
Post Reply