Links, Update on next month

So, the semester is finally over. I made it through another one alive. And aside from a trip to Maryland for five or six days, I’m home until the 20th of January. That’s lots of time to spend running calls for the Midland Park (Volunteer) Ambulance Corps, here in my home town of Midland Park, NJ, with which I’ve been volunteering as an EMT-B for almost four years now. So far, in the past 24 hours (Christmas Eve and Christmas Day, I’ve done 3 runs, which is above average for us – usually about 1.75/day). It’s also a lot of time to spend on some projects of mine.

I’ve already setup one of the SunBlade 150 machines as a desktop, and had to handle a lot of networking stuff (see the Solaris Tips page on my Wiki).

In other news, after getting some Christmas and Chanukah (yes, my father’s family is Jewish, and I’ve yet to find out a single accepted spelling for the holiday) money, I ran out to a Verizon store and picked up the phone I’ve been dreaming of for months – a beautiful NEW (my first not-used phone in 6 years) Treo 700p. So far, aside from some problems with the Chatter Email software (to my dismay, I can’t find a free (even as in cost, let alone as in freedom, IMAP client for Palm) and problems deciding whether or not to pay $25/month for data, I love it. I still need to deal with Verizon, as they wouldn’t let me activate the phone without a data plan, and the current $45/month “unlimited” plan is a bit much for me.

So, I have a few big projects planned for the upcoming down time:

  1. Setup my other SunBlade as a mail server running Postfix, Procmail, SpamAssassin (with Pyzor or Razor), an IMAP server, and SSL for everything.
  2. Setup a Soekris box as a WAP here at home.
  3. Get Chatter Email on the Treo working right with folders (Maildir) on my IMAP (Dovecot) server.
  4. Port my GnuPG/Java-based password manager application to J2ME on the Treo, and figure out how to sync the databases (just GnuPG-encrypted flat files). Also, port it to my Nokia 770 Tablet.
  5. Get my Bluetooth Keyboard (an iGo Ultra Slim) working with the 770 – right now, the Bluetooth Plugin crashes the unit after typing a few characters.
  6. Do a bunch of overhauling on the website, especially generating sitemaps (big issue when you have static content, MediaWiki, and source code) and submitting my CVS repo to Google Code Search.

Also, A few Links for your enjoyment:
A New York Times blog by David Pogue talking about “intellectual property”, “copyright morality”, etc. He even goes so far as to imply that making a single backup copy of a legally purchased DVD is illegal.

A Groklaw article on the February ISO Ballot Resolution Meeting on MSOOXML. If you’re not familiar with it, check out noOOXML.org and their petition listing the reasons to vote NO on the OOXML ballot.

A CNN article stating that it’s true that “Switching from a Windows-operated computer to a Linux-operated one could slash computer-generated e-waste levels by 50%.”

The Register – Windows vs. Linux Security Report.

Some interesting Earthlink (yes, apparently they still exist) newsletters talking about Linux for the Desktop and Open-Source Software.

Stay tuned. More updates to come…

Sun Blade 150 working!

Yes, it’s 3 AM here, and I’ve been working since about 6 PM on this. But I finally got one of my two surplus (and fully locked down in NVRAM) Sun Blade 150 workstations up and running. I encountered a few problems along the way, but managed to solve them – more or less.

Problem 1 – NVRAM password set, impossible to install an OS.
I did a *lot* of googling, and asking for advice. Eventually, I came by a forum post expressing success with a procedure of pulling out and then re-inserting the NVRAM *while* the system is powered on. This left my system un-bootable. I pulled the chip again, and found two pins bent. I straightened them, re-inserted, and rebooted using the Stop+N Equivalent Functionality (after powering on the system, once you hear the POST beep, click the power button twice quickly). This temporarily resets the NVRAM to default settings. I found that the password was gone, and was able to issue the “set-defaults” command at the “ok>” prompt. I then popped in the Solaris 10 install CD, issued the “reset-all” command to reboot, and used Stop+A at boot to bring up a boot menu, and told it to boot from CDROM (“boot cdrom”). Installation then started.

Problem 2 – Invalid NVRAM
After the above procedure, when booting, I got a message following the Sun banner stating that there was a problem with the IDprom checksum. When the install CD booted, I also got messages stating “Invalid format code in IDprom”, “Warning: IDprom checksum error”, and “os-io Invalid format code in IDprom”. After another five hours of work, I found that it’s essentially something I have to live with. While OpenBoot previous to version 4 allowed use of the “mkp” and “mkpl” commands to directly write the IDprom, version 4 and above allows no access to this. The IDprom was reporting an ethernet (mac) address of all zeros. Unfortunately, there seems to be no way to correct this as far as I’ve found. However, it didn’t effect my OS installation… much.

*There may be a way to access the IDprom through OpenBoot 4.x, but I couldn’t find any reference to it online, and couldn’t figure out the FORTH commands from the reference docs.

Some helpful links for the above problems include the OpenBoot 4.x Command Reference Manual, currently found here, as well as the Sun Blade 150 Service Manual (from docs.sun.com), document 816-4379-10, currently indexed with the Sun Blade 150 docs here. It was also interesting, in my search for help, to look at the OpenBoot 3.x Command Manual, and see how easy it was to re-write the IDprom on older Sun Blade workstations.

Pleaese note that the advice given in the Unofficial SunBlade 100 FAQ and the squirrel.com Sun NVRAM FAQ doesn’t seem to work on the 150 with OpenBoot 4.x. From what I can tell, all of that advice applies only to OpenBoot 3.x!

Some other helpful links included an ITworld.com article on Sun NVRAM passwords, this Sun Developer Forum post, and this post on password recovery.

Problem 3 – MAC / Ethernet address is 00:00:00:00:00:00
When booting Solaris, I found that I couldn’t get DHCP. When I finally got the OS running and logged in as root, I realized something interesting – I couldn’t access or ping anything past the one switch I was connected to. But everything on that switch was fine, pinging both from and to the Solaris box. I ping’ed from my laptop, and then thought to run “arp -a”. It showed a MAC address of 00:00:00:00:00:00! Running “ifconfig -a” on the Solaris box confirmed this. Luckily, the first time I booted this box, I wrote down the ethernet address and hostID as shown on the banner. I ran a quick ifconfig to setup the correct MAC, like “ifconfig eri0 ether xx:xx:xx:xx:xx:xx”. Networking now worked perfectly, and I could get to everything on the LAN as well as browse the web. It would be good to somehow reset this in NVRAM, but for now I’m just going to add it to the startup scripts somewhere. One forum post that I found suggested adding the previous ifconfig command to the top of /etc/rc.c/init.d/network, which I’ve done and will see how it works at the next boot.

Problem 4 – Can’t login to SMC (Solaris Management Console)
My next task after getting the system up and running, and getting networking working, as to give myself a user account. I was logged in using the Java Desktop System, so I opened a terminal and ran “smc &”. After the usual initialization wait, I loaded the toolboxes for the local machine, and connected. When I clicked on the “users” module and entered my root password, I got an invalid password / login failed message. I tried again and again, even checking against the post-it that I wrote the password on until I memorize it. Nothing. Searching the forums, I came by this post, but the value in /etc/security/policy.conf was correctly set to ” CRYPT_DEFAULT=__unix__”. So, on a wild hunch, I used “passwd” to reset my password to a shorter one, which I use on a few other (unimportant) workstations. Magic!

I now have, after two days of work, a working Solaris box. Now that I have a good OS install, in order to get the other box working, I *should* just be able to swap HDDs, boot, login as root, and use the “eeprom” command to set “security-mode” to “none”, bypassing all of this bull****.