LinuxMCE Forums

General => Installation issues => Topic started by: brononius on June 26, 2011, 04:43:19 pm

Title: {extif} for second interface
Post by: brononius on June 26, 2011, 04:43:19 pm
Hey,

I'm having troubles with my 2 network cards. These are 2 build in ones on a Dell poweredge server.


So it's working in situation 2, but i suppose that something isn't 100% correct here.
Any thoughts on it?
Title: Re: {extif} for second interface
Post by: brononius on June 26, 2011, 05:30:45 pm
Not working like it should be.
I don't get any dhcp offers on the LAN with this configuration.

When i swap them back again, the LAN is working 100% correctly, but the WAN isn't recieving an IP from the provider.
So i think that this {extif} must be resolved before i can continue...



ps the installation was done as http://wiki.linuxmce.org/index.php/Installing_1004.
This went great. With the ISO the system stops constantly with rendering and so... :$
Title: Re: {extif} for second interface
Post by: l3mce on July 01, 2011, 05:04:39 am
Something did not go correctly during setup and detection never finished in postinstall.sh. This should not happen... and may indicate other problems... but to fix this problem, edit /etc/network/interfaces to read as such:
Code: [Select]
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
        address 192.168.80.1
        netmask 255.255.255.0

Where eth0 is the external network and eth1 is the internal network.
Title: Re: {extif} for second interface
Post by: brononius on July 01, 2011, 05:48:16 pm
hmmm, strange...

I did this, and then 'sudo /etc/init.d/networking restart'.
And everything seems in order. I nicely get an IP from my provider, the LAN is working...

Before i do anything else, i want to be sure that all settings are known everywhere.
So i rebooted the server.
But when i look nows, the /etc/network/interfaces is overwritten with the old stuff? The {extif} is back in place?


any idea how this come?

Title: Re: {extif} for second interface
Post by: l3mce on July 01, 2011, 07:34:17 pm
I can't say for sure, but I believe that postinstall sets up a script in init.d which attempts to finish up assignment. I would grep the whole dir for extif and see if something exists and needs to be altered/disabled... but as I said... this may just be the tip of the iceberg. If it were mine, I would attempt a fresh install.
Title: Re: {extif} for second interface
Post by: brononius on July 04, 2011, 08:44:42 am
Okay, you're absolete right.

...If you don't have the time to do it good, when will you have the time to do it over...


This weekend a fresh installation, but it fails, again...
Damend, why is it so hard to install this linuxmce stuff... A simple apt-get install would be fantastic...  :(
Title: Re: {extif} for second interface
Post by: Marie.O on July 04, 2011, 09:00:51 am
brononi,

absolutely right. We appreciate any patches/scripts that will create corresponding debs.

Thanks in advance.