Mostly about my amusement

Category: Geek (page 19 of 36)

Getting FIOS installed today

Update: FIOS install delayed. Tomorrow is the new confirmed install date. Just like today was confirmed. Not a good way to start.

593958304[1]I’m currently on Optimum Online and I’m having FIOS installed in my house today.

It’s not that I have any real problem with Cablevision (I don’t) or have had support problems (Cablevision has always fixed any problems I had) I just feel like trying a new offering.  And I do save a few dollars each month even with the install. The contract time period doesn’t bother me so I’m a good candidate for moving to FIOS.

The graphic is from the SPEEDTEST.NET website.  When I have FIOS working I’ll post another test results.

Rebuilt the Acer Aspire 1

I rebuilt my Acer Aspire 1 with the factory provided DVDs. Mainly, I did this because I want to use the soon to be released Ubuntu 9.10 UNR. By installing and using the netbook’s version of XP I can get a good idea of a best case scenario as my baseline. With my newly purchased USB DVD drive I got to work.

Removing Ubuntu was a simple matter of logging into the netbook, becoming root, and then running fdisk.  I deleted the existing partition and began installing XP. Which refused to boot because I did not delete grub properly.

I ended up booting fron another XP install CD. I selected recovery and ran fixmbr. I spent the whole afternoon getting updates from Microsoft. Once I was up to date I deleted McAfee and installed AVG Free.

The netbook is behaving remarkably fast. On a lark I installed FlashFire but haven’t looked to see if that’s what’s causing the netbook to be noticeably faster. Even Youtube is displaying quickly. If this continues to work so reliably then maybe I’ll leave XP on this machine.

SSL certs for free and not self signed?

I may have been under a rock lately. I saw on Reddit that Microsoft Internet Explorer 8 supported StartSSL certificates. So as a goof I signed up at https://www.startssl.com/ and applied for a free server certificate.

I generated via their web page a certificate for blog.dembowski.net, installed it on my apache server and started using it. Firefox complained that I’m not certified as I have not validated who I am. That’s reasonable and very X.509v3 of them.

Internet Explorer 8 used the SSL cert for my server without a single hiccup. Other than my WordPress mixes http and https on the same page, there were no complaints. Internet Explorer just used the SSL cert without any problems.

I use SSL certs for privacy and not for identity, so self-signed SSL  certs that I have generated are no big deal for me. But having a Microsoft browser not complain about my SSL web site is surreal.

Edit: Oh. Turns out you also need to follow these instructions too. I added SSLCertificateChainFile to my conf and on my other laptop Firefox does not complain at all now. Chrome works like a charm too.

How did I find out about my misconfiguration? Because I recieved this e-mail from StartSSL this morning:

This mail is intended for the person who owns a digital certificate issued by the StartSSL™ Certification Authority (http://www.startssl.com/).

It seems, that the installation of your server certificate with serial number 45568 for blog.dembowski.net is not complete! You should add the intermediate CA certificate to your installation. This is important, because most browsers will issue an error if this is not properly done. Please consult the installation instructions at http://www.startssl.com/?app=20 on how to do that. The missing certificate can be obtained from http://www.startssl.com/certs/sub.class1.server.ca.pem


Best Regards

StartCom Ltd.
StartSSL™ Certification Authority

So after I applied for a cert, they reached out to check if I installed it correctly. For Free. How cool is that?

Transcoding for the iPhone

This is definitely one of those “you’d better write this down” posts.

Being a longtime LINUX monkey, I am used to manipulating files via the command line. The GUI is a fad and if you want to get something done switch to command line. Transcoding video files are good for that sort of CLI manipulation.

Let’s say I had a .mkv file and wanted to play it on my iPhone. The iPhone does not play that format so I need to convert or transcode the video/audio/subtitles to something the iPhone can play.

It’s a two step process that requires two executable files for Windows, mencoder and ffmpeg. Doing a basic search on Google located the two binaries that I wanted and I put them in C:util.

The first one used is mencoder.exe and that’s to take the mkv formated file and convert it to an avi file. This is accomplished using this command:

C:utilmencoder.exe -mc 0 -noskip -oac mp3lame -lameopts cbr=128 -ovc xvid -xvidencopts bitrate=1200 "C:VideosEpisode-01.mkv" -o "C:tmpEpisode-01.avi"

This is an intermediate step since the iPhone can’t play avi files either.  Depending on the file this could take a while.  Once the output file Episode-01.avi has been generated then it’s time to use ffmpeg.

C:utilffmpeg.exe -threads 2 -i "C:tmpEpisode-01.avi" -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2  -cmp 2 -subcmp 2 -s 640x352 -async 1 -title "Episode 01" "C:iPhone VideoEpisode-01.mp4"

I am running on a Intel Core 2 Duo so I use the -threads 2 option. After that’s completed, I just drag the new file into iTune’s and sync my phone.  The sync process will not transfer a video file that it thinks the iPhone will not play so even it iTunes can play it, the phone might not be able to.

There are GUI wrappers for this, but I could not get WinFF or Handbrake to work reliably for me. They both wrap the CLI commands, so this works out better for me. The quality is not that good outside of the iPhone but that’s what the original .mkv versions are for.

Now in 9 months, when I want to do this again, I’ll have the steps ready and wont waste the morning trying to remember what I did last year.