Wednesday, November 28, 2012

using tunnel in putty


Connect 'ssh' as usual with session.


Right click on top panel of active putty ssh connection terminal, and select 'change settings'.



Under 'tunnel' section, added tunnelling for port 22 and port 5900 (remote vnc desktop over ssh tunnel).



Remote desktop from Linux to office PC using 'vinagre'.



Remote desktop from home ubuntu to office ubuntu with 'vinagre' over 'putty ssh tunnel'.




Scp from Linux to office PC via 'putty ssh tunnel'.







USB shielding issue

http://forum.allaboutcircuits.com/showthread.php?t=58811

floating shield will behave like an antenna that causing EMI concern.

Thursday, November 15, 2012

Curl web service libarary


http://curl.haxx.se/libcurl/c/https.html

Talking to 3G USB Sierra Modem Under Linux


[root@GsnCommsModule root]# cat /dev/ttyUSB4 &
[1] 601
[root@GsnCommsModule root]# cat > /dev/ttyUSB4
AT!SELRAT?



OK

AT!SELRAT=?



OK

AT!GETBAND?



OK



Monday, November 12, 2012

Monday, September 10, 2012

Hard drive health check

[1] How To Geek
[2] PC Support About

Is your hard drive healthy or need to be replaced in case of losing your precious data?

i would use ddrescue to ghost it to a new hard drive [1].

Monday, July 23, 2012

CHAP vs PAP

[1] PAP intro on WiKi
[2] CHAP intro on WiKi

[3]

PAP transmits unencrypted ASCII passwords over the network and is therefore considered insecure. It is used as a last resort when the remote server does not support a stronger authentication protocol, like CHAP or EAP (the latter is actually a framework). [1]

CHAP requires that both the client and server know the plaintext of the secret, although it is never sent over the network.[2]