I was reading the mailing list archives looking for common troubleshooting
questions experienced users usually ask. I found a few and I provided
answers to them below.
I renamed dongle.bin to mvp.bin and the MediaMVP will boot up now.
I still have two problems:
1. mvpmc doesn't seem to be getting the correct configuration after it
boots.
2. when I telnet into the MediaMVP unit running mvpmc and manually configure
it, it fails to connect to the backend properly. None of the MythTV
functions will work.
I'm following this guide:
https://help.ubuntu.com/community/MythTV/MediaMVP_Frontend
Running Mythbuntu 9.10 as my backend server
$ uname -a
Linux myMythBE 2.6.31-15-generic-
My MediaMVP is model 86001 rev D3A.ot4503
It was sold by SageTV. Therefore, afaik, it looks for mvp.bin, not
dongle.bin.
My only DHCP server is a Netgear router on my LAN.
myMythBE $ cat /etc/rc.local
#!/bin/sh -e
# rc.local
/usr/sbin/atftpd --daemon --port 16869 --retry-timeout 120 \
--mcast-addr 192.168.2.1-199 --mcast-ttl 2 --verbose=7 /tftpboot
/usr/sbin/atftpd --daemon --port 69
/usr/bin/mvprelay 16881 5906 6337 192.168.2.107 &
exit 0
myMythBE $ ps -A | grep atftpd
2180 ? 00:00:00 atftpd
2182 ? 00:00:00 atftpd
myMythBE $ cat mvp.bin.config
# from https://help.ubuntu.com/community/MythTV/MediaMVP_Frontend
# set up host environment variable
HNAME=`hostname`
export HNAME
# setup time and date
# timezone first
TZ='EST+5EDT,M3.2.0/2,M11.1.0/2'
export TZ
echo "TZ='EST+5EDT,M3.2.0/2,M11.1.0/2'; export TZ" > /etc/shell.config;
# set the system clock from the backend ntp service
/bin/ntpclient -s -h 192.168.2.107
# create an /etc/hosts file
LH="127.0.0.1 localhost localhost"
BE="192.168.2.107 myMythBE myMythBE"
echo $LH > /etc/hosts
echo $BE >> /etc/hosts
# set up to load and save settings
# load settings
. /etc/udhcpc.config
SETTINGSDIR=/tmp/settings
mkdir -p ${SETTINGSDIR}
SETTINGS=${SETTINGSDIR}/settings
RSETTINGS=settings.${HNAME:-$IP}
LASTSAVED=${SETTINGSDIR}/.lastsaved
touch $LASTSAVED
tftp -g -r $RSETTINGS -l $SETTINGS $SERVER;
# save settings
(
while true; do
if [ $SETTINGS -nt $LASTSAVED ] ; then
tftp -p -l $SETTINGS -r $RSETTINGS $SERVER;
touch $LASTSAVED;
fi;
sleep 300;
done
)&
# boot the MediaMVP
mvpmc -f /etc/helvB14.pcf -o composite -s 192.168.2.107 -y 192.168.2.107 -T
mythconverg -u mythtv -p XXXXXXXXXXXXXXXX -F $SETTINGS &
Section from myMythBE logs showing that mvp.bin.config is not requested.
(Not sure it should be, but...)
Dec 3 10:55:44 myMythBE atftpd[2306]: socket may listen on any address,
including broadcast
Dec 3 10:55:44 myMythBE atftpd[2306]: Creating new socket:
192.168.2.107:33610
Dec 3 10:55:44 myMythBE atftpd[2306]: Serving mvp.bin to 192.168.2.103:3909
Dec 3 10:55:56 myMythBE atftpd[2306]: End of transfer
Dec 3 10:55:56 myMythBE atftpd[2306]: Server thread exiting
myMythBE $ ls -la /tftpboot/
total 3564
-rw-r--r-- 1 myuser myuser 3625504 2009-12-03 10:55 mvp.bin
-rw-r--r-- 1 myuser myuser 1309 2009-12-03 11:03
mvp.bin.config
-rw-r--r-- 1 myuser myuser 40 2009-12-03 11:04 mvp.bin.ver
-rw-rw-rw- 1 root root 0 2009-12-03 13:55
settings.192.168.2.103
on mvpmc, I see that SERVER (in /etc/udhcpc.config) has the wrong IP
address. It should be 192.168.2.107. (I manually changed it as part of my
troubleshooting.)
# cat /etc/udhcpc.config
DONGLE=
SERVER=192.168.2.1
IP=192.168.2.103
ETH=eth0
HNAME=
NTP=""
On Thu, Dec 3, 2009 at 1:39 PM, Dave Ansell <[email protected]> wrote:
> If you have mvp.bin then you should also have mvp.bin.config.
> What is in the config file?
>
>
> ----- Original Message -----
> *From:* Dave <[email protected]>
> *To:* [email protected]
> *Sent:* Thursday, December 03, 2009 5:17 PM
> *Subject:* [Mvpmc-users] File /tftpboot/mvp.bin not found
>
> I am using this
> guide<https://help.ubuntu.com/community/MythTV/MediaMVP_Frontend>to set up a
> MediaMVP frontend with Mythbuntu 9.10.
>
> After completing all the basic installation steps, I attempted to boot up
> the MediaMVP. The boot process did not complete, so I checked the logs:
> $ tail -n 25 /var/log/syslog
> Dec 3 10:49:14 myMythBE atftpd[2306]: socket may listen on any address,
> including broadcast
> Dec 3 10:49:14 myMythBE atftpd[2306]: Creating new socket:
> 192.168.2.107:43431
> Dec 3 10:49:14 myMythBE atftpd[2306]: Serving mvp.bin to
> 192.168.2.103:3909
> Dec 3 10:49:14 myMythBE atftpd[2306]: *File /tftpboot/mvp.bin not found*
> Dec 3 10:49:14 myMythBE atftpd[2306]: Server thread exiting
> Dec 3 10:49:54 myMythBE atftpd[2306]: socket may listen on any address,
> including broadcast
>
> Indeed, there is no mention of /tftpboot/mvp.bin in the how-to. As a guess,
> I copied dongle.bin to mvp.bin. Now the MediaMVP will boot up, but it lacks
> the MythTV configuration.
>
> Searching on Google gives: *No results found* for "File /tftpboot/mvp.bin
> not found" (with quotes)
> Wow. No one else has run into this???
>
> more info:
> MediaMVP Model 86001 rev D3A.ot4503
> # uname -a
> Linux 192.168.2.103 2.4.31-v1.1-hcwmvp #1 Tue Feb 20 22:58:51 CST 2007 ppc
> unknown
>
> *Can anyone tell me where I went wrong?*
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
>
> ------------------------------
>
> _______________________________________________
> Mvpmc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mvpmc-users
> mvpmc wiki: http://mvpmc.wikispaces.com/
>
>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/