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.

Problems with starting eggdrop..

Old posts that have not been replied to for several years.
d
dbz-gt
Voice
Posts: 11
Joined: Sun Feb 02, 2003 3:03 pm
Location: Den-Haag, Netherland
Contact:

Problems with starting eggdrop..

Post by dbz-gt »

Joh, I have some problems with starting.

Let me explain some things before to start.
I started before eggdrop on windows and it worked fine.

But know I have installed Linux Red Hat 7.3 and it works fine, except eggdrop :(

So I asked some people on IRC (they know a lot of stuff about linux and eggdrop) and I gave one of them telnet access on my PC so he can make my eggdrop, but he told me he can't fix this problem.
He says that he ever runned eggdrop on Red Hat 7.2 and that worked fined, except on this red hat (7.3) so it could be a bug.

Error is:
[19:54] * Hostname self-lookup failed. Please set 'my-ip' in the config file.
[19:54] Attempt to kill un-allocated socket 0 !!

And my-ip is setted in the .conf.
I really tryed everything, WAN-ip, localost,127.0.0.1, ip of router...

Somebody can help me? :-?
Why does Linux just rulez more then Windows? And Windows is more populair..!

I am a Linux Fan!!! :P
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Localhost is a hostname.
127.0.0.1 is a loopback address.

Neither of these are suitable.

The WAN-ip is bound to the interface of the router, and not your machine

The router IP is the router and not your machine.

You need to use the IP address given to your machine.

This is usualy an IP starting 192.168.
d
dbz-gt
Voice
Posts: 11
Joined: Sun Feb 02, 2003 3:03 pm
Location: Den-Haag, Netherland
Contact:

Post by dbz-gt »

I know.. I tryed that as well.
My routers ip is: 192.168.2.1

But didn't work as well
Why does Linux just rulez more then Windows? And Windows is more populair..!

I am a Linux Fan!!! :P
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You should not use your routers IP. This has allready been stated.

What internal IP has been assigned to the machine you are running eggdrop on.
d
dbz-gt
Voice
Posts: 11
Joined: Sun Feb 02, 2003 3:03 pm
Location: Den-Haag, Netherland
Contact:

Post by dbz-gt »

He?
I don't understand what you mean.
I only have this ip that begins with 192.x:
192.168.2.1

And that's the router
My own IP is:
213.10.107.84
Why does Linux just rulez more then Windows? And Windows is more populair..!

I am a Linux Fan!!! :P
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Every TCP/IP node on a network, being the internet, or a LAN, has a unique IP address.

Becuase ISP's only route IP address to your network, you are using a router, to give multiple connections.

The router has 2 IP addresses. 1 internal IP most likely in the range "192.168.", and a External IP, which is what you are seen as on the internet.

On your network, each machine, will also have a IP address, withi the same subnet as your router, IE, starting 192.168.

We need to know the IP address of the machine, before we can go anywhere.
d
dbz-gt
Voice
Posts: 11
Joined: Sun Feb 02, 2003 3:03 pm
Location: Den-Haag, Netherland
Contact:

Post by dbz-gt »

Oke, I will give you all the answers.

My ISP gave me the ip: 213.10.107.84
My routers internal IP: 192.168.2.1

IP-PC 1 (my PC): 192.168.2.100
IP-PC 2 (other PC): 192.168.2.101

That's all I know.
and a External IP, which is what you are seen as on the internet.
About that.. I think that's what you mean the IP that I get from the ISP, so that's 213.10.107.84

Those 4 IP's are the only IP's I know.

[edited]
Here is some log of my router when I put him on and my PC as well:
- - - -
01/01/2002 00:37:12 192.168.2.100 login success
01/01/2002 00:37:06 192.168.2.100 logout
01/01/2002 00:35:05 192.168.2.100 login success
01/01/2002 00:00:21 PPTP client get IP:213.10.107.84
01/01/2002 00:00:21 Username and Password: OK
01/01/2002 00:00:11 PPTP client start PPP
- - - -
[/edited]
Why does Linux just rulez more then Windows? And Windows is more populair..!

I am a Linux Fan!!! :P
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

My ISP gave me the ip: 213.10.107.84
My routers internal IP: 192.168.2.1

IP-PC 1 (my PC): 192.168.2.100
IP-PC 2 (other PC): 192.168.2.101
You should never consider the IP given to your router (the 213. one) as the IP of your internal machines.

This is simply not true. It is assigned to the router and nothing more.

I aint sure out of the 2 PC's, which one is running the eggdrop, so I will take a stab in the dark,, but the theory applies.

If it's running on PC1, then you set my-ip to "192.168.2.100". You should then set nat-ip to "213.10.107.84".
d
dbz-gt
Voice
Posts: 11
Joined: Sun Feb 02, 2003 3:03 pm
Location: Den-Haag, Netherland
Contact:

Post by dbz-gt »

Thanks for the tip.

I will try it, I am atm on school and my PC isn't on so I can try it from telnet (even it was, port 21-23 are closed here on school)

And yes, it runs on PC1 :P.
That's why I sayed My PC :)
Why does Linux just rulez more then Windows? And Windows is more populair..!

I am a Linux Fan!!! :P
d
dbz-gt
Voice
Posts: 11
Joined: Sun Feb 02, 2003 3:03 pm
Location: Den-Haag, Netherland
Contact:

Post by dbz-gt »

Hm.. I am sorry, not working :(

testbot.conf:
set my-ip "192.168.2.100"
set nat-ip "231.10.107.84"


Error:[dbzgt@localhost eggdrop]$ ./eggdrop -m testbot.conf

Eggdrop v1.6.13 (C) 1997 Robey Pointer (C) 2002 Eggheads
[16:17] --- Loading eggdrop v1.6.13 (Mon Feb 3 2003)
[16:17] Module loaded: dns
[16:17] Module loaded: channels
[16:17] Module loaded: server
[16:17] Module loaded: ctcp
[16:17] Module loaded: irc
[16:17] Module loaded: notes (with lang support)
[16:17] Module loaded: console (with lang support)
[16:17] Module loaded: blowfish
[16:17] Module loaded: uptime
[16:17] * Hostname self-lookup failed. Please set 'my-ip' in the config file.
[16:17] Attempt to kill un-allocated socket 0 !!


Same problem :'(
Are you on IRC? If yes, can you tell me which channel so I can give you telnet access on my PC, maybe you can see it from there better.

I am on irc.Quakenet.org with the nickname "dbz-gt", so just query me if you have time.
Why does Linux just rulez more then Windows? And Windows is more populair..!

I am a Linux Fan!!! :P
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Have you tried setting the value of my-hostname to "localhost"?
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

re

Post by gumbydammit »

or try using set nat-ip and comment out my-hostname and my-ip
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

the nat-ip setting isn;t used in the binding of IP addresses.

It's used to sent out to IRC clinet, to make sure they attempt to connect to the correct address.

The self-lookup fail is my-ip and my-hostname related.
d
dbz-gt
Voice
Posts: 11
Joined: Sun Feb 02, 2003 3:03 pm
Location: Den-Haag, Netherland
Contact:

Post by dbz-gt »

Yup, I already tryed my-hostname "localhost"
Didn't work as well :(

Can't you help me from telnet/ssh?
So you can try it faster... maybe it works on your way.

set my-ip "192.168.2.100"
set nat-ip "231.10.107.84"
set my-hostname "localhost"

That's what I tryed.
Why does Linux just rulez more then Windows? And Windows is more populair..!

I am a Linux Fan!!! :P
d
dvV
Voice
Posts: 30
Joined: Wed Jan 29, 2003 4:08 pm

Post by dvV »

Actually trying what gumbydammit said worked for me...
gumbydammit
Posted: Mon Feb 03, 2003 10:09 am    Post subject: re


or try using set nat-ip and comment out my-hostname and my-ip

Code: Select all

# If you have a NAT firewall (you box has an IP in one of the following
# ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
# 10.0.0.0-10.255.255.255 and your firewall transparently changes your
# address to a unique address for your box) or you have IP masquerading
# between you and the rest of the world, and /dcc chat,/ctcp chat or
# userfile sharing aren't working, enter your outside IP here. Do not
# enter anything for my-ip or my-hostname if you use this setting.
set nat-ip "213.10.107.84"
it says it right there: "Do not enter anything for my-ip or my-hostname if you use this setting."
i would at least try it...

dvV
Locked