Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: snuggles99 on January 15, 2013, 09:15:43 AM
-
Hello Everybody,
I am using a SME V 8.0 i386 x64 Server. The machine has the problem, that the external ip address isn't showing in the system.
(http://www.foto.costa-machinery.de/portscan/no_external_ip.jpg)
==> Therefore all the external services like HTTP Server, POP/IMAP Servers aren't reachable as the ports stay closed. <==
Now in bug 7000 SteveB found a workaround solution for this problem by manually entering his fixed ip address into the system config db.
config set ExternalInterface interface Configuration pppoe Gateway 0 HWAddress 00:07:xx:xx:xx:7b IPAddress 110.xxx.xxx.136 Name ppp0 Netmask 255.255.255.0
./masq restart
Me however, I have the problem that I have a changing ip address, and I imagine I would need some kind of a script, which could be executed any time the ip changes automatically, and which enters the current ip into the system db.
Would anybody have an idea about this?
What a script would have to look like?
And where resp. from what and when it should be called?
See also bug 7000:
http://bugs.contribs.org/show_bug.cgi?id=7000
I would be very thankful for any help as this bug practically leaves the server - as public server - useless!
-
Please do:
ln -s /etc/e-smith/templates-default/template-begin-shell \
/etc/e-smith/templates/etc/ppp/ip-up.local/template-begin
signal-event post-upgrade
signal-event reboot
and report results (via bugzilla).