Skip to main content

Posts

Showing posts from September, 2007

Windows XP optimization

These are some of the tweaks that I do to speed up my Windoze: - Display Properties > Themes > Windows Classic Theme - System Properties > Advanced > Performance > Adjust for best performance - System Properties > System Restore > Turn off - Disable File Indexing: From My Computer > right-click on the C: Drive > select Properties. Uncheck "Allow Indexing Service to index this disk for fast file searching." Apply changes to "C: sub folders and files," and click OK. - Clean Up Prefetch, temp, and cache files: Download CleanUp! - If VM, turn off Screen Saver. If VMWare, install VMWare Tools. - Defrag disks. Resources http://www.blifaloo.com/info/winxp_speed.php

SSH reverse tunnel

# ssh -nNT -R 10.36.1.6:14344:10.36.1.5:80 10.36.1.6 The "-n" option prevents reading from STDIN. Redirection from /dev/null to STDIN. "-N" tells ssh that the tunnel is not for executing remote commands. "-T" tells ssh not to allocate a pseudo-tty on the remote system. "-T" disables pseudo-tty allocation. Rough diagram: 10.36.1.5:80 To avoid timeout: In /etc/ssh/sshd_config on the server: TCPKeepAlive yes ClientAliveInterval 30 ClientAliveCountMax 99999 To enable binding address in ssh -R : GatewayPorts yes Man page docu for -R switch: -R [bind_address:]port:host:hostport Specifies that the given port on the remote (server) host is to be forwarded to the given host and port on the local side. This works by allocating a socket to listen to port on the remote side, and whenever a connection is made to this port, the connection is forwarded over the secure channel, and a connection is made to host port hostport from the local machine. Port for...

Debian apt GPG keys and repos

# wget http://ftp-master.debian.org/ziyi_key_2005.asc -O - | sudo apt-key add - # wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | sudo apt-key add - (replace 2006 with current year) deb ftp://sunsite.cnlab-switch.ch/mirror/debian/ unstable main contrib non-free Other keys: mdebian:~# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys A70DAF536070D3A1 mdebian:~# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys B5D0C804ADB11277 mdebian:~# gpg --armor --export A70DAF536070D3A1 | apt-key add - mdebian:~# gpg --armor --export B5D0C804ADB11277 | apt-key add -

Motorola MOTOKRZR K3 and Smart 3G

Word of Warning: I am a Linux user and very keen in buying a Motorola Razr (specifically v3xx) because it is known to work in Linux. But for some stupid reason I bought a newer model and it is NOT based on this chipset anymore: # lsusb Bus 001 Device 002: ID 22b8:6402 Motorola PCS # dmesg [30549.844000] cdc_acm 1-1:1.0: ttyACM0: USB ACM device [30549.844000] usbcore: registered new interface driver cdc_acm [30549.844000] drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters I have not tried yet making it work in Linux but might write a dev driver for this if time permits. For Smart 3G Internet on the phone, I first sent the following message to 211: SET MOTOK3 You will receive a browser message. This is a bit noob but only after some fiddling I manage to figure out that I need to see the Options of that message and Install. This message essentially contains the Smart 3G-related browser settings. I previously used a Globe SIM so the def...