Monday, October 27, 2008

My new E-Trade account

Gas prices through the roof, economy crashing, housing markets down, banks are collapsing,... we are in the midst of one of the worst economic times in this nations history and on the verge of a second great depression. So I asked myself, "Would now be a good time to start investing?" Hmm, sure, why not.

So a few minutes ago I signed up at E-Trade. I have so many questions already. The goal is to turn my $100 deposit into billions.

Side-note: I'm glad they made it easy to watch the Daily Show and the Colbert Report on the computer now.

...

Thursday, October 23, 2008

iPhone headset no sound during playback fix

So there is this problem with the iPhone that STILL seems to exist. You're listening to whatever and then you pause it. When you go to press play again, there is no sound. This issue is well documented as being a problem with the headset jack. In fact, based on what I've read, Apple even tells you to simply plug and unplug the headset multiple times until the sound comes back. Lame!

Well a week or so ago while doing laundry and listening to a record episode of the Howard Stern show, this problem happened. I started fumbling with the headset jack with very little success. Finally, I was messing with it for so long, I missed like 3 minutes worth of show! So I pressed and held the skip track button on the left side to rewind it a bit and all of a sudden the sound came back!

Tonight, this problem happened again. So I did the fix and sure enough it worked right away. Next time this happens, I will drop everything and take a video to post here to try to demonstrate what I am talking about. But in the meantime, if you are lost and happen to stumble across this then I hope this helps even just a little bit.





...

Thursday, August 14, 2008

Access Windows directories over network from Linux

At work I have an Active Directory domain and most of my systems are Windows XP clients of this domain. I also have a Red Hat Enterprise network that uses NIS. At my desk, I have a machine that dual boots Vista and Fedora 8. And of course I have VMWare guests on each one. Anyway.....

So I'm on my Fedora box and I simply want to copy a file to the Windows 2003 SBS file server. I have created a shared dir on the server, but how to access it? There are several ways.

First, the GUI way

Click anywhere in a blank space on the X desktop and then hit Alt+F2 on your keyboard. This will bring up the "Run Application" dialog box. Type this in the box:
smb://your_windows_username@IP_address_of_server/shared_dir_name


You can also use the fully qualfied host name if you like. But for the sake of accuracy, I went with IP address. So let's say you have a machine with the IP address of 192.168.1.10, your Windows username is "JimSmith2001" and the name of the shared directory is "backup". Then you could type this:
smb://JimSmith2001@192.168.1.10/backup


Then just click on "Run" and enter your password when it prompts you. Make sure the domain is entered properly. If your domain name is hello.com, then put in HELLO for the domain name.

Next is the CLI way

Just type this:
$ sudo mkdir -p /winserver/backup
$ sudo mount -t cifs -o username=JimSmith2001,password=JimSmithsPassword //192.168.1.10/backup /winserver/backup


Basically you are making a directory to mount to, and then simply mounting the remote Windows directory to it. You can replace cifs with smbfs if the above doesn't work. I think the smbfs is no longer supported though (or something like that). You'll have to research that on your own. But hopefully this will get you started. Good luck!


...

Thursday, July 31, 2008

How to: Firefox 3 on Fedora 8

Ok, I look all over but nobody posts these sorts of things for the n00bs out there. So I will. This is very easy and much less hassle then trying to rely on some guys home-made rpm's and such. Now keep in mind, there is always a hundred or more ways of doing things -- this is my way. So if you don't like it, then don't do it this way.

1> First, I login as root and create a directory called /downloads. (You can also just login with your regular user account and do sudo if you so desire. I'm just going straight forward here to keep things as simple as possible).
# mkdir /downloads

2> Then I go to the internetstubes and download the latest Firefox. It's version 3.0.1 at the time I am writing this.

3> CD to /downloads and undiscombobulate your newly downloaded FF file.
# cd /downloads
# tar xvfj firefox-3.0.1.tar.bz2

Note: If it were a *.tar.gz file, you would do like so (note the diff between the z and the j):
# tar xvfz firefox-3.0.1.tar.gz

4> Anyway, now you should have a directory called "firefox" in your /downloads dir. Time to rename it and move it to somewhere where it's useful and makes sense.
# mv firefox firefox-3.0.1
# cp -r firefox-3.0.1 /usr/lib

5> Now in order to make it work you have to do this:
# cd /usr/bin
# mv firefox firefox.bkup
# ln -s /usr/lib/firefox-3.0.1/firefox firefox

6> Make sure your launcher points to: /usr/bin/firefox %u (if it's %s then FF will always open www.s.com). You can just delete your existing launcher from your GUI panel and then readd it from the Applications menu and then this way you get the correct url and icon.

There, done. You're welcome. =P




...

Sunday, July 27, 2008

Mocha VNC Lite on iPhone + TightVNC Server on Windows XP

So basically you just install TightVNC Server on your Windows box (or it can be Mac or Linux, doesn't really matter). Then you install the VNC Lite app on your iPhone. Give your computer a static IP address, open up port 5900 on your router and point it to your IP address and wha-la,.. you can now remote control your computer from anywhere. Amazing!



...