Tag Archives: Hardware

Tech Friday: Installing Ubuntu on the Mac and the PC

I’ve been drinking a lot of coffee today, and I think it affects my ability to concentrate. So, one thing has been leading to another and another, and I’ve ended up installing the latest version of Ubuntu Linux on both my PC and my MacBook using virtual machine software.

Why Virtual Machines?

A virtual machine allows you to host multiple operating systems on a single physical computer. The classic reason for doing this is to run some form of Windows on the Macintosh OS because you just can’t live without some crucial Windows program. (Think Quickbooks, or OutLook, or in my case OneNote). The Virtual machine program is a thin layer of software which sites between the original OS (on the Mac this is OSX), and one or more “guest” operating systems, (in my case Windows Vista). There are a couple to choose from. The people at our university recommended Parallels. Installing Vista and Parallels went pretty smoothly. So, as I hadn’t seen a Linux desktop for while, I thought I’d try installing the latest and greatest Ubuntu.

Why Ubuntu?

Ubuntu appears to the current favorite for a “desktop” Linux. It is available on some Dell machines. It comes with a large number of applications, and an attractive desktop. There are several versions available for specific purposes. It is well supported.

I started with this step-by-step tutorial, which is available for a couple different combinations of Parallels and Ubuntu.

While waiting for this to install, I fiddled with Microsoft Virtual PC on my Windows box and found that I was using an older version 2004. I downloaded and installed version 2007. Looks just like 2004, but includes support for Vista as reported at Linux.com. After a couple of false starts dealing with the mouse, I was able to get Ubuntu installed.

Once installed there are several additional tweaks that need to happen which required editing the boot loader parameters and some config files to get the mouse working. Then a similar process is required for sound drivers, and network drivers.

Rather than go through all that, I downloaded VirtualBox and installed it on my workstation. Then I reinstalled Ubuntu. Mouse worked immediately. Networking came right up. The sound card worked as soon as I changed the default VirtualBox configuration to include the sound card. So far, Ubuntu works fine, and is surprisingly fast, and VirtualBox appears to be superior to Microsoft Virtual PC, at least when installing non-Microsoft operating systems.
Meanwhile, back on the Mac, its been more of a struggle. Here a couple issues and solutions:
  1. When choosing which version to install, choose the “alternate” form of the Ubuntu installer. (There is a checkbox for this on the download screen.) This is a text-based installer. Otherwise, it will just hang as you start to do the install, and you’ll get a funny message saying somthing like “Tried 6 times to start the X-Server and something is seriously messed up”.
  2. When you download the .iso file from the mirror, it will appear on the desktop as a disk. However, this is actually, just a pointer to the file ubuntu-7.10-alternate-i386.iso which is located in your download directory. This caused a lot of confusion, because when you attempt to assign an “image” for the installation process through Parallels, you have to point to the actual file with the .iso extension. (If in doubt…just burn it to a physical CD for heaven’s sake; I should have done this and saved myself an hour of futzing. To be honest, my problems with the disk and the .iso are due to unfamiliarity with OSX on the Mac, not the fault of Parallels or Ubuntu.)
  3. When installing, you’ll be given the opportunity to select the screen resolutions that you want to install. The excellently named Muffin Research discussion page suggests selecting two resolutions: 1440×900 for using full screen, and 1280×800 for use when you have Ubuntu running in a window. Once you have installed, if there is still a problem, you can run the following command to start the selection process again:

    sudo dpkg-reconfigure -phigh xserver-xorg

  4. Parallels gives you the opportunity to set up networking to use the existing Mac network addressing, (shared), or the not-so-well-named (bridge). The bridge will treat the Ubuntu VM as a separate machine, so it will get an IP address separate from the Mac. There is an icon in the “system tray”, located in the upper right hand of the Ubuntu desktop window, that shows if you are connected. If not, just click once on the icon and select “Wired Nework”, if that is how you’re connected.

More from LifeHacker on running Parallels on the Mac.

Battery Blues

My cellphone battery died the other day and I was in a hurry. I went to the local Verizon store only to be told that my two-year old phone was “obsolete”, and they didn’t have any batteries for it. Rushed around to a couple Radio Shacks, and the almost had batteries, at least they looked similar but no deal. The batteries at Radio Shack, by the way were going to be about $50.00 a pop.

Back to Verizon and I bowed to the inevitable, and got a new phone. Since I have a prepaid plan, I paid full price, more the $200, after paying for the phone a 12 volt charger and case. Its an OK phone, it flips…and has a camera.

Back home several days later I went on the Internet to check, and sure enough there was a battery for my old Kyocera phone for $17.95 Cell Power plus $4.95 shipping. It arrived the next day. Moral: You have a lot more control of your budget and impulses before a deadline.

Tiny Computers from Logic Supply

I’m testing a tiny computer from Logic Supply It has the following specs:

Intel Celeron M440 (Yonah) with a Front-side bus of 533Mhz
1 gig of memory
A 2.5″ Hitachi hard disk 5400 rpm
Panasonic DVD/CD reader
No OS
Build and test for additional $45.00

The case is about 7″ x 7″ and maybe 1.5 inches tall.

Total price is $661 before tax.

They gave me an awesome tour of the assembly plant. Dozens of these little guys being assembled, tested and burned in.

The one caveat that I would bear in mind is that the ones without fans can run hot…really hot, like hard to hold your hand on to them hot. This was the case at least when they were running the test program which exercises the processor.

I ordered mine with a fan; and the noise is acceptable, just a low swoosh (so far).

It came without an OS, so I’m installing Vista just for grins.

So far the buying experience has been terrific. They are really helpful on the phone. They specialize in small machines using mini-ITX motherboards using either Intel, AMD or Via systems. This unit is a candidate platform for our embedded application, and a successor to our beloved Pundit pizza-box sized system.

Windows 2008 Server: Joining my existing domain

Or not. I attempted to join my existing domain with this server being a member server, and received a message:

An attempt to resolve the DNS name of a DC in the domain being joined has failed. Please verify that this client is configured to reach a DNS server that can resolve DNS names in the target domain.

OK…I actually know how to fix this, I think… when configuring IP addresses, I didn’t put the local address of my domain controller in as one of the DNS possibilities. Once this change was made…it worked.

So far so good. Now I’m trying to promote the Win 2008 server to a domain controller; it will be interesting to see if this works with Small Business Server as the master domain controller; I recall that one of the restrictions of SBS was that it could be the only DC.

So I can run this remote desktop. I change the permissions to allow logging in under Remote Desktop. Now I can watch this run from my main workstation, with full video support, and avoid the maddening mess on the native monitor screen.

Before actually running the upgrade wizard, there is a utility called adprep which is provided win Win2008. This version is run on the master DC (ie the SBS 2003) to upgrade the AD database to match the level of the Win2008 database. A message suggests that this upgrade takes the existing AD level 30 to AD level 40.
So, I copy the entire adprep folder from the Win2008 machine to the SBS2003 machine, then on SBS2003, I run the following commands:

adprep /forestprep

adprep /domainprep

Then in response to a message from the result of the domain prep, I run the following to update permissions on the group objects:
adprep /domainprep /gpprep

There is a nice help screen which explains this process.

Now, in on the new machine, running the AD Domain Services Installation Wizard, I will “Add a domain controller to an existing domain.”

Now I get an error: “You will not be able to install a read-only DC in this domain because adprep /rodcprep was not yet run. Do you want to continue?” Since I don’t want a RO DC here, that is fine, and I just continue.

It asks to select a site:
Defualt-First-Site-Name

It now asks if I want to install additional services; a DNS server, and a Global catalog. This dialog includes some additional stuff about a Read-Only domain controller, that is irrelevant because I don’t want to install a Read Only domain controller.

So, while I would prefer not to install the DNS server and Global catalog, since eventually I want to promote the Win2008 machine to the master domain controller, I’ll allow these two items to be installed. I hit the “next” button.

Now an error message comes up:

A delegation for this DNS Server will not be created because the authoritative parent zone cannot be found or it does not support dynamic updates. To ensure this DNS Server can be resolved as authoritative for the domain mxdesign.local, you can create a delegation to this DNS Server manually in the parent zone. Do you want to continue?

Well, OK…let’s continue.

Now it asks for locations for the database, log files and SYSVOL, suggesting that these should be on separate volumes. Ain’t gonna happen. Next.

The Directory Services Restore Mode Administrator account is different from the domain Administrator account. Assign a password for the Administrator account that will be used when this domain controller is started in Directory Services Restore Mode.

I give it my normal admin password. There is this talk about the password being the correct complexity and length, and conforming to the correct history.

So far so good, the DNS install goes ahead and completes in about two minutes. This requires a reboot, so I’m psyched to see how this will work when it comes back up.

Windows Server 2008

I’ve installed a beta of Windows Server 2008 on a new partition that I carved out on my secondary workstation. Installation went fairly smoothly, but both my sound card and the onboard Intel graphics chipset are not supported, so I’m stuck with the generic VGA driver which, frankly, looks like hell. Still, since most server management will take place remotely, this shouldn’t be a show stopper.

The install creates a dual-boot menu at startup, which allows me to choose betweein Win 2008 or a “legacy windows system”…that is, my existing Windows XP workstation.

The beta is good until April 2008. After about 20 minutes, everything is copied to the hard drive, and you can start playing.

A major advantage of 2008 is that the wizards previously available on small business server have been added to 2008 to provide “accidental network managers” some additional support.

I quickly changed the default IP address obtained from the DHCP server on my router to a fixed IP4 address. I also nailed down the admin password.

Right out of the box the server doesn’t do a thing; you have to assign “roles” from the extensive list provided:

  • Active Directory (several items)
  • Application Server
  • DHCP server
  • DNS server (and is this required for AD as in previous versions?)
  • Fax server (the application that apparently will never die)
  • File Services (our first role)
  • Network Policy and Access services (functionality provided by the previous add-on application, including VPN services and fewalling)
  • Print Services (shared printers)
  • Terminal Services
  • IIS
  • SharePoint
  • Windows Deployement Services

Picking one of the roles above then allows you to pick additional functionality related to the main role.

Roles that require other roles as a prerequisite will automatically let you know.For example you can’t install Sharepoint without installing IIS and the Net Framework 3.0. Makes sense, of course.

For starters, I’ve installed print services and file services. Once the installation is complete, I received a message saying I had to restart the server.

Trixbox Appliance: New Baby


Just unwrapped the new baby here… a Trixbox appliance (the so-called “base” model for about $999) that comes without landline interface cards. In its base configuration it is suitable for those who want to implement a fully IP-based VoIP system. I’ll be adding hardware to this; an existing Sangoma A200 card which provides two landline connections. I’ll only be using one of the two connections to start. I couldn’t resist starting it up, and sorry, but contrary to all the assurances; the thing is noisy. Too noisy to have setting next to my desk. Damn.

The dual power-supply version that was demonstrated back in June sounded like a jet engine. Definitely that one is a unit for the server room, not deskside.

We had our first real snow that stuck today, about three inches. The Trixbox will be a great project on those cold winter days.

Low Cost Laptop: ASUS Eee PC

While the One Laptop Per Child gets most of the ink, there is an alternative out there. The ASUS Eee PC is available for about $400. Here is a mention on Gizmodo, and a listing at Directron, (currently out of stock with delivery projected for November 30th.) A longer review with photos is here. And there is already an Eee blog.

I can imagine some terrific learning projects with, say, a group of five of these for $2000, or even $1500 ($299 apiece) if you can manage without a built-in web cam and slightly less memory.

Here is a google groups thread with additional information regarding the concept of individual machines for each student. An excerpt:

Having run a 1:1 laptop program, I also know that the arrangement is also not without its downsides. The distraction factor alone of having such a rich, engaging device at hand can be overwhelming for a child. (Of course, it can for an adult as well, a lesson learned from many laptop-enabled meetings. Those are topics for another day, however.) In my opinion, the more significant downside to 1:1 programs is the unsuitability of current devices to the task. That’s the second lesson I’ve drawn from my experience running laptop programs. Currently available laptops, designed for the corporate or consumer markets, are ill-suited for use by children. They are too fragile, too bulky, and too expensive, with too little battery life. There are exceptions, of course, but most attempts to address these problems have succeeded only in fixing one at the expense of exacerbating the others. A subnotebook computer might be light, but it becomes more expensive & more fragile. It may be ruggedized, but then it becomes bulkier & more expensive. Or it may be cheap, but then it’s bulky and still breakable. Anyone who has supported school laptop programs knows how often one is replacing keys on keyboards that have “mysteriously” popped off or sending in for repair laptops that have suffered breakage due careless drops or compression in overstuffed backpacks, or replacing batteries that have been discharged one too many times, or just fixing the myriad of niggling errors that modern complex operating systems (read: Windows) pop up daily. The churn of equipment and drain on staff time is wasteful, expensive, and distracts from the learning process. And given these realities, I do understand why most teachers have not yet embraced the promise of “anytime, anywhere” laptop learning.

Borders installs Video Screens (!)

Many years back our local Grand Union supermarket installed TV screens at the checkouts. They lasted about nine months, and finally were removed because of customer complaints, vandalism, and customers who would surreptiously turn them off when standing in front of them being subjected to a barrage of advertising.
Now, according to this story in the New York Times, Borders is installing these things in their stores. Maybe this is the onset of senility, but I think this is a terrible idea. It is getting harder and harder to move around in a public space without having a video screen in your face. It makes interacting with real people in a public space much more difficult, if not impossible. It distracts from the ability to quietly read a book.
What were they thinking?

Stuff That Works November 2007

Looking at the Enthusiasm Score from a year ago, I’m amazed how unchanged most ideas are. So in this year’s edition, I’ll take a different approach rather than trying to score things incrementally

  • Stuff That Really Works
  • Stuff That Works with Minor Problems
  • Stuff That Works with Major Reservations
  • Stuff That Doesn’t Work

Stuff that Really Works

The following technology items that I take for granted on a daily basis, that never seem to require troubleshooting. It is a short list.

  • My landline. Verizon, with MCI long distance
  • Verizon pre-paid cell phone plan.
  • My ISP and web host:intermedia.net
  • The FireFox web browser
  • Microsoft Office 2003 – the file formats and interface changes of Office 2007 haven’t been internalized by either me or colleagues with which I exchange Word or Excel documents.
  • Microsoft OneNote 2007 – Solid as a rock.
  • SightSpeed desktop videoconferencing

Stuff That Works With Minor Problems

  • HP Procurve 2xxx Network Switch. Ended up replacing a couple of these because of a fan failure. The process was relatively painless, with excellent support from HP, and free warranty replacement.
  • Microsoft Windows 2003 Small Business Server. I installed on a repurposed Dell Optiplex workstation, and the combination has worked almost flawlessly for over two years. And yet, the SBS is more than most small shops need…eventually I can see a replacement with a straight Windows Server with added SharePoint, leaving aside things like Fax, and Exchange.
  • On workstations, Microsoft Windows XP Professional with Service Pack 2. This is starting to get more difficult to find. Upgrade any workstations now, or you’ll have to cope with Windows Vista.
  • WiFi. As long as you keep expectations reasonable, and remain aware of the security implications, WiFi is great.
  • BaseCamp web-based project manager.

Stuff That Works with Major Reservations

These are things that we’re using, but we are still looking, or items that are not yet ready for prime time.

  • VoIP – I had hoped to be a lot farther along with VoIP, both on a casual occasional basis using applications like Skype and Gizmo, and with a PBX solution such as Trixbox or Asterisk. To date there has been unreliable connection quality when using Internet VoIP connections. Like some other aspects of life, when it is good is very good, but when it is bad it is unworkable. Are expectations unreasonable here?
  • Windows Vista
  • The Mac OS X and Linux. The reason these are on the list is that indeed they work, but they don’t necessarily play easily with Windows, particularly when it comes to printing and sharing files. The problems here aren’t insurmountable, but they require more than a casual engagement and technical expertise. I think this is a reasonable major reservation…and it remains the reason to insist on a single operating platfom for your IT infrastructure. It should be easier than this.

Stuff That Doesn’t Work

In general, I can just point to John Dvorak and the Cranky Geeks for endless tales of chaos and disfunction.