Monthly Archives: October 2008

How to figure out Linux Devices and Drivers

These are the steps to know if our devices have drivers installed and what they are. $ less /proc/devices Character devices:1 mem2 pty3 ttyp4 /dev/vc/04 tty4 ttyS5 /dev/tty5 /dev/console5 /dev/ptmx6 lp7 vcs10 misc13 input14 sound21 sg29 fb81 video4linux116 alsa128 ptm136 … Continue reading

Posted in Uncategorized | Leave a comment

Some useful socat commands

To link serial port ttyS0 to another serial port: socat /dev/ttyS0,raw,echo=0,crnl /dev/ttyS1,raw,echo=0,crnl To get time from time server: socat TCP:time.nist.gov:13 – To forward local http port to remote http port: socat TCP-LISTEN:80,fork TCP:www.domain.org:80 To forward terminal to the serial port … Continue reading

Posted in Uncategorized | 13 Comments

Piped Serial Port on VirtualBox

There is another very cool feature on Linux and VirtualBox which might solve compatibilities of old softwares that require serial connections. It’s the host pipe serial-port. On VirtualBox, enable Serial port and select “Host Pipe”, check “Create Pipe” and in … Continue reading

Posted in Uncategorized | 2 Comments

Using Host-Interfacing and Bridging on VirtualBox

NAT interface on guest OS gives limitation so we may need to add a new virtual interface to it. This is called ‘HIF’ (Host Interface). Steps: Install bridge-utils, if not yet installed: sudo yast -i bridge-utils edit /etc/sysconfig/network/ifcfg-br0 and write: … Continue reading

Posted in Uncategorized | Leave a comment

My BlackJack is dead!

Today my 3-months-old Samsung Blackjack II has died for no reason. I’ve charged the battery for hours but still no luck to turn it on. No sign of life on the cute gadget. Darn, seems I have to bring it … Continue reading

Posted in Uncategorized | Leave a comment

Using Xwindow client-server

Before starting, make sure both client and server (remote machine) have port 6000 open for Xserver (on SuSE, file /etc/sysconfig/displaymanager should contain DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN=”yes”). Once you have changed it, restart Xwindow (or refresh it by pressing CTL-SHFT-BKSPACE). From local shell, type … Continue reading

Posted in Uncategorized | Leave a comment

Google IMAP Settings

Incoming Mail (IMAP) Server – requires SSL: imap.gmail.com Use SSL: Yes Port: 993 Outgoing Mail (SMTP) Server – requires TLS: smtp.gmail.com (use authentication) Use Authentication: Yes Use STARTTLS: Yes (some clients call this SSL) Port: 465 or 587 Account Name: … Continue reading

Posted in Uncategorized | Leave a comment