![]() |
downloads | documentation | HowTo | reporting bugs | links | Recent Changes |
What is a Wiki?See WikiWikiWeb If you don't know how to use a wiki see the WikiHowto ErfurtWiki is maintained by a loosely knit group of developers. Quick LinksRelated sitesContactPlease submit website bugs in the BugReports Contribute!Please file any wishes on UserSuggestions. Hosted By |
Booting a limited MythTV front end on a Hauppauge MediaMVPThese steps will allow you to remote-boot your MediaMVP from your KnoppMyth box, using a modified MediaMVP kernel which, when directed to KnoppMyth's /myth/tv folder, will allow you to browse and select all recorded programs on your MythTV back end. The front end is missing quite a few features (most significantly the inability to watch Live TV from your backend tuners), but it organizes your recorded programs much better than the Hauppauge-supplied software does.
1. We'll assume you logged in as mythtv user and are in its home directory of /home/mythtv/. Switch to root, create a tftpboot folder at the root directory, and cd into it. su 2. Download the latest "dongle.bin" binary from the MVP Media Center project download page at http://mvpmc.sourceforge.net/idx.php?pg=downloads . Find the URL of the latest dongle, then use wget to get that URL into the tfptboot folder. Then rename the file you get (it will have a name like dongle.bin.mvpmc-20050417) to dongle.bin.mvpmc mv dongle.bin.mvpmc-20050417 dongle.bin.mvpmc You can read up about the MVP Media Center project at the same http://mvpmc.sourceforge.net/ . There is also a forum on running Linux on the MediaMVP at http://www.shspvr.com/forum/ (scroll down to find the MediaMVP section) 3. In order to connect to the back end, the /myth/tv directory must be shared via NFS. NFS software is already installed for R5 alpha. (For R4 ONLY, you should probably install a more recent version of nfs via apt-get, as the version that comes with R4 is reportedly broken. After apt-get update, do a apt-get -t stable install nfs-common nfs-kernel-server to install To set the proper NFS sharing settings for /myth/tv, edit /etc/exports according to directions listed at http://www.dforsyth.net/mvp/serversetup.html . I used nano as my text editor: nano /etc/exports The file may be empty, or it may contain the following /myth (rw) Edit this file to read: /myth/tv *(rw,async,no_root_squash,no_subtree_check) Save and exit your text editor. You can then start NFS services: /etc/init.d/nfs-kernel-server start I was unclear whether this needed to be set to load at startup... when I entered update-rc.d nfs-kernel-server defaults it said the startup links were already there. 4. You now need to set up a tftp server on your MythTV box to let the MediaMVP remotely boot the new kernel. tftp-hpa is included in R5Ax. Edit the inetd.conf config file: nano /etc/inetd.conf Page down to the section on "BOOT" and uncomment the "tftp" line. Edit the line so that the entire line reads: tftp dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.tftpd -s /tftpboot (all on one line) Save and exit, then restart inetd services: /etc/init.d/inetd restart
(NOTE: As of R5.5 8/10/2008 do not uncomment this line in inetd.conf. tftpd-hpa run as a dameon needs the file in /etc/defaults/tftpd-hpa edited to read as
#Defaults for tftpd-hpa 5. You now to set up a DHCP server on your MythTV box: the MediaMVP first looks for a DHCP server, then downloads the kernel via tftp from that server. For R5E50 see the comment below about the 'next-server' option. Edit /etc/dhcpd3/dhcpd.conf for R5 (/etc/dhcpd.conf for R4)... nano /etc/dhcpd3/dhcpd.conf Your MythTV box will now have to be the only DHCP server on your home network's subnet, so you should read up on how to setup this config file to do what you want. If another DHCP server is running (for instance, on a hardware router), the MediaMVP will likely latch onto the other DHCP server, and try (and fail) to download the new kernel from it. The following config file does seem to work as my network's sole DHCP server. You should adjust IP numbers depending on your network's internal numbering scheme: # my config file for dhcpd3 for Debian range 192.168.1.50 192.168.1.60;
}option routers 192.168.1.1; option domain-name-servers xx.xx.xx.xx, xx.xx.xx.xx, xx.xx.xx.xx; # you then should give your MediaMVP a fixed IP number, # and a filename to boot from. Note you will need # to get the MediaMVP's MAC address from the sticker # on the bottom of the unit host MVP { hardware ethernet 00:0d:fe:00:87:1b;
}# For R5E50 I had to add a next-server option here # next-server ip-of-your-myth-box; filename "dongle.bin.mvpmc"; fixed-address 192.168.1.40; Save and exit your editor. Now, turn off any other DHCP servers in your subnet. I had to turn off my broadband router's DHCP server to get the MediaMVP to boot with the new kernel. Now start up your DHCP server and set it so it starts up whenever your system starts up: /etc/init.d/dhcp3-server start (Use /etc/init.d/dhcpd for R4) If you get any errors, it's probably a problem with your /etc/dhcpd3/dhcpd.conf file. You can view the syslog to get some clues as to what's wrong: more /var/log/syslog 6. One more step. Make sure you're still in the /tftpboot directory and create a new file called dongle.bin.mvpmc.config: cd /tftpboot Create this file as follows, replacing the IP number with the number of your MythTV back end: rdate -s $SERVER Save and exit the editor. Note that you'd change "4:3" to "16:9" if you have a widescreen TV, and "ntsc" to "pal" if you're in a PAL region. 7. Now start up the MediaMVP by plugging in its power cable. Assuming all has gone well, you should see the MVP Media Center main menu. If you have a problem with this setup please check this thread http://mysettopbox.tv/phpBB2/viewtopic.php?t=3151&highlight=dhcp Rusty Adds - If you get a single line channel entry in "Live TV" it is an indication that the time on your MediaMVP is not synced up to your server. Presuming you have 'rdate -s $SERVER' as above pointing at a valid system, check the /etc/inetd.conf file directly and confirm that the 'time' entries are not commented out. Webmin may even indicate that they are up and running, even when they are commented out. Restart inet.d with the command '/etc/init.d/inetd restart' and reboot your MVP. All should be back in order. -Rusty MediaMCP on MediaMVP H2DHCP Setup
This is probably overkill because as you'll see later, mvpboot.pl handles most of this now. The only important thing that needs to happen is that your MediaMVP gets a static IP. TFTP Setup
This, and the changes in /etc/services are going to start two instances of TFTP. MediaMVP H2 needs this. mvpboot.pl
Run this in the backgroup to make H2 booting work. --Start Copy/Paste--
--End Copy/Paste-- sources.list
http://www.debian.org/mirror/list - testing main Run: apt-get install initrd-tools gcc perl -MCPAN -e shell install Net::Interface
NFS Setup
/etc/exports EditThisPage BackLinks PageInfo Pages like this Attachments RSS/Atom last changed on Tue Aug 17 08:17:10 2010 |
UpdatedPages· HowTo last changed on Thu Sep 2 01:33:37 2010· LinuxTips last changed on Wed Sep 1 08:31:37 2010 · RepairingMythConvergDB last changed on Wed Sep 1 01:56:32 2010 · KnoppMythWiki last changed on Sun Aug 29 14:22:57 2010 · Links last changed on Sat Aug 28 14:11:13 2010 · R5A12DvdRipping last changed on Fri Aug 27 22:24:09 2010 · KnoppMythInstall last changed on Thu Aug 26 02:30:11 2010 · HVR950HowTo last changed on Mon Aug 23 11:00:20 2010 · TinnyAudioPVR150 last changed on Mon Aug 23 01:14:01 2010 · MythVodkaHowTo last changed on Mon Aug 23 00:48:53 2010 · x11vncHowTo last changed on Tue Aug 17 08:20:17 2010 · PickingComponents last changed on Tue Aug 17 08:19:41 2010 · MediaMVP_LinuxHOWTO last changed on Tue Aug 17 08:17:10 2010 · webminhowto last changed on Tue Aug 17 08:11:10 2010 · MythTVBurn_Scripts_HowTo last changed on Mon Aug 16 15:44:19 2010 · TVOverScanHowto last changed on Wed Aug 4 04:12:50 2010 · EditThisPage last changed on Wed Aug 4 04:10:39 2010 · R5.5/R6.x Differences Table and Equivalent Commands last changed on Wed Aug 4 00:27:20 2010 · TroubleShooting last changed on Tue Aug 3 20:00:33 2010 · Media_Center_Edition_Remote_Control last changed on Tue Aug 3 08:19:13 2010 · kworld115HowTo last changed on Tue Aug 3 08:12:26 2010 · WhatRemoteYouUse last changed on Sun Aug 1 11:51:11 2010 · WhatCardYouUse last changed on Sun Aug 1 11:50:25 2010 · HardwareAcceleratedVideo last changed on Tue Jul 27 09:15:10 2010 · DisklessFrontend last changed on Tue Jul 27 09:13:29 2010 · CompileMythTVFromSVN last changed on Tue Jul 27 07:39:28 2010 |
| sitemap | | |