User:Mrand/non myth stuff
From MythTV Official Wiki
< User:Mrand(Redirected from Mrand/non myth stuff)
- nautilus (gnome file manager) doesn't show the path. Either hit ctrl-l, or fix this highly annoying oversight permanently: always_use_location_entry
- nx client installed without a hitch. On rare occasions, it takes a long time to establish a connection though. Installing xfs package fixed that.
- Install drivers for USR5421 (USB adapter for wireless max-g):
- install ndisgtk: aptitude install ndisgtk
- install cabextract and unshield: sudo aptitude install cabextract unshield
- unzip 5421-na-1.00.022.exe
- cabextract Data.exe
- cd Disk1
- unshield x data1.cab
- cd Installer_Files_USB2kXp/
- mkdir /etc/ndiswrapper
- use ndisgtk (or ndiswrapper -i USR5421X.inf) (actually says fail because .sys files are missing. Regardless of the message, this command creates /etc/ndiswrapper/usr5421x directory and puts stuff in it)
- Exit ndisgtk
- sudo mv usb8023k.sys /etc/ndiswrapper/usr5421x
- sudo mv RNDISMPK.sys /etc/ndiswrapper/usr5421x/rndismpk.sys
- Re-run ndisgtk maybe - says hardware present (and implies driver is installed)
- ndiswrapper -l can be used to verify install also .... investigate ndis-gtk for ndiswrapper
- not sure what this does, but ndiswrapper docs say do it: depmod -a
- sudo modprobe ndiswrapper
- Plug in device
- check /var/log/syslog (or dmesg?) for crash
- config device with any one of these: iwconfig, gdisgtk, or ubuntu network config
- some older systems may need
- BUS==”usb”, SYSFS{idProduct}==”011b”, SYSFS{idVendor}==”0baf”, \ PROGRAM=”/bin/sh -c ‘echo 1 > /sys/%p/device/bConfigurationValue’“
- ubuntu looks like it might need RUN+="/bin/sh -c 'echo 1 > /sys/$devpath/device/bConfigurationValue'" rather than PROGRAM= and %p?
- To autostart, some systems might need to sudo ndiswrapper -m
- If that doesn't autostart, check out [1]
- Rebuild Ubuntu kernel
- sudo aptitude install libncurses5 libncurses5-dev # if you plan to use 'make menuconfig'
- sudo aptitude install fakeroot bzip2
- sudo aptitude install linux-source # kernel source for currently running version of ubuntu
- cd /usr/src
- ln -s linux-2.6.<whatever> linux
- cd /usr/src/linux
- sudo cp -vi /boot/config-2.6.24-19-generic .config
- sudo make menuconfig
- kernel -> deselect debug
- sudo make-kpkg clean
- sudo fakeroot make-kpkg --initrd --append-to-version=-custom kernel-image kernel-headers
- Wait hours
- echo vesafb | sudo tee -a /etc/initramfs-tools/modules
- echo fbcon | sudo tee -a /etc/initramfs-tools/modules
- sudo dpkg -i linux-image-<version>_i386.deb
- sudo dpkg -i linux-headers-<version>_i386.deb
- Debug kernel stuff
- Documentation/usb/usbmon.txt
- /etc/modprobe.d/blacklist ... enable evbug here if need be
- options hid debug=2 in modprobe.d/hid
- or: modprobe hid debug=2
- Install Horde (with help from [2]
- Edit /etc/php5/apache2/php.ini and increase max_filesize
- Add AddType application/x-httpd-php .php to /etc/apache2/httpd.conf (I think)
- Add DirectoryIndex index.html index.htm index.php index.shtml to /etc/apache2/apache2.conf