Page 1 of 1

Boot hanging on 'TCode' (or 'MM_DHCP_TCODE') not configured

Posted: Tue Jul 29, 2008 1:32 pm
by giarc
Hi

Ive installed lates minimyth ram-minimyth-0.21.0-56 on to compact flash to boot locally however it hangs on 'TCode' (or 'MM_DHCP_TCODE') not configured.

messages reads

Code: Select all


root@velma:~ # tail -f /var/log/messages 
Jul 29 12:08:50 (none) local0.info minimyth: processing configuration: fetching additional files 'MM_SECURITY'
Jul 29 12:08:50 (none) local0.info minimyth: processing configuration: fetching additional files 'MM_SSH_SERVER'
Jul 29 12:08:50 (none) local0.info minimyth: processing configuration: fetching additional files 'MM_THEME'
Jul 29 12:08:50 (none) local0.info minimyth: processing configuration: fetching additional files 'MM_VERSION'
Jul 29 12:08:50 (none) local0.info minimyth: processing configuration: fetching additional files 'MM_VIDEO'
Jul 29 12:08:50 (none) local0.info minimyth: processing configuration: fetching additional files 'MM_WIIMOTE'
Jul 29 12:08:50 (none) local0.info minimyth: processing configuration: fetching additional files 'MM_X'
Jul 29 12:08:50 (none) local0.err minimyth: error: check '/var/log/minimyth.err.log' for further details.
Jul 29 12:08:51 (none) daemon.info init: no more processes left in this runlevel
Jul 29 12:09:12 (none) auth.info login[4346]: root login on 'pts/0'

err log reads

Code: Select all


root@velma:~ # more /var/log/minimyth.err.log 
error: 'TCode' (or 'MM_DHCP_TCODE') not configured.
error: check '/var/log/minimyth.err.log' for further details.
in minimyth config file i have

Code: Select all

################################################################################
# DHCP overrides configuration variables.
#
 MM_DHCP_HOST_NAME='velma'
# MM_DHCP_DOMAIN_NAME
 MM_DHCP_TCODE='europe/london'
 MM_DHCP_DOMAIN_NAME_SERVERS='192.168.1.1'
 MM_DHCP_NTP_SERVERS='192.168.1.1'
# MM_DHCP_LOG_SERVERS
################################################################################

ive also tried in the boot line with

Code: Select all


DEFAULT minimyth

LABEL minimyth
        KERNEL kernel
        APPEND ro root=/dev/ram0 ramdisk_size=96000 initrd=rootfs MM_DHCP_TCODE="Europe/London"

but no success, im being an ejiot somewhere can you advise where im configuring this wrong

TIA

Posted: Tue Jul 29, 2008 3:43 pm
by Pablo
A couple of things.

(1) The timezone names are case sensitive. Therefore, 'europe/london' is not the same as 'Europe/London'. The value in your minimyth.conf file should be 'Europe/London'.

(2) If MM_DHCP_TCODE is set in your minimyth.conf, then the value on the boot line will be ignored.

(3) I wouldn't have the white space at the beginning of the line before the variable name in your minimyth.conf file. The minimyth.conf file is processed as a shell script. While the busybox shell should not care, better safe than sorry.

Posted: Wed Jul 30, 2008 11:19 am
by giarc
Works now

Thank you for that :D