View Single Post

   
  #3 (permalink)  
Old 01-19-2008, 07:12 AM
Niki Kovacs
 
Posts: n/a
Default Re: Where to put the startup stuff?

Ole-Morten Duesund wrote:

>> 1) On one machine I have two ethernet cards that used to be "linked" by a
>> bridge with bridge-utils. The two cards were not defined in terms of IP
>> (both 0.0.0.0), but the IP was assigned to the (virtual) interface br0.
>> Question: where do I put the definition of that bridge? (used to be in
>> rc.local)

> That would be in /etc/network/interfaces - it has a very good man-page
> that should help you get the bridge up and running.


Yeah. I took a peek in /usr/share/doc/bridge-utils, and there's a way indeed
to configure a bridge directly in /etc/network/interfaces. Works nice.

However, a new problem (small, though) has arisen. The PC won't shutdown
properly. It does, if I issue 'ifdown br0' manually before 'shutdown -h
now'. I guess I have to add it to some shutdown script now. Where?

Niki Kovacs
--
I'm not as think as you stoned I am.
Reply With Quote