DVR Security Forum

Full Version: Alter the IP address on the MXNFS server at a later date and enter a default gateway?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I alter the IP address on the MXNFS server at a later date and enter a default gateway?

ANS:
he IP address is usually determined when the MXNFS is first installed. A gateway is not set because it is assumed that the MXNFS server will be used in a local network only.

Since MXNFS is based on a KNOPPIX and thus on a Linux Debian distribution, any number of changes can be made as long as you have the knowledge required to work with Unix, Linux and KNOPPIX.

The following information is supplied by MOBOTIX AG without liability. MOBOTIX AG will assume no liability for any of the consequences following the use of this information and offers no support.

Do not use these applications unless you understand what they mean.

In order to be able to implement the changes described in the following, you will have to have experience in working with Unix, Linux or Knoppix. In more detail, it is assumed:

* that you understand what will happen when you alter IP settings,
* that you know how the network interfaces are described under Linux,
* that you can edit a file (e.g. using vi, mcedit, emacs),
* that you are able to recognize and retain configuration syntax,
* that you log into the NFS server as root (terminal or ssh),
* that you open a shell on the MXNFS server.

Changes in the IP address and entering a gateway

As is usual in Debian, the network settings are stored in the /etc/network/interfaces file.

You will get a more detailed description by entering

man interfaces

This is one example of a valid entry:

iface eth0 inet static address 10.0.0.254 netmask 255.0.0.0

Taking the indentations into account, you can alter the network settings here and also add a default gateway, for example:

iface eth0 inet static address 192.168.55.11 netmask 255.255.255.0 gateway 192.168.55.254

Proceed as follows:

* Edit the /etc/network/interfaces file.
* Save the file.
*

If you don’t administer via the network: Reboot the network by entering

/etc/init.d/networking restart

Now the new network settings are active, (please be aware that your previous network connection may no longer be available, be careful with administration via ssh).
*

Save the configuration permanently by entering

saveconfig

This is particularly necessary for the MXNFS, since any changes in the configuration are no longer available after a reboot.
* After a reboot, the MXNFS server will start with the current settings. You can check the current setting with the following commands: ifconfig and route -n (see man ifconfig or man route).
Reference URL's