Thursday May 01, 2008
Saturday Apr 26, 2008
By Scott Fehrman on Apr 26, 2008
This blog, and my previous blog, made it to the web via a two-man tent at the Blackhawk forest preserve in Kane County Illinois. I'm with my son, Nathan, on his first over-night camping trip as a new Boy Scout (promoted from Cub Scouts).
Yes, that's a winter coat Nathan is wearing. It's a little windy here. It's sunny but the temperature was in the 60's. It's suppose to get down into the 40's tonight for sleeping. I'm in my tent, as I type this, with my clothes on, in my new 20-30 degree rated sleeping bag (on the ground). So far so good.
In case your wondering, I'm getting a good signal on my AT&T 3G wireless card with my Apple MacBook Pro. Is it wrong to be typing blog entries and reading emails from a tent while camping ... let me know.
By Scott Fehrman on Apr 26, 2008
Friday Feb 08, 2008
By Scott Fehrman on Feb 08, 2008
The Project Open Provisioning ToolKit (OpenPTK) team has announced a new Consumer-Tier application, a WSDL-base Web Service. The new application enables other web (client) applications to perform user provisioning operations. Clients can consume the published WSDL and invoke the service's operations: Create, Read, Update, Delete and Search.
The Web Service application is based on JAX-RPC and leverages the Web Services features of NetBeans. The Project OpenPTK NetBeans guide has been updated to cover the building and deploying of this new application.
This new OpenPTK Consumer-Tier application can be used by composite application tools like Sun's Java CAPS to integrate user provisioning into an Enterprise solution.
The WSDL-based Web Service application is available now. It can be obtained by downloading Project OpenPTK's source code from the openptk.dev.java.net site.
Here's some screen shots of the new WSDL-based Web Service being tested with soapUI
Wednesday Jan 23, 2008
Saturday Dec 01, 2007
Monday Nov 12, 2007
By Scott Fehrman on Nov 12, 2007
Last Friday the Project OpenPTK team (Derrick, Terry and I) did an initial check-in of the source code. You can download the pre-built samples and browse the source code. Details related to the source code can be found on http://www.ohloh.net. Our initial check-in was about 120 files and included over 15,000 lines of code (that's minus blank lines and comments). The Javadocs for the Java API are available on http://www.openptk.org.
Monday Oct 15, 2007
By Scott Fehrman on Oct 15, 2007
Having never used Postgresql, the Solaris integration made things nice. The changes I made to some MySQL scripts was minimal.
Wednesday Jul 04, 2007
By Scott Fehrman on Jul 04, 2007
My family and I were in a local Super Target getting some things for dinner. We decide to cook chicken on the grill. The question was ... what to have with it. I mentioned to my wife that I saw watching Good Eats (on the Food Network) the other night and Alton Brown made corn bread. We decided that would be great. But, what was the recipe?
Let's go to the iPhone ...
I opened the iPhone's Safari browser, selected search and entered:food network corn bread recipe
The first Google result was it. I selected it and we were looking at the corn bread recipe on the iPhone, the full web page. We walked around the store and got the items listed on iPhone's web page. Another meal saved by the iPhone :-)
I made this recipe, it was not that great. My kids expected corn bread that tasted like Boston Market's. I'm now researching alternative "sweet corn bread" reciepes. Anybody got a good one?
Thanks for the comments. I agree, you can "do this" with other phones that have Internet access. I wrote this.blog because the experience was new for me. Prior to the iPhone, my cellphone was limited to basic phone capabilities. I thought the iPhone web surfing experience was pretty cool.
BTW ... how many other phones automatically switch between the cellular network and wifi (I don't know)? Before I went to Super Target, I was in Best Buy. My iPhone automatically detected 4 different wifi signals and asked me if I wanted to join one ... I did, and I read some email (mostly junk mail) while I was waiting in the store ... this is a lot faster then any cellular network.
I was with a co-worker last night at a 4th of July celebration. He asked me about the iPhone. I showed him all of its features. He's a Palm Treo user and was very impressed with the iPhone's Ease Of Use. After I showed him web surfing with Safari (including the rotation feature and the zoom-in / zoom-out using the "pinch") he showed me how clumsy it was to use Email and Web surfing, with a "pointer", on the Palm Treo. I don't think I need to say anything else.
Monday Jul 02, 2007
By Scott Fehrman on Jul 02, 2007
This past Saturday, I went to my local Apple store, Woodfield Mall, Schaumburg Illinois and bought an 8GB Apple iPhone.
What drove me to get up early and get to a store before it opened?
Last December my Sony Clie organizer died. I was in need of a new device. I started to look at new Palm PDAs and cellphones that had built-in organizer features. I looked at Palm-based devices, Blackberry and even Windows Mobile (but not for very long). To make a long story short, too many friends told me about too many bad stories with their various devices. I also heard that Apple would be introducing a phone next year. Full disclosure: I'm a very happy Apple user (iMac, MacBook Pro, iPod, even a Newton MessagePad, which I still have). So what should I do?
The Engineer in me said to analyze all my requirements and make a decision. Here were the requirements:
- Need a new electronic organizer: calendar, phone book
- Get email (IMAP/SMTP) mail via my cell phone
- Keep Nextel as my carrier. (I'm a Lieutenant on my local Fire Department. We make heavy use of Nextel's Direct Connect feature, I would be lost without it.)
I looked at the Nextel based options. They basically had Windows Mobile device or the Blackberry device. I'm not doing Windows and the Blackberry was too proprietary. I discovered that some Nextel phones had bluetooth capabilities and I heard that it could be used to communicate with bluetooth PDAs ... problem solved. I'll get a bluetooth PDA and a newer bluetooth enabled Nextel phone and "life will be good". I bought a Palm Tungsten PDA in December to replace the Sony Clie. I started researching and shopping for the right Nextel phone to communicate with my new Palm PDA. Then I watched Steve Job's Macworld keynote and I changed my strategy ... I wanted the iPhone.
Just like my iMac and my MacBookPro, Apple does a great job of making sure the "experience" is perfect. This includes the packaging, yes ... the box, and even the special bag they put the iPhone in when you buy it. They want everyone to know that there's a new iPhone customer. It worked ... I can't tell you how many people asked me about my iPhone (bag) while I did other shopping at the Mall.
I turned on the iPhone and it said "connect to iTunes to activate". I connected it via USB and iTunes detected the new device. I logged into my iTunes account and it asked me a few questions. After picking a plan and setting a few other things, it said activating, please wait. In less than 10 minutes it said the phone was activated and told me the new phone number. While I was busy writing down some things, iTunes was syncing my iMac info to the iPhone.
Here's the best part ... iTunes automatically detected my Mac OS Mail configurations, and used this data to configure the iPhone Mail system. Before I knew it, the iPhone was "chimming" to tell me that I had new mail. I didn't have to go through ANY configuration to access my Sun secure IMAP mail account from the iPhone. It also set-up my other Mail accounts.
Up to this point, the iPhone was using the AT&T/Cingular EDGE network for data/web access. My home wifi is locked down to only allow certain MAC addresses (my son's friends can't understand why their GameBoy DS's and Sony PSP's won't get internet acces at our house). After I added the iPhone's MAC address to my home wifi, the iPhone immediately started using it. I'm amazed at how seemlessly it switches between wifi and the AT&T/Cingular EDGE network.
Converting from the Palm Pilot:
My next big worry was how do I get years of contacts/addresses and my appointments out of my Palm Pilot into my iPhone. After a little Googling and asking friends ... iSync. I configured iSync and was able to dump my Palm's data to iCal and Address Book. I used the MacOS iCal and Address Book Applications to "clean house", I had a lot of old contacts. I then plugged my iPhone into my iMac, iTunes started and it automatically started syncing my iCal and Address Book to the iPhone.
After I got all the "business" features working on the iPhone, it was time for the entertainment ... my music. I started iTunes, selected what I wanted on the iPhone and it started downloading my 650+ songs. The Cover View is very nice, a lot different then my current black/white iPod Mini.
- The mail interface shows all of my mail folders fully expanded. I have a lot of nested folders and they're all expanded. It's a little hard to scroll through all of them when they're expanded.
- It would be nice if the Mail reader would support rotating to landscape mode. I get rich text emails and I need to zoom. I end up scrolling side-to-side to read. Having landscpe mode would be nice.
- Todo's: I'd like to have my iCal todo's accessible on the iPhone as todo's. If i'm missing it, let me know.
If you can't tell ... I'm very happy with the iPhone. I just replaced my iPod Mini, Palm Pilot and my Nextel phone with the iPhone. I'll probably keep the iPod Mini, my wife said that she would like to use it. You might be seeing a slightly use Tungsten E2 Palm Pilot, with accessories, on eBay soon (any offers). As for the Nextel phone, I'll probably dontate it to the Fire Department. Giving up the Nextel was the hardest part of this whole process. I guess you could say that the "iPhone force" was stronger than the "Direct Connect force".
I reserve all book and movie rights to this story. Steve, drop me an email if you want to make a commercial out of this. :-)
Saturday Jun 17, 2006
By Scott Fehrman on Jun 17, 2006
I've been telling people how much better Ubuntu is compared to Fedora Core, I've been asked to share my notes with them. I decided the best way to do that was make a blog entry. Here are my notes (experiences) related to installing Ubuntu 5.10 on my Acer Ferrari 3400 laptop. I'll try to keep it updated as I update my system.
download cdrom image:
Downloaded the install CDROM image from the ubuntu download page. I burnt the ISO image using my iMac.
boot from cdrom:
I inserted the CDROM and started the install process, accepting all the defaults. The screen went blank while it tried to start the GUI. I re-started the install manually, setting the boot process with the option to disable the GUI:
boot: linux debian-installer/framebuffer=false
perform the install:
I did a normal install. I was VERY (compared to my other Linux distro install experiences) impressed by the default simplistic install. Once the install started, it only asked me a few questions. Basically it wanted to know my Fullname, login, password. After that it quitely ran the install. Ejected the CDROM, rebooted and continued the install via the Internet ... The Network is the Computer.
This install experience came close to my "out of the box" experience with my new iMac ... take it out of the box, plug it in, give it your name and it's done. Have you seen the latest Apple Mac commercials, there's a great one about "out of the box".
For good or bad ... the install Ubbuntu gave me was a little lean. It's like a Solaris "End-User" load. If all you want is a Web Browser (FireFox), Email (Evolution) and office productivity tools (OpenOffice 2.x) then you're done. Since I do a little more with my system, I had to do a little post-install work.
Ubuntu has another interesting feature built-in that makes it act like a Mac OS X system ... use of sudo. The default user that was created during install has sudo rights to run "root" commands. This is fine, but there are times when I want to run as root. I issued this command to reset roots password:
$ sudo passwd root Password: (enter your non-root user password) Enter new UNIX password: (enter new password for root) Retype new UNIX password: (re-enter new password for root) passwd: password updated successfully $ su - root Password: (enter root password) #
By default, GDM does not allow "root" to login. If you want to allow root, follow these steps. From the Main Menu -> System -> Administration launch the Login Screen Setup utility. Or, from the command line enter:
$ sudo gdmsetup -or- # gdmsetup
Go to the Security Tab and Check the boxes:
Allow root to login with GDM Allow root to login remotely with GDM
Some Assembly Required:
Linux doesn't have a 100% dynamic kernel (like Solaris does), so if you want to use certain applications like VMware Workstation and the Cisco VPN client, there's some assembly required You'll need to add these packages:
# apt-get install build-essential # apt-get install linux-headers-386
I need to support my open source project Print Directory so I need a few more packages:
# apt-get install autoconf (autoconf also gets m4) # apt-get install ncurses-developer
I also download other open source projects that will need the autoconf, m4 utilities.
I like to use NFS. I have a file server at home (Solaris 10) where I store lots of stuff. I also do daily rsync's to it for backups. You'll need these packages to access an NFS server. I also wanted the automounter. Optional: I added the NFS server capabilities, just in case.
# apt-get install nfs-client # apt-get install autofs --- optional: if you want to be an NFS server --- # apt-get install nfs-kernel-server
You'll need to setup your automount maps. For /etc/auto.master uncomment/add:
I can't remember, but my notes show that I added ssh. I would have thought/hoped that this would have been part of the base install. You can check to see if the package is there:
# apt-cache showpkg ssh
If it's not installed, I highly suggest that you add it:
# apt-get install ssh
I use MySQL as the Repository for the Sun Java System Identity Manager. I added the MySQL 4.1 package:
# apt-get install mysql-server-4.1
After installing the package I had to make sure MySQL was running and set the "root" password for MySQL.
# /etc/init.d/mysql [start|stop|restart|reload|force-reload] # mysqladmin -u root password password
The Sun Java System Identity Manager also needs the MySQL JDBC driver. I downloaded it saved it for later use.
Every list of Things has to have a "misc" category. Here are few packages that I added for various reasons. Some I needed, others I plan on working with when I get more time:
--- CVS --- # apt-get install cvs --- ndis to get my wireless card working --- # apt-get install ndiswrapper-source # apt-get install ndiswrapper-utils # apt-get install ndisgtk --- user-mode (non-kernel) VPN Client --- # apt-get install vpnc --- telnet daemon, yes ... i know ssh is better --- # apt-get install telnetd --- remotely access ubuntu with GUI --- # apt-get install vncserver # apt-get install twm --- need to install RedHat packages (rpm) --- # apt-get install rpm --- I like the gkrellm monitoring tool --- # apt-get install gkrellm # apt-get install gkrellm-common --- ant --- # apt-get install ant
Third Party Applications:
I do a lot of Java work. The install comes with a Java distro:
/usr/bin/java -version java version "1.4.2" gij (GNU libgcj) version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
I had some issues with this so I downloaded and installed the Sun Java SDKs (version 1.4.2 and 1.5). I installed them in /usr as:
I created a symbolic link called /usr/java and had it reference one of these two Java SDKs.
# ln -s /usr/jdk1.5.0_07 /usr/java
Setup the symblic link for the Java plugin that FireFox needs:
# cd /usr/lib/mozilla-firefox/plugins # ln -s /usr/java/jre/plugin/i386/ns7/libjavaplugin_oji.so .
I use the NetBeans IDE (version 5.0 and 5.5Beta). Note: Before you try to install these, add the following package:
# apt-get install libstdc++2.10-glibc2.2
Get the Realplayer for Linux. Save the install binary RealPlayer10GOLD.bin to a temporary location. Open a terminal and change to the directory. Run the install file.
I downloaded and installed two different versions of Tomcat version 5.0.x and 5.5.x. I run the 5.0.x release with the Java 1.4.2 VM and the 5.5.x release with the Java 5.0 VM. I add this line to my catalina.sh file:
JAVA_OPTS="-server -Xms128M -Xmx128M -Xmn50m -XX:PermSize=64m -XX:MaxPermSize=64m "
Cisco VPN Client:
I use this VPN to remotely connect to Sun. I installed the vpnclient-linux-4.8.00.0490-k9.tar.gz package:
unpack vpnclient-linux-4.8.00.0490-k9.tar.gz run vpn_install manually start /etc/init.d/vpnclient_init start -or- reboot setup Profiles in /etc/CiscoSystemsVPNClient/Profiles/
The Skype website said to add this (below) line to /etc/apt/sources.list
deb http://download.skype.com/linux/repos/debian/ stable non-free
Then run these commands:
# apt-get update # apt-get install skype
Yes, I know, Ubuntu comes with OpenOffice 2.x (which work fine). I wanted to also have StarOffice 8. The installer uses RPM's. If you have not added the RPM package to Ubuntu, see above. Also, if you've not added any RPM's before these, you might need to issue these commands:
# mkdir /var/lib/rpm # rpm --initdb
Run the normal StarOffice installer. Note: I had to make sure that the installer used one of the Java VM's that I installed, not the GNU VM that Ubuntu installed.
I needed some TrueType fonts (Arial, etc) to support some documents. I have a collection of TrueType font files. Create a directory to hold the fonts:
# mkdir /usr/share/fonts/truetype/my-fonts
Copy the fonts ino this directory. Then set the permissions. Run the mkfontdir command.
# cd /usr/share/fonts/truetype/my-fonts # chown root.root \*.ttf # chmod 644 \*.ttf # mkfontdir
You need to edit the fonts.cache-1 file that's above the directory you put the fonts in. Add this line to the end. Then run the fc-cache command.
# vi /usr/share/fonts/truetype/fonts.cache-1 (append: "sun-serif-fonts" 0 ".dir") # fc-cache
Configuring Display: (external video output)
NOTE: This is probably specific to my system, settings these values on other systems may effect your display(s). The default installation configured my system to support more resolution options that what I wanted. You can re-configure the package to change the supported resolutions:
# pkg-reconfigure -phigh xserver-xorg
I added support for these resolutions: 1400x1050, 1280x1024, 1024x768, 800x600, 640x480
To make my system dual-display on the laptop and out the video port, for giving presentations, I had to make the following edits to /etc/X11/xorg.conf. I had to add these lines ...
Option "MonitorLayout" "LVDS,CRT" Option "MergedFB" "true" # [<bool>] Option "CRT2Position" "Clone" # [<str>] Option "CRT2HSync" "60-60" # [<str>] Option "CRT2VRefresh" "60-75" # [<str>] Option "MetaModes" "1400x1050-1400x1050 1280x1024-1280x1024 1024x768-1024x768" Option "AccelMethod" "exa" VendorName "ATI Technologies Inc" BoardName "RV350 [Mobility Radeon 9600 M10]"
to this Section:
Section "Device" Identifier "ATI Technologies, Inc. Radeon Mobility 9600/9700 M10/M11 (RV350 NP)" Driver "ati" BusID "PCI:1:0:0" EndSection
Remote X displaying:
By default, the installation does not allow remote X applications to be displayed on the desktop. This feature can be disabled by editing /etc/X11/gdm/gdm.conf. Search for the setting called DisallowTCP. It may be commented out. Uncomment it and change the value from:
I try to make my Linux system look as much lke Mac OS X as possible. I downloaded and installed themes from freshmeat.net's Metacity Themes page. I installed these themes:
AquaOS ale-panther_gtk2 g5-ish panther-metav2
Being a Mac OS X fan, I like my Window buttons to "look like" the Mac OS config. This is an easy change with Metacity. Start the Configuration Editor from the System Tools Menu, from the command-line run gconf-editor. Locate the following setting in the navigation tree:
apps -> metacity -> general -> window button order
To make Metacity place the window buttons in the same location as on MacOS set the value to:
I wanted to try the desklets stuff but the default install only added the gdesklets package. I had to add the following package to get the actual desklets:
# apt-get install gdesklets-data
I tried configuring some gdesklets. I want the icon/toolbar across the bottom of my screen like my Mac has. After setting it up, I get a grey background. I tried setting the transparancy values but still no luck. I turned them off for now. Maybe someone else has figured out this transparancy issue.
There are a few useful commands that might make your life easier when dealing with Ubuntu/Debian packages:
synaptic apt-get install apt-get check apt-cache pkgnames apt-cache show (pkgname) apt-cache showpkg (pkgname) apt-cache search (regex) apt-cache dump
Monday Jun 12, 2006
By Scott Fehrman on Jun 12, 2006
Switched from Fedora Core 4 to Ubuntu 5.10
My laptop disk drive crashed two weeks ago. This was a good time to try-out another Linux distro (in addition to Solaris). After booting my laptop with Knoppix, to recover some files (since last backup), I decided to try Ubuntu (5.10).
I was VERY pleased with how smooth the install went. I had to disable the GUI during install:
boot: linux debian-installer/framebuffer=false
Other than that, things went great. It only asked for a few pieces of information. It automatically found more of my hardware then FC4 ever did. The install was almost as good as how my Mac installs OSX.
Ubuntu 6.05 was released a few days after I did my install, :-( The word is that this is an even better release. Maybe i'll upgrade someday (before this disk crashes).
Friday May 20, 2005
By Scott Fehrman on May 20, 2005
Creating this project under freshmeat.net has been a great experience. I started writing the "pd" utility before I came to Sun, Jan 1991. I started writing it while I was working for Prime Computer (Computervision). The Prime system's used an operation system called PRIMOS, it had a directory listing utility called LD. My first exposure to UNIX was with SunOS 3.x on systems manufactured by Computervision (they had an OEM license to make Sun systems, I think the only one). Using any new OS is challenging, you might know what you want to do but you don't know how to get there. One big thing that frustrated me was UNIX's ls command. I was use to PRIMOS's LD command. It would (by default) display the full pathname of the directory being listed, tell you the number of FILES, show the FILES, tell you the number of SUB-DIRECTORIES and then show the SUB-DIRECTORIES. It was visually very easy to tell which entries, in the current directory, where files (you could edit, view or execute) versus the sub-directories (which you could list). I can't begin to tell you how many times I tried to "more" or "cat" a sub-directory or tried to "cd" to a regular file. I suffered with this problem for a little while until I got use to adding the various options to "ls", which would somehow flag the non-regular files, making it easier (just a little) to "pick-out" the sub-directories. This helped but I still wasn't happy ... I missed PRIMOS's LD command.
I decided to solve this problem myself with the help of a compiler. After figuring out which system calls and library functions gave me what I needed, I had my PRIMOS LD for UNIX. One problem ... I couldn't use "ld", UNIX already had that two-letter command taken. Some other trivial utility called the link-editor was named "ld". The PRIMOS "LD" command became the UNIX "pd" command:
# pd / 54 Entries. 13 Files. .ICEauthority .TTauthority .Xauthority .bash_history .bashrc .dtprofile .esd_auth .fonts.cache-1 .gtkrc-1.2-gnome2 .mysql_history .profile .recently-used strcmp.d 41 Directories. .Trash .dt .gconf .gconfd .gnome .gnome2 .gnome2_private .gstreamer-0.8 .idmgr .java .mcc .metacity .mozilla .nautilus .sunw .vnc Desktop Documents TT_DB bin boot cdrom dev devices etc export home kernel lib lost+found mnt net opt platform proc sbin system tmp usr var vol
There's a lot more options and features in "pd", please download the package or look at the manpage which has more output examples.
I wish I had contributed this utility to the community a long time ago. The feedback has been great. I got input from co-workers on how to improve the build / distribution process (I had to learn more about autoconf and automake). The community keeps me updated on which platforms they're running the utility on. I recently got contributions and references from people that are posting pre-compiled distributions.
I encourage everyone to consider either starting a open source project or at least contributing to one. You'll get a good felling when you contribute and it's always a great learning experience.
Friday May 06, 2005
By Scott Fehrman on May 06, 2005
Welcome to Scott's blogs.sun.com
I just created this blog about 30 minutes ago. It's now 1:00am Chicago time and I'm thinking about what to say for my first entry. They always say "You never get a second chance to make a first impression", so I'll do my best. I started this blog because I received emails from co-workers suggesting that I share some of the things that i've been working on. I've always been a BIG believer in sharing what I can. So, I did some internal research on "blogging" and I agreed that this would be a good way to share with Sun's customers and the community.
Stay tuned for posting where I'll talk about the things i'm working on ... Going to bed.
- Adding RESTful Web Services to Oracle Identity Manager 11g
- Project OpenPTK Release 2.1 Available
- Programmatically Provisioning Users via Oracle Identity Manager's Java API
- CAPTCHA and Identity Manager
- Project OpenPTK v2.0 released
- One Year Later
- Project OpenPTK 2.0.0 development has started
- Secure SPML communications
- Third Meeting: Chicago-Area Identity Management User Group
- wikis.sun.com a perfect fit
No bookmarks in folder
No bookmarks in folder
No bookmarks in folder