LinuxMCE Forums
General => Installation issues => Topic started 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.
-
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.
-
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.
-
Tank for you reply phenigma.
I honestly do not see any other category.
For /etc/network/interfaces, (before/after) I'll do it tonight.
-
/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.
-
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.
-
This is the before /etc/network/interfaces
http://pastebin.com/GPJ0AHKi
This is the after /etc/network/interfaces
http://pastebin.com/jfA8JYip
-
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.
-
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
-
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.
-
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.
-
I realy dont found the Device Data IPv4 Network Interfaces... Where can i found it?
-
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;"
-
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|,, |
+----------------------------------------------+
-
Thank you! I'll see what I can make of all this.
J.
-
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.
-
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.
-
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.
-
I have exactly the same issue with no third network adaptor.
-
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.
-
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
-
Good point. :)
J.
-
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.
-
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.