slackpkg (packages manager) - switch to mode 'first download all then install/upgrade'
Java installed by hand (not from package) - Java applets wont work
cat /proc/bus/input/devices...and analyze your result.
I: Bus=0003 Vendor=046d Product=c040 Version=0110 N: Name="Logitech USB-PS/2 Optical Mouse" P: Phys=usb-0000:00:10.0-1/input0 S: Sysfs=/devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/input/input2 U: Uniq= H: Handlers=mouse1 event2 B: EV=17 B: KEY=ff0000 0 0 0 0 0 0 0 0 B: REL=143 B: MSC=10Important is that line:
S: Sysfs=/devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/input/input2
Section "InputDevice" Identifier "Mouse1" Option "Protocol" "IMPS/2" Driver "evdev" Option "CorePointer" Option "Device" "/dev/input/event2" # << Number from previous step should by used here Option "Emulate3Buttons" "false" # Option "Emulate3Timeout" "50" Option "Buttons" "7" Option "Name" "Logitech USB-PS/2 Optical Mouse" Option "ZAxisMapping" "4 5 6 7" Option "ButtonMapping" "1 2 3" Option "Resolution" "300" EndSectionAt this moment horizontal scroll works but in exchanged direction.
pointer = 1 2 3 4 5 7 6 8 9 10 11 12That is all. Now you need only restart X and believe that will works. :]
DOWNLOAD_ALL=onNow any of packages to install or upgrade will be firstly downloaded and then install.
ln -s $JAVA_HOME/jre/lib/i386 /usr/lib/i386After this java applets will works fine.
network-scripts wpa_supplicant wireless-toolsIn file /etc/modprobe.conf add line:
alias wlan0 rt2500pciIn file /etc/rc.d/rc.inet1.conf add lines:
IFNAME[1]="wlan0" USE_DHCP[1]="yes" DHCP_OPTIONS[1]="-r -o" WLAN_WPA[1]="wpa_supplicant"Now you need to generate special string which will contain encoded PSK KEY.
wpa_passphrase <SSID> <PLAIN_TEXT_PSK_KEY>Output contains encoded psk key which is needed i next step.
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 eapol_version=1 ap_scan=1 fast_reauth=1 network={ ssid="<NETWORK_SID>" # ssid of your wireless network psk=<ENCODED_PSK_KEY> # generated in previous step proto=WPA key_mgmt=WPA-PSK pairwise=TKIP }Now just execute command /etc/rc.d/rc.inet1 restart
psk="<PLAIN_TEXT_PSK_KEY>"All elements like <VALUE> should be replaced by values dedicated for your wireless network configuration.
ServerArgsLocal=-nolisten tcpwith line:
ServerArgsLocal=Now you need to restart X server. For example ctrl+alt+bakspace.
nmap local_machine_ip -p 6000
xhost+ remote_machine_ipNow local machine accepts request to show window from remote machine.
echo $DISPLAY :0.0Displayed value is needed to next step.
export DISPLAY=local_machine_ip:0.0If you value of $DISPLAY is other than :0.0 you should use them instead :0.0
firefox --display=localmachine:0.0
ssh -N -g -L [local_port]:[dest_host]:[dest_port] [ssh_user]@[ssh host]