LinuxMCE Forums

General => Installation issues => Topic started by: hcaine on October 30, 2015, 07:49:20 pm

Title: installation issues LMCE 12.04 (network installation)
Post by: hcaine on October 30, 2015, 07:49:20 pm
I do not have account to correctly complete a ticket.

In the network configuration page:
Advanced → Network → Network Setting

When asked to update the page at the buttom of the page, the file / etc / network / interfaces is re-written with an error that causes the network service to stop.

Here is the error:

# --- ---
iface inet static
   address
         netmask
   pre-up sysctl -w -e q = 0 net.ipv6.conf..disable_ipv6
         # DNS Settings for Internal Usage
         dns-nameservers
         dns-search LinuxMCE

Once removed from the network file the service can start correctly.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on October 30, 2015, 11:10:11 pm
Hi, it sounds like you system is installed and I'm wondering why this is titled 'installation issues'. 

We could use a ticket for this.  We would need the contents of the IPv4 Network Interfaces device data under your Core from prior to you pressing the update button, and after.  The before and after contents of the /etc/network/interfaces file.  The output of 'ifconfig' on your core before and after.

Thanks,

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: rebelkiller on November 03, 2015, 09:34:11 am
I can confirm this error in my installation.

/etc/network/interfaces is not setup correctly during installation process resulting in a non functional network.

During setup process I had to delete the faulty entry in a separate console and restart networking. Then it worked.

Title: Re: installation issues LMCE 12.04 (network installation)
Post by: hcaine on November 03, 2015, 08:06:02 pm
Tank for you reply phenigma.
I honestly do not see any other category.
For /etc/network/interfaces, (before/after) I'll do it tonight.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 03, 2015, 10:29:06 pm
/etc/network/interfaces is not setup correctly during installation process resulting in a non functional network.

Are you able to provide the requested information to help troubleshoot this issue?

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 03, 2015, 10:31:00 pm
Tank for you reply phenigma.
I honestly do not see any other category.
For /etc/network/interfaces, (before/after) I'll do it tonight.

:)  I was referring to the topic of the thread, not the category in the forum.  It's a non-issue and just a comment.

Don't forget to get the other data that I requested at the same time you get the before and after for the interfaces file, that data will be important to determine what is happening.

Thanks very much for reporting your issue and helping to solve it!  It is appreciated very much!

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: hcaine on November 04, 2015, 01:04:50 am
This is the before /etc/network/interfaces
http://pastebin.com/GPJ0AHKi
This is the after  /etc/network/interfaces
http://pastebin.com/jfA8JYip
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 04, 2015, 05:31:02 pm
I'll need the Device Data and the ifconfig outputs from before and after as well.  The interfaces file alone is only one piece of the puzzle.  Thanks.

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: pointman87 on November 04, 2015, 06:19:26 pm
That issue has happened to me to during an upgrade, I don't think its caused by a LinuxMCE package. I think its caused by the the package bind9 overwriting the /etc/network/interfaces
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: hcaine on November 04, 2015, 07:39:33 pm
This is the result of a ifconfig before
http://pastebin.com/peYGFVJq

Before choosing the update i have enable the VPN configuration...
After restarting, the network the configuration have still correct. For testing i have reboot de core.
After the reboot the network configuration was look's like this http://pastebin.com/jfA8JYip
Now this is the result after the reboot with a bad configuration http://pastebin.com/8DNc0Crx

I have to remove the bad line and restart the networking service and the network configuration is back on track.

Just to be sure, i have reboot an other time and the configuration is correct.

Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 05, 2015, 02:34:21 am
Thanks for the additional information.  I still need to know the Device Data under the Core for "IPv4 Network Interfaces" before and after.

Thanks.

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: hcaine on November 06, 2015, 02:24:04 am
I realy dont found the Device Data IPv4 Network Interfaces... Where can i found it?
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: Marie.O on November 06, 2015, 10:17:59 am
Web admin - Show Devices Tree - CORE - on the right hand side about 3/4 way down the screen is the IPv4 Network Interfaces device data.

Or, if you prefer MySQL, it is:
Code: [Select]
sudo mysql pluto_main -e "SELECT IK_DeviceData FROM Device_DeviceData WHERE FK_Device = 1 AND FK_DeviceData = 32;"

Title: Re: installation issues LMCE 12.04 (network installation)
Post by: hcaine on November 07, 2015, 03:11:02 pm
sudo mysql pluto_main -e "SELECT IK_DeviceData FROM Device_DeviceData WHERE FK_Device = 1 AND FK_DeviceData = 32;"
+----------------------------------------------+
| IK_DeviceData                                |
+----------------------------------------------+
| eth0,dhcp|eth1,192.168.80.1,255.255.255.0|,, |
+----------------------------------------------+

Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 08, 2015, 06:03:30 am
Thank you!  I'll see what I can make of all this.

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: CentralMedia on November 22, 2015, 01:45:31 am
Just rebuilt my server after another crash, has been a while, using 12.04 dvd build on 06 Nov, also did an update.

When I try to configure a static network configuration and setup DNS to a separate IP, via the web admin, it breaks the network configuration on a restart, both eth0 and eth1.

Seem to sort out the network issue, by going in the Orbiter and configuring the network settings there, which brings back up the interfaces.

An issue remains, I am not getting the DNS i want set to work to resolve. Checked under the device core "IPv4 Network Interfaces" and all seems correct.

Any thoughts.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: Alblasco1702 on November 22, 2015, 12:56:55 pm
hcaine How many interfaces dor you have on the core including wireless interfaces?
there is a third network interface unconfigured on the db this one "|,, |" and this card is unconfigured set on /etc/network/interfaces
this one:

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

I'm working on multiple network interfaces configuration with wireless cards as well,
i'm going to search where the third card what is unconfigured comes from.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 22, 2015, 07:16:18 pm
CentralMedia: I've no clue myself, hopefully someone with more knowledge in that area can help.

hcaine: I have tried and tried and I've been unable to recreate the issue you are having with the 3rd blank nic adaptor.  ",, |" in the device data it's these characters that are defining this 3rd blank nic.  Removing those should inhibit the unwanted behaviour.

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: rebelkiller on November 22, 2015, 09:49:31 pm
I have exactly the same issue with no third network adaptor.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 22, 2015, 10:59:12 pm
Fresh installs are not exhibiting this behaviour so there must be something you guys are doing, perhaps in webadmin, to configure your networking.  If we can narrow down what/where then we can fix it.

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: Marie.O on November 22, 2015, 11:17:50 pm
Or maybe one of your PCI devices is identifying itself strangely. So if you didn't do anything manual, please pastebin the output of lspci
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 23, 2015, 03:53:42 am
Good point.   :)

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 24, 2015, 09:08:25 pm
So, idiot that I am...  I tried the instructions in the first post and I can recreate this.  Not sure why it's happening but hopefully it will put me closer to a solution.  Thanks for testing and reporting everyone!

J.
Title: Re: installation issues LMCE 12.04 (network installation)
Post by: phenigma on November 24, 2015, 09:33:04 pm
Initial issue is solved, should be no more extra 'blank' network interfaces.  http://svn.linuxmce.org/trac/ticket/2536#ticket

Let's open up new threads for any other issues.  Thanks again guys!

J.