Koozali.org: home of the SME Server

Seeking workaround for bug 7000 - no ip on sme 8.0 x64 -> no external services

Offline snuggles99

  • **
  • 27
  • +0/-0
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.


==> 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.

Code: [Select]
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!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
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).