ignoring dhcp overrides.

Help with booting MiniMyth

Moderator: Pablo

Post Reply
Torg
New Member
Posts: 5
Joined: Tue Jun 16, 2009 12:32 am

ignoring dhcp overrides.

Post by Torg » Tue Jun 16, 2009 12:53 am

I have a problem booting minimyth via pxe boot, and loading a ram disk. This all works except ignoring dhcp overrides. The minimyth.conf file is loaded and it is correct

From the back end:

Code: Select all

root@backend:/tftpboot/conf/default# md5sum minimyth.conf 
a7c45f7e9e5f531baf827f45de4018f7  minimyth.conf
root@jachin:/tftpboot/conf/default# grep DHCP minimyth.conf 
# DHCP overrides configuration variables.
MM_DHCP_HOST_NAME = 'diskless'
MM_DHCP_DOMAIN_NAME = '<redacted>'
MM_DHCP_TCODE = 'America/Chicago'
MM_DHCP_DOMAIN_NAME_SERVERS = '10.1.1.161'
MM_DHCP_NTP_SERVERS = '10.1.1.161'
MM_DHCP_LOG_SERVERS = '10.1.1.161'
From the minimyth box

Code: Select all

root@?:/etc/minimyth.d # md5sum minimyth.conf 
a7c45f7e9e5f531baf827f45de4018f7  minimyth.conf
As you can see it does not set a host name. Additionally /etc/conf.d shows both minimyth and dhcp.override but those values are blank.

Of course this caused minymyth not to boot and errors out with:

Code: Select all

Jun 15 23:37:04 (none) syslog.info syslogd started: BusyBox v1.14.1
Jun 15 23:37:04 (none) daemon.info init: Entering runlevel: 5
Jun 15 23:37:04 (none) local0.info minimyth: starting splash screen
Jun 15 23:37:04 (none) local0.info minimyth: configuring shared libraries ...
Jun 15 23:37:04 (none) local0.info minimyth: starting loopback network interface ...
Jun 15 23:37:04 (none) auth.notice portmap[896]: Only binding to LOOPBACK address!
Jun 15 23:37:04 (none) local0.info minimyth: starting DHCP client ...
Jun 15 23:37:04 (none) local0.info minimyth: no network interface found, defaulting to 'eth0'.
Jun 15 23:37:04 (none) local0.info minimyth: running DHCP client command '/sbin/udhcpc -S -p /var/run/udhcpc.pid -s /etc/udhcpc.script -i eth0 -q > /var/log/udhcpc 2>&1'.
Jun 15 23:37:04 (none) daemon.info udhcpc[915]: udhcpc (v1.14.1) started
Jun 15 23:37:04 (none) daemon.info udhcpc[915]: Sending discover...
Jun 15 23:37:07 (none) daemon.info udhcpc[915]: Sending discover...
Jun 15 23:37:08 (none) daemon.info udhcpc[915]: Sending select for 10.1.1.169...
Jun 15 23:37:08 (none) daemon.info udhcpc[915]: Lease of 10.1.1.169 obtained, lease time 7200
Jun 15 23:37:08 (none) local0.info minimyth: fetching configuration file  ...
Jun 15 23:37:08 (none) local0.info minimyth: fetching 'confro:/minimyth.conf': local file will be '/etc/minimyth.d/minimyth.conf'.
Jun 15 23:37:08 (none) local0.info minimyth: fetching 'confro:/minimyth.conf': URL 'tftp://10.1.1.161//conf/default/minimyth.conf' fetched.
Jun 15 23:37:08 (none) local0.info minimyth: checking for obsolete variables ...
Jun 15 23:37:08 (none) local0.info minimyth: Processing DHCP override variables ...
Jun 15 23:37:08 (none) local0.info minimyth: starting DHCP client ...
Jun 15 23:37:08 (none) local0.info minimyth: running DHCP client command '/sbin/udhcpc -S -p /var/run/udhcpc.pid -s /etc/udhcpc.script -i eth0 -r 10.1.1.169 > /var/log/udhcpc 2>&1'.
Jun 15 23:37:08 (none) daemon.info udhcpc[1076]: udhcpc (v1.14.1) started
Jun 15 23:37:08 (none) daemon.info udhcpc[1076]: Sending discover...
Jun 15 23:37:08 (none) daemon.info udhcpc[1076]: Sending select for 10.1.1.169...
Jun 15 23:37:08 (none) daemon.info udhcpc[1076]: Lease of 10.1.1.169 obtained, lease time 7200
Jun 15 23:37:08 (none) local0.info minimyth: Fetching firmware files ...
Jun 15 23:37:08 (none) local0.info minimyth: loading kernel modules (automatic) ...
Jun 15 23:37:09 (none) local0.info minimyth: loading kernel modules (manual) ...
Jun 15 23:37:09 (none) local0.info minimyth: processing configuration file ...
Jun 15 23:37:09 (none) local0.err minimyth: MM_THEME_NAME='' is not valid.
Jun 15 23:37:09 (none) local0.err minimyth: 'TCode' (or 'MM_DHCP_TCODE') not configured.
Jun 15 23:37:09 (none) local0.err minimyth: MM_THEMEOSD_NAME='' is not valid.
Jun 15 23:37:09 (none) local0.err minimyth: 'NTP Servers' (or 'MM_DHCP_NTP_SERVERS') not configured.
Jun 15 23:37:09 (none) local0.warn minimyth: 'unknown audio device. assuming audio gain is '90'.
Jun 15 23:37:09 (none) local0.warn minimyth: 'unknown audio device. assuming audio device number is '0'.
Jun 15 23:37:09 (none) local0.warn minimyth: 'unknown audio card. assuming audio card number is '0'.
Jun 15 23:37:09 (none) local0.err minimyth: 'Host Name' (or 'MM_DHCP_HOST_NAME') not configured.
Jun 15 23:37:09 (none) local0.info minimyth: init failed. check '/var/log/messages' for further details.
Jun 15 23:37:09 (none) daemon.info init: no more processes left in this runlevel
Jun 15 23:37:20 (none) auth.info login[2228]: root login on 'pts/0'

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: ignoring dhcp overrides.

Post by Pablo » Tue Jun 16, 2009 1:08 am

In your post, there is a space before and after the equal sign (=) for each variable. Is this the case? If so, then the values will be ignored as all minimyth.conf is doing is setting shell environment variables, and the setting of shell environment variables does not tolerate the whitespace.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply