Connect to your router/switch via USB to SERIAL cabel on linux

user@computer# tail -f /var/log/messages

connect USB to SERIAL cable to your network device and to your computer. turn on network device, and locate port (mine is ttyUSB0)

—————-
[ 3201.770270] usb 7-1: new full speed USB device using uhci_hcd and address 2
[ 3201.934529] usb 7-1: configuration #1 chosen from 1 choice
[ 3202.360357] usbcore: registered new interface driver usbserial
[ 3202.360391] USB Serial support registered for generic
[ 3202.360484] usbcore: registered new interface driver usbserial_generic
[ 3202.360491] usbserial: USB Serial Driver core
[ 3202.373747] USB Serial support registered for pl2303
[ 3202.373815] pl2303 7-1:1.0: pl2303 converter detected
[ 3202.385706] usb 7-1: pl2303 converter now attached to ttyUSB0
—————-

user@computer# aptitude install minicom
user@computer# sudo minicom -s

go to Serial port setup, press A and change Serial Device (in my case it’s /dev/ttyUSB0).
now, press E and change Bps/Par/Bits to 9600 8N1.
Choose Save setup as df1, and then Exit.

voila! you’re connected 🙂

for extra configuration, you can edit /etc/minicom/minicom.users or simply use man minicom.

faster linux desktop…

i got quite frustrated with kde4 and it’s bugs/memory overeating/crashing… so, i’ve decided to switch to lightweight xfce and optimize desktop machine a bit…

first, i did some tweaking as said here, then i managed startup programs with rcconf, improved my graphics as described here and finally found decent applications which helped me to forget about kde4 🙂

used before -> using now
kate
-> geany
amarok -> exaile
firefox -> google chrome
kontact -> evolution
ktorrent -> transmission
konsole -> terminal
kwallet -> revelation
kopete -> empathy
krdc -> terminal server client

btw. if U think that xfce is ugly, make sure U visit xfce-look and deviantart – U will be amazed!

Boost your graphics (nvidia only)

debian/ubuntu users that own nvidia graphics can dramatically boost their performance by editing /etc/X11/xorg.conf
just copy paste following in sections “Module” and “Device”

Section “Module”
Load           “dbe”
Load           “extmod”
Load           “type1”
Load           “freetype”
Load           “dri”
Load           “glx”
EndSection

Section “Device”
Option         “AllowGLXWithComposite” “true”
Option         “TripleBuffer” “true”
Option         “BackingStore” “True”
Option         “UseEvents” “False”
Option         “DamageEvents” “True”
Option         “AddARGBGLXVisuals” “True”
Option         “RenderAccel” “True”
Option         “XAANoOffscreenPixmaps”
EndSection

save and restart X server. U can see results by minimizing and maximizing windows, switching desktops + using compiz extra effects (those effects which slowed your computer so far).

kde 4.2, kopete 0.70 and google talk

user@pc:~$ dig +short SRV _xmpp-client._tcp.gmail.com

20 0 5222 talk3.l.google.com.
20 0 5222 talk4.l.google.com.
5 0 5222 talk.l.google.com.
20 0 5222 talk1.l.google.com.
20 0 5222 talk2.l.google.com.

everything seems to be ok.  start kopete – add account – Jabber

basic setup -> jabber id: user@googlemail.com
Connection -> check “Use protocol encryption (SSL)” , “Allow plain-text password authentication“, “Override default server information: talk2.l.google.com Port:5223

google-talk1google-talk2