Remove any existing rpms media, then add media for main and contrib, then add update media
for updates, PLFfree and non-free.
# urpmi.removemedia -a
# urpmi.addmedia main ftp://mirror.internode.on.net/pub/mandriva/official/2006.0/i586/media/main with ../media_info/synthesis.hdlist_main.cz
# urpmi.addmedia contrib ftp://mirror.internode.on.net/pub/mandriva/official/2006.0/i586/media/contrib with ../media_info/synthesis.hdlist_contrib.cz
# urpmi.addmedia --update updates ftp://mirror.internode.on.net/pub/mandriva/official/updates/2006.0/RPMS with media_info/synthesis.hdlist.cz
# urpmi.addmedia --update plf-free ftp://ftp.planetmirror.com/pub/plf/mandrake/free/2006.0/i586 with synthesis.hdlist.cz
# urpmi.addmedia --update plf-non-free ftp://ftp.planetmirror.com/pub/plf/mandrake/non-free/2006.0/i586 with synthesis.hdlist.cz
Install any applicable updates.
# urpmi.update updates plf-free plf-non-free
# service mysqld stop
# urpmi --update --auto-select < /dev/null
# service mysqld start
kernel/bootsplash/firmware
The 2.6.12 based kernel from Mandriva 2006 can only support
a single VP7045 tuner device due a bug in the dvb-usb code.
This bug was fixed in Febuary 2006.
More recent kernels include this dvb-usb fix.
Mandriva Cooker contains recent stable kernel.org kernels.
kernel.org kernels do not include bootsplash so
get the latest kernel-linus src rpm and the bootsplash patch,
then patch, build and install this more recent kernel.
The VP7045 tuners require firmware, the firmware file is /lib/hotplug/firmware/dvb-usb-vp7045-01.fw.
You can get this from linuxtv.org or
from the dvb-firmware-usb PLF rpm.
# urpmi dvb-firmware-usb
When the system is restarted, ntpd will fail to drop root
privileges when it starts, this will cause ntpd to terminate.
This is because the /etc/init.d/ntpd script has the following :
if [ -f "/lib/modules/`uname -r`/kernel/security/capability.ko" ]; then
if ! grep -q "^capability " /proc/modules; then
modprobe capability
fi
fi
Get ndiswrapper from here.
Don't use the Netgear WG111 driver, it is very broken and lacks many features,
use the Sitecom WL-142 driver instead.
# tar xzf ndiswrapper-1.18.tar.gz
# cd ndiswrapper-1.18
# urpmi ncurses-devel
# rpm -ivh /usr/src/RPM/RPMS/i586/kernel-source-2.6.17.1mdv-1-1mdv2007.0.i586.rpm
# make distclean
# make
# make install
...snip...
mkdir -p /lib/modules/2.6.17-1mdv/misc
install -m 0644 ndiswrapper.ko/lib/modules/2.6.17-1mdv/misc
/sbin/depmod -a 2.6.17-1mdv
...snip...
install -D -m 755 loadndisdriver /sbin/loadndisdriverinstall -D -m 755 ndiswrapper /usr/sbin/ndiswrapperinstall -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo...snip...
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
# cd ..
# rm -rf ndiswrapper-1.18.tar.gz ndiswrapper-1.18
# unzip WL-142_20050301.zip
# ndiswrapper -i Drivers/WlanUIG.inf
# rm -rf WL-142_20050301.zip Driver Utility
# lsusb | grep NetGear
Bus 005 Device 002: ID 0846:4240 NetGear, Inc.
# ndiswrapper -d 0846:4240 wlanuig
Driver 'wlanuig' is used for '0846:4240'
# ndiswrapper -l
Installed drivers:
wlanuig driver installed, hardware present
# ls -lh /etc/ndiswrapper/wlanuig
total 352K
lrwxrwxrwx 1 root root 16 Apr 28 17:36 0846:4240.F.conf -> 3574:907D.F.conf
-rw-r--r-- 1 root root 487 Apr 28 17:233574:907D.F.conf-rw-r--r-- 1 root root 12K Apr 28 17:23wlanuig.inf-rw-r--r-- 1 root root 336K Apr 28 17:23wlanuig.sys
# modprobe ndiswrapper
# dmesg | grep wlan0
wlan0: vendor: 'Sitecom Wireless Network USB Adapter 140Mbps WL-142'
wlan0: ndiswrapper ethernet device 00:0f:b5:dd:79:05 using driver wlanuig, 0846:4240.F.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
wlan0: no IPv6 routers present
# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:14:BF:0C:E1:E3
ESSID:"secret"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-55 dBm Noise level:-256 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:bcn_int=100
Extra:atim=1
(Unknown Wireless Token 0x8C05)
# echo 'alias wlan0 ndiswrapper' >> /etc/modprobe.conf
The wlan0 driver is ready.
The Access Point is a Linksys WRT54G, the following shows
the "Wireless Security" as "WPA Personal" or WPA-PSK.
The "ssid" is configured under "Basic Wireless Settings".
# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
Trying to associate with 00:14:bf:0c:e1:e3 (SSID='secret' freq=2437 MHz)
Associated with 00:14:bf:0c:e1:e3
WPA: Key negotiation completed with 00:14:bf:0c:e1:e3 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:14:bf:0c:e1:e3 completed (auth)
wpa_supplicant using WPA-PSK is ready. ^C to terminate wpa_supplicant.
At the moment the MythTV system is connected to the Access Point via ethernet.
It's time to switch to the wireless network.
This will be the new MythTV network configuration.
aDSL router : 192.168.0.1
Linux system : eth0 192.168.0.20
eth1 192.168.1.20
Access Point : 192.168.1.19
MythTV : wlan0 192.168.1.22
eth0 192.168.0.22
The MythTV eth0 connection will be configured so that if the
wireless connection has a problem, a cable can be connected
between the aDSL router (built in switch) and MythTV eth0.
The Linux system will then be able to connect to MythTV via 192.168.0.22.
Change these values in /etc/sysconfig/network-scripts/ifcfg-eth0
Remove the ethernet cable between the MythTV system and the Access Point.
Use /usr/local/sbin/netswitch to switch between wlan0 & eth0.
xorg/openChrome
Build the latest openChrome driver,
setup xorg.conf and restart graphics.
The openChrome driver provides hardware
acceleration (XvMC) for decoding MPEG2.
XMLTV is an XML specification for television guide data.
Information about various ways to get Australian XMLTV data is here.
Note: If the grabber uses an external configuration file (d1 grabber),
MythTV will use ~/.mythtv/_video-source-name_.xmltv as the configuration file
with the same content as shown below instead of ~/.xmltv/tv_grab_au.conf.
MythTV also expects the grabber name to be tv_grab_au.
The MytvTV backend runs tv_grab_au via mythfilldatabase to populated the guide data.
The following shows configuring the "dug",
"d1"
and "ltd" grabbers.
$ [ -d ~/.xmltv ] && rm -rf ~/.xmltv
$ tv_grab_au-d1 --configure
tv_grab_au - (version 0.6.2 - release 2005-05-31)
using config filename /home/mythtv/.xmltv/tv_grab_au.conf
Grab listings for which region?
0: ACT - Canberra
1: NSW - Regional
2: NSW - Sydney
3: NT - Darwin
4: NT - Regional
5: Queensland - Brisbane
6: Queensland - Regional
7: SA - Adelaide
8: SA - Regional
9: Tasmania - Hobart
10: Tasmania - Regional
11: Victoria - Melbourne
12: Victoria - Regional
13: WA - Perth
14: WA - Regional
Select one: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14 (default=3)] 11
Grab listings for which service?
0: Austar Analogue
1: Austar Digital
2: Foxtel Analogue
3: Foxtel Digital
4: Free to Air
5: Free to Air Digital
6: Free to Air Digital (High Definition)
7: Optus
Select one: [0,1,2,3,4,5,6,7 (default=4)] 5ERROR! - no channel icon found for freesd.Melbourne.9!
ERROR! - no channel icon found for freesd.Melbourne.9-EPG!
add channel: TEN Digital? [yes,no,all,none (default=yes)] yes
add channel: TEN Digital 1? [yes,no,all,none (default=yes)] no
add channel: TEN Digital 2? [yes,no,all,none (default=yes)] no
add channel: TEN Digital 3? [yes,no,all,none (default=yes)] no
add channel: TEN Guide? [yes,no,all,none (default=yes)] no
add channel: TEN Guide? [yes,no,all,none (default=yes)] no
add channel: TEN Digital? [yes,no,all,none (default=yes)] no
add channel: ABC TV Melbourne? [yes,no,all,none (default=yes)] yes
add channel: ABC TV 2? [yes,no,all,none (default=yes)] no
add channel: ABC TV 3? [yes,no,all,none (default=yes)] no
add channel: ABC TV 4? [yes,no,all,none (default=yes)] no
add channel: 7 Digital? [yes,no,all,none (default=yes)] yes
add channel: 7 Olympic Extra? [yes,no,all,none (default=yes)] no
add channel: 7 Digital 2? [yes,no,all,none (default=yes)] no
add channel: 7 Digital 3? [yes,no,all,none (default=yes)] no
add channel: 7 Program Guide? [yes,no,all,none (default=yes)] no
add channel: Nine Digital? [yes,no,all,none (default=yes)] yes
add channel: Nine Guide? [yes,no,all,none (default=yes)] no
add channel: SBS DIGITAL 1? [yes,no,all,none (default=yes)] yes
add channel: SBS DIGITAL 2? [yes,no,all,none (default=yes)] no
add channel: SBS EPG? [yes,no,all,none (default=yes)] no
All done, run with no arguments to grab listings.