/etc/network/interfaces changed in 7.10?

Jimmy Wu jimmywu013+ubuntu-lists at gmail.com
Tue Nov 13 19:34:07 UTC 2007


On 11/12/07, Derek Broughton <news at pointerstop.ca> wrote:
> Jimmy Wu wrote:
>
> > Hi list,
> >
> > I just upgraded my system to Xubuntu 7.10 today.  Does anyone know what
> > they've done with /etc/network/interfaces?
>
> Network manager ignores interfaces defined in /etc/network/interfaces, so
> you really don't want anything there...
>
> > 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.
>
> This was never really the right place to do this.
> Use /etc/network/if-pre-up.d/ (or if-up.d).  However, I have to wonder how
> this ever worked - "pre-up" would mean before you have an interface.
> afaik, the interface must be _up_ before you can define iptables rules on
> it.
> --
> derek
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Thanks for all the replies.  I got the pre-up from some how-to or
other that I found, and it did work - I could verify be using iptables
to clear out all rules, restarting the network, and 'iptables -L -v',
and they would be back.

I'll go try the bash script and see how that works when I get a chance.


Thanks again,

Jimmy
-- 
Registered Linux User #454138




More information about the ubuntu-users mailing list