OpenSUSE Linux Rants

OpenSUSE Linux Tips, tricks, how-tos, opinions, and news

My Resume  -  My LinkedIn Profile - twitter: @scottmmorris

January 27, 2010

Linux Migration: Another Chip Taken out of the Monopoly

by @ 11:20 am. Filed under Linux migrations

Linux migrations are fun for me to see. It brings happiness to my soul that more companies are seeing the benefits that Linux offers them over propietary operating systems. No more vendor lock-in, more security, freedom to do it how they want, and much lower cost. Well, openSUSE Linux is now finding its way into the company for which I work.

Me: Mr. CEO, how much are we paying to lease these computers, buy the OS licenses and pay tech support to maintain them each month?

CEO: Well, about $4,000 per month.

Me: You do realize that you may as well be burning that money, right? We could be saving every dime of that.

CEO: (extremely skeptical) Oh yeah? How’s that (with a tone of, “Yep, I’ve heard all this before, but I’ll humor you.”)?

Me: Well, dump the leases, buy towers for $40 a hit, I’ll install openSUSE Linux on them, and get our proprietary Windows software running on it. What else do they need?

CEO: A calculator.

Me: Done.

Me: Oh, I can also set up and manage our connection router so that we have dynamic and static DHCP working as we need it to so the servers still work just like they do now.

CEO: You mean that we can support our entire infrastructure in-house with open-source software and save all of the lease and support money?

Me: That was my opening premise, yes.

CEO: Can we have it done by this weekend?

Me: Oh, we can also replace the entire proprietary phone system for which we are paying monthly service fees, as well. Are we leasing the phones we are using?

CEO: Wait, you’re saying we can do the same thing with our phone system?

Me: Let me check…

Me: Yes.

CEO: Well, let’s get the VP of Operations and the Operations Manager and your programmer in here, and see if this makes sense from a company-wide perspective.

A few hours later…

Everyone: So when can we start?

So yesterday, I put the very first Linux box out on the sales floor with one of the sales guys loaded with Firefox, a calculator, and our Windows software running (surprisingly stably) under wine.

The first of a company-wide movement to the marvelous world of Linux and all its benefits. With all the Linux migrations, I’m fairly excited to be doing one of my own.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz

December 18, 2009

PBX in a Flash + Google Voice = Free Home Landline

by @ 3:52 pm. Filed under Uncategorized

For the past two weeks or so, I have been working on asterisk-related projects. PBX in a Flash and Google Voice come together very nicely to allow one to have a free home phone line. Now, I just have to get Elastix set up and working for my employer. Slightly bigger project. But that’s why I’ve been kind of quiet the past few days.

Should you wish to take a stab at a free home phone line, you will need a Google Voice number, PBX in a Flash, and an extra computer (a machine that is a decade old will work perfectly). I was even going to put it on my openWRT router (thanks Steve), but decided against it.

The tutorial on how to set it up is found here: Introducing the Orgasmatron V, Google Voice Edition

A couple of things that I couldn’t find in that tutorial but are required:

Not doing those things caused me several undesireable problems.

I used twinkle as my softphone. Since my desktop from where I am making the phone calls is on the same subnet as my asterisk machine, I used the internal ip of the PBX in a Flash box to configure twinkle.

The call quality seemed to be at least 90% or more of what a regular phone call is. Some people could not tell that I was not on a regular landline or cell phone.

Anyway, take a look at it, see what you think. Instead of using a softphone, you can also purchase sip phones that will work with your PBX in a Flash system.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz

December 8, 2009

openSUSE Linux: Shortcut to Software Management

by @ 12:42 pm. Filed under How-To, SUSE Tips & Tricks

Today, we’re gonna shoot for another one of those dumb little “cool openSUSE Linux tips” that allow one to get *DIRECTLY* to what it is that one needs.

As you may or may not know, openSUSE’s YaST tool has a number of modules. Well, when you open YaST, and you click on something like “Software Management”, it really just runs another command in the background, as many gui-based apps do. When you specifically click on that exact option in YaST, the command “yast2 sw_single &” is executed.

However, this must be executed as root.

Sure would be nice to put that in our quick launch bar so we can skip having to open two windows when we could just go straight to the one we want because we already know the command required to summon it.

Except that we are not logged in as privileged users. Hhmm. Is there a solution?

Apologies for the anti-climactic introduction because logic screams that if there was not a solution, I wouldn’t be writing this entry. Sorry, best I could muster this morning.

The solution is that you create a shortcut button in the panel of whatever desktop environment/windows manager you use. Add your favorite icon that means “Manage software in YaST.” As the commandline, you put in the following:

xdg-su -c "/sbin/yast2 sw_single"

 

Click on your shortcut button. It should prompt for the root password. Upon entering the correct password, direct access to the Software Management module is granted.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz

December 7, 2009

zypper + bash script = simple repo management

by @ 12:16 am. Filed under bash, sweet tools

I had a smooth, easy experience with a fresh install of openSUSE 11.2 on my desktop this weekend. Man, that was nice.

With the excellent openSUSE Build Service available, I find myself there often. Many times I am looking for more recent versions of packages than what are available from the repositories I have loaded into my machine. Once the packages are found, I usually just grab the repository that they are in and load that into YAST.

For example, let’s say we’re looking for pidgin. Using YaST or zypper, we do a search, and find that we have version 2.6.2 available to us. However, with the openSUSE Build Service, we see that 2.6.3 is available. We’ll just grab the repo for it, which is located directly above the 1-click install button. Right-click on it, select “Copy Link Location.” You have the repo in your clipboard.

Then, we can use zypper to load our repository into YaST, set it to autorefresh, and then refresh it. Then, when we search for pidgin again, 2.6.3 shows up rather than 2.6.2. It’s a quick, easy way to collect and save reliable repositories that have newer packages in them.

To add a repo, then set it to autorefresh, then refresh it takes three, semi-lengthy commands, for example:

[1049][root@laptop:~]$ zypper addrepo "http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_11.2" "Gnome Apps"

 

Then:

[1049][root@laptop:~]$ zypper modifyrepo -r "Gnome Apps"

 

Then:

[1049][root@laptop:~]$ zypper refresh "Gnome Apps"

 

Rather than type all that out every time, I threw a quick script together that I call ‘repoadd’ (don’t forget to run chmod +x on it to make it executable) to save me all the agony:

#!/bin/sh
# $1 is the repo, i.e. http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_11.2
# $2 is the name you wish to give it, i.e. "Gnome Apps"
zypper addrepo "$1" "$2"
zypper modifyrepo -r "$2"
zypper refresh "$2"

 

Now, instead of having to type that all out every time, you can just run:

[1049][root@laptop:~]$ repoadd "http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_11.2" "Gnome Apps"

 

Of course, 1-Click Install does essentially the same thing. I just thought I’d explore and share this different way of going through that process. You never know when those alternative ways of doing things can save your hide.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz

December 4, 2009

Microsoft ‘Has Acknowledged The Enterprise Role Of Linux’

by @ 2:28 pm. Filed under Linux News

I just read a piece mainly quoting Joe “Zonker” Brockmeier, the openSUSE Community Manager. He mentions that at the beginning of the Novell/Microsoft deal, all the naysayers got the press. His thought is that a lot of good has come out of the agreement.

Excerpt:

“When Novell and Microsoft signed a deal to support Windows and Linux in the enterprise, it caused a furore. Three years on, the deal shows that Microsoft really does acknowledge the value of Linux in the enterprise – at least that’s the view from the OpenSUSE community.”

“Novell was the first company to get Microsoft to acknowledge Linux as a contender in the market – and the effect of that has been under-rated,” says Brockmeier. “Do you remember the way Microsoft used to talk about Linux? In that dismissive fashion?”

“Once you get to the point where Microsoft feels the need to deliver Linux to its customers, you have a huge tacit acknowledgement that Linux is suitable for the enterprise,” he says. “That’s an enormous thing that I don’t think Novell has gotten enough credit for.”

Read the rest of “Microsoft ‘Has Acknowledged The Enterprise Role Of Linux’

Any reactions to this article? I mean the world hasn’t exploded yet. However, Microsoft does have a reputation which makes many people not trust them or their motives.

What do you all think after reading that article?

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz

10 Linux features Windows should have by default

by @ 11:19 am. Filed under War

The gospel truth:

Excerpt:

“The battle between Linux and Windows will most likely rage on for years to come. I can foresee that even when all things migrate to the cloud, users in both camps will still be screaming the virtues of their favorite operating system. And, of course, I will be one of those campers (and I can bet you know just which camp I’ll be in). But being in that camp does not preclude me from seeing the benefits and strengths of the Windows operating system.”

  1. Compiz
  2. Multi-user
  3. Log files
  4. Centralized application installation
  5. Cron
  6. Regular release cycle
  7. Root user
  8. Pricing
  9. Installed applications
  10. Hardware detection

Read all of “10 Linux features Windows should have by default

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz

Ubuntu: 1/3 of Installs, Upgrades Result in Fail?

by @ 1:11 am. Filed under distribution releases, review

Ubuntu Logo

Inevitably, there will be what we call ’showstopper’ bugs in distribution releases. When this happens, in the vast majority of cases, those responsible for the distro get fixes out immediately. There has been some complaints lately about why Ubuntu should take a closer look at their quick release schedule. Take a look at these articles: “Early adopters bloodied by Ubuntu’s Karmic Koala” and “‘Ubuntu Needs a Longer Release Schedule!’” Whoa, now. Not pickin’ on Ubuntu. Fedora had one in its 12 release in November, as well: “Unpriviledged users could install packages.” Not good. OpenSUSE isn’t immune either. In the release of 10.1, the package manager was horribly broken.

Seems like we could tolerate such ’showstopper’ bugs once in awhile. But to have this many complaints about excessively-problematic releases of one particular distribution release after release seems a little off to me:

 

Seems like I’m not being objective here, doesn’t it? Maybe I’m trying to get people not to use Ubuntu, or give Ubuntu a pounding. Nope, merely observing numerical data.

What data?

First, let me explain something: An LTS release is generally accepted to mean “a fairly rock-solid release.” The nonLTS releases are interim releases for those who want bleeding edge. By definition, they should have more bugs in them.

Secondly, these numbers might be taken with a grain of salt, as they did come from a support forum. How many people log into a support forum to say that everything worked perfectly? Probably not as many people as had problems.

With that said, let’s look at the numbers:

Release type Upgrades w/many unsolvable problems Installs w/many unsolvable problems Flawless upgrades Flawless installs
Gutsy Gibbon nonLTS 35% 33% 22% 22%
Hardy Heron LTS 30% 33% 21% 25%
Intrepid Ibex nonLTS 44% 45% 18% 25%
Jaunty Jackalope nonLTS 31% 35% 29% 32%
Karmic Koala nonLTS 33% 38% 31% 34%

 

Make an objective judgment of that for yourself. The LTS release had at least a 30% failure rate. Nearly the same failure rate as the nonLTS releases. The flawless upgrades and installs were nearly always lower than the number of seriously problematic installs/upgrades. Well, weren’t they? Where did these numbers come from? this spreadsheet, to which ubuntuforums.org linked.

One or two problematic distribution releases is forgivable. But an apparent failure rate of 1/3 on every release?

Mr. Shuttleworth… bro… ease up a little. Implement some improved testing or quality assurance policies or something. You have an incredible user base. Every time you release, you are seemingly causing measurable aggravation for about a third of your users. Each person that experiences a failed Ubuntu install/upgrade incorrectly attributes the problems to Linux in general. Try and help the Linux community out — not by sheer numbers, but by quality, polished installs and upgrades. Spread the joy. With all your resources, surely you can make some progress here.

While I applaud Canonical’s success in helping Linux become widespread, they also seem to be giving Linux a black eye amongst would-be Linux users.

And please, if you are one of the third that has a marvelous experience with Ubuntu, don’t shoot the messenger. I’m merely sharing data.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz

December 3, 2009

13 Lethal Linux Commands

by @ 5:06 pm. Filed under command-line

Ok, this is seriously way too cool to pass up.

Excerpt:

In this post I will collect all commands which SHOULD NEVER be executed in Linux. Any of them will cause data loss or corruption, can freeze or hang up running system.

NEVER RUN THESE COMMANDS IN LINUX BOX CLI!

Even if somebody advises you in forum/im to do it.

1. Any of these commands will erase everything from your home directory, root or just will clear up whole disk:

 

Read the rest of the “13 Linux lethal commands.”

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz

GLENN BECK: Woman in Arizona writes open letter to nation’s leadership

by @ 10:11 am. Filed under off-topic

Whether this actually happened is irrelevant. I feel these words:

“I am a home grown American citizen, 53, registered Democrat all my life. Before the last presidential election I registered as a Republican because I no longer felt the Democratic Party represents my views or works to pursue issues important to me. Now I no longer feel the Republican Party represents my views or works to pursue issues important to me. The fact is I no longer feel any political party or representative in Washington represents my views or works to pursue the issues important to me. Instead, we are burdened with Congressional Dukes and Duchesses who think they know better than the citizens they are supposed to represent.
There must be someone. Please tell me who you are. Please stand up and tell me that you are there and that you’re willing to fight for our Constitution as it was written. Please stand up now.
You might ask yourself what my views and issues are that I would feel so horribly disenfranchised by both major political parties. What kind of nut-job am I? Well, these briefly are the views and issues for which I seek representation:
One, illegal immigration. I want you to stop coddling illegal immigrants and secure our borders. Close the underground tunnels. Stop the violence and the trafficking in drugs and people. No amnesty, not again. Been there, done that, no resolution. P.S., I’m not a racist. This is not to be confused with legal immigration.
Two, the STIMULUS bill. I want it repealed and I want no further funding supplied to it. We told you No, but you did it anyway. I want the remaining unfunded 95% repealed. Freeze, repeal.
Three: Czars. I want the circumvention of our constitutional checks and balances stopped immediately. Fire the czars. No more czars. Government officials answer to the process, not to the president. Stop trampling on our Constitution, and honor it.
Four, cap and trade. The debate on global warming is not over. There are many conflicting opinions and it is too soon for this radical legislation. Quit throwing our nation into politically-correct quicksand.
Five, universal healthcare. I will not be rushed into another expensive decision that will burden me, my children, and grandchildren. Don’t you dare try to pass this in the middle of the night without even reading it. Slow down! Fix only what is broken — we have the best health care system in the world — and test any new program in one or two states first.
Six, growing government control. I want states rights and sovereignty fully restored. I want less government in my life, not more. More is not better! Shrink it down. Mind your own business. You have enough to take care of with your real [Constitutional] obligations. Why don’t you start there.
Seven, ACORN. I do not want ACORN and its affiliates in charge of our 2010 census. I want them investigated. I also do not want mandatory escrow fees contributed to them every time on every real estate deal that closes — how did they pull that one off? Stop the funding to ACORN and its affiliates pending impartial audits and investigations. I do not trust them with taking the census with our taxpayer money. I don’t trust them with any of our taxpayer money. Face up to the allegations against them and get it resolved before taxpayers get any more involved with them. If it walks like a duck and talks like a duck, hello. Stop protecting your political buddies. You work for us, the people. Investigate.
Eight, redistribution of wealth. No, no, no. I work for my money. It is mine. I have always worked for people with more money than I have because they gave me jobs — and that is the only redistribution of wealth that I will support. I never got a job from a poor person! Why do you want me to hate my employers? And what do you have against shareholders making a profit?
Nine, charitable contributions. Although I never got a job from a poor person, I have helped many in need. Charity belongs in our local communities, where we know our needs best and can use our local talent and our local resources. Butt out, please. We want to do it ourselves.
Ten, corporate bailouts. Knock it off. Every company must sink or swim like the rest of us. If there are hard times ahead, we’ll be better off just getting into it and letting the strong survive. Quick and painful. (Have you ever ripped off a Band-Aid?) We will pull together. Great things happen in America under great hardship. Give us the chance to innovate. We cannot disappoint you more than you have disappointed us.
Eleven, transparency and accountability. How about it? No, really, how about it? Let’s have it. Let’s say we give the buzzwords a rest and have some straight honest talk. Please stop trying to manipulate and appease me with clever wording. I am not the idiot you obviously take me for. Stop sneaking around and meeting in back rooms making deals with your friends. It will only be a prelude to your criminal investigation. Stop hiding things from me.
Twelve, unprecedented quick spending. Stop it now. Take a breath. Listen to the people. Slow down and get some input from nonpoliticians and experts on the subject. Stop making everything an emergency. Stop speed-reading our bills into law. I am not an activist. I am not a community organizer. Nor am I a terrorist, a militant or a violent person. I am a parent and a grandparent. I work. I’m busy. I am busy, and I am tired. I thought we elected competent people to take care of the business of government so that we could work, raise our families, pay our bills, have a little recreation, complain about taxes, endure our hardships, pursue our personal goals, cut our lawn, wash our cars on the weekends and be responsible contributing members of society and teach our children to be the same all while living in the home of the free and land of the brave.
I entrusted you with upholding the Constitution. I believed in the checks and balances to keep from getting far off course. What happened? You are very far off course. Do you really think I find humor in the hiring of a speed reader to unintelligently ramble all through a bill that you signed into law without knowing what it contained? I do not. It is a mockery of the responsibility I have entrusted to you. It is a slap in the face. I am not laughing at your arrogance. Why is it that I feel as if you would not trust me to make a single decision about my own life and how I would live it but you should expect that I should trust you with the debt that you have laid on all of us and our children. We did not want the TARP bill. We said no. We would repeal it if we could. I am sure that we still cannot. There is needless urgency and recklessness in all of your recent spending of our tax dollars.
From my perspective, it seems that all of you have gone insane. I also know that I am far from alone in these feelings. Do you honestly feel that your current pursuits have merit to patriotic Americans? We want it to stop. We want to put the brakes on everything that is being rushed by us and forced upon us. We want our voice back. You have forced us to put our lives on hold to straighten out the mess that you are making. We will have to give up our vacations, our time spent with our children, any relaxation time we may have had and money we cannot afford to spend on bringing our concerns to Washington . Our president often knows all the right buzzwords like unsustainable. Well, no kidding. How many tens of thousands of dollars did the focus group cost to come up with that word? We don’t want your overpriced words. Stop treating us like we’re morons.
We want all of you to stop focusing on your reelection and do the job we want done, not the job you want done or the job your party wants done. You work for us and at this rate I guarantee you not for long because we are coming. We will be heard and we will be represented.. You think we’re so busy with our lives that we will never come for you? We are the formerly silent majority, all of us who quietly work, pay taxes, obey the law, vote, save money, keep our noses to the grindstone… and we are now looking at you.
You have awakened us, the patriotic freedom spirit so strong and so powerful that it had been sleeping too long. You have pushed us too far. Our numbers are great. They may surprise you. For every one of us who will be there, there will be hundreds more that could not come. Unlike you, we have their trust. We will represent them honestly, rest assured. They will be at the polls on voting day to usher you out of office.
We have canceled vacations. We will use our last few dollars saved. We will find the representation among us and a grassroots campaign will flourish. We didn’t ask for this fight. But the gloves are coming off. We do not come in violence, but we are angry. You will represent us or you will be replaced with someone who will. There are candidates among us who will rise like a Phoenix from the ashes that you have made of our constitution.
Democrat, Republican, independent, libertarian. Understand this. We don’t care. Political parties are meaningless to us. Patriotic Americans are willing to do right by us and our Constitution, and that is all that matters to us now. We are going to fire all of you who abuse power and seek more. It is not your power. It is ours and we want it back. We entrusted you with it and you abused it. You are dishonorable. You are dishonest. As Americans we are ashamed of you. You have brought shame to us. If you are not representing the wants and needs of your constituency loudly and consistently, in spite of the objections of your party, you will be fired. Did you hear? We no longer care about your political parties. You need to be loyal to us, not to them.. Because we will get you fired and they will not save you.
If you do or can represent me, my issues, my views, please stand up. Make your identity known. You need to make some noise about it. Speak up. I need to know who you are. If you do not speak up, you will be herded out with the rest of the sheep and we will replace the whole damn congress if need be one by one. We are coming. Are we coming for you? Who do you represent? What do you represent? Listen. Because we are coming. We the people are coming.”

 

Maybe this has nothing to do with Linux. In some way, down the road, eventually, It may. Nonetheless, I fully love it.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz

Steve Ballmer Photo Created Entirely from BSODs

by @ 9:39 am. Filed under humor

I love this:

Steve Ballmer from BSODs

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz
OpenSUSE Linux Rants
Official OpenSUSE Linux Site

internal links:

categories:

SUSE Resources

search blog:

rss feeds

news & syndication

archives:

February 2010
S M T W T F S
« Jan    
 123456
78910111213
14151617181920
21222324252627
28  

latest tweets:

134 queries. 1.120 seconds