/etc/network/interfaces changed in 7.10?

Derek Broughton news at pointerstop.ca
Sun Nov 25 04:22:07 UTC 2007


Jimmy Wu wrote:

> On Nov 23, 2007 5:13 PM, Derek Broughton <news at pointerstop.ca> wrote:
> 
>> Jimmy Wu wrote:
>>
>> > @Derek
>> > Sorry, the script is below.
>> > The rules are in a few that I told iptables to save a while back, and
>> the
>> > save file does work when I do 'sudo iptables-restore <
>> > /etc/network/iptables.up.rules' manually.
>>
>> There's your problem - you missed a level of directory:
>>
>> /etc/network/if-up.d/iptables.up.rules
>>
>> or
>>
>> /etc/network/if-pre-up.d/iptables.up.rules
> 
> Well actually, I put the rules file in /etc/network/
> Do they need to be in the same directory as the script (which is in
> /etc/network/if-pre-up.d/) ?
> 

No, they don't - but we asked you what the script was, and this is what you
gave us, so I kind of naturally assumed this was the script...
-- 
derek





More information about the ubuntu-users mailing list