unnamed page
Recompilation of the kernel (2.6.9) - 09/03/2006
$ pwd $ /usr/src/linux $ ls -l /usr/bin/gcc $ lrwxrwxrwx 1 root root 17 2006-03-09 22:54 /usr/bin/gcc -> /usr/bin/gcc-2.95 $ make menuconfig (disabled module support, disabled event debugging, disabled loads of other stuff) $ cd .. $ wget http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch $ patch -p0 < linux-2.6-seg-5.patch $ make clean $ make bzImage ... Root device is (3, 1) Boot sector 512 bytes. Setup is 2346 bytes. System is 2118 kB Kernel: arch/i386/boot/bzImage is ready $ scp arch/i386/boot/bzImage root@10.0.1.9:/tftpboot/ Password: bzImage 100% 2122KB 2.1MB/s 00:00
get lirc working
# apt-get install inputlirc lirc input-utils lirc-x
boot from network
pxe
dhcpd
tftpboot
kernel
nfs
hostname
debootstrap sid
rcS/S40networking
ifconfig lo up 127.0.0.1
exit
don’t want to shutdown network (because it’s needed for boot process)
now mount -a should work without any “mount is older than kernel” warning messages.
apt-get install x-window-system
xorgconfig
/dev/MAKEDEV (tty, std, input ..)
rungetty -> xinit -> script -> starts myth-frontend
remote control
21/11/2006
useful stuff for dvb-s
to scan the astra 28 satellite and dump contents to a file from which to choose lines of stations we want:
scan -s 1 -t 1 /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-28.2E > ~/scan.out
scan -s 0 -t 3 /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-28.2E > ~/scan.out
-s : diseqc position (I have 0 for Astra 19 and 1 for Astra 28)
-t : 1 for TV, 2 for Radio, 3 for both …
22/11/2006
in order to avoid trouble when debian is changing their keys again, that’s the procedure:
blancheneige:~# sudo gpg --keyserver pgpkeys.mit.edu --recv-key A70DAF536070D3A1
gpg: requesting key 6070D3A1 from hkp server pgpkeys.mit.edu
gpg: key 6070D3A1: public key "Debian Archive Automatic Signing Key (4.0/etch) ” imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
blancheneige:~# gpg -a –export A70DAF536070D3A1| apt-key add -
OK
blancheneige:~#
21/11/2006 made the mythfrontend executable suid root (at least I hope that’s how you do it …)
mythtv@teevee:~$ sudo chmod u+s /usr/bin/mythfrontend
mythtv@teevee:~$ ls -l /usr/bin/mythfrontend
-rwsr-xr-x 1 root root 1381376 Nov 16 21:43 /usr/bin/mythfrontend


