LinHES Forums
http://forum.linhes.org/

Can't get tftpd running (MediaMVP related)
http://forum.linhes.org/viewtopic.php?f=5&t=17507
Page 1 of 1

Author:  Gibble [ Sun Dec 30, 2007 10:31 pm ]
Post subject:  Can't get tftpd running (MediaMVP related)

I'm trying to follow along with
http://www.knoppmythwiki.org/index.php? ... LinuxHOWTO

But I can't seem to get the tftpd running...

This is killing me! Suggestions?

/etc/inetd.conf
Code:
#:BOOT: Tftp service is provided primarily for booting.  Most sites
# run this only on machines acting as "boot servers."
tftp dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.tftpd -s /tftpboot

Author:  Gibble [ Sun Dec 30, 2007 10:35 pm ]
Post subject: 

Just saw this in the daemon log

Code:
Dec 30 22:28:58 mythtv in.tftpd[4134]: cannot bind to local socket: Address already in use


It doesn't appear to try to boot remotely...
Code:
Dec 30 22:34:59 mythtv dhcpd: DHCPDISCOVER from 00:0d:fe:07:7d:4a via eth0
Dec 30 22:34:59 mythtv dhcpd: DHCPOFFER on 192.168.0.7 to 00:0d:fe:07:7d:4a via eth0
Dec 30 22:34:59 mythtv dhcpd: DHCPREQUEST for 192.168.0.7 (192.168.0.3) from 00:0d:fe:07:7d:4a via eth0
Dec 30 22:34:59 mythtv dhcpd: DHCPACK on 192.168.0.7 to 00:0d:fe:07:7d:4a via eth0


.7 is the MediaMVP

Author:  Gibble [ Mon Dec 31, 2007 12:57 am ]
Post subject: 

Oh dear...something I did is causing the machine to freeze when I try to watch tv...not sure what happens yet when a scheduled recording comes up...

Author:  Gibble [ Mon Dec 31, 2007 9:32 am ]
Post subject: 

I undid my changes, and it's still locking up trying to watch live tv...great...just great.

And I can't find anything in the logs...

But since this is a new problem, if you can help, I started a new topic
http://mysettopbox.tv/phpBB2/viewtopic. ... 086#105086

Author:  goofee [ Mon Dec 31, 2007 7:46 pm ]
Post subject: 

Did You get your MVP working or did you give up on that for now? I had a heck of a time getting MVPMC to work but once I got it it works great. There are different version of MediaMVP, mine is H3. H3 gets it's IP from the dhcp server on my router then looks for a boot server. To get it to work I have to setup MVPboot or MVPrelay.
http://mvpmc.wikispaces.com/relay+service
My /etc/inetd.conf (should be 2 lines)
Code:
#:BOOT: Tftp service is provided primarily for booting.  Most sites
# run this only on machines acting as "boot servers."
tftp      dgram   udp   wait   root   /usr/sbin/tcpd   /usr/sbin/in.tftpd -p -T 10000000 -a 192.168.0.120:16869 -s /tftpboot
tftp2      dgram   udp   wait   root   /usr/sbin/tcpd   /usr/sbin/in.tftpd -p -T 10000000 -a 192.168.0.120:69 -s /tftpboot

Can't remember exactly why I had to setup on 2 ports but I think it was something like it asked on one port then booted from another. Had to setup NFSexport as per wiki. Also remember something about H3 had to boot from dongle.bin not mvp.dongle.bin and linking files didn't work to wel you had to rename it.

Hope some of this might be helpful.

Author:  Gibble [ Tue Jan 01, 2008 11:17 am ]
Post subject: 

How do i know which one I have?

Author:  goofee [ Tue Jan 01, 2008 11:45 am ]
Post subject: 

On the bottom of the unit there is a sticker. Mine says "Model 86019 rev H3 lot 1007"

Here's a link to a D3A showing the sticker. My unit looks the same but has a SPDIF connector and the remote is a little different.
http://mvpmc.wikispaces.com/D3A

Author:  Gibble [ Tue Jan 01, 2008 8:18 pm ]
Post subject: 

I got an H3 as well...really wish I knew what I messed up to break live tv though when I tried to get it working before! :?

Author:  goofee [ Tue Jan 08, 2008 10:57 pm ]
Post subject: 

Hi. Not sure if you got your MVP to boot but I finally found my notes that I took while setting up mine. Thought I'd post it here so I can find it easier next time. it's a mixture of stuff from mvpmc.org and the knoppmythwiki.
Code:
cpan
cpan> install Net::Interface

Had some issues with that one. Kept getting errors and couldn't solve them. Used a -force and it seems to be working
Code:
wget http://mvpmc.wikispaces.com/space/showimage/mvpboot
cp mvpboot /usr/local/bin/mvpboot
chmod a+rx /usr/local/bin/mvpboot
wget http://mvpmc.wikispaces.com/space/showimage/mvpboot.init
cp mvpboot.init /etc/init.d/mvpboot
chmod a+rx /etc/init.d/mvpboot
/etc/init.d/mvpboot start
update-rc.d mvpboot defaults

Edit /etc/exports
Change from
Code:
/myth   *(rw)

To
Code:
/myth *(rw,async,no_root_squash,no_subtree_check)

Edit /etc/default/tftpd-hpa
Change from
Code:
RUN_DAEMON="no"

To
Code:
RUN_DAEMON="yes"

Edit /etc/inetd.conf
Code:
#:BOOT: Tftp service is provided primarily for booting.  Most sites
# run this only on machines acting as "boot servers."
tftp            dgram   udp     wait    root    /usr/sbin/tcpd  /usr/sbin/in.tftpd -p -T 10000000 -a 192.168.0.120:16869 -s /tftpboot
tftp2           dgram   udp     wait    root    /usr/sbin/tcpd  /usr/sbin/in.tftpd -p -T 10000000 -a 192.168.0.120:69 -s /tftpboot

Edit /etc/services
Code:
tftp2           69/tcp         
tftp2           69/udp         
tftp            16869/tcp       
tftp            16869/udp

Start nfs
Code:
/etc/init.d/nfs-kernel-server start
/etc/init.d/nfs-common start
update-rc.d nfs-kernel-server defaults
update-rc.d nfs-common defaults

Setup tftpboot and get dongle.bin
Code:
mkdir /tftpboot
cd /tftpboot
wget http://www.mvpmc.org/builds/dongle.bin.mvpmc-latest
mv dongle.bin.mvpmc-latest dongle.bin
dd if=dongle.bin of=dongle.bin.ver bs=1 count=40 skip=52
chmod 777 *

Create dongle.bin.config file containing
Code:
rdate -s 192.168.0.120
echo '192.168.0.120  mythtv  mythtv' >> /etc/hosts
mkdir /video
/etc/nfsmount.sh 192.168.0.120:/myth/tv/ /video
/bin/echo "Test Log" >/video/test.log
/bin/mvpmc -M -f /etc/helvR10.fnt -s 192.168.0.120 -c 192.168.0.120 -a 4:3 -m nt
sc -r /video --web-port 80 -D 192.168.0.120:0 >>/video/test.log &

I think that was about it. I rebooted cause I'm not sure what all I'd have to restart to have the changes take effect. Good luck!
Warren.

Author:  Gibble [ Mon Jan 14, 2008 10:37 am ]
Post subject: 

I'll have a to take a look at that a little later, I just got back from a gong show vacation, and have been up for over 24 hours...the information looks thorough!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/