Author Topic: clean install from 7.04 to 7.10 DHCP not working  (Read 2988 times)

fillister

  • Newbie
  • *
  • Posts: 13
    • View Profile
clean install from 7.04 to 7.10 DHCP not working
« on: May 24, 2008, 12:53:08 am »
hello, I have a Asus N2MPV-VM acting as a dedicated core. The external NIC is connected to my cable modem and the internal NIC connected to a Netgear DGS 2208 switch. This setup worked perfectly with MCE 7.04 but after I did a clean install to 7.10 by installing Kbuntu 7.10 AMD and then the 2 cd 7.10 MCE I cannot seem to get the internal NIC to work. The indicator lamp does not light on the internal NIC or on the switch and I just cannot figure out why this internal lan port is inactive under the 7.01 version. In the MCE launch Manager under the view IP Adresses it lists the following info:

External_Iface=eth1
External_mac=00:18:E7:16:F8:07
External_IP= 68:3:33:91
External_Netmask=255.255.240.0
External Dhcp=1
Internal_Iface=eth0
Internal_Mac=00:1B:FC:CB:88:88
Internal_Ip=192.168.80.1
Internal_netmask=255.255.255.0
Gateway=68.3.32.1
DNS1=68.105.28.11
DNS2=68.105.28.12

In the MCE browser under Network Settings Advanced tab I see this:

Advanced | Network settings
EXTERNAL_IFACE    eth1
EXTERNAL_MAC    00:18:E7:16:F8:07
EXTERNAL_IP    68.3.33.91
EXTERNAL_NETMASK    255.255.240.0
EXTERNAL_DHCP    1
INTERNAL_IFACE    eth0
INTERNAL_MAC    00:1B:FC:CB:88:88
INTERNAL_IP    192.168.80.1
INTERNAL_NETMASK    255.255.255.0
GATEWAY    68.3.32.1
DNS1    68.105.28.11
DNS2    68.105.28.12
Domain     Computer name 
DHCP server on Core:
   Enable DHCP server
     Range of IP addresses for Pluto devices: ... - ...
     Provide IP addresses for anonymous devices not in Pluto's database.
             Range of IP addresses for non-Pluto devices: ... - ...
Number of network adapters: 2

Your core has the following network adapters:
1. External network card eth1
Obtain an IP address from DHCP
Use a static IP address
     Core's IP address:    ...
     Subnet mask:    ...
     Gateway:    ...
     Nameserver (DNS) #1:    ...
     Nameserver (DNS) #2:    ...
2. Internal network card eth0
     IP address:    ...
     Subnet mask:    ..

The launch manager log shows this:
05      05/23/08 14:09:17.069           =>initialize_Connections() <0x2b39ffc964                                          b0>
05      05/23/08 14:09:17.258           Opening DB connection.. <0x2b39ffc964b0>
05      05/23/08 14:09:17.285           Successful <0x2b39ffc964b0>
05      05/23/08 14:09:17.286           Running query: "SELECT PK_Device FROM De                                          vice WHERE FK_DeviceTemplate=7" <0x2b39ffc964b0>
05      05/23/08 14:09:17.287           Detected core as device #1 <0x2b39ffc964                                          b0>
05      05/23/08 14:09:17.287           Running query: "SELECT PK_Device FROM De                                          vice LEFT JOIN DeviceTemplate ON FK_DeviceTemplate=PK_DeviceTemplate WHERE FK_De                                          vice_ControlledVia=1 AND FK_DeviceCategory IN (8)" <0x2b39ffc964b0>
05      05/23/08 14:09:17.288           Query: "SELECT PK_Device FROM Device LEF                                          T JOIN DeviceTemplate ON FK_DeviceTemplate=PK_DeviceTemplate WHERE FK_Device_Con                                          trolledVia=1 AND FK_DeviceCategory IN (8)" returned no records <0x2b39ffc964b0>
05      05/23/08 14:09:17.288           Running query: "SELECT PK_Device FROM De                                          vice LEFT JOIN DeviceTemplate ON FK_DeviceTemplate=PK_DeviceTemplate WHERE FK_De                                          vice_ControlledVia= AND FK_DeviceCategory IN (2, 3, 5)" <0x2b39ffc964b0>
01      05/23/08 14:09:17.288           Error executing query <0x2b39ffc964b0>
01      05/23/08 14:09:17.288           Statement error <0x2b39ffc964b0>
01      05/23/08 14:09:17.288           Database says: You have an error in your                                           SQL syntax; check the manual that corresponds to your MySQL server version for                                           the right syntax to use near 'AND FK_DeviceCategory IN (2, 3, 5)' at line 1                                                Driver says: QMYSQL3: Unable to execute query <0x2b39ffc964b0>
05      05/23/08 14:09:17.288           Trying to reopen DB connection <0x2b39ff                                          c964b0>

the Pluto DHCP log shows this:
/var/log/pluto/PlutoDHCP.log (End)

The DCE router log shows this:
2       05/23/08 14:11:09       /usr/pluto/bin/Spawn_DCERouter.sh  (server)                                               Writing Version: 2.0.0.44
1       05/23/08 14:11:09       /usr/pluto/bin/Spawn_DCERouter.sh (server)                                                Starting DCERouter
========== NEW LOG SECTION ==========
1       05/23/08 14:11:09       DCERouter (server)      Starting... 1
Fri May 23 14:11:09 MST 2008 Starting
05      05/23/08 14:11:10.809           Socket::ReceiveData 0x792210 failed, byt                                          es left 0 start: 150000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 7 Incoming_Conn Socket 7                                           127.0.0.1 <0x43806950>
05      05/23/08 14:11:10.809           Socket::ReceiveString2 ReceiveData faile                                          d m_Socket: -1 Incoming_Conn Socket 7 127.0.0.1 <0x43806950>
05      05/23/08 14:11:10.809           TCPIP: Closing connection to -1 (Router                                           Dev #0) 0x792210 m_Socket: -1 <0x43806950>
05      05/23/08 14:11:10.809           Router::RemoveAndDeleteSocket 0x792210 -                                          1 <0x43806950>
05      05/23/08 14:11:11.327           Loaded plug-in device: 3 master device:                                           10 -- ./File_Grids_Plugin.so <0x2ab1285a3e80>
05      05/23/08 14:11:11.370           Loaded plug-in device: 4 master device:                                           27 -- ./General_Info_Plugin.so <0x2ab1285a3e80>
05      05/23/08 14:11:11.387           Loaded plug-in device: 5 master device:                                           31 -- ./Climate_Plugin.so <0x2ab1285a3e80>
05      05/23/08 14:11:11.403           Loaded plug-in device: 6 master device:                                           9 -- ./Datagrid_Plugin.so <0x2ab1285a3e80>
05      05/23/08 14:11:11.436           Loaded plug-in device: 7 master device:       

This is the fifth Time that i have tried to install 7.01 with out success I even tried the 386 version with no luck, but MCE 704 works flawlessly. I hope that one of one of you MCE wizards can point me in the proper direction....

Thank you for your help

Fillister

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: clean install from 7.04 to 7.10 DHCP not working
« Reply #1 on: May 26, 2008, 06:24:03 pm »
Hi,

Did you change any cabling?

It looks to me it looks like you have your ethernet reversed.

eth0 should be your external connection.

eth1 should be your internal DHCP connection.

Hope this helps.