Sunday, September 26, 2010

Add Medibuntu Repository to Ubuntu 10.10 Maverick Meerkat (BETA)

The Maverick repo isnt setup yet, so just use lucid for the time being.

sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/lucid.list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

Friday, September 10, 2010

Ubuntu - 10.04 Lucid Lynx - Bluetooth Music A2DP skipping

Just paired my HTC BTH-2100 headphones to my work laptop and after pairing / configuring the sound stream was greated with skipping / stuttering audio.

You need to enable BT Master connections to fix this by doing the following:
# sudo nano /etc/bluetooth/hcid.conf
Replace "lm accept;" with "lm_accept,master;"
Save the file
# sudo /etc/init.d/bluetooth stop
# sudo /etc/init.d/bluetooth start

Android - CyanogenMod 6 (CM6) GPS Fix

Having some recent problem with the GPS locking. Found this post which talks about a way to reset the AGPS data on the phone for faster and reliable locking in the future.


http://wccftech.com/2010/09/09/solving-gps-nofix-problem-cyanogenmod-6-nexus/

Sunday, August 8, 2010

Stream Videos to Android (Part 2) HTC EVO

Went a slightly different route but got reliable video streaming to finally work on my phone from my movie server at home:

Obtain Market App: VLC Stream & Convert qr

Start up VLC on host computer (On port 8091):

vlc -I http --http-host :8091

Start app VLC Stream & Convert

- Select Menu / Connect

- Enter your IP <hostname> and 8091 port

To fix audio lag go to: Menu->Settings->Stream rtsp->Synchronize on audio

Stream Motion Webcam out to Flash Video website

camUse linux motion:

http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome

Use the video loopback plugin

http://www.lavrsen.dk/twiki/bin/view/Motion/VideoFourLinuxLoopbackDevice

Setup vlc with FLV stream:
vlc -v v4l:///dev/video2 --sout "#transcode{vcodec=FLV1,acodec=mp3}:std{access=http,dst=0.0.0.0:8080/stream.flv}"

Obtain flash video app:

http://www.video-flash.de/flv-flash-fullscreen-video-player/

Hit website and whoila!

Thursday, August 5, 2010

Create a PKCS .p12 certificate

Needed to import a certificate to use OpenVPN on Android.

Using Openssl:
openssl pkcs12 -export -in private-cert.crt -inkey private-key.key -certfile ca.crt -name "[friendly name]" -out new-cert.p12