New Question

# Revision history [back]

Hello,

The config should be provided in this form:

iface eth0 inet static
gateway 10.0.1.1
dns-nameservers 8.8.8.8
#here must be an empty line


The differences between your config and the one I have given are: 1. the order: netmask before broadcast 2. "dns-nameservers" instead of "dns-nameserver" 3. Due to a quirk on Python 2.7.3, there needs to be a newline after the dns-nameservers (\n). On 2.7.6, it works with/without a newline.

This way, if the config files are mapped correctly, the regexp should work,

I hope it helps.

Hello,

The config should be provided in this form:

iface eth0 inet static
gateway 10.0.1.1
dns-nameservers 8.8.8.8
#here must be an empty line


The differences between your config and the one I have given are: 1. the are: