debinterface icon indicating copy to clipboard operation
debinterface copied to clipboard

A simple Python library for dealing with the /etc/network/interfaces file in most Debian based distributions.

Results 6 debinterface issues
Sort by recently updated
recently updated
newest added

Debian supports address 192.168.123.222/24. Debinterface do not. adapter = debinterface.Interfaces().getAdapter(wlan_iface_name) File "/usr/local/lib/python3.5/dist-packages/debinterface/interfaces.py", line 34, in __init__ self.updateAdapters() File "/usr/local/lib/python3.5/dist-packages/debinterface/interfaces.py", line 58, in updateAdapters self._adapters = reader.parse_interfaces() File "/usr/local/lib/python3.5/dist-packages/debinterface/interfacesReader.py", line 29,...

`gateway` is not always an IP, it can also be something like: `12.34.56.78 metric 10`

name ended up as a unknown option due to not being part of the if/elif block. Signed-off-by: Julian Scheel [email protected]

Despite all examples in debian documentation : ``` iface eth0 inet static address 192.168.10.1 netmask 255.255.255.0 ``` works exactly like : ``` iface eth0 inet static address 192.168.10.1 netmask 255.255.255.0...

https://github.com/dggreenbaum/debinterface/blob/master/adapter.py#L248 At this line a elif statement is required not an if. Cheers

It seams that the condition at this line is the opposite of what needed https://github.com/dggreenbaum/debinterface/blob/master/interfaces.py#L72