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

Main Menu

{extif} for second interface

Started by brononius, June 26, 2011, 04:43:19 PM

Previous topic - Next topic

brononius

Hey,

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


  • In the config, the first one (WAN) is tagged as {extif}, and doesn't get a IP from my provider. The second one (LAN) is seen correctly (fixed ip on eth0).
    So this isn't working.
  • When i now swap the cables and chooes 'swap interfaces', my new WAN-port is tagged as eth0 and gets a proper IP from the provider.
    The second one is now tagged as {extif} with a fix ip.

So it's working in situation 2, but i suppose that something isn't 100% correct here.
Any thoughts on it?
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

brononius

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... :$
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

l3mce

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:
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.
I never quit... I just ping out.

brononius

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?

Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

l3mce

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.
I never quit... I just ping out.

brononius

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...  :(
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

Marie.O

brononi,

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

Thanks in advance.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]