ARCHIVE
LinuxMCE Forums
May 22, 2013, 07:22:20 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: bridge network interfaces  (Read 1163 times)
archived
Hello, I'm new here

Posts: 0


View Profile
« on: November 29, 2005, 08:01:08 am »

Hello,

I would like to bridge my two network interfaces. Is this possible with pluto? I tried to manually configure /etc/network/interfaces, but plut overwrites my settings.

inschenjoer
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #1 on: November 29, 2005, 06:32:40 pm »

Hi,

actually Pluto overwrites network settings with those stored in mysql tables on every system boot.

I can suggest a very simple (and not really elegant) workaround that I used to modify network settings.

I created a modified interfaces file, naming it interfaces.mod. In this file I put my own network settings.

Then I edited the script /usr/pluto/bin/Network_Setup.sh , located where it gets network config from mysql, and just before the line where network services are reactivated I added a simple line:

Code:

cp /etc/network/interfaces.mod /etc/network/interfaces


In this way I overwrite the freshly extracted network settings with my own ones.

Althoug not really elegant, this workaroud works fine.
The only drawback is that when a Pluto update occours you may have to re-add that simple line to your Network_Setup.sh, as the update process may replace existing scripts with new ones.

HTH

Marco
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Pluto provided a snapshot of their forums with approximately 5,000 posts in February, 2007 when LinuxMCE branched off. Browse those forum posts in the Archive section. Those posts have been included in the search engine and can be found with keyword searches.