![Scannex ip.buffer Manual Download Page 119](http://html1.mh-extra.com/html/scannex/ip-buffer/ip-buffer_manual_1206776119.webp)
Scannex ip.buffer User Manual
© UK 2007-2021 Scannex Electronics Ltd. All rights reserved worldwide.
1 4 . A d v a n c e d S e tu p
14.1. Configuration (Advanced)
14.1.1. Edit
http://192.168.0.235/setup/config/edit.shtm
The Configuration:Edit page shows the complete Lua configuration tree for the ip.buffer.
This configuration includes everything that can be programmed through the web pages of
the ip.buffer.
Most of the entries conform directly and logically to the HTML pages.
You can choose to edit the whole tree. Alternatively, you can clear the edit box on the web
page and enter just the changes that are required. For example, if you want to just adjust
the address of the SMTP server for SMTP1, clear the box and enter:
c.smtp[1].address=”192.168.0.123”
This will update just that setting.
It is worth mentioning that the text that you post from this edit box is actually Lua code,
so you can include Lua functions and condition statements. For example, if you want to
adjust the SMTP 1 only if it equals a certain value you could enter:
if (c.smtp[1].address == “mail.scannex.com”)
c.smtp[1].address = “mail2.scannex.co.uk”
end
BE CAREFUL when editing the configuration. Any changes to the username and
password for the web, c.web.setup.user and c.web.setup.pass, will be applied
immediately – if you have forgotten the settings, or have inadvertently
changed them, you will be unable to access the ip.buffer again (except by
erasing everything, as outlined in section 5.3).
Page 115
Scannex ip.buffer User Manual
© UK 2007-2021 Scannex Electronics Ltd. All rights reserved worldwide.
1 4 . A d v a n c e d S e tu p
14.1. Configuration (Advanced)
14.1.1. Edit
http://192.168.0.235/setup/config/edit.shtm
The Configuration:Edit page shows the complete Lua configuration tree for the ip.buffer.
This configuration includes everything that can be programmed through the web pages of
the ip.buffer.
Most of the entries conform directly and logically to the HTML pages.
You can choose to edit the whole tree. Alternatively, you can clear the edit box on the web
page and enter just the changes that are required. For example, if you want to just adjust
the address of the SMTP server for SMTP1, clear the box and enter:
c.smtp[1].address=”192.168.0.123”
This will update just that setting.
It is worth mentioning that the text that you post from this edit box is actually Lua code,
so you can include Lua functions and condition statements. For example, if you want to
adjust the SMTP 1 only if it equals a certain value you could enter:
if (c.smtp[1].address == “mail.scannex.com”)
c.smtp[1].address = “mail2.scannex.co.uk”
end
BE CAREFUL when editing the configuration. Any changes to the username and
password for the web, c.web.setup.user and c.web.setup.pass, will be applied
immediately – if you have forgotten the settings, or have inadvertently
changed them, you will be unable to access the ip.buffer again (except by
erasing everything, as outlined in section 5.3).
Page 115