User:Trogod/System0Upgrade1204
Contents
- 1 TO-DO list
- 2 download ISO
- 3 update backup
- 4 verify/repair disk drives
- 5 install from CD
- 6 update the backups
- 7 check and repair disks
- 8 burn disk image
- 9 install
- 10 /storage mounting
- 11 restore database
- 12 Wi-Fi Problems
- 13 HDHomeRun networking
- 14 lircd
- 15 restore backup cron jobs
- 16 Samba
- 17 MythNetTV
TO-DO list
- recover recordings since the date of my restored database
download ISO
I downloaded the iso via bittorrent
d536a1c08472e2832a752418d18bbe27 *mythbuntu-12.04-desktop-amd64.iso
and I checked the md5sum like this, following http://www.brunolinux.com/01-First_Things_To_Know/Md5sum_of_Burned_CDs.html
:~$ isoinfo -d -i /dev/cdrom CD-ROM is in ISO 9660 format System id: Volume id: Mythbuntu 12.04 amd64 Volume set id: Publisher id: Data preparer id: XORRISO-1.0.8 2011.04.14.073001, LIBISOBURN-1.0.8, LIBISOFS-1.0.8, LIBBURN-1.0.6 Application id: Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 357014 El Torito VD version 1 found, boot catalog is in sector 416 Joliet with UCS level 3 found Rock Ridge signatures version 1 found Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable) Boot media 0 (No Emulation Boot) Load segment 0 Sys type 0 Nsect 4 Bootoff 4E473 320627 :~$ dd if=/dev/cdrom bs=2048 count=357014 conv=notrunc,noerror | md5sum 357014+0 records in 357014+0 records out 731164672 bytes (731 MB) copied, 71.1673 s, 10.3 MB/s d536a1c08472e2832a752418d18bbe27 -
update backup
$ sudo service mythtv-backend stop $ /etc/cron.daily/mythconverg-backup $ tail /var/log/mythtv/mythconverg_backup.log $ sudo /etc/cron.daily/rsync-backup $ tail /var/log/mythtv/rsync-backup.log
looks good!
verify/repair disk drives
ubuntu@ubuntu:~$ sudo parted -l Model: ATA SAMSUNG SP0822N (scsi) Disk /dev/sda: 80.1GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 1287MB 1287MB primary ext2 boot 2 1287MB 10.3GB 9052MB primary linux-swap(v1) 3 10.3GB 26.5GB 16.1GB primary ext3 4 26.5GB 47.9GB 21.5GB primary ext3 Model: ATA SAMSUNG HD204UI (scsi) Disk /dev/sdb: 2000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 2000GB 2000GB jfs Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. Error: /dev/sr0: unrecognised disk label <ev/sda1 ; sudo fsck.ext3 -p /dev/sda3 ; sudo fsck.ext3 -p /dev/sda4 fsck.jfs version 1.1.12, 24-Aug-2007 processing started: 8/19/2012 4.29.43 The current device is: /dev/sdb1 Block size in bytes: 4096 Filesystem size in blocks: 488378368 **Phase 0 - Replay Journal Log **Phase 1 - Check Blocks, Files/Directories, and Directory Entries **Phase 2 - Count links **Phase 3 - Duplicate Block Rescan and Directory Connectedness **Phase 4 - Report Problems **Phase 5 - Check Connectivity **Phase 6 - Perform Approved Corrections **Phase 7 - Rebuild File/Directory Allocation Maps **Phase 8 - Rebuild Disk Allocation Maps 1953513472 kilobytes total disk space. 315090 kilobytes in 141844 directories. 1454311933 kilobytes in 869171 user files. 0 kilobytes in extended attributes 1029553 kilobytes reserved for system use. 498487076 kilobytes are available for use. Filesystem is clean. ....|.... real 3m46.207s user 0m4.860s sys 0m3.000s fsck.jfs version 1.1.12, 24-Aug-2007 processing started: 8/19/2012 4.33.37 The current device is: /dev/sdb1 Block size in bytes: 4096 Filesystem size in blocks: 488378368 **Phase 1 - Check Blocks, Files/Directories, and Directory Entries **Phase 2 - Count links **Phase 3 - Duplicate Block Rescan and Directory Connectedness **Phase 4 - Report Problems **Phase 5 - Check Connectivity **Phase 6 - Perform Approved Corrections **Phase 7 - Verify File/Directory Allocation Maps **Phase 8 - Verify Disk Allocation Maps 1953513472 kilobytes total disk space. 315090 kilobytes in 141844 directories. 1454311933 kilobytes in 869171 user files. 0 kilobytes in extended attributes 1029553 kilobytes reserved for system use. 498487076 kilobytes are available for use. File system checked READ ONLY. Filesystem is clean. real 3m32.753s user 0m5.240s sys 0m2.320s /dev/sda1: clean, 229/628320 files, 155774/1256416 blocks /dev/sda3: clean, 182759/983488 files, 1087266/3933916 blocks /dev/sda4: clean, 16931/1313280 files, 1061967/5242880 blocks
install from CD
I'm doing a clean install from the CD. however, I'm disconnecting the hard drive that contains my recordings, first
update the backups
2003 sudo service mythtv-backend stop 2004 /etc/cron.daily/mythconverg-backup 2005 tail /var/log/mythtv/mythconverg_backup.log 2006 ls /storage/backups/myth/ | tail 2007 ls -Ftl /storage/backups/myth/ | head sudo /etc/cron.daily/rsync-backup 2008 tail /var/log/mythtv/rsync-backup.log
from the logs
Started nice -19 rsync --archive --delete-during --hard-links --numeric-ids --exclude /proc --exclude /sys --exclude /var/tmp --exclude /tmp --exclude /storage --exclude /dev --exclude /lib/init/rw --exclude /mnt --exclude /cdrom --exclude /media / /storage/backups/daily/ on Sat Oct 20 23:33:41 PDT 2012 Finished nice -19 rsync --archive --delete-during --hard-links --numeric-ids --exclude /proc --exclude /sys --exclude /var/tmp --exclude /tmp --exclude /storage --exclude /dev --exclude /lib/init/rw --exclude /mnt --exclude /cdrom --exclude /media / /storage/backups/daily/ on Sat Oct 20 23:35:22 PDT 2012
and
Started /home/xxx/mythconverg_backup.pl --directory /storage/backups/myth/ --rotate 20 on Sat Oct 20 23:34:25 PDT 2012 Finished /home/xxx/mythconverg_backup.pl --directory /storage/backups/myth/ --rotate 20 on Sat Oct 20 23:34:28 PDT 2012
check and repair disks
20 Oct 2012
ubuntu@ubuntu:~$ sudo parted -l Model: ATA SAMSUNG SP0822N (scsi) Disk /dev/sda: 80.1GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 1287MB 1287MB primary ext2 boot 2 1287MB 10.3GB 9052MB primary linux-swap(v1) 3 10.3GB 26.5GB 16.1GB primary ext3 4 26.5GB 47.9GB 21.5GB primary ext3 Model: ATA SAMSUNG HD204UI (scsi) Disk /dev/sdb: 2000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 2000GB 2000GB jfs Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. Error: /dev/sr0: unrecognised disk label <ev/sda1 ; sudo fsck.ext3 -p /dev/sda3 ; sudo fsck.ext3 -p /dev/sda4 fsck.jfs version 1.1.12, 24-Aug-2007 processing started: 10/21/2012 6.48.52 The current device is: /dev/sdb1 Block size in bytes: 4096 Filesystem size in blocks: 488378368 **Phase 0 - Replay Journal Log **Phase 1 - Check Blocks, Files/Directories, and Directory Entries **Phase 2 - Count links **Phase 3 - Duplicate Block Rescan and Directory Connectedness **Phase 4 - Report Problems **Phase 5 - Check Connectivity **Phase 6 - Perform Approved Corrections **Phase 7 - Rebuild File/Directory Allocation Maps **Phase 8 - Rebuild Disk Allocation Maps 1953513472 kilobytes total disk space. 316101 kilobytes in 141867 directories. 1555499416 kilobytes in 871961 user files. 0 kilobytes in extended attributes 1032185 kilobytes reserved for system use. 397297972 kilobytes are available for use. Filesystem is clean. |........ real 3m50.689s user 0m4.940s sys 0m3.070s fsck.jfs version 1.1.12, 24-Aug-2007 processing started: 10/21/2012 6.52.47 The current device is: /dev/sdb1 Block size in bytes: 4096 Filesystem size in blocks: 488378368 **Phase 1 - Check Blocks, Files/Directories, and Directory Entries **Phase 2 - Count links **Phase 3 - Duplicate Block Rescan and Directory Connectedness **Phase 4 - Report Problems **Phase 5 - Check Connectivity **Phase 6 - Perform Approved Corrections **Phase 7 - Verify File/Directory Allocation Maps **Phase 8 - Verify Disk Allocation Maps 1953513472 kilobytes total disk space. 316101 kilobytes in 141867 directories. 1555499416 kilobytes in 871961 user files. 0 kilobytes in extended attributes 1032185 kilobytes reserved for system use. 397297972 kilobytes are available for use. File system checked READ ONLY. Filesystem is clean. real 3m33.905s user 0m5.270s sys 0m2.550s /dev/sda1: clean, 229/628320 files, 155774/1256416 blocks /dev/sda3: clean, 182580/983488 files, 1114640/3933916 blocks /dev/sda4: clean, 17374/1313280 files, 2006734/5242880 blocks ubuntu@ubuntu:~$ history 1 sudo parted -l 2 time sudo fsck.jfs -f /dev/sdb1 ; time sudo fsck.jfs -n /dev/sdb1 ; sudo fsck.ext2 -p /dev/sda1 ; sudo fsck.ext3 -p /dev/sda3 ; sudo fsck.ext3 -p /dev/sda4
burn disk image
use =gnomebaker=
install
before I installed, I disconnected power from my 2 TB hard drive that stores my TV shows
I ran the installation from the CD and made a clean install
Before any post-installation configuration, I shut down and reconnected the hard drive. Next,
/storage mounting
~$ diff /etc/fstab-orig /etc/fstab 16a17,19 > # manually added 21 Oct 2012 by TDG > UUID=d70970b0-e22c-47ae-a9e0-5d9c637aa073 /storage jfs defaults 0 2 >
when I rebooted, I saw an error message about checking /storage. I realized that I didn't have fsck.jfs. I did 'sudo apt-get update' and then 'sudo apt-get install jfs-utils'
~$ sudo apt-get install jfsutils Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: jfsutils 0 upgraded, 1 newly installed, 0 to remove and 113 not upgraded. Need to get 271 kB of archives. After this operation, 1,098 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main jfsutils amd64 1.1.15-2 [271 kB] Fetched 271 kB in 1s (136 kB/s) Selecting previously unselected package jfsutils. (Reading database ... 96274 files and directories currently installed.) Unpacking jfsutils (from .../jfsutils_1.1.15-2_amd64.deb) ... Processing triggers for man-db ... Setting up jfsutils (1.1.15-2) ...
restore database
$ cp -pr /storage/backups/daily/home/xxx/.mythtv/backuprc ~/.mythtv/. $ ls -a ~/.mythtv . 3rdParty channels lircrc themecache tmp .. backuprc config.xml mysql.txt themes
and then
$ ./mythconverg_restore.pl --drop_database --create_database --filename mythconverg-1254-20121020233426.sql Successfully restored backup. Argument "" isn't numeric in numeric gt (>) at ./mythconverg_restore.pl line 1504. $ /usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --filename mythconverg-1254-20121020233426.sql Successfully restored backup. Argument "" isn't numeric in numeric gt (>) at /usr/share/mythtv/mythconverg_restore.pl line 1504.
ugh, that doesn't look real good
$ ./mythconverg_restore.pl --drop_database --create_database --verbose --filename mythconverg-1254-20121020233426.sql Configuring environment: - username: trdg - HOME: /home/trdg - MYTHCONFDIR: /home/trdg/.mythtv Parsing configuration files: - checking: /home/trdg/.mythtv/config.xml parsing: /home/trdg/.mythtv/config.xml - checking: /home/trdg/.mythtv/backuprc parsing: /home/trdg/.mythtv/backuprc Applying command-line arguments. Checking configuration. Database Information: DBHostName: localhost DBPort: 3306 DBUserName: mythtv DBPassword: XXX DBName: mythconverg DBSchemaVer: DBBackupDirectory: /storage/backups/myth/ DBBackupFilename: mythconverg-1254-20121020233426.sql drop_database: yes create_database: yes Executables: mysql_client: mysql uncompress: gzip -d Miscellaneous: partial_restore: no restore_xmltvids: no change_hostname: no Checking database. Preparing initial database. Dropping database. Creating database. Setting database character set. Found 0 tables in the database. Backup file is uncompressed. Attempting to use supplied password for mysql command-line client. Any [client] or [mysql] password specified in the MySQL options file will take precedence. Executing command: 'mysql' --defaults-extra-file='/tmp/coM8GrBrpN' --host='localhost' --port='3306' --user='mythtv' 'mythconverg' mysql exited with status: 0 Restored 16 of 16 lines. Successfully restored backup. Unable to retrieve DBSchemaVer from database. Argument "" isn't numeric in numeric gt (>) at ./mythconverg_restore.pl line 1504.
I tried the optimize script
$ /usr/share/doc/mythtv-backend/contrib/maintenance/optimize_mythdb.pl MasterServerIP or MasterServerPort not found! You may need to check your settings.php file or re-run mythtv-setup.
that's not real good :(
so it's pretty clear that my previous database backups were no good!
$ ls -Ftl /storage/backups/myth/ -rw-r--r-- 1 root root 809 Oct 21 00:23 mythconverg-1254-20121021002312.sql -rw-r--r-- 1 trdg trdg 809 Oct 20 23:34 mythconverg-1254-20121020233426.sql -rw-r--r-- 1 root root 809 Oct 20 08:03 mythconverg-1254-20121020080314.sql -rw-r--r-- 1 root root 809 Oct 19 07:51 mythconverg-1254-20121019075114.sql -rw-r--r-- 1 root root 809 Oct 18 07:50 mythconverg-1254-20121018075050.sql -rw-r--r-- 1 root root 809 Oct 17 08:06 mythconverg-291-12.sql -rw-r--r-- 1 root root 809 Oct 17 08:03 mythconverg-1254-20121017080302.sql -rw-r--r-- 1 root root 809 Oct 16 07:48 mythconverg-1254-20121016074839.sql -rw-r--r-- 1 root root 809 Oct 15 08:04 mythconverg-1254-20121015080441.sql -rw-r--r-- 1 root root 809 Oct 14 07:41 mythconverg-1254-20121014074154.sql -rw-r--r-- 1 root root 809 Oct 13 08:28 mythconverg-1254-20121013082859.sql -rw-r--r-- 1 root root 809 Oct 12 07:54 mythconverg-1254-20121012075423.sql -rw-r--r-- 1 root root 809 Oct 11 07:57 mythconverg-1254-20121011075721.sql -rw-r--r-- 1 root root 809 Oct 10 07:49 mythconverg-284-12.sql -rw-r--r-- 1 root root 809 Oct 10 07:46 mythconverg-1254-20121010074623.sql -rw-r--r-- 1 root root 809 Oct 9 07:39 mythconverg-1254-20121009073943.sql -rw-r--r-- 1 root root 809 Oct 8 08:05 mythconverg-1254-20121008080555.sql -rw-r--r-- 1 root root 809 Oct 7 08:04 mythconverg-1254-20121007080414.sql -rw-r--r-- 1 root root 809 Oct 6 07:44 mythconverg-1254-20121006074406.sql -rw-r--r-- 1 root root 809 Oct 5 07:55 mythconverg-1254-20121005075521.sql -rw-r--r-- 1 root root 809 Oct 4 07:40 mythconverg-1254-20121004074017.sql -rw-r--r-- 1 root root 809 Oct 3 01:46 mythconverg-277-12.sql -rw-r--r-- 1 root root 809 Oct 3 01:43 mythconverg-1254-20121003014337.sql -rw-r--r-- 1 root root 23993417 Sep 26 07:55 mythconverg-1254-20120926075522.sql.gz -rw-r--r-- 1 root root 23950846 Sep 25 07:54 mythconverg-269-12.sql.gz -rw-r--r-- 1 root root 23950858 Sep 25 07:51 mythconverg-1254-20120925075124.sql.gz -rw-r--r-- 1 root root 24161603 Sep 24 07:48 mythconverg-1254-20120924074748.sql.gz
All of those with size "809" and not gzipped are, apparently, bad. I think I restored from mythconverg-1254-20120926075522.sql.gz
Wi-Fi Problems
I've had problems with my wi-fi dropping out. I did some checking around
- http://ubuntuforums.org/showthread.php?t=1986712&page=1
- http://ubuntuforums.org/showthread.php?t=1986712&page=2
I believe my error message was like this:
$ dmesg | grep rt2 [ 8.507951] rt2800pci 0000:01:05.0: PCI INT A -> Link[APC1] -> GSI 16 (level, low) -> IRQ 16 [ 8.754886] Registered led device: rt2800pci-phy0::radio [ 8.754904] Registered led device: rt2800pci-phy0::assoc [ 8.754920] Registered led device: rt2800pci-phy0::quality [ 19.916160] phy0 -> rt2800pci_mcu_status: Error - MCU request failed, no response from hardware
I also had
$ sudo lshw -C network *-network description: Wireless interface product: RT2760 Wireless 802.11n 1T/2R vendor: Ralink corp. physical id: 5 bus info: pci@0000:01:05.0 logical name: wlan0 version: 00 serial: 00:0d:0a:00:1e:df width: 32 bits clock: 33MHz capabilities: pm bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rt2800pci driverversion=3.2.0-29-generic firmware=0.34 ip=192.168.1.55 latency=32 link=yes maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11bgn resources: irq:16 memory:e5000000-e500ffff *-network description: Ethernet interface product: MCP79 Ethernet vendor: NVIDIA Corporation physical id: a bus info: pci@0000:00:0a.0 logical name: eth0 version: b1 serial: 00:24:1d:1d:8d:24 size: 100Mbit/s capacity: 1Gbit/s width: 32 bits clock: 66MHz capabilities: pm msi bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 duplex=full latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=100Mbit/s resources: irq:41 memory:e5186000-e5186fff ioport:c400(size=8) memory:e5187000-e51870ff memory:e5188000-e518800f
I updated with the backports package via the "apt install" link that I reached through http://www.ubuntuupdates.org/package/core/precise/main/proposed/linux-backports-modules-cw-3.3-precise-generic
had head about this from forum posts:
- http://ubuntuforums.org/showthread.php?s=71ddac0852d638f2660b0b10c0a4ebe2&t=1986712&page=3
- http://ubuntuforums.org/showpost.php?p=11908967&postcount=6
I rebooted after backports and received an error message that I've forgotten :( and my monitor resolution was incorrect. I ran the Ubuntu "Update Manager" and now the resolution seems fine. The network dropouts seem to be mostly gone. There has been one in a few hours since the use of backports. Before backports, it would dropout after just minutes of use.
now, I get
$ sudo lshw -C network *-network description: Wireless interface product: RT2760 Wireless 802.11n 1T/2R vendor: Ralink corp. physical id: 5 bus info: pci@0000:01:05.0 logical name: wlan0 version: 00 serial: 00:0d:0a:00:1e:df width: 32 bits clock: 33MHz capabilities: pm bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rt2800pci driverversion=3.2.0-32-generic firmware=0.34 ip=192.168.1.55 latency=32 link=yes maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11bgn resources: irq:16 memory:e5000000-e500ffff *-network description: Ethernet interface product: MCP79 Ethernet vendor: NVIDIA Corporation physical id: a bus info: pci@0000:00:0a.0 logical name: eth0 version: b1 serial: 00:24:1d:1d:8d:24 size: 100Mbit/s capacity: 1Gbit/s width: 32 bits clock: 66MHz capabilities: pm msi bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 duplex=full latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=100Mbit/s resources: irq:41 memory:e5186000-e5186fff ioport:c400(size=8) memory:e5187000-e51870ff memory:e5188000-e518800f
I think the difference is "driverversion=3.2.0-29-generic" became "driverversion=3.2.0-32-generic"
I'm pretty sure that this is after backports:
NetworkManager Tool State: connected (global) - Device: eth0 ----------------------------------------------------------------- Type: Wired Driver: forcedeth State: disconnected Default: no HW Address: 00:24:1D:1D:8D:24 Capabilities: Carrier Detect: yes Speed: 100 Mb/s Wired Properties Carrier: on - Device: wlan0 [Tribe Network 84D] ------------------------------------------- Type: 802.11 WiFi Driver: rt2800pci State: connected Default: yes HW Address: 00:0D:0A:00:1E:DF Capabilities: Speed: 14 Mb/s Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes Wireless Access Points (* = current AP) Tribe Guest: Infra, 2A:CF:DA:AD:3A:C0, Freq 2412 MHz, Rate 54 Mb/s, Strength 74 WPA2 *Tribe Network 84D: Infra, 28:CF:DA:AD:3A:C9, Freq 2412 MHz, Rate 54 Mb/s, Strength 66 WPA2 IPv4 Settings: Address: 192.168.1.55 Prefix: 24 (255.255.255.0) Gateway: 192.168.1.1 DNS: 192.168.1.1
HDHomeRun networking
before doing any changes:
$ cat /etc/network/interfaces auto lo iface lo inet loopback $ ifconfig -a eth0 Link encap:Ethernet HWaddr 00:24:1d:1d:8d:24 inet6 addr: fe80::224:1dff:fe1d:8d24/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:95 errors:0 dropped:0 overruns:0 frame:0 TX packets:35 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:32490 (32.4 KB) TX bytes:7885 (7.8 KB) Interrupt:41 Base address:0xc000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:673 errors:0 dropped:0 overruns:0 frame:0 TX packets:673 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:314873 (314.8 KB) TX bytes:314873 (314.8 KB) wlan0 Link encap:Ethernet HWaddr 00:0d:0a:00:1e:df inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20d:aff:fe00:1edf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:27562 errors:0 dropped:0 overruns:0 frame:0 TX packets:48795 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2679663 (2.6 MB) TX bytes:60196183 (60.1 MB)
So, I re-implemented what I had before:
$ cat /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 169.254.1.5 netmask 255.255.0.0 $ sudo /etc/init.d/networking restart * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces * Reconfiguring network interfaces... ssh stop/waiting ssh start/running, process 3491 $ ifconfig -a eth0 Link encap:Ethernet HWaddr 00:24:1d:1d:8d:24 inet addr:169.254.1.5 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::224:1dff:fe1d:8d24/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:219 errors:0 dropped:0 overruns:0 frame:0 TX packets:46 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:74898 (74.8 KB) TX bytes:11895 (11.8 KB) Interrupt:41 Base address:0xc000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:916 errors:0 dropped:0 overruns:0 frame:0 TX packets:916 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:333911 (333.9 KB) TX bytes:333911 (333.9 KB) wlan0 Link encap:Ethernet HWaddr 00:0d:0a:00:1e:df inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20d:aff:fe00:1edf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:31213 errors:0 dropped:0 overruns:0 frame:0 TX packets:52124 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3243162 (3.2 MB) TX bytes:62288968 (62.2 MB) $ hdhomerun_config discover hdhomerun device 10172423 found at 169.254.193.43
lircd
backup the existing stuff
$ tar cvzf lirc-bak.tar.gz .lircrc .lirc .lircrc .lirc/ .lirc/mythtv .lirc/totem .lirc/xine .lirc/elisa .lirc/vlc .lirc/xmame .lirc/mplayer .lirc/xmess
and restore my settings
$ ls -Ftl /storage/backups/daily/home/trdg/.lirc total 164 -rw-r--r-- 1 trdg trdg 10253 Apr 8 2011 mythtv -rw-r--r-- 1 trdg trdg 10142 Feb 28 2011 mythtv.bak9 -rw-r--r-- 1 trdg trdg 10142 Feb 28 2011 mythtv.bak8 -rw-r--r-- 1 trdg trdg 9379 Oct 31 2010 mythtv-ed -rw-r--r-- 1 trdg trdg 9283 Oct 31 2010 mythtv.bak6 -rw-r--r-- 1 trdg trdg 7386 Aug 17 2010 mythtv.bak5 -rw-r--r-- 1 trdg trdg 7386 Aug 17 2010 mythtv.bak7 drwxr-xr-x 2 trdg trdg 4096 Aug 17 2010 RCS/ -rw-r--r-- 1 trdg trdg 16384 Jul 4 2010 mythtv-corrupt-maybe -rw-r--r-- 1 trdg trdg 6581 Jul 4 2010 mythtv.bak4 -rw-r--r-- 1 trdg trdg 6644 Jul 4 2010 mythtv.bak3 -rw-r--r-- 1 trdg trdg 6648 Jul 7 2009 mythtv.bak2 -rw-r--r-- 1 trdg trdg 6648 Jul 6 2009 mythtv.bak -rw-r--r-- 1 trdg trdg 126 Jun 28 2009 backup-mythtv -rw-r--r-- 1 trdg trdg 126 Jun 28 2009 elisa -rw-r--r-- 1 trdg trdg 126 Jun 28 2009 mplayer -rw-r--r-- 1 trdg trdg 126 Jun 28 2009 totem -rw-r--r-- 1 trdg trdg 126 Jun 28 2009 vlc -rw-r--r-- 1 trdg trdg 126 Jun 28 2009 xine -rw-r--r-- 1 trdg trdg 126 Jun 28 2009 xmame -rw-r--r-- 1 trdg trdg 126 Jun 28 2009 xmess $ diff .lircrc /storage/backups/daily/home/trdg/.lircrc $ cd .lirc $ cp -pr /storage/backups/daily/home/trdg/.lirc/RCS . $ cp -pr /storage/backups/daily/home/trdg/.lirc/mythtv . $ ls -Ftl total 72 -rw-r--r-- 1 trdg trdg 6979 Oct 21 01:28 elisa -rw-r--r-- 1 trdg trdg 6636 Oct 21 01:28 mplayer -rw-r--r-- 1 trdg trdg 5746 Oct 21 01:28 totem -rw-r--r-- 1 trdg trdg 7101 Oct 21 01:28 vlc -rw-r--r-- 1 trdg trdg 6876 Oct 21 01:28 xine -rw-r--r-- 1 trdg trdg 6434 Oct 21 01:28 xmame -rw-r--r-- 1 trdg trdg 6434 Oct 21 01:28 xmess -rw-r--r-- 1 trdg trdg 10253 Apr 8 2011 mythtv drwxr-xr-x 2 trdg trdg 4096 Aug 17 2010 RCS/
Adding irexec per https://help.ubuntu.com/community/LIRC#irexec. I went to Applications -> Settings -> Session and Startup -> Application Autostart. I added an entry for "irexec -d"
and reconfigured support for my IR receiver.
output from "cat /proc/bus/input/devices"
I: Bus=0003 Vendor=1784 Product=0011 Version=0100 N: Name="Media Center Ed. eHome Infrared Remote Transceiver (1784:0011)" P: Phys=usb-0000:00:04.0-2 S: Sysfs=/devices/pci0000:00/0000:00:04.0/usb3/3-2/3-2:1.0/rc/rc0/input4 U: Uniq= H: Handlers=kbd event4 B: PROP=0 B: EV=100013 B: KEY=fff 0 200108fc32e 237605100000000 0 700158000 419200004001 8e968000000000 10000000 B: MSC=10
and some settings
$ diff --unified=3 /etc/lirc/hardware.conf /storage/backups/daily/etc/lirc/hardware.conf --- /etc/lirc/hardware.conf 2012-10-21 01:28:09.000000000 -0700 +++ /storage/backups/daily/etc/lirc/hardware.conf 2011-10-09 22:27:11.000000000 -0700 @@ -1,13 +1,14 @@ # /etc/lirc/hardware.conf # #Chosen Remote Control -REMOTE="Windows Media Center Transceivers/Remotes (all)" -REMOTE_MODULES="lirc_dev mceusb" +REMOTE="None" +REMOTE_MODULES="mceusb" REMOTE_DRIVER="" REMOTE_DEVICE="/dev/lirc0" REMOTE_SOCKET="" -REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb" +REMOTE_LIRCD_CONF="" REMOTE_LIRCD_ARGS="" +# the -r is from http://www.mythtv.org/wiki/Hulu_Desktop_Integration #Chosen IR Transmitter TRANSMITTER="None" $ cd /etc/lirc/ $ sudo cp hardware.conf hardware.conf.old2 $ sudo vi hardware.conf $ diff --unified=3 hardware.conf.old2 hardware.conf --- hardware.conf.old2 2012-10-23 00:27:13.000000000 -0700 +++ hardware.conf 2012-10-23 00:28:09.000000000 -0700 @@ -2,11 +2,12 @@ # #Chosen Remote Control REMOTE="Windows Media Center Transceivers/Remotes (all)" -REMOTE_MODULES="lirc_dev mceusb" +REMOTE="Media Center Ed. eHome Infrared Remote Transceiver (1784:0011)" +REMOTE_MODULES="mceusb" REMOTE_DRIVER="" REMOTE_DEVICE="/dev/lirc0" REMOTE_SOCKET="" -REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb" +REMOTE_LIRCD_CONF="" REMOTE_LIRCD_ARGS="" #Chosen IR Transmitter
restore backup cron jobs
$ sudo cp -pr /storage/backups/daily/etc/cron.daily/mythconverg-backup /etc/cron.daily/. $ sudo cp -pr /storage/backups/daily/etc/cron.daily/rsync-backup /etc/cron.daily/. $ sudo cp -pr /storage/backups/daily/etc/cron.weekly/mythconverg-backup /etc/cron.weekly/. $ sudo cp -pr /storage/backups/daily/etc/cron.weekly/rsync-backup /etc/cron.weekly/.
I cleared out some of the old, bad backups:
$ cat mythconverg-1254-20121021002312.sql -- MySQL dump 10.13 Distrib 5.1.61, for debian-linux-gnu (x86_64) -- -- Host: localhost Database: mythconverg -- ------------------------------------------------------ -- Server version 5.1.61-0ubuntu0.10.10.1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; $ diff mythconverg-1254-20121021002312.sql mythconverg-1254-20121020233426.sql $ rm mythconverg-1254-20121020233426.sql mythconverg-1254-20121020080314.sql mythconverg-1254-20121019075114.sql mythconverg-1254-20121018075050.sql mythconverg-291-12.sql mythconverg-1254-20121017080302.sql mythconverg-1254-20121016074839.sql mythconverg-1254-20121015080441.sql mythconverg-1254-20121014074154.sql mythconverg-1254-20121013082859.sql mythconverg-1254-20121012075423.sql mythconverg-1254-20121011075721.sql mythconverg-284-12.sql mythconverg-1254-20121010074623.sql mythconverg-1254-20121009073943.sql mythconverg-1254-20121008080555.sql mythconverg-1254-20121007080414.sql mythconverg-1254-20121006074406.sql mythconverg-1254-20121005075521.sql mythconverg-1254-20121004074017.sql mythconverg-277-12.sql
Samba
$ sudo cp smb.conf smb.conf-bak $ sudo cp /storage/backups/daily/etc/samba/smb.conf /etc/samba/smb.conf $ diff --unified=4 smb.conf-bak smb.conf --- smb.conf-bak 2012-10-22 23:36:29.000000000 -0700 +++ smb.conf 2012-10-22 23:36:44.000000000 -0700 @@ -9,9 +9,9 @@ security = share [recordings] comment = TV Recordings -path = /var/lib/mythtv/recordings +path = /storage/mythtv/recordings public = yes writable = no create mask = 0777 directory mask = 0777 @@ -19,9 +19,9 @@ force group = nogroup [videos] comment = Videos -path = /var/lib/mythtv/videos +path = /storage/mythtv/videos public = yes writable = yes create mask = 0660 directory mask = 0770 @@ -29,9 +29,9 @@ force group = mythtv [music] comment = Music -path = /var/lib/mythtv/music +path = /storage/mythtv/music public = yes writable = yes create mask = 0660 directory mask = 0770 @@ -39,9 +39,9 @@ force group = mythtv [pictures] comment = Pictures -path = /var/lib/mythtv/pictures +path = /storage/mythtv/pictures public = yes writable = yes create mask = 0660 directory mask = 0770
MythNetTV
~$ sudo apt-get install transmission [sudo] password for trog: Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libevent-2.0-5 libminiupnpc8 transmission-common transmission-gtk Suggested packages: minissdpd The following NEW packages will be installed: libevent-2.0-5 libminiupnpc8 transmission transmission-common transmission-gtk 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 769 kB of archives. After this operation, 2,206 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libevent-2.0-5 amd64 2.0.16-stable-1 [127 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main libminiupnpc8 amd64 1.6-3ubuntu1 [24.6 kB] Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main transmission-common all 2.51-0ubuntu1.1 [267 kB] Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main transmission-gtk amd64 2.51-0ubuntu1.1 [349 kB] Get:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe transmission all 2.51-0ubuntu1.1 [940 B] Fetched 769 kB in 7s (106 kB/s) Selecting previously unselected package libevent-2.0-5. (Reading database ... 123383 files and directories currently installed.) Unpacking libevent-2.0-5 (from .../libevent-2.0-5_2.0.16-stable-1_amd64.deb) ... Selecting previously unselected package libminiupnpc8. Unpacking libminiupnpc8 (from .../libminiupnpc8_1.6-3ubuntu1_amd64.deb) ... Selecting previously unselected package transmission-common. Unpacking transmission-common (from .../transmission-common_2.51-0ubuntu1.1_all.deb) ... Selecting previously unselected package transmission-gtk. Unpacking transmission-gtk (from .../transmission-gtk_2.51-0ubuntu1.1_amd64.deb) ... Selecting previously unselected package transmission. Unpacking transmission (from .../transmission_2.51-0ubuntu1.1_all.deb) ... Processing triggers for hicolor-icon-theme ... Processing triggers for man-db ... Processing triggers for desktop-file-utils ... Setting up libevent-2.0-5 (2.0.16-stable-1) ... Setting up libminiupnpc8 (1.6-3ubuntu1) ... Setting up transmission-common (2.51-0ubuntu1.1) ... Setting up transmission-gtk (2.51-0ubuntu1.1) ... Setting up transmission (2.51-0ubuntu1.1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place ~$ mkdir dev ~$ cd dev ~/dev$ curl -O https://code.google.com/p/py-unrar2/downloads/detail?name=pyUnRAR2-0.99.2.zip&can=2&q=^C ~/dev$ curl 'https://code.google.com/p/py-unrar2/downloads/detail?name=pyUnRAR2-0.99.2.zip&can=2&q=' > pyUnRAR2-0.99.2.zip The program 'curl' is currently not installed. You can install it by typing: sudo apt-get install curl ~/dev$ man wget ~/dev$ wget 'https://code.google.com/p/py-unrar2/downloads/detail?name=pyUnRAR2-0.99.2.zip&can=2&q=' -O pyUnRAR2-0.99.2.zip --2012-11-01 20:52:42-- https://code.google.com/p/py-unrar2/downloads/detail?name=pyUnRAR2-0.99.2.zip&can=2&q= Resolving code.google.com (code.google.com)... 74.125.224.227, 74.125.224.228, 74.125.224.229, ... Connecting to code.google.com (code.google.com)|74.125.224.227|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `pyUnRAR2-0.99.2.zip' [ <=> ] 10,354 --.-K/s in 0.06s 2012-11-01 20:52:43 (166 KB/s) - `pyUnRAR2-0.99.2.zip' saved [10354] ~/dev$ ls pyUnRAR2-0.99.2.zip ~/dev$ man zip No manual entry for zip ~/dev$ man unzip No manual entry for unzip ~/dev$ man -k zip Archive::Zip (3pm) - Provide an interface to ZIP archive files. Archive::Zip::FAQ (3pm) - Answers to a few frequently asked questions about Archive::Zip Archive::Zip::MemberRead (3pm) - A wrapper that lets you read Zip archive members as if they were files. Archive::Zip::Tree (3pm) - (DEPRECATED) methods for adding/extracting trees using Archive::Zip bunzip2 (1) - a block-sorting file compressor, v1.0.6 bzcmp (1) - compare bzip2 compressed files bzdiff (1) - compare bzip2 compressed files bzegrep (1) - search possibly bzip2 compressed files for a regular expression bzfgrep (1) - search possibly bzip2 compressed files for a regular expression bzgrep (1) - search possibly bzip2 compressed files for a regular expression bzip2 (1) - a block-sorting file compressor, v1.0.6 bzip2recover (1) - recovers data from damaged bzip2 files bzless (1) - file perusal filter for crt viewing of bzip2 compressed text bzmore (1) - file perusal filter for crt viewing of bzip2 compressed text gpg-zip (1) - encrypt or sign files into an archive gunzip (1) - compress or expand files gzip (1) - compress or expand files lz (1) - gunzips and shows a listing of a gzip'd tar'd archive MIME::Decoder::Gzip64 (3pm) - decode a "base64" gzip stream mzip (1) - change protection mode and eject disk on Zip/Jaz drive preunzip (1) - prefix delta compressor for Aspell prezip (1) - prefix delta compressor for Aspell prezip-bin (1) - prefix zip delta word list compressor/decompressor Regexp::Common::zip (3pm) - - provide regexes for postal codes. tgz (1) - makes a gzip'd tar archive uz (1) - gunzips and extracts a gzip'd tar'd archive XMLTV::Gunzip (3pm) - Wrapper to Compress::Zlib or gzip(1) zforce (1) - force a '.gz' extension on all gzip files ~/dev$ man gunzip ~/dev$ sudo apt-get zip E: Invalid operation zip ~/dev$ zip foo The program 'zip' is currently not installed. You can install it by typing: sudo apt-get install zip ~/dev$ sudo apt-get install zip Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: unzip The following NEW packages will be installed: unzip zip 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 454 kB of archives. After this operation, 1,085 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main unzip amd64 6.0-4ubuntu1 [192 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main zip amd64 3.0-4 [262 kB] Fetched 454 kB in 9s (46.2 kB/s) Selecting previously unselected package unzip. (Reading database ... 123487 files and directories currently installed.) Unpacking unzip (from .../unzip_6.0-4ubuntu1_amd64.deb) ... Selecting previously unselected package zip. Unpacking zip (from .../archives/zip_3.0-4_amd64.deb) ... Processing triggers for man-db ... Setting up unzip (6.0-4ubuntu1) ... Setting up zip (3.0-4) ... ~/dev$ ls pyUnRAR2-0.99.2.zip ~/dev$ unzip pyUnRAR2-0.99.2.zip Archive: pyUnRAR2-0.99.2.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of pyUnRAR2-0.99.2.zip or pyUnRAR2-0.99.2.zip.zip, and cannot find pyUnRAR2-0.99.2.zip.ZIP, period. ~/dev$ les pyUnRAR2-0.99.2.zip ^C ~/dev$ less pyUnRAR2-0.99.2.zip ~/dev$ wget https://py-unrar2.googlecode.com/files/pyUnRAR2-0.99.2.zip --2012-11-01 20:54:46-- https://py-unrar2.googlecode.com/files/pyUnRAR2-0.99.2.zip Resolving py-unrar2.googlecode.com (py-unrar2.googlecode.com)... 74.125.141.82, 2607:f8b0:400e:c02::52 Connecting to py-unrar2.googlecode.com (py-unrar2.googlecode.com)|74.125.141.82|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 216657 (212K) [application/x-zip] Saving to: `pyUnRAR2-0.99.2.zip.1' 100%[=====================================================================================>] 216,657 60.7K/s in 3.5s 2012-11-01 20:54:51 (60.7 KB/s) - `pyUnRAR2-0.99.2.zip.1' saved [216657/216657] ~/dev$ ls pyUnRAR2-0.99.2.zip pyUnRAR2-0.99.2.zip.1 ~/dev$ ls -Ftl total 228 -rw-rw-r-- 1 trog trog 10354 Nov 1 20:52 pyUnRAR2-0.99.2.zip -rw-rw-r-- 1 trog trog 216657 Sep 9 2010 pyUnRAR2-0.99.2.zip.1 ~/dev$ rm pyUnRAR2-0.99.2.zip ~/dev$ mv pyUnRAR2-0.99.2.zip.1 pyUnRAR2-0.99.2.zip ~/dev$ unzip pyUnRAR2-0.99.2.zip Archive: pyUnRAR2-0.99.2.zip inflating: pyUnRAR2-0.99.2/__init__.py inflating: pyUnRAR2-0.99.2/license.txt inflating: pyUnRAR2-0.99.2/PKG-INFO inflating: pyUnRAR2-0.99.2/rar_exceptions.py inflating: pyUnRAR2-0.99.2/setup.py inflating: pyUnRAR2-0.99.2/test.rar inflating: pyUnRAR2-0.99.2/test_UnRAR2.py inflating: pyUnRAR2-0.99.2/unix.py inflating: pyUnRAR2-0.99.2/UnRAR2.html inflating: pyUnRAR2-0.99.2/windows.py inflating: pyUnRAR2-0.99.2/UnRARDLL/license.txt inflating: pyUnRAR2-0.99.2/UnRARDLL/unrar.dll inflating: pyUnRAR2-0.99.2/UnRARDLL/unrar.h inflating: pyUnRAR2-0.99.2/UnRARDLL/unrar.lib inflating: pyUnRAR2-0.99.2/UnRARDLL/unrardll.txt inflating: pyUnRAR2-0.99.2/UnRARDLL/whatsnew.txt inflating: pyUnRAR2-0.99.2/UnRARDLL/x64/readme.txt inflating: pyUnRAR2-0.99.2/UnRARDLL/x64/unrar64.dll inflating: pyUnRAR2-0.99.2/UnRARDLL/x64/unrar64.lib ~/dev$ ls pyUnRAR2-0.99.2 pyUnRAR2-0.99.2.zip ~/dev$ cd pyUnRAR2-0.99.2/ ~/dev/pyUnRAR2-0.99.2$ ls __init__.py PKG-INFO setup.py test_UnRAR2.py UnRAR2.html windows.py license.txt rar_exceptions.py test.rar unix.py UnRARDLL ~/dev/pyUnRAR2-0.99.2$ less PKG-INFO ~/dev/pyUnRAR2-0.99.2$ less UnRAR2.html ~/dev/pyUnRAR2-0.99.2$ less setup.py ~/dev/pyUnRAR2-0.99.2$ less PKG-INFO ~/dev/pyUnRAR2-0.99.2$ less license.txt ~/dev/pyUnRAR2-0.99.2$ sudo python setup.py install running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/UnRAR2 copying rar_exceptions.py -> build/lib.linux-x86_64-2.7/UnRAR2 copying __init__.py -> build/lib.linux-x86_64-2.7/UnRAR2 copying windows.py -> build/lib.linux-x86_64-2.7/UnRAR2 copying unix.py -> build/lib.linux-x86_64-2.7/UnRAR2 copying test_UnRAR2.py -> build/lib.linux-x86_64-2.7/UnRAR2 running install_lib creating /usr/local/lib/python2.7/dist-packages/UnRAR2 copying build/lib.linux-x86_64-2.7/UnRAR2/rar_exceptions.py -> /usr/local/lib/python2.7/dist-packages/UnRAR2 copying build/lib.linux-x86_64-2.7/UnRAR2/__init__.py -> /usr/local/lib/python2.7/dist-packages/UnRAR2 copying build/lib.linux-x86_64-2.7/UnRAR2/windows.py -> /usr/local/lib/python2.7/dist-packages/UnRAR2 copying build/lib.linux-x86_64-2.7/UnRAR2/unix.py -> /usr/local/lib/python2.7/dist-packages/UnRAR2 copying build/lib.linux-x86_64-2.7/UnRAR2/test_UnRAR2.py -> /usr/local/lib/python2.7/dist-packages/UnRAR2 byte-compiling /usr/local/lib/python2.7/dist-packages/UnRAR2/rar_exceptions.py to rar_exceptions.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/UnRAR2/__init__.py to __init__.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/UnRAR2/windows.py to windows.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/UnRAR2/unix.py to unix.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/UnRAR2/test_UnRAR2.py to test_UnRAR2.pyc running install_data copying ./PKG-INFO -> /usr/local/lib/python2.7/dist-packages/UnRAR2 copying ./license.txt -> /usr/local/lib/python2.7/dist-packages/UnRAR2 copying ./test.rar -> /usr/local/lib/python2.7/dist-packages/UnRAR2 copying ./setup.py -> /usr/local/lib/python2.7/dist-packages/UnRAR2 copying ./UnRAR2.html -> /usr/local/lib/python2.7/dist-packages/UnRAR2 creating /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL copying ./UnRARDLL/unrar.lib -> /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL copying ./UnRARDLL/unrar.h -> /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL copying ./UnRARDLL/unrar.dll -> /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL copying ./UnRARDLL/license.txt -> /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL copying ./UnRARDLL/unrardll.txt -> /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL copying ./UnRARDLL/whatsnew.txt -> /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL creating /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL/x64 copying ./UnRARDLL/x64/readme.txt -> /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL/x64 copying ./UnRARDLL/x64/unrar64.lib -> /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL/x64 copying ./UnRARDLL/x64/unrar64.dll -> /usr/local/lib/python2.7/dist-packages/UnRAR2/UnRARDLL/x64 running install_egg_info Writing /usr/local/lib/python2.7/dist-packages/pyUnRAR2-0.99.2.egg-info ~/dev/pyUnRAR2-0.99.2$ which easy_install ~/dev/pyUnRAR2-0.99.2$ which pip ~/dev/pyUnRAR2-0.99.2$ pip foo The program 'pip' is currently not installed. You can install it by typing: sudo apt-get install python-pip ~/dev/pyUnRAR2-0.99.2$ sudo apt-get install python-pip Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: python-setuptools The following NEW packages will be installed: python-pip python-setuptools 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 536 kB of archives. After this operation, 1,467 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main python-setuptools all 0.6.24-1ubuntu1 [441 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe python-pip all 1.0-1build1 [95.1 kB] Fetched 536 kB in 4s (113 kB/s) Selecting previously unselected package python-setuptools. (Reading database ... 123519 files and directories currently installed.) Unpacking python-setuptools (from .../python-setuptools_0.6.24-1ubuntu1_all.deb) ... Selecting previously unselected package python-pip. Unpacking python-pip (from .../python-pip_1.0-1build1_all.deb) ... Processing triggers for man-db ... Setting up python-setuptools (0.6.24-1ubuntu1) ... Setting up python-pip (1.0-1build1) ... ~/dev/pyUnRAR2-0.99.2$ sudo pip install -U python-tvrage Downloading/unpacking python-tvrage Downloading python-tvrage-0.4.1.tar.gz Running setup.py egg_info for package python-tvrage Downloading/unpacking BeautifulSoup (from python-tvrage) Downloading BeautifulSoup-3.2.1.tar.gz Running setup.py egg_info for package BeautifulSoup Installing collected packages: python-tvrage, BeautifulSoup Running setup.py install for python-tvrage Running setup.py install for BeautifulSoup Successfully installed python-tvrage BeautifulSoup Cleaning up... ~/dev/pyUnRAR2-0.99.2$ sudo pip install -U ^C ~/dev/pyUnRAR2-0.99.2$ man pip ~/dev/pyUnRAR2-0.99.2$ sudo pip install transmissionrpc Downloading/unpacking transmissionrpc Downloading transmissionrpc-0.8.tar.gz Running setup.py egg_info for package transmissionrpc Installing collected packages: transmissionrpc Running setup.py install for transmissionrpc Successfully installed transmissionrpc Cleaning up... ~/dev/pyUnRAR2-0.99.2$ sudo pip install bencode Downloading/unpacking bencode Downloading bencode-1.0.tar.gz Running setup.py egg_info for package bencode Installing collected packages: bencode Running setup.py install for bencode Successfully installed bencode Cleaning up... ~/dev/pyUnRAR2-0.99.2$ sudo apt-get install python-hashlib Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-hashlib ~/dev/pyUnRAR2-0.99.2$ locate hashlib | less ~/dev/pyUnRAR2-0.99.2$ locate hashlib | less ~/dev/pyUnRAR2-0.99.2$ locate hashlib | grep -v backup | less ~/dev/pyUnRAR2-0.99.2$ locate hashlib | grep -v backup /usr/lib/python2.7/hashlib.py /usr/lib/python2.7/hashlib.pyc /usr/lib/python2.7/dist-packages/twisted/python/hashlib.py /usr/lib/python2.7/dist-packages/twisted/python/hashlib.pyc /usr/lib/python2.7/dist-packages/twisted/python/test/test_hashlib.py /usr/lib/python2.7/dist-packages/twisted/python/test/test_hashlib.pyc /usr/share/pyshared/twisted/python/hashlib.py /usr/share/pyshared/twisted/python/test/test_hashlib.py ~/dev/pyUnRAR2-0.99.2$ sudo apt-get install python-feedparser python-pyparsing Reading package lists... Done Building dependency tree Reading state information... Done python-feedparser is already the newest version. python-feedparser set to manually installed. The following NEW packages will be installed: python-pyparsing 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 586 kB of archives. After this operation, 3,149 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe python-pyparsing all 1.5.2-2ubuntu1 [586 kB] Fetched 586 kB in 13s (42.7 kB/s) Selecting previously unselected package python-pyparsing. (Reading database ... 123734 files and directories currently installed.) Unpacking python-pyparsing (from .../python-pyparsing_1.5.2-2ubuntu1_all.deb) ... Setting up python-pyparsing (1.5.2-2ubuntu1) ... ~/dev/pyUnRAR2-0.99.2$ sudo apt-get install youtube-dl Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: rtmpdump Suggested packages: mplayer The following NEW packages will be installed: rtmpdump youtube-dl 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 93.5 kB of archives. After this operation, 374 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe rtmpdump amd64 2.4~20110711.gitc28f1bab-1 [46.6 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe youtube-dl all 2012.02.27-1 [46.9 kB] Fetched 93.5 kB in 1s (62.3 kB/s) Selecting previously unselected package rtmpdump. (Reading database ... 123871 files and directories currently installed.) Unpacking rtmpdump (from .../rtmpdump_2.4~20110711.gitc28f1bab-1_amd64.deb) ... Selecting previously unselected package youtube-dl. Unpacking youtube-dl (from .../youtube-dl_2012.02.27-1_all.deb) ... Processing triggers for man-db ... Setting up rtmpdump (2.4~20110711.gitc28f1bab-1) ... Setting up youtube-dl (2012.02.27-1) ... ~/dev/pyUnRAR2-0.99.2$ locate ctypes | grep -v backup | less ~/dev/pyUnRAR2-0.99.2$ locate ctypes | grep -v backup /usr/include/x86_64-linux-gnu/bits/ipctypes.h /usr/lib/python2.7/ctypes /usr/lib/python2.7/ctypes/__init__.py /usr/lib/python2.7/ctypes/__init__.pyc /usr/lib/python2.7/ctypes/_endian.py /usr/lib/python2.7/ctypes/_endian.pyc /usr/lib/python2.7/ctypes/util.py /usr/lib/python2.7/ctypes/util.pyc /usr/lib/python2.7/ctypes/wintypes.py /usr/lib/python2.7/ctypes/wintypes.pyc /usr/lib/python2.7/lib-dynload/_ctypes.so /usr/lib/python2.7/lib-dynload/_ctypes_test.so /usr/lib/python2.7/multiprocessing/sharedctypes.py /usr/lib/python2.7/multiprocessing/sharedctypes.pyc /usr/src/linux-headers-3.2.0-29/include/acpi/actypes.h /usr/src/linux-headers-3.2.0-29/include/linux/sunrpc/gss_krb5_enctypes.h /usr/src/linux-headers-3.2.0-32/include/acpi/actypes.h /usr/src/linux-headers-3.2.0-32/include/linux/sunrpc/gss_krb5_enctypes.h ~/dev/pyUnRAR2-0.99.2$ sudo apt-get install python-ctypes Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'python' instead of 'python-ctypes' python is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ~/dev/pyUnRAR2-0.99.2$ locate mysqldb | grep -v backup | less ~/dev/pyUnRAR2-0.99.2$ sudo apt-get install python-mysqldb Reading package lists... Done Building dependency tree Reading state information... Done python-mysqldb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ~/dev/pyUnRAR2-0.99.2$ mkdir /storage/m^C ~/dev/pyUnRAR2-0.99.2$ ls /storage/ backups flash install_flash_player_10_linux.tar.gz mytharchive mythdvd mythtv ~/dev/pyUnRAR2-0.99.2$ ls /storage/^C ~/dev/pyUnRAR2-0.99.2$ mkdir /storage/mythnettv ~/dev/pyUnRAR2-0.99.2$ ls build __init__.pyc PKG-INFO rar_exceptions.pyc test.rar unix.py UnRAR2.html windows.py __init__.py license.txt rar_exceptions.py setup.py test_UnRAR2.py unix.pyc UnRARDLL ~/dev/pyUnRAR2-0.99.2$ cd .. ~/dev$ ls pyUnRAR2-0.99.2 pyUnRAR2-0.99.2.zip ~/dev$ wget https://nodeload.github.com/managementboy/mntv/zipball/master --2012-11-01 21:16:57-- https://nodeload.github.com/managementboy/mntv/zipball/master Resolving nodeload.github.com (nodeload.github.com)... 207.97.227.252 Connecting to nodeload.github.com (nodeload.github.com)|207.97.227.252|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 169436 (165K) [application/zip] Saving to: `master' 100%[=====================================================================================>] 169,436 31.3K/s in 5.3s 2012-11-01 21:17:03 (31.3 KB/s) - `master' saved [169436/169436] ~/dev$ ls master pyUnRAR2-0.99.2 pyUnRAR2-0.99.2.zip ~/dev$ wget https://nodeload.github.com/managementboy/mntv/tarball/master --2012-11-01 21:17:22-- https://nodeload.github.com/managementboy/mntv/tarball/master Resolving nodeload.github.com (nodeload.github.com)... 207.97.227.252 Connecting to nodeload.github.com (nodeload.github.com)|207.97.227.252|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 137162 (134K) [application/x-gzip] Saving to: `master.1' 100%[=====================================================================================>] 137,162 37.7K/s in 3.6s 2012-11-01 21:17:27 (37.7 KB/s) - `master.1' saved [137162/137162] ~/dev$ ls master master.1 pyUnRAR2-0.99.2 pyUnRAR2-0.99.2.zip ~/dev$ mv master.1 mythnettv.tar.gz ~/dev$ tar xvzf mythnettv.tar.gz managementboy-mntv-b3ada26/ managementboy-mntv-b3ada26/COPYING managementboy-mntv-b3ada26/COPYING.BSD managementboy-mntv-b3ada26/COPYING.GPL managementboy-mntv-b3ada26/COPYING.LGPL managementboy-mntv-b3ada26/ChangeLog managementboy-mntv-b3ada26/DEVELOPERS managementboy-mntv-b3ada26/README managementboy-mntv-b3ada26/README.BITTORRENT managementboy-mntv-b3ada26/TESTS-MISSING managementboy-mntv-b3ada26/TODO managementboy-mntv-b3ada26/database.py managementboy-mntv-b3ada26/database.pyc managementboy-mntv-b3ada26/database_test.py managementboy-mntv-b3ada26/download managementboy-mntv-b3ada26/gflags.py managementboy-mntv-b3ada26/gflags.pyc managementboy-mntv-b3ada26/metadata.py managementboy-mntv-b3ada26/mythnettv managementboy-mntv-b3ada26/mythnettv.1 managementboy-mntv-b3ada26/mythnettv_test.py managementboy-mntv-b3ada26/mythnettvcore.py managementboy-mntv-b3ada26/mythnettvcore.pyc managementboy-mntv-b3ada26/plugins/ managementboy-mntv-b3ada26/plugins/.svn/ managementboy-mntv-b3ada26/plugins/.svn/all-wcprops managementboy-mntv-b3ada26/plugins/.svn/entries managementboy-mntv-b3ada26/plugins/.svn/format managementboy-mntv-b3ada26/plugins/.svn/prop-base/ managementboy-mntv-b3ada26/plugins/.svn/prop-base/bittorrent_test.py.svn-base managementboy-mntv-b3ada26/plugins/.svn/prop-base/runtests.sh.svn-base managementboy-mntv-b3ada26/plugins/.svn/text-base/ managementboy-mntv-b3ada26/plugins/.svn/text-base/__init__.py.svn-base managementboy-mntv-b3ada26/plugins/.svn/text-base/bittorrent.py.svn-base managementboy-mntv-b3ada26/plugins/.svn/text-base/bittorrent_test.py.svn-base managementboy-mntv-b3ada26/plugins/.svn/text-base/runtests.sh.svn-base managementboy-mntv-b3ada26/plugins/TransmissionClient.py managementboy-mntv-b3ada26/plugins/__init__.py managementboy-mntv-b3ada26/plugins/__init__.pyc managementboy-mntv-b3ada26/plugins/bittorrent.py managementboy-mntv-b3ada26/plugins/bittorrent.pyc managementboy-mntv-b3ada26/plugins/bittorrent.py~ managementboy-mntv-b3ada26/plugins/bittorrent_test.py managementboy-mntv-b3ada26/plugins/errors.py managementboy-mntv-b3ada26/plugins/setup.py managementboy-mntv-b3ada26/plugins/streamingsites.py managementboy-mntv-b3ada26/plugins/streamingsites.pyc managementboy-mntv-b3ada26/plugins/video_inspector.py managementboy-mntv-b3ada26/program.py managementboy-mntv-b3ada26/program.pyc managementboy-mntv-b3ada26/proxyhandler.py managementboy-mntv-b3ada26/proxyhandler.pyc managementboy-mntv-b3ada26/proxyhandler_test.py managementboy-mntv-b3ada26/recordings_tool.py managementboy-mntv-b3ada26/release.sh managementboy-mntv-b3ada26/runtests.sh managementboy-mntv-b3ada26/series.py managementboy-mntv-b3ada26/series.pyc managementboy-mntv-b3ada26/setup.py managementboy-mntv-b3ada26/setuptestdb.sql managementboy-mntv-b3ada26/submitchange.sh managementboy-mntv-b3ada26/syndication.py managementboy-mntv-b3ada26/syndication.pyc managementboy-mntv-b3ada26/syndication_test.py managementboy-mntv-b3ada26/testsetup.py managementboy-mntv-b3ada26/utility.py managementboy-mntv-b3ada26/utility.pyc managementboy-mntv-b3ada26/utility_test.py managementboy-mntv-b3ada26/video_test.py ~/dev$ ls managementboy-mntv-b3ada26 master mythnettv.tar.gz pyUnRAR2-0.99.2 pyUnRAR2-0.99.2.zip ~/dev$ cd managementboy-mntv-b3ada26/ ~/dev/managementboy-mntv-b3ada26$ sudo python setup.py install running install running build running install_data creating /usr/local/share/mythnettv copying testsetup.py -> /usr/local/share/mythnettv copying gflags.py -> /usr/local/share/mythnettv copying program.py -> /usr/local/share/mythnettv copying utility_test.py -> /usr/local/share/mythnettv copying metadata.py -> /usr/local/share/mythnettv copying mythnettv_test.py -> /usr/local/share/mythnettv copying database.py -> /usr/local/share/mythnettv copying proxyhandler.py -> /usr/local/share/mythnettv copying mythnettvcore.py -> /usr/local/share/mythnettv copying video_test.py -> /usr/local/share/mythnettv copying setup.py -> /usr/local/share/mythnettv copying series.py -> /usr/local/share/mythnettv copying database_test.py -> /usr/local/share/mythnettv copying proxyhandler_test.py -> /usr/local/share/mythnettv copying syndication_test.py -> /usr/local/share/mythnettv copying syndication.py -> /usr/local/share/mythnettv copying utility.py -> /usr/local/share/mythnettv copying recordings_tool.py -> /usr/local/share/mythnettv creating /usr/local/share/mythnettv/plugins copying plugins/bittorrent_test.py -> /usr/local/share/mythnettv/plugins copying plugins/__init__.py -> /usr/local/share/mythnettv/plugins copying plugins/TransmissionClient.py -> /usr/local/share/mythnettv/plugins copying plugins/errors.py -> /usr/local/share/mythnettv/plugins copying plugins/streamingsites.py -> /usr/local/share/mythnettv/plugins copying plugins/video_inspector.py -> /usr/local/share/mythnettv/plugins copying plugins/setup.py -> /usr/local/share/mythnettv/plugins copying plugins/bittorrent.py -> /usr/local/share/mythnettv/plugins copying README.BITTORRENT -> /usr/local/share/mythnettv copying README -> /usr/local/share/mythnettv copying mythnettv.1 -> /usr/local/share/mythnettv copying mythnettv -> /usr/local/share/mythnettv copying mythnettvcore.pyc -> /usr/local/share/mythnettv copying COPYING -> /usr/local/share/mythnettv running install_egg_info Writing /usr/local/lib/python2.7/dist-packages/mythnettv-0.0.0.egg-info ~/dev/managementboy-mntv-b3ada26$