Posts Tagged ‘LAN’
Hack #5: Howto Modify network configuration
LinuxMCE Core (hybrid or dedicated) needs two network interfaces – one for external connection and another one – for internal. If by some reason you have only one during installation the system creates a virtual internal interface – eth0:0. To modify the network configuration when you decided to add a second Ethernet card you have to make simple changes in the pluto_main database. To see a current network configuration run following select command in the mysql shell:
SELECT IK_DeviceData FROM Device_DeviceData WHERE FK_DeviceData=32;
The result should be similar to this:
eth0,dhcp|eth0:0,192.168.80.1,255.255.255.0
Just replace eth0:0 to eth1
UPDATE Device_DeviceData SET IK_DeviceData="eth0,dhcp|eth1,192.168.80.1,255.255.255.0" WHERE FK_DeviceData=32;
and reboot your core. After that will should see two interfaces.