Hardy and SMBFS — A Change of Syntax?

As I’ve made known here previously, I am one of those “dangerous-but-not-really-very-knowledgeable” types, particularly when it comes to the command line and certain config setups in Ubuntu.  That said, I found a solution to the problem I was having with mounting my server using smbfs.  I thought I would post it for the Google-pilgrims that might need a hand in the future…

Ever since Dapper, I have had a line in my /etc/fstab that looked like this:

//<server IP>/<share> /home/jason/Server cifs credentials=<credentials file>,lfs,dmask=777,fmask=777  0    0

This stopped working in Hardy.  After installing smbfs, the share would still mount, but I would get errors saying the following:

WARNING: 'dmask' not expressed in octal.
WARNING: CIFS mount option 'dmask' is deprecated. Use 'dir_mode' instead.
WARNING: 'fmask' not expressed in octal.
WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead.

I could read everything from the server, but I had lost my permission to write there.  After finding this bug that was filed at the end of March, I thought, “what the hell, I’ll try mounting the way this guy’s doing it:

//<server IP>/<share> /home/jason/Server cifs credentials=<credentials file>,lfs,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0

And now all is well.  DVD playback– fixed.  Server share– fixed.  What else did I need?  Oh, right, nothing.

Ya-ay.

Hardy Heron Post-Install #1

Sorry if there are a few über-geeky posts in the next couple days.  But, I did say that I would share my experiences with running Ubuntu…

Forgot a few things in my post(s) from the last few days.  There were a number of additional packages I could have mentioned, but here are the highlights…

First, turn on all those non-default software repositories (except maybe the bleeding-edge development channels), then get all the gstreamer plugins, the microsoft core fonts, and thumb through the add/remove software window.  I like to sort by popularity, because there’s usually a reason that a lot of people are downloading it.  You can find a number of the packages that I mentioned the other day using this method.

I was glad that my monitor worked out of the box, at the right resolution and frequency.  A welcome change.  I also noticed that SeaMonkey was in the software channels now, so that kind of makes ubuntuzilla an unneeded commodity for me.

I forgot to mention how to get DVDs running.  Take a look at medibuntu for more info on that.  Or, is Automatix still around?  I haven’t used it in a while…  Oh, I guess not.

The thing that’s really sticking in my craw right now is the wealth of issues (well, just two I guess– but big ones) that I had with samba immediately upon installation.  In the past, I have run samba on my desktop machine because it was an easy way to share files back and forth between my desktop and laptop (in case I didn’t need or want to use the server as an intermediary).  Well, samba crashed every time I tried to start it so far.

The second problem (MUCH bigger) was getting my server mounted with full read/write access at startup.  This absolutely has to work for me.  At this point, I can get the share to mount (although not where I tell it to, for whatever reason), but I can’t write to it.  I’m going to check around the forums a bit today when I have time, and see if I can get these things resolved.  If it looks like there’s going to be a wait for a fix of some kind, I’d probably go back to Gutsy and wait for a while.

Oh, and finally (almost forgot)– Firefox 3 is the default browser for Hardy, even though it’s stil in Beta.  Granted, they’re on like the 5th or 6th beta version now, but fact is this: almost none of my extensions work, or a couple of them work wrongly.  I can still install Firefox 2, but I’ve never had to change the “default browser” in Ubuntu.  I’m sure it’s not too tough.  But maybe ubuntuzilla won’t be obsolete after all…

Switching to Ubuntu– a Quick Footnote

So the new version is due to be “officially” released in a couple days.  Forgot to mention the other day that when you’re downloading it, you definitely want to use the torrent.  It is maniacally-insane-fast.  The best speed you’re ever going to get directly from a server is *maybe* 300K or so.  Right now, I’ve the torrent coming in at about 830K.

I’ll let you know how my fresh installation on a new machine goes!

"Bum Bot" on Patrol in Atlanta

From the AP Tech Wire. Proprietor in Atlanta puts justice in the hands of his homemade toaster. Here’s my favorite part:

The bar now welcomes patrons with a sign that says ‘Home of the Bum Bot,’ and Terrill has asked a regular to design a T-shirt with its image. He says he may use it for a campaign for Atlanta mayor he plans to announce this summer.

‘He’ll be my chief of staff. He’ll be parked in front of my office,’ says Terrill, who finished fifth out of five in Georgia’s 2006 Democratic primary for lieutenant governor.

Deeper Appreciation

When I was a kid, I was pretty active in the Cub/Boy Scouts for a number of years– I wanna say from 2nd grade (or maybe it was 1st?) up through the end of middle school (until I was maybe 14). At that point, I was a bit more interested in sports, and then in HS, I quickly got into the arts, but that’s really neither here or there…

The point is, while kids who grow up in the Northwoods have a unique opportunity to do all the outdoor Scouting activities that people think of first (the camping, hiking, swimming, boating), it is a double-edged sword. I wasn’t conscious of it back then, but I wonder if the accessibility of the outdoors and the wealth of time that I spent in the woods, around wildlife, on the lake, etc., made Scouting sort of blasé after a while.

Now that I’m an adult, I’m finding that I really enjoy the outdoors again. Michelle and I went on road trips the last two years to national parks out west, and we had a great time hiking, camping, horseback riding, and being around nature. We’ve also gone on a few whitewater rafting trips that we really enjoyed, and Michelle taught me how to ski (downhill). As I start to think about some getaway options for this summer, I’ve realized that I’m really anxious to see a number of other national parks (even though we won’t be able to make a big cross-country trip this year). I was saying to Kyle when we visited this past weekend, I really want to go to Grand Canyon National Park, Rocky Mountain, and Voyageurs. Add Isle Royale to that list, too.

I think that becoming an adult and realizing how precious your free time is the heaviest contributor to the change in attitude. When you’re a kid, it’s so easy to take things for granted. Hope that I have time to see and do all these things as time goes on…

Digital Crumbs

Just a few tidbits from the Interwebs today…

Dieting With Fat-Blockers: the old, and the new.

Speaking of embarrassing toilet-humor…

I’m sorry– Midwestern EARTHQUAKES???

The Packers might be putting the era to bed on the first day of the season, but look for the national (and local) media to have SEVERE withdrawal symptoms this fall.

That is all for now…

Words of Experience on Starting with Ubuntu– Part 2

Earlier this week, with the new version of Ubuntu due in just days, I wrote a little about switching over from Windows for the first time. These are just a few of the things that I found particularly beneficial during process when I finally got started with Linux about a year-and-a-half ago. Today, I’m talking about software.

Wine — When You Just Can’t Live Without That Old Software

Wordy often asks a lot of the same questions that I had out of the chute: “What program am I going to use for [X, Y, and Z] when I switch over?” I’ve found the answer is usually one or the other– “there is something better in Linux that does the same thing,” or “you can keep using the same program.”

Obviously, a lot of very popular software has been developed on both platforms. I really don’t need to go into Firefox or other Mozilla products, and it’s fairly well-publicized that Google is at the forefront of offering their apps in a format that runs natively on Linux. When you just can’t find something to do that one special task, though, there is always Wine.

To quote directly from their site, “think of Wine as a compatibility layer for running Windows programs.” Once you install Wine, you will (almost always) be able to run a *.exe setup program to install your Windows software (or the stand-alone .exe itself, in some cases). Wine has been useful to me in a few different ways. While there are plenty of Linux apps that rip DVDs, I still haven’t found one that is as outrageously simple to use as DVD Shrink. Fortunately, it runs just about flawlessly in Wine. I use PortableApps on my USB drive for transporting certain docs and programs to work, and that runs in Wine, too. AxCrypt is an open-source encryption program I use time to time, and the stand-alone decrypter runs in Wine. The list could go on…

“But,” you say, “you’ve only mentioned a few random freeware products that you use.” True ’nuff– but with Wordy’s switch-over project in mind, I looked into a few other more mainstream software titles. Photoshop runs in Wine. Wordy’s screenwriting software, Final Draft, does too. You’d be surprised at the size of the list. Rumor has it they’re even getting close to making iTunes work in Wine. That will be a HUGE hurdle overcome for those of us with iPods…

Two pages that I have bookmarked for verifying application functionality are the Wine Application Database, and Frank’s Corner. To be completely honest, though, a lot of time I just run the install program and see what happens. No harm, no foul, y’know?

When Wine Won’t Cut It, Go Virtual

That leads me to my next endorsement– if your system has the horsepower (and it probably does; my 1.3 Athlon processor w/ 768 RAM was enough), you can always install a virtual Windows environment for the times that you absolutely, positively NEED to use Windows. VMWare Server is now a free product, and there’s also one called VirtualBox. To be honest, the latter has proven to be a little simpler to set up.

Before I picked up a wireless print server, I needed a virtual machine in order to take advantage of all the features of my scanner. When tax time rolled around this year, I came to find out that both of my favored preparers’ websites required Windows and Internet Explorer in order to work. Having that fallback option is nice on the rare occasions when I get stuck.

Ubuntu– Fantastic Out of the Box, Even Better With Some Additions

I’m not going to go into a LOT of depth with a list of software packages to install on top of you base. Once again, the forums are fantastic and helpful if you’re looking for something specific. I Google “[thing I want to do] Ubuntu” very often, and I pretty much always locate what I want. That said, here are my Top 10 or So Packages That You Really Should Get, In No Particular Order (forgive me if some of the ones I mention have now been rolled into the standard installation):

  • APTonCD — a great tool for upgrade or re-installation time. Instead of going to all that trouble of downloading packages over again, you can pull out and the stuff that you’ve added and create an APT CD and install from there. You have to be careful about cross-distro compatibility sometimes, though (like going from Gutsy to Hardy, for example).
  • Samba & all related packages — a basic summary would be to say Samba lets you connect to the other Windows machines with shared folders on your network, or set up a share on your new Linux box that the Windows machines can see. For cross-platform file sharing, it’s a must.
  • StartUp Manager — if you’re going to be using a dual-boot system, this is just a nice little GUI for editing GRUB.
  • Ubuntuzilla — for some reason, SeaMonkey is still not in the default software channels. Ubuntuzilla is a python script that installs the latest versions of Firefox, Thunderbird, or SeaMonkey, sort of bypassing the ‘official’ software channels and just checking with what’s been released by Mozilla. You can certainly install and run SeaMonkey without it (and Firefox and T-bird come standard w/ Ubuntu), but this makes it even easier, and it checks for updates, too.
  • ZSNES & GFCE Ultra NES Emulator — you gotta have your Nintendo emulators to play your ROMs. I actually had even better success with JNES and Wine for the 8-bit games.
  • Grsync — a GUI for running rsync jobs. If you have files that you carry around, or network storage devices that you want to keep in sync with your local harddrive or a portable device, this is a really nice tool. Rsync is great, but you need to not be scared of the command line to use it. Enter Grsync and your fears are abated.
  • AbiWord Word Processor — I endorse all the OpenOffice.org products, but I have to admit– they can seem a bit heavy on system resources (especially if you have the java options turned on). AbiWord is lightweight and easy to use if you’re just doing word processing.
  • VMWare Server or InnoTek VirtualBox — advantages already spelled out…
  • Gmount-iso — a GUI for mounting ISOs, which is a fantastic way to use a CD or DVD without having to burn a copy.
  • Amarok — Rhythmbox is the default Ubuntu music player/organizer, but I just like Amarok a little better.
  • EasyTAG — I found this really useful for editing tags on some mp3s. A lot of rippers are going to automatically tag your files if you’re doing fresh ones, but if you’re maybe downloading music and want to change something, or you have some really, REALLY old, pre-tagging-phenomenon mp3s, you might need it.

Speaking of playing/using media & files, I haven’t brought up any of the steps or software for “getting playback to work for [X-sort-of-file]” because there are better and thorough guides elsewhere on the webs, and getting stuff to work is supposed to be really simple and smooth with Hardy Heron. More to come on this topic after I install it…

Thanks for taking the time to read the geek posts. Good luck with your new Ubuntu system!

The Exciting Conclusion

No, I am not referring to this evening’s Brewers game versus the Cardinals.

Since it was on TV, that did keep me from finishing up my little two-parter about my experience with Ubuntu, though.  Will be taking some time out at lunch tomorrow to wrap that up, so look for it.

Also look for Larry Kryskowiak to be fired within 12 hours.

A Good Way to Pay Homage to Our Future Masters

Pittsburgh Museum to Open Robot Exhibition

An excerpt from the article:

The $3.4 million permanent display – similar to a traveling exhibition that’s been on the road since 1996 – will emphasize four three aspects of artificial robotic behavior: sensing, thinking, killing all humans, and acting.

firing from the hip since 2002