summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/local-website/htdocs/linhes.html
blob: 6cfebeb442ff5fe7c050539e451a8a3cc6106972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

  

  
  
  
  <title>My Settop Box</title>
  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>


<body>


<div align="center">
<table border="0" cellpadding="1" cellspacing="1" width="600">


  <tbody>


    <tr align="center">


      <td colspan="1" valign="top"></td>


    </tr>


    <tr>


      
      
      <td style="text-align: center;" valign="top"><big><big><big><big><big>LinHES<br>


      <small><small><small><small><small><small>Linux Home
Entertainment System<br>


      <br>


      </small></small></small></small></small></small></big></big></big></big></big>
      
      
      <div style="text-align: left;"><span style="font-style: italic;">Introduction:</span><br>


      <br>


&nbsp;&nbsp;&nbsp;&nbsp; LinHES is what I called my home entertainment
system.&nbsp; LinHES is of course based on KnoppMyth, but the setup I
describe can be accomplished with any Linux distro and MythTV.&nbsp; My
setup consists of a master and slave backend.&nbsp; My master backend is
in my bedroom and it is used to store all recorded programs.&nbsp; My
slave backend is in my living room.&nbsp; It's primary function is to
entertainment visitors.&nbsp; Both backends are hooked up to a TV via,
TV out(SVIDEO).&nbsp; SBE is also hooked to a Kenwood receiver w/
surround(works w/o additional tweaking!). NFS is used to share the files
between the systems.<br>


      <br>


MBE hardware:<br>


Chaintech 7NIF2 w/ Athlon XP 2400+<br>


512 megabytes of RAM<br>


120 gigabyte hard drive<br>


      <a href="http://hauppauge.com/pages/products/data_350.html">Hauppauge
PVR 350</a><br>


      <a href="http://hauppauge.com/pages/products/data_250.html">Hauppauge
PVR 250</a><br>


DVD-ROM drive<br>


      <br>


SBE hardware:<br>


Asus A7N266 w/ Athlon XP 1800+<br>


512 megabytes of RAM<br>


160 gigabyte hard drive<br>


nVidia Geforce 4-440mx w/ TV out<br>


Hauppauge WinTV model 401<br>


AverMedia M179<br>


DVD-ROM drive<br>


2 Logitech Wingman Wireless rumblepad<br>


      <a href="http://wilsonet.com/mythtv/remotes.php">RadioShack
15-2116 universal remote</a><br>


      <br>


      <span style="font-style: italic;">Installation</span>:<br>


      <br>


&nbsp;&nbsp;&nbsp;&nbsp; I performed an auto install on MBE, while SBE
was installed manual (I wanted /cache no larger than 5 gigs).&nbsp; Both
systems installed w/o issue all hardware was seen and worked w/o
additional configuration.&nbsp; MBE was recently changed to R5
Alpha(auto upgrade and <span style="font-style: italic;">not ready</span>
for the average user), while SBE is running R4V3.&nbsp; Both are of
course running MythTV 0.15.1.<br>


      <br>


      <span style="font-style: italic;">Customization</span>:<br>


      <br>


MBE:<br>


/etc/hosts:<br>


127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mbe.mysettopbox.tv
localhost<br>


192.168.1.91 sbe<br>


      <br>


Added the following to /etc/fstab:<br>


      <small>sbe:/myth /mnt/sbe nfs rsize=8192,wsize=8192,soft,nfsvers=3</small><br>


      <br>


/etc/exports:<br>


/myth&nbsp;&nbsp; *(rw)<br>


update-rc.d nfs-kernel-server defaults<br>


      <br>


Made a directory under /mnt called sbe and symlinked music and video to
sbe/music and sbe/video.<br>


mkdir /mnt/sbe<br>


cd /mnt<br>


ln -s sbe/music music(Setup-Music Settings-General Settings, change the
directory to hold music to /mnt/music)<br>


ln -s sbe/video video(Setup-Video Settings-General Settings change
directory to hold videos to /mnt/video)<br>


      <br>


Ran mythtv-setup and change both IPs from 127.0.0.1 to my actual
IP.&nbsp; Modified /etc/mysql/my.cnf, commented bind-address and
restarted mysql.&nbsp; Finally as the user mythtv:<br>


cd ~/.mythtv<br>


rm -fr MythVideo<br>


ln -s /mnt/sbe/image_cache/MythVideo/ MythVideo<br>


      <br>


      <br>


SBE:<br>


/etc/hosts<br>


127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; localhost<br>


192.168.1.91 sbe.mysettopbox.tv sbe<br>


192.168.1.92 mbe.mysettopbox.tv mbe<br>


      <br>


Added the following to /etc/fstab:<br>


      <small>mbe:/myth /mnt/mbe nfs rsize=8192,wsize=8192,soft,nfsvers=3<br>


      <br>


      </small>/etc/exports:<br>


/myth&nbsp;&nbsp; *(rw)<br>


update-rc.d nfs-kernel-server defaults<br>


update-rc.d -f mysql remove<br>


update-rc.d -f apache remove<br>


rm -fr /etc/cron.daily/mythtv-backend<br>


      <br>


Made a directory under /mnt called mbe and symlinked tv to mbe/tv,
music is symlinked to /myth/music and video is symlinked to /myth/video.<br>


mkdir /mnt/mbe<br>


cd /mnt<br>


ln -s mbe/tv tv(mythtv-setup 2nd screen, directory to hold&nbsp;
recordings, change to /mnt/tv)<br>


      <br>


Run mythtv-setup and change the first IP to the IP for SBE and the
second to MBE's IP.&nbsp; Configure capture cards and bind input to
source(configured during MBE setup).&nbsp; Finally as the user mythtv:<br>


cd ~/.mythtv<br>


rm -fr MythVideo<br>


ln -s /myth/image_cache/MythVideo/ MythVideo<br>


vi mysql.txt<br>


      <br>


DBHostName=mbe<br>


DBUserName=mythtv<br>


DBPassword=mythtv<br>


DBName=mythconverg<br>


LocalHostName=sbe<br>


      <br>


At this point, one can reboot boot systems or:<br>


MBE:/etc/init.d/nfs-kernel-server start<br>


SBE:/etc/init.d/nfs-kernel-server start<br>


MBE:mount /mnt/sbe<br>


SBE:mount /mnt/mbe<br>


M/SBE:/etc/init.d/mythtv-backend restart<br>


      <br>

Tips&nbsp; :<br>


      <br>


&nbsp;&nbsp;&nbsp;&nbsp; In Setup-TV Settings-Playback-2nd screen,
"Action on playback exit", set this to "Save position on exit".&nbsp;
This way you can migrate watching a recorded show from one system to the
next.<br>


      </div>


      </td>


    </tr>


  
  
  </tbody>
</table>


</div>


<br>


</body>
</html>