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

installation issues LMCE 12.04 (network installation)

Started by hcaine, October 30, 2015, 07:49:20 PM

Previous topic - Next topic

hcaine

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.

phenigma

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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

rebelkiller

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.


hcaine

Tank for you reply phenigma.
I honestly do not see any other category.
For /etc/network/interfaces, (before/after) I'll do it tonight.

phenigma

Quote from: rebelkiller on November 03, 2015, 09:34:11 AM
/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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

phenigma

Quote from: 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.

:)  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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

hcaine


phenigma

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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

pointman87

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
BR Daniel

[url="http://wiki.linuxmce.org/index.php/User:Pointman87"]http://wiki.linuxmce.org/index.php/User:Pointman87[/url]

hcaine

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.


phenigma

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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

hcaine

I realy dont found the Device Data IPv4 Network Interfaces... Where can i found it?

Marie.O

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:
sudo mysql pluto_main -e "SELECT IK_DeviceData FROM Device_DeviceData WHERE FK_Device = 1 AND FK_DeviceData = 32;"


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]

hcaine

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|,, |
+----------------------------------------------+


phenigma

Thank you!  I'll see what I can make of all this.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]