<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/8745" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-12-08T18:16:32-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/8745</id>

		<entry>
		<author><name><![CDATA[mort3n]]></name></author>
		<updated>2004-12-08T18:16:32-04:00</updated>

		<published>2004-12-08T18:16:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43714#p43714</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43714#p43714"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43714#p43714"><![CDATA[
yes!! it worked <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>Thanks man <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5750">mort3n</a> — Wed Dec 08, 2004 6:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-08T13:24:50-04:00</updated>

		<published>2004-12-08T13:24:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43700#p43700</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43700#p43700"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43700#p43700"><![CDATA[
I told you it may need a tweak:<div class="codebox"><p>Code: </p><pre><code>proc get-nat-ip {} {  set f [open "|/sbin/ifconfig -a"]  while {![eof $f]} {lappend x [gets $f]}  close $f  foreach line $x {    if [string match "*inet *" $line] {      set ip [lindex [split [string trim $line]] 1]      set ip [lindex [split $ip :] 1]      if [string match 127.0.0.* $ip] continue      if [string match 192.168.* $ip] continue      return $ip    }  }} </code></pre></div>let me know if this works<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Dec 08, 2004 1:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mort3n]]></name></author>
		<updated>2004-12-08T12:55:06-04:00</updated>

		<published>2004-12-08T12:55:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43697#p43697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43697#p43697"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43697#p43697"><![CDATA[
<blockquote class="uncited"><div>[s0tnos@s0tnos s0tnos]$ /sbin/ifconfig -a<br>eth0      Link encap:Ethernet  HWaddr 00:02:B3:9E:B5:04<br>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>          RX packets:18006421 errors:5 dropped:0 overruns:0 frame:5<br>          TX packets:16971362 errors:45 dropped:0 overruns:0 carrier:45<br>          collisions:20737 txqueuelen:100<br>          RX bytes:2859060663 (2726.6 Mb)  TX bytes:3390224294 (3233.1 Mb)<br>          Interrupt:11 Base address:0xd800 Memory:dffff000-dffff038<br><br>eth1      Link encap:Ethernet  HWaddr 00:04:75:FB:46:D9<br>          inet addr:192.168.123.1  Bcast:192.168.123.255  Mask:255.255.255.0<br>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>          RX packets:5788301 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:6006514 errors:0 dropped:0 overruns:0 carrier:9049<br>          collisions:0 txqueuelen:100<br>          RX bytes:2931630945 (2795.8 Mb)  TX bytes:4254833775 (4057.7 Mb)<br>          Interrupt:12 Base address:0xd400<br><br>lo        Link encap:Local Loopback<br>          inet addr:127.0.0.1  Mask:255.0.0.0<br>          UP LOOPBACK RUNNING  MTU:16436  Metric:1<br>          RX packets:263388 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:263388 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0<br>          RX bytes:25192007 (24.0 Mb)  TX bytes:25192007 (24.0 Mb)<br><br>ppp0      Link encap:Point-to-Point Protocol<br>          inet addr:83.109.30.87  P-t-P:83.109.0.0  Mask:255.255.255.255<br>          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1<br>          RX packets:167860 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:93784 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:3<br>          RX bytes:130976998 (124.9 Mb)  TX bytes:5465812 (5.2 Mb)</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5750">mort3n</a> — Wed Dec 08, 2004 12:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-08T12:52:12-04:00</updated>

		<published>2004-12-08T12:52:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43696#p43696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43696#p43696"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43696#p43696"><![CDATA[
paste the result of `ifconfig -a'!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Dec 08, 2004 12:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mort3n]]></name></author>
		<updated>2004-12-08T12:18:59-04:00</updated>

		<published>2004-12-08T12:18:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43694#p43694</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43694#p43694"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43694#p43694"><![CDATA[
i've tried to to config it myself, but i don't know how to do it.. <br><br>But it has to be the script that's the problem, because if i write my ip manually, it all works fine..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5750">mort3n</a> — Wed Dec 08, 2004 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-08T11:37:39-04:00</updated>

		<published>2004-12-08T11:37:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43693#p43693</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43693#p43693"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43693#p43693"><![CDATA[
it might be that the script's not working correctly - that's why I already said it may need tweaking for your ifconfig - check that by issuing the `ifconfig -a' command in your shell<br><br>and it might be that script's working perfectly and you have other problems - firewall, closed ports. etc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Dec 08, 2004 11:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mort3n]]></name></author>
		<updated>2004-12-08T11:23:57-04:00</updated>

		<published>2004-12-08T11:23:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43691#p43691</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43691#p43691"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43691#p43691"><![CDATA[
okay.. i tried both tings, as a seperate script and sourced to it, and as the first thing in my config-file. The bot starts like normal and links up, but when it sends the userfile, it wont work<br><blockquote class="uncited"><div>[16:19] Telnet connection: 2mmy.pointclark.net/4525<br>[16:20] Challenging s0tt0s...<br>[16:20] Linked to s0tt0s.<br>*** Linked to s0tt0s<br>[16:20] Creating resync buffer for s0tt0s<br>[16:20] Sending user file send request to s0tt0s<br>[16:20] Ending sharing with s0tt0s (Can't connect to you!).<br>[16:20] (Userlist transmit aborted.)<br>[16:20] Lost bot: s0tt0s (lost 1 bot and 0 users).<br>*** Lost bot: s0tt0s (lost 1 bot and 0 users)<br></div></blockquote>it doesn't seem like the script work right.. what could be wrong ? It's the same if i have it like a seperate script or in the config-file..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5750">mort3n</a> — Wed Dec 08, 2004 11:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-08T10:36:50-04:00</updated>

		<published>2004-12-08T10:36:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43686#p43686</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43686#p43686"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43686#p43686"><![CDATA[
in your config<br><br>or, if you wish, put it in a dedicated script and source that script in the config<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Dec 08, 2004 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mort3n]]></name></author>
		<updated>2004-12-08T07:44:45-04:00</updated>

		<published>2004-12-08T07:44:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43678#p43678</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43678#p43678"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43678#p43678"><![CDATA[
That i understand, but where do i write it and stuff like that ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5750">mort3n</a> — Wed Dec 08, 2004 7:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-07T19:23:53-04:00</updated>

		<published>2004-12-07T19:23:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43651#p43651</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43651#p43651"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43651#p43651"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set nat-ip [get-nat-ip]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Dec 07, 2004 7:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mort3n]]></name></author>
		<updated>2004-12-07T19:13:58-04:00</updated>

		<published>2004-12-07T19:13:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43649#p43649</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43649#p43649"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43649#p43649"><![CDATA[
uhm.. but i'm kind a noobie on this, so i don't know how i use that... can you help me out please ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5750">mort3n</a> — Tue Dec 07, 2004 7:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-07T18:51:34-04:00</updated>

		<published>2004-12-07T18:51:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43648#p43648</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43648#p43648"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43648#p43648"><![CDATA[
use this:<div class="codebox"><p>Code: </p><pre><code>proc get-nat-ip {} {  set f [open "|/sbin/ifconfig -a"]  while {![eof $f]} {lappend x [gets $f]}  close $f  foreach line $x {    if [string match "*inet *" $line] {      set ip [lindex [split [string trim $line]] 1]      if [string match 127.0.0.* $ip] continue      if [string match 192.168.* $ip] continue      return $ip    }  }} </code></pre></div>(may need tweaking for your ifconfig)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Dec 07, 2004 6:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mort3n]]></name></author>
		<updated>2004-12-07T18:21:40-04:00</updated>

		<published>2004-12-07T18:21:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43647#p43647</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43647#p43647"/>
		<title type="html"><![CDATA[NAT-IP help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43647#p43647"><![CDATA[
I have a ISP that gives me a dynamic IP. I have set the NAT-IP in the eggdrop.conf, but i wonder if there is a script or some way that i can changse this automaticly??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5750">mort3n</a> — Tue Dec 07, 2004 6:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
