====== Miscellaneous ====== Here is an unsorted collections of some findings. * [[linux_sound|Sound on Linux]] ===== Promiscuous mode on ThinkPad T60 ===== To enter promiscuous mode on a ThinkPad T60, a monitor device needs to be created. Follow the steps below to get it working: iw dev wlan0 interface add mon0 type monitor ifconfig mon0 up ifconfig mon0 promisc Now, package dumping should work on ''mon0'' and ''wlan0''. The monitor device also emits all low level WLAN packets. ===== Starting KDE if it's not the default Session Manager ===== I use to run XFCE as my windows manager on my laptop as it is fast. However, from time to time a real user interface is much nicer to use, and in this case KDE is my choice. Still, I don't want to reconfigure my system every time I want to start KDE, thus I use the following command to start it manually: xinit /etc/X11/Xsession startkde (KDE does not seem to provide a start script like XFCE does on Debian.) To reconfigure the session manager, run the following command as root and select the desired session manager. update-alternatives --config x-session-manager ===== Trackpoint scrolling ===== To enable trackpoint scrolling, add the following code to /usr/share/X11/xorg.conf.d/20-trackpoint.conf: Section "InputClass" Identifier "Trackpoint Wheel Emulation" MatchProduct "TrackPoint" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "Emulate3Buttons" "false" Option "XAxisMapping" "6 7" Option "YAxisMapping" "4 5" EndSection ===== cryptroot missing after updating to Debian testing ===== After updating from Debian stable to testing, the file cryptroot in /etc/initramfs-tools/conf.d is missing. Extract it from a previous initrd and put it back. Old initrd images can be extracted using gzip -dc /boot/initrd-XXXX | cpio -id