Update networks settings wipes values in /etc/network/interfaces
After hitting "Update" Button in lmce-admin -> Advanced -> Network -> Network Settings the interfaces file looks like this:
#####
# Loopback interface
#####
iface lo inet loopback
#####
# xDSL PPPoE interface
#####
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up
up /etc/wide-dhcpv6/dhcp6c-ifupdown start
down /etc/wide-dhcpv6/dhcp6c-ifupdown stop
provider dsl-provider
#####
# IPv4 network interfaces
#####
# --- External NIC ---
iface eth0 inet static
address
netmask
gateway
pre-up sysctl -q -e -w net.ipv6.conf.eth0.disable_ipv6=1
# --- Internal NIC ---
iface inet static
address
netmask
pre-up sysctl -q -e -w net.ipv6.conf..disable_ipv6=1
#####
# Activating interfaces
#####
auto dsl-provider eth0 lo
Output of /var/log/apache2/error.log while hitting "update"
sed: -e expression #1, char 38: unterminated `s' command
Device 1 has bad mac address
stop: Unknown instance:
/etc/network/interfaces:15: too few parameters for iface line
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:15: too few parameters for iface line
ifup: couldn't read interfaces file "/etc/network/interfaces"
start: Job is already running: isc-dhcp-server
rndc: connect failed: 127.0.0.1#953: connection refused
rndc: connect failed: 127.0.0.1#953: connection refused
samba: unrecognized service
Traceback (most recent call last):
File "/usr/pluto/bin/airprint-generate.py", line 274, in <module>
apg.generate()
File "/usr/pluto/bin/airprint-generate.py", line 116, in generate
conn = cups.Connection()
RuntimeError: failed to connect to server
/usr/pluto/bin/Network_NIS.sh: line 18: &: syntax error: operand expected (error token is "&")
sed: can't read /etc/init.d/nis: No such file or directory
nis: unrecognized service