no try ur lan ip maybe that helps ..?
also if ur dsl isp keeps disconnectiong u .. then your eggdrop disconnects als well right ??
cause i got a script that resolves ur ip on connect each time just not sur u can use this to set ur nat-ip ..
don't hava spefic script here right now but use this one it has that
http://ftp.ofloo.net/pub/scripts/ip-to- ... tcl.tar.gz
use [MyIP] its case sensitve i think cause when u use [myip] it will return formated ip so try this set nat-ip "[MyIP]" it might crash .. almost sur it will but it might work ..
or u can do this depending on ur os of course ..
write ur ip to a txt file and make the bot rehash on connect or something .. what ever is needed to set the nat-ip set nat ip to
Code: Select all
proc readip {} {
set rfile [open filename r]
set MyIP [read $rfile]
close $rfile
return $MyIP
}
set nat-ip [readip]
i got something like that to bind my apache web server i made a tclsh script that runs the script on connect and parses the ip to host file ..
then i rehash my webserver so all vhosts work again ..