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

NIC Issue (Working Solution)

Started by huh, August 04, 2015, 03:26:30 AM

Previous topic - Next topic

huh

Quick background- running 12.04 on a Revo 1600 with a USB NIC.  Only package I've installed (beyond the apt-get update && apt-get upgrade) was to try out Langstron's QOrbiter.  I started with 30/6/2015's 14.04 install, but could not get the NIC's to work.  Tried a couple other dates and settled on 14/6/2015's 12.04 install.  I am pretty sure my NIC's didn't work out of the box with this one either- but somehow I was able to get connected enough to install QOrbiter.  Shut it down for the night and moved the box to the basement.

Skipping steps to the Problem & Solution-
On boot (or manual /etc/init.d/networking restart) I got an error about an incomplete line.  Lines 24-26 of the following are incorrect and get reverted back to this on reboot:
#####
# Loopback interface
#####
iface lo inet loopback

#####
# IPv4 network interfaces
#####

# --- External NIC ---
iface eth0 inet dhcp
        pre-up sysctl -q -e -w  net.ipv6.conf.eth0.disable_ipv6=1

# --- Internal NIC ---
iface eth1 inet static
        address 192.168.80.1
        netmask 255.255.255.0
        pre-up sysctl -q -e -w  net.ipv6.conf.eth1.disable_ipv6=1
        # DNS Settings for Internal Net
        dns-nameservers 192.168.80.1
        dns-search LinuxMCE

# ---   ---
iface  inet static
        address
        netmask

#####
# Activating interfaces
#####
auto eth0 eth1 lo



Simply adding # before lines 24 through 26, saving and running "/etc/init.d/networking restart" gets my NIC's running.  (For ease of reference, here are lines 23 through 26:
# ---   ---
iface  inet static
        address
        netmask

mkbrown69

Huh,

I've seen the same thing on a number of occasions.  Looks like one of the networking "automagic" scripts is leaving a template stub behind after it's done it's business. Haven't had time to track it down and lodge a ticket/patch.

Just wanted to confirm that you aren't the only one who's seen it.

HTH!

/Mike

cfernandes