Thursday, July 12, 2007

Six Months of Linux

It's really been just over seven months now. I started my Linux experiment on November 1, 1996. One of my friends was singing Linux's praises and told me I should try it.

To be honest I had tried Linux before but never did get any use out of it. I think it was SUSE Linux 6 or 7. I couldn't get it to work with my MS Windows network, couldn't get online with it or do anything productive. To be fair I didn't give it a real chance. I installed it, played with it for a few days, then never used it again.

My friend works in the IT field and told me that Linux had changed since I last tried it. He told me that there was a Distro that he liked called Ubuntu. Well I just happen to have a Dell box laying around that needed it's OS reinstalled, so I took a chance.

I decided to give it a try but remembering back to my first Linux experience, I decided to force myself to use it for 30 days no matter what problems I had. My friend was also Blogging and I thought I'd like to try that too so I decided to combine the two idea.

I forced myself to stick with my pledge to use nothing but Linux for 30 days. At first it was hard and I was tempted to cheat but never did. Every time I hit a road block I would research until I found a solution. In the end I solved every problem except one, the VPN to work, and someone has suggested a solution to that one too but I haven't had time to try it.

I thought that when MS Vista came out that it would set a new bar in the OS field and make Linux look out and tired. That couldn't have been further from the truth. Vista is such a poor OS Microsoft is having to force people to take it.

I had planed to reinstall MS Windows on this Dell box at the end of the 30 days but I had gotten used to Linux and started liking it. So seven months later Ubuntu Linux is still on this box and I've updated it from Version 6 to Version 7. I've taken XP off my old laptop and put Linux on. I've made my work laptop a duel boot Linux/XP and I am thinking about removing Vista from my new laptop and making it a duel boot XP/Linux. We will see.

Wednesday, July 11, 2007

Added a Printer but Can't Share It with Vista

There comes a time when you want to get information from the computer screen to paper. To do this you have to install a printer. I thought I'd have more trouble than I did but it was easy. I had an older HP Laserjet 1100 that uses the parallel port and I wanted to install it locally. I also want to share it so that my Linux Laptop and MS Windows Laptop can use it. Here's what I've done so far;

Add the printer locally;

0. I had to reset my computer and change my BIOS settings under PORTS-->Parallel setting it to the EPP Mode. (I read on-line before I installed the printer and this suggestion showed up in several articles so I made the change before I started).

1. Goto SYSTEM-->Administration-->Printing

2. This will open a new window. Double Click on NEW PRINTER. Next you will be presented with a three step wizard (Add New Print Wizard)

3. Wizard Step 1. Pick either Local/Detected Printer or Networked Printer. I choose Local, then clicked the Forward button.

4. Wizard Step 2. Pick your printer Manufacture and your pinter Model. Ubuntu suggested a Printer Driver for me (ljet4). The list of printers, models, and drivers looks pretty extensive but I'm sure not every modern printer will be full supported but you should be able to find a combo that will get you working. Click Forward

5. Wizard Step 3. Name your printer, give it a "friendly" Description and a Location. The printer name is the important part here since you will have to use it if you Share it on your network. Ubuntu suggested mine be named Laserjet-1100 and that was good to me. I assume that the name is case sensitive like everything else in Linux. Click Apply

If this is the only computer that will use the printer, you are done. You can Right Click on the printer in the SYSTEM-->Administration-->Printing window and change all the default settings and paper handling options for your printer. You can also change your driver setting and printer name.

I wanted my printer shared on my network So I had to plow on. I've ran into some trouble sharing the printer. I went to SYSTEM-->Administration-->Printing then Single Clicked on my printer (selecting it) and then clicked on Global Settings and checked the Share Printers option in the menu.

I then went to my MS Windows Laptop (running Vista) and tried to add the newly shared linux box printer. I went to START-->Printers-->Add New Printer. I told Vista that it was a Network Printer and it searched for all shared printers on my network. None were found. I figured this would happen so I told Vista that I would manually enter the printer location. I typed //LinuxBoxName/Laserjet-1100 (remember the Name from Wizard Step 3 above?). Vista thought about this for a second, sent out some packets on the network, then asked me for a User Name and Password to connect to this printer. Ok, I figured it wanted my LinuxBox User/Pword. Tried it and it didn't work. I tried the VistaBox User/Pword it didn't work. Remembering how MS windows likes to have DomainName/UserName or ComputerName/UserName, I tried LinuxBox/UserName and LinuxBoxPword , it didn't work !!!

It appears that Vista can see the LinuxBox on the network and can see it's printer but the LinuxBox wants a password to access the printer. I can't figure out how to get Vista to give the LinuxBox that User/Pword. I've read about it online and saw where Linux use a program called CUPS. To access CUPS you start a Browser and type http://localhost:631/printers/Laserjet-1100 as the Address (replace Laserjet-100 with your printer name). I have explored CUPS a little and can even access the CUPS interface from the VistaBox (http://LinuxBoxName:631/printers/Laserjet-1100) but still can't add the LinuxBox Printer to the VistaBox.
This is where I'm stuck.

This weekend I will try to add the LinuxBox Printer to the LinuxLaptop and see if it's just a Vista thing.