Saturday, November 25, 2006

Progress To Date

Since wireless is working on the laptop, I have been able to test Linux to Linux networking, remote desktop, mounted shares, and learned a little about firewalls. I only have 6 days left on this experiment and with networking just coming into play it's going to be tight. I got luck in November and had about 6 work days off but none next week.

Remote desktop works just like it does on MS Windows. The only thing that I have noticed is that I have to use the IP address of the target machine instead of its name. This might just be a delay of the way that Linux networks. I remember the MS Windows 98 days of having to wait 5 to 10 minutes before machines "saw" one another.

To use Remote Desktop you have to ALLOW it on your machine. SYSTEM/PREFERENCES/REMOTE DESKTOP will get you to the ENABLE REMOTE DESKTOP there are just four check blocks here and a text entry box.
  1. Allow other users to view your desktop
  2. Allow other users to control your desktop
  3. Ask you for confirmation
  4. Require the user to enter a password
  5. (text box for that password)
That is it. To test this I checked 1, 2, 4, and then typed in a password. I then closed this window.

I then went to the laptop and RIGHT clicked on my PANEL and selected ADD. I then choose TERMINAL SERVER CLIENT APPLET. It appeared on my PANEL. I clicked on it and got the familiar TERMINAL SERVER CLIENT window (see photo).

I tried to just type the computers name but that did not work, so I tried the remotes IP address (TERMINAL then type IP ADDR on the remote to get this). That worked but I had to change the PROTOCOL to VNC. I was then asked for the password I set earlier. I enter it and the remote machines desktop appeared in a window before me. I moved my mouse, it's cursor moved, I click on a program, the remote machine started that program. Very nice. You can even transmit sound from one to the other. There are a lot of settings here to play with but this is bulk of it.

When I first tried to connect to the remote system it failed and would not work no mater what I did. I then remembered the firewall. I turned it off and everything worked fine. I read more about the firewall program and VNC and punched a hole in the firewall for VNC and all was well.

WIRELESS working on the LAPTOP!!!!!!

I've done it! I got mad at Ubuntu 6.1 and refused to allow it to beat me. I went to my laptop and decided that I would either get Wireless working on it or Ubuntu 6.1 was leaving this laptop for good. I have spent about 5 hours reading and internet hunting to figure this out. As I read I reliazed that Ubuntu 6.1 did not work with BCM (Broadcom Chip Set) chip set which includes LINKSYS and DELL built-in wireless card. Now I could understand missing a few off brands, but DELL built-ins and Linksys are the two most common out there. Ok, enough of the rant, how did I do it?

I installed a MICROSOFT WINDOWS DRIVER, let me say that again, I used a driver designed for MICROSOFT WINDOWS. In addition I had to downgrade my Ubuntu install to use something called ndiswrapper. This method is not mine, I have just compiled it here from various news groups for your easy use:

HOW TO INSTALL A MOTOROLA WN825G WIRELESS CARD ON UBUNTU 6.1 LINUX

HOW TO READ THIS
1. STEP - Wait until your computer completes each STEP until you go to the next.
2. commands - these will be in red and this is exactly what you type in a TERMINAL window.
3. adding text to text to files - some of these commands open a file in a text editor. What you type will be in blue. After you typed in your text make sure to SAVE the file.
4. programs - that run in the windows envirmont (no command line needed).
--------------------------------------

STEP 0 start a TERMINAL windows (application / Accessories / TERMINAL)

STEP 1 (downgrade) unload the bcm43xx module.
sudo rmmod bcm43xx

STEP 2 add it to modprobe.d's blacklist to ensure that it is never loaded again, even by accident.
sudo gedit /etc/modprobe.d/blacklist

This opens a text editor, at the bottom of the file that is opened type the following then save it
blacklist bcm43xx

STEP 3 install the ndiswrapper-utils package.
sudo apt-get install ndiswrapper-utils

STEP 4 change the ID for your wireless nic to wlan0 from the default eth1.
sudo gedit /etc/iftab

This opens a text editor you change "eth1" to "wlan0" in this file and save it.

STEP 5 restart the network.
sudo /etc/init.d/networking restart

STEP 6 get your MICROSOFT WINDOWS DRIVERS for your wireless card.
Mine is a Motorola WN 825G and was found here

Motorola WN54G Drivers


STEP 7 extract your MICROSOFT WINDOWS DRIVERS and put them someplace you can find again.

I put mine HOME\DOWNLOADS\DRIVERS\WIRELESS

NOTE: if your driver is like mine you will have to extract the file on a MS Windows machine and then copy the files to your linux box or burn them to a CD. I cheated and renamed my WN-WPCI-Web-Update-v1.1.exe file to WIRELESSDRIVER.ZIP then used the Linux Archive Manager to extract it.

In the end you are looking for a file called bcmw15a.inf. I assume other .inf files for other cards will work the same way just change the name.

STEP 8 change to the directory where your .inf file is located.
cd DOWNLOADS
cd DRIVERS
cd WIRELESS


STEP 9 creates the driver wrapper.
sudo ndiswrapper -i bcmwl5a.inf

STEP 10 create the module in /ect/modutils.d.
sudo ndiswrapper -m

Step 11 move the module.
sudo cp /etc/modprobe.d/ndiswrapper /etc/modutils/

Step 12 update the module.
sudo update-modules

STEP 13 restarts your network.
sudo /etc/init.d/networking restart

-------------------------------------------------
Ok that should be it if you do not have WEP enabled. I have WEP enable ...sigh... But I did see that my wireless cards lights were on. I remember what my friend El Gee told me he used to help him, WIFI RADAR. I downloaded and installed WIFI RADAR (add/remove applications) I ran it and it saw my wireless network !!!!

I then disconnected my WIRED Lan line and rebooted becuase I'm a MS Windows person and have to reboot all the time and besides it doesn't hurt anything. After the boot I ran WIFI RADAR and selected my WIRELESS NETWORK (home) and then clicked connect. It told me there was no configuration file for (home) and asked if I'd like to create one. I said YES and was presented with a standard WIRELESS config setup. (SEE Photo) it wanted MODE, CHANNEL, KEY, SECURITY. I set MODE and CHANNEL to AUTO, entered my 26 digit wep KEY, and selected OPEN for SECURITY. There was a small delay and then I was CONNECTED with WEP!!!!

You will notice in the screen shot it says I'm connected in the B mode (11mbs) hmm... this is a G card (54 mbs) ... At least I have wireless on the laptop.

IMPROVING THIS GUIDE
I'm sure there is a command line to configure the WIRELESS card (MODE, CHANNEL, KEY, SECURITY) but I couldn't find it and the WIFI RADAR program has other uses too and is worth getting.

NOTES
1) gets help with the ndiswrapper command
ndiswrapper --help

2) to run WIFI RADAR you have to enter your password like any sudo command.

3) This is not my work. Other people smarter then me figured this out. I just put all the small pieces together in one place in a step by step guide. Some of the steps take a few seconds to complete and will display lots of information in the TERMINAL window. I read it and understood some of it but it did not impact what I did.



Day Off, Yea Right!

I had big plan for some Linux tests over the holiday but I had to work. I got called out at 9:30 pm on Thanksgiving Day and did not get back home until noon on Black Friday. Once home I had to sleep and didn't get up until 830 pm Friday and had to go back to work to finish somethings. Today, Saturday, Nov 25, 2006 is such a nice warm day here I spent the morning out riding in my Jeep without the top on it. Even Computer Geeks Need Sun.

Thursday, November 23, 2006

FSCK Forced File System Scan

I went to my Linux box today and it told me that "drive dev/hda had been mounted 30 times without being scanned, forced check" and then began running what I think was a disk check with the FSCK command. The process took about 3 minutes.

Ok I understand checking the disk for errors or on bad shutdowns but why FORCE me to do it. Linux, for an OPEN operating system is awful pushy. Why not just install and force virus scan, force a fire wall on me too, hey while were at it, hide my admin account and generate random 20 charter passwords and randomly rotate them a couple of dozen times over the year. This sure does FEEL like the way Microsoft treats me. If you are truely OPEN explain it to me then let me PICK what I want to do, not what you think is best.

I thought open meant choice. Don't get me wrong this fsck might be a good thing, and if it was explained to me before it JUST RAN and offered me a CHOICE, I might have opted in. If you keep protecting me from myself how am I to learn. I've had Hard drive crashes before, I know how to backup my data, I learned from those crashes.

Tuesday, November 21, 2006

Visioneer OneTouch 9220 USB Scanner

The Visioneer OneTouch 9220 USB Scanner does not work with Ubuntu. I plug it in and get nothing. I run Xsane and it says it can't find a scanning device. That's too bad, I really wanted to try Xsane and I had some photo's I wanted to scan. Oh, Well.

If some reads this and knows how to get this scanner to work let me know or post the name/model number of a scanner you have working.

Day 21 of Ubuntu 6.1 Linux

This is day 21 of 30 of my Ubuntu Linux experiment and I barely remember to write my weekly review. This is a good thing because if I have become so use to using Ubuntu that I almost forgot to review it, I must not miss MS Windows much.

I have used the Internet without trouble, figured out multimedia (with some trial and error), did word processing and spread sheet work without incident, burnt CD/DVDs, ripped the same, utilized digital photo's easily, viewed and organized the same, download, listened to, and transfered MP3s and Podcasts, and networked with MS Windows shares. All of this in just 63 hours of "on keyboard time" (21 days of about 3 hours a day). This is pretty good.

So lets break it down:

Office Productivity - 9 of 10
(word processing, spread sheets, email, presentations, PDFs)

Multimedia - 8 of 10
(play cd/dvds, play/record music/video files )

Graphic Software 8 of 10
(view/organize photos)

Graphic Editing 5 of 10
(GIMP there is nothing else close and I'm a photoshop guy)

Web Development/Programing 8 of 10
(These tools all work well nothing stands out here)

Internet - 9 of 10
(Firefox 2.0 and anything else you want)

Hardware Compatibility - 7 of 10
(Most things work well but if they don't figuring out how to fix them is very hard)

USB Function 9 of 10
(Everything I've thrown at it worked)

Networking Wired ? of 10
(I really haven't tested it much yet)

Networking Wireless 0 of 10
(I have now tried 3 wireless cards and none work)

Installation 9 of 10
(I had a bug when I tried to change my time zone)


Over all Linux (Ubuntu 6.1) on a desktop computer I give a 8 of 10
It installs easily, has 90% of what you need and is free.

On a laptop 4 of 10.
Wireless does not function for me and is too hard to trouble shoot. This is a noticable stutter on the user interface. It's a memory hog, yes its a memory hog, it requires 192 mbs of ram to install on it default settings. I am going to try Knoppix on my laptop.

Streaming (internet radio)

Lets talk streaming. On my MS Windows machine I usually listen to MP3s I've made or Podcasts I've downloaded, very rarely do I listen to live internet radio(Shout Cast, Live 365, ect...) because I couldn't find a stand alone player I liked. Winamp came the closest to what I wanted but you still had to use a web browser to find the stations.

I saw an application in the AUTOMATIX Package Installer called STREAMTUNER and it came with a player called XMMS. I took a shot and installed them. What a suprise, I like them both. XMMS (the little black Winamp looking player in the upper right in the screen shot) is very winamp like in its look and function. Its small and easy to use and if you like Winamp you'll like XMMS (I had an anonymous post suggesting I try XMMS a week ago, thanks, I love it, I'm just sorry I waited until now to get it).

Now for STREAMTUNER. It is very easy to use. You can see the list of Services (plugins) it knows (SHOUTcast, Live 365, Google Stations, Basic.ch, Punkcast, and Xiph). It also supports bookmarking you favorite stations, and I'm sure you can add your own but I haven't needed to yet. Basically you just select your service (i.e. SHOUTcast tab) then a list of music types (rock, county, talk, alternative, ect) appears on the left side, you then click on the music type you like and a list of all the stations appears in the main window. Double click on the station you want to listen to and STREAMTUNER launches XMMS player and your selected station starts playing. Very, Very easy. and lots of choices.

You'll notice that the main window provides you with the station description, currently playing song, number of listener, and bit rate of the stream.

Hey, I wonder what that RECORD button does??? (upper left in screen shot)

Monday, November 20, 2006

DVD Ripping

I wanted to rip a DVD to watch on my laptop later. I own the DVD. It's Season 1 of "The Tick". I decided to just rip one 22 minute episode to test Ubuntu with ripping. I end up using two different programs. One worked for me and one didn't.

The first was "DVD::RIP". It's interface was confusing and I had trouble finding the setting I wanted to change. I couldn't tell if I was ripping the whole DVD or just a single file. But hey, I'll try it. I changed the settings I needed then started the process. I got one frame in ten minutes and my DVD was locked. I had to reset the box to get the disc out. Well I figured that the DRM got me again so I got out one of my very early DVDs, "Dark City", and tried again. NOPE. Lockup, again. Ok, this is a new OS for me and maybe it was just the program I was using so I checked the built-in "Add/Remove Applications" and the very first app I saw was ACID RIP.

ACID RIP: It's interface was complex but understandable. Everything was there, I could pick my final format, bit rates and max file size. I put my DVD in and changed a few setting. I left most everything default except the output file type, I changed this to Xvid. This setting is under the Video Tab. The other settings here are LAVC, COPY, RAW, NUV, VFW, QTVIDEO, LIBDV, X264. Well I wanted something compatible with MS Windows too, so I chose the XVID becasue I had seen it on MS Windows and know it works. Once I made my changes I pressed the START button. The DVD spun, a status bar moved, the bit rate counter moved, the Frames Per Minute showed about 10 and the hard drive spun.

I could tell it was doing something! I looked at the ESTIMATED TIME TO COMPLETE and it said 52 minutes. hmm... 52 minutes for a 22 minute clip. That's well over what I'm use to. This is a 16X Lite-On DVD +/- Burner. On my MS laptop with a 8X burner, I could do a whole 2 hour DVD in 52 minutes! And don't tell me "your recoding it too" because my MS Laptop does that too and in under an hour. So at this rate a whole 2 hour DVD would take about 300 minutes? FIVE HOURS to rip a DVD (not counting burning time)? This is a 2.4ghz P4 with 512mbs ram and a 16X DVD. This is way too slow but I guess it worked.

BTW the Video did look good and is in a NON-DRM AVI format that I can watch where and when I want on whatever I choose. No pirating, no file sharing, just my DVD on my laptop without having to take my DVD with me.

ACID DVD: It ran slow for me but it worked.

NOTE: Turn off any screen savers, this will help some with the speed.

p.s. I took the background photo on Saturday, Nov 18, 2006, at Audra State Park, WV, but it could have been any wet pile of sand :-)

Got Busy

I got kinda busy last week and didn't get much done. I'm off from work the rest of this week so I will be posting more. I drug out a Cannon Scanner, and an HP 1200 printer. I will hook them up and test them before Friday. I have not removed Linux from my laptop yet and I plan on giving wireless another go. I am using WEP encryption and I think that is what is keeping the DLink card from working. I noticed that the laptop had a Nvidia Go graphics card in it so I am going to try the Linux Nvidia drivers and see if that fixes my stutter problem.

I need to see if FireWire is working on the laptop too. If it is I will try the Samsung camcorder again using firewire DV instead of the priority Samsung divx codec.

I've created a second user account on this box to see how linux/Ubuntu handles multiple accounts. Tonight, I'm going to setup a couple of shares and see how well another linux box will connect to it. (Laptop to desktop) Also on the agenda is a DVD rip and burn (backup).

I'll let you know how it goes.