/etc/network/interfaces changed in 7.10?
marius at pov.lt
Tue Nov 13 11:34:29 UTC 2007
On Mon, Nov 12, 2007 at 03:37:23PM -0500, Jimmy Wu wrote:
> I just upgraded my system to Xubuntu 7.10 today. Does anyone know what
> they've done with /etc/network/interfaces?
Nothing much. NetworkManager ignores interfaces that are explicitly
configured there, so I wouldn't be suprised if the upgrade process
removes interfaces that were configured to use DHCP.
> Before (ie in 7.04), all of the interfaces were in there, including eth0, my
> network card, and a few that didn't exist. In my eth0 entry, I had a line
> "pre-up iptables-restore < iptables.up.rules" to load my iptables rules upon
> network start.
> Now, the only entry in the interfaces file is lo, so I have no idea what I
> should do to make my iptables rules load automatically now.
You can still do that (and continue to use NetworkManager) if you create
a shell script in /etc/network/if-pre-up.d:
if [ "$IFACE" = "eth0" ]; then
iptables-restore < /etc/network/iptables.up.rules
(Disclaimer: the script is not tested.)
If it wasn't for C, we'd be using BASI, PASAL and OBOL
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the ubuntu-users