First boot, always error: 'minimyth.conf' not found

Help with booting MiniMyth

Moderator: Pablo

Post Reply
MythLegend
Contributor
Posts: 56
Joined: Thu Jul 12, 2007 7:46 pm

First boot, always error: 'minimyth.conf' not found

Post by MythLegend » Thu Mar 20, 2008 2:27 pm

Hi,

I've tried a few versions and had the same problem, currently using ram-minimyth0.20.2-43, when I turn on the myth client the first time during the day, I get the minimyth,conf not found and then when I reboot it, it works ?

First time, /var/log/syslog shows :

Mar 20 12:48:02 tvserver dhcpd: DHCPDISCOVER from 00:40:63:e6:2a:27 via eth1
Mar 20 12:48:02 tvserver dhcpd: DHCPOFFER on 192.168.0.221 to 00:40:63:e6:2a:27 via eth1
Mar 20 12:48:04 tvserver dhcpd: DHCPREQUEST for 192.168.0.221 (192.168.0.220) from 00:40:63:e6:2a:27 via eth1
Mar 20 12:48:04 tvserver dhcpd: DHCPACK on 192.168.0.221 to 00:40:63:e6:2a:27 via eth1
Mar 20 12:48:04 tvserver atftpd[5190]: Serving /minimyth/pxelinux.0 to 192.168.0.221:2070
Mar 20 12:48:04 tvserver atftpd[5190]: Serving /minimyth/pxelinux.0 to 192.168.0.221:2071
Mar 20 12:48:04 tvserver atftpd[5190]: Serving /minimyth/pxelinux.cfg/01-00-40-63-e6-2a-27 to 192.168.0.221:57089
Mar 20 12:48:05 tvserver atftpd[5190]: Serving /minimyth/ram-minimyth-0.20.2-43/kernel to 192.168.0.221:57090
Mar 20 12:48:06 tvserver atftpd[5190]: Serving /minimyth/ram-minimyth-0.20.2-43/rootfs to 192.168.0.221:57091
Mar 20 12:48:34 tvserver dhcpd: DHCPDISCOVER from 00:40:63:e6:2a:27 via eth1
Mar 20 12:48:34 tvserver dhcpd: DHCPOFFER on 192.168.0.221 to 00:40:63:e6:2a:27 via eth1
Mar 20 12:48:34 tvserver dhcpd: DHCPREQUEST for 192.168.0.100 (192.168.0.1) from 00:40:63:e6:2a:27 via eth1: lease 192.168.0.100 unavailable.
Mar 20 12:48:34 tvserver dhcpd: DHCPNAK on 192.168.0.100 to 00:40:63:e6:2a:27 via eth1

So, on first boot, the client asks for an IP address to be assigned, gets sent the first few files and then asks again for an ip address, ignores the one previously given and asks for a different IP address, this is where the front end stops and just shows the 'minimyth.conf' not found error.

more /etc/dhcp3/dhcpd.conf
ddns-update-style none;

option tcode code 101 = text;
option tcode "Europe/London";
option space gpxe;
option gpxe-encap-opts code 175 = encapsulate gpxe;
option gpxe.bus-id code 177 = string;

subnet 192.168.0.0 netmask 255.255.255.0
{
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;

# option domain-name "mydomain.com";
option domain-name-servers 192.168.0.1;
option ntp-servers pool.ntp.org;

# The following options are for dynamic IPs
range dynamic-bootp 192.168.0.150 192.168.0.175;
default-lease-time 21600;
max-lease-time 43200;

group
{

use-host-decl-names on;
option log-servers 192.168.0.220;

host myth1
{
hardware ethernet 00:40:63:e6:2a:27;
next-server 192.168.0.220;
fixed-address 192.168.0.221;
filename "/minimyth/pxelinux.0";

# if not exists gpxe.bus-id {
## filename "PXEClient/bin/gpxe-0.9.3-via-rhine_1106_3065.pxe";
# filename "PXEClient/bin/gpxe.0";
# }

# if exists gpxe.bus-id {
# filename "http://192.168.0.220:8000/myth1";
# }

}

host virtmyth1 {
hardware ethernet 08:00:27:bd:92:fa;
next-server 192.168.0.220;
fixed-address 192.168.0.222;

if not exists gpxe.bus-id {
filename "PXEClient/bin/undionly.kpxe";
# filename "PXEClient/bin/gpxe.0";
}

if exists gpxe.bus-id {
filename "http://192.168.0.220:8000/virtmyth1";
}

}

}
}


When I reboot the frontend I get :

Mar 20 13:01:14 tvserver -- MARK --
Mar 20 13:02:53 tvserver dhcpd: DHCPDISCOVER from 00:40:63:e6:2a:27 via eth1
Mar 20 13:02:53 tvserver dhcpd: DHCPOFFER on 192.168.0.221 to 00:40:63:e6:2a:27 via eth1
Mar 20 13:02:55 tvserver dhcpd: DHCPREQUEST for 192.168.0.221 (192.168.0.220) from 00:40:63:e6:2a:27 via eth1
Mar 20 13:02:55 tvserver dhcpd: DHCPACK on 192.168.0.221 to 00:40:63:e6:2a:27 via eth1
Mar 20 13:02:55 tvserver atftpd[5190]: Serving /minimyth/pxelinux.0 to 192.168.0.221:2070
Mar 20 13:02:55 tvserver atftpd[5190]: Serving /minimyth/pxelinux.0 to 192.168.0.221:2071
Mar 20 13:02:55 tvserver atftpd[5190]: Serving /minimyth/pxelinux.cfg/01-00-40-63-e6-2a-27 to 192.168.0.221:57089
Mar 20 13:02:56 tvserver atftpd[5190]: Serving /minimyth/ram-minimyth-0.20.2-43/kernel to 192.168.0.221:57090
Mar 20 13:02:56 tvserver atftpd[5190]: Serving /minimyth/ram-minimyth-0.20.2-43/rootfs to 192.168.0.221:57091
Mar 20 13:03:24 tvserver dhcpd: DHCPDISCOVER from 00:40:63:e6:2a:27 via eth1
Mar 20 13:03:24 tvserver dhcpd: DHCPOFFER on 192.168.0.221 to 00:40:63:e6:2a:27 via eth1
Mar 20 13:03:24 tvserver dhcpd: DHCPREQUEST for 192.168.0.221 (192.168.0.220) from 00:40:63:e6:2a:27 via eth1
Mar 20 13:03:24 tvserver dhcpd: DHCPACK on 192.168.0.221 to 00:40:63:e6:2a:27 via eth1
Mar 20 13:03:32 tvserver atftpd[5190]: Serving /minimyth/conf/myth1/minimyth.conf to 192.168.0.221:48900
Mar 20 13:03:32 tvserver atftpd[5190]: Serving /minimyth/conf/default/minimyth.conf to 192.168.0.221:45588
Mar 20 13:03:35 tvserver dhcpd: DHCPDISCOVER from 00:40:63:e6:2a:27 via eth1
Mar 20 13:03:35 tvserver dhcpd: DHCPOFFER on 192.168.0.221 to 00:40:63:e6:2a:27 via eth1
Mar 20 13:03:35 tvserver dhcpd: DHCPREQUEST for 192.168.0.221 (192.168.0.220) from 00:40:63:e6:2a:27 via eth1
Mar 20 13:03:35 tvserver dhcpd: DHCPACK on 192.168.0.221 to 00:40:63:e6:2a:27 via eth1
Mar 20 13:03:57 tvserver atftpd[5190]: Serving /minimyth/conf/myth1/lircrc to 192.168.0.221:37120
Mar 20 13:03:58 tvserver atftpd[5190]: Serving /minimyth/conf/default/lircrc to 192.168.0.221:56548
Mar 20 13:04:05 tvserver atftpd[5190]: Serving /minimyth/conf-rw/myth1+game.tar to 192.168.0.221:58141

This time the dhcprequest is for the same ip address 192.168.0.221 which is the way I expect as this is specified "fixed-address 192.168.0.221;" in the dhcp config file.

Any ideas why it is working like this ?

Also, why does /minimyth/pxelinux.0 get served twice ?

Also two files minimyth.conf and lircrc are both served twice :
/minimyth/conf/myth1/minimyth.conf {myth1 is the client 192.168.0.221}
and
/minimyth/conf/default/minimyth.conf

Should I remove the default configuration ?

Grateful for any help.

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

Post by Pablo » Sat Mar 22, 2008 6:35 pm

I do not know why it is exhibiting any of this odd behavior. If you are comfortable with it using it, then using wireshark (formerly ethereal) to capture the exchanges.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

MythLegend
Contributor
Posts: 56
Joined: Thu Jul 12, 2007 7:46 pm

Post by MythLegend » Wed Mar 26, 2008 3:01 pm

I recently moved from using dhcpd v2 to dhcpd version 3 because of

option space gpxe;
option gpxe-encap-opts code 175 = encapsulate gpxe;
option gpxe.bus-id code 177 = string;

not being supported in v2,

just tried going back to v2 and removing the options above and now consistently works, no more error Minimyth.conf not found.

Post Reply