Linux Blog

Microsoft Jokes!

Filed under: The Linux Blog News — at 3:07 pm on Tuesday, August 25, 2009

I’m not normally one to just flat out bash Microsoft or trash them for their flaws, but sometimes I do enjoy a good Microsoft Joke.

Here are I know off the top of my head:

Q: How many Microsoft Engineers does it take to change a lightbulb?
A: None its obviously a hardware problem

A helicopter was flying around above Seattle when an electrical malfunction disabled all of the aircraft’s electronic
navigation and communications equipment.

Due to the clouds and haze, the pilot could not determine the helicopter’s position. The pilot saw a tall building,
flew toward it, circled, and held up a handwritten sign that said “WHERE AM I?” in large letters.

People in the tall building quickly responded to the aircraft, drew a large sign, and held it in a building window.
Their sign said “YOU ARE IN A HELICOPTER.”

The pilot smiled, waved, looked at his map, determined the course to steer to SEATAC airport, and landed safely. After
they were on the ground, the copilot asked the pilot how he had done it.

“I knew it had to be the Microsoft Building, because they gave me a technically correct but completely useless answer!”

They’re terrible I know… Terribly *FUNNY*. Post your favorite Microsoft Jokes in the comments or tweet them to @LinuxBlog and I’ll include them here.

Searching for multiple strings with grep

Filed under: Shell Script Sundays — at 9:36 pm on Sunday, August 23, 2009

Sometimes when using grep it’s nice to be able to search for more than one string in a file. It’s actually pretty easy to do, if you can remember the simple syntax. Basically, you pipe the terms together in double quotes and escape the pipe.

grep "gnome\|kde" install.log

The above example will search for gnome or KDE. It works for more more than one term, and also works with the invert match -v option, to exclude lines that include gnome or kde.

Todays article extra short, and late, but better late and short than none at all I guess.

Free issues of BSDmag / Linux+

Filed under: General Linux — at 9:56 am on Friday, August 21, 2009

Thanks MG for giving the tip on some free issues of BSDmag / Linux+. When I went to check them out they were older articles (Fedora 6) on Linux but some interesting topics and still some relevant information. The BSD issues were newer. If your interested in the articles, you can read the comment on the Tether iPhone through the cable, on Linux post, or hit the jump. Here is a list of the free issues:
(Read on …)

Tether iPhone through the cable, on Linux

Filed under: General Linux — at 10:02 am on Thursday, August 20, 2009

So you got an iPhone huh? perhaps you’ve got an SSH client and maybe you jailbroke your iPhone and have done some iPhone wifi tethering (That’s not the best way, and not free), but have you been able to use SSH through the cable? Me neither until a little while ago.

The benefits of connecting by the cable are slightly obvious to anyone who wants to do it:

With your phone plugged in, you’ll get better battery life, or perhaps just prevent the battery from getting discharged any further.

No Wifi Setup
This was really the biggest problem for me, having to reconfigure wifi on my laptop then getting the laptop and phone to talk. Some times wireless connections mysteriously dropped or just acted plain funky. Any one who’s ever typed in a WEP key on the iPhone also knows what a pain it is, so not having to use Wifi is a plus.

Since the cable is used, there should be no wireless network for others to fool around with.

Data Transfer Rates
I have not yet confirmed this, mostly because I’m lazy, partly because I don’t have the time to produce any stats but, 480Mbps with USB2.0 Vs. a theoretical 54Mbps on 802.11G

Enough already, how do I do it?
Thanks to Jing Su there is a LGPL’d piece of software called itunnel that can be found here. Installing itunnel will vary by distribution. It’s fairly straight forward on Fedora, provided you have the library libiphone installed you should be able to download, untar, make, and run.

Once you’ve installed itunnel, you run it by using:

sudo itunnel [port]

If you don’t specify a port it listens on port 3023.

Connect to localhost using your normal SSH Socks proxy method -D <port> and your username, default being mobile with your new port.

 ssh -D [yourport] -p 3023 mobile@localhost

Type “Yes” to accept the fingerprint (you may need to eventually change your fingerprint when you upgrade your phone) and then type in your password which should NOT be “alpine”, because you did change it right?

Once you’re SSH’d in, you can set up your browser to use the socks proxy as you would with Wifi tether version on the port you specified with -D.

There you have it, a way to Tether your iPhone through the cable on Linux! Rumor, (well not really a rumor, since I’ve used itunnel.exe) has it that this also works with a Windows box, just try to find a non-virus infected version of the iTunnel suite.

Happy Hacking!

CPU Flags and Meanings

Filed under: General Linux — at 11:38 pm on Tuesday, August 11, 2009

Having a brain that is somewhat comparable to a sift for remembering acronym’s, I’m always asking a friend which (I, probably incorrectly call) CPU extension is for virtualization. So I figured I’d blog about this topic. This page CPU feature flags and their meanings clearly explains each of the flags that may be on your machine, which you can check what your CPU supports by typing:

cat /proc/cpuinfo | grep flags

Secure Virtual Machine. (AMD’s virtualization extensions to the 64-bit x86 architecture, equivalent to Intel’s VMX, both are also known as HVM in the Xen hypervisor.)

So to answer my own question SVM and VMX are what to look for when considering a CPU for virtualization. My laptop supports VMX, but my desktop doesn’t. Considering I’d rather do my virtualization on my desktop, I’ll have to upgrade my CPU. Now all I need to do is find out where to find this information for AMD processors and hope I can get a CPU for my outdated socket type. I don’t even think that it is AM2 :(

It’s August Already?

Filed under: The Linux Blog News — at 11:16 am on Friday, August 7, 2009

What’s up folks? I can’t believe that it’s already August. It seems like forever since I’ve updated the site, although in reality it has only been two weeks. I do have a bunch of content to write up, and some new features to implement to the site. As always if any one has any news, ideas for articles, wants to write some articles get in contact with me.

Some one told me that people like free stuff (who doesn’t?), so I’ve lined up some giveaways that some of you might be interested in. Atleast I hope so.

Tune in next week for more information!