Linux.com

Community Blogs



Fedora 11 quick review.

Friday I was asked to take a clients laptop home with me and do a wipe and load of the OS in my free time. As usual, windows was all jacked up to the point where it was just about unusable and they had already backup up their important stuff. I thought "what a great time to try the new version of Fedora that I just downloaded last week". Today is Sunday and I finally have some time to play around with it.

This is a very nice laptop by my standards. I don't play games on the computer, I have a PS3 for that. I use my computers for work and communication so I don't really need the latest and greatest. I believe that you don't need a Ferrari to go get groceries. This laptop is a Compaq 6710b. It's got a Centrino Duo 2.0 Ghz processor and has been upgraded to 4 gigs of RAM. PLENTY of power. The server that is hosting my domain right now has less resources than that.

Lets get started. I always like to choose the DVD installer if that's an option. I prefer to customize some of the software that will be installed before hand. I know a lot of techs who prefer to use the live CD and just to get a default group of packages so that they can quickly get up and running. I find that when I do that there is always some thing I wish was different. Plus I'm never in a hurry I always have another computer I can play on while I wait on the install to complete. This time I went ahead and went with the Gnome desktop environment for a couple of reasons. One reason is because I have found that many distros tend to concentrate on refining their main desktop environment, and even though they offer the others as an option they don't spend nearly as much time making them slick. Another reason is that its been a while since I did a Gnome install and this release is supposed to be an exceptional one.

The installation went very well. But then again so did Fedora 10 when I tried it so nothing new here. I went ahead and told it to use the entire disk and let it choose the partition layout. I chose not to install openoffice because it is rather large and I'm not going to leave Fedora on here for more than a few hours while I play around. The rest of the install went off without a hitch.

After the first boot I logged in a was greeted with the usual Gnome login sound meaning that my sound card was recognized correctly. First thing I noticed was that you can no longer just grab a panel and drag it to change locations. You now have to right click and goto properties and change the "orientation". I change mine to the bottom, its just more comfy to me. I actually don't remember if it was like this in F10 but it seems new to me. Next I clicked on the Network manager Icon and I see that it found my wireless network. I click to join, put in my passkey and just like that I'm on the Internet. Things are looking great so far, although I must say the default background image is not nearly as beautiful as the one in F10, but that can easily be changed. Next I fired up Firefox and added the Xmarks plugin to get my bookmarks and passwords. This is a fabulous extension that lets you sync your bookmarks and passwords across multiple computers. Great for a guy like me who uses so many different computers in different locations. I then went to adobe and download the .rpm version of flash and it installs very easily. I then goto a site that uses java, and that works out of the box as well. Then I remembered a strange Icon right above the password box when I logged in that I wanted to know what was, so I disabled SElinux and rebooted.

During the reboot I took the time to use the second hand of my watch and time the boot process. It took 27 seconds to bring me to the login prompt. Pretty darn fast. I now get the chance to see what the new Icon is. I click on it and it says I can login with the fingerprint reader! That's awesome. It even picked up the fingerprint reader out of the box. Linux has come so far! I played around with it for about another hour and was unable to find anything about it that I didn't like. This has got to be the best release of Fedora I have ever tried. I'm thinking I may install it again with KDE to see how they implemented that. You never know it might lure me away from Mandriva.

 

Puppy Linux 4.2.1 – wireless regression saga

Don't ignore Puppy GNU/Linux. Puppy is the best lightweight live CD linux distribution and comes with nearly every application and/or utility anyone would need. There is no reason not to at least give it a try as it is not at all necessary to even permanently install it to your hard drive. Further, Puppy Linux is the distribution where “everything works” more so that any other GNU/Linux distribution. Note that I intentionally avoided the popular “just works” term as several pieces require some configuration to work properly but puppy prompts the users and walks the user through the configuration process in a easy step by step process. Case in point, it literally took me months to get my Broadcom wireless working in Ubuntu 8.04 while Puppy 4.1.1 autodetected it and it was working with a few gui mouse clicks. It is a Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02) on an Acer Aspire 5100 laptop with a 2 Ghz 64 bit Turion AMD processor and 1 GB of RAM (running 64-bit Ubuntu Hardy.) How I finally got wireless working on Ubuntu was with ndiswrapper and wicd (I never was able to get wireless working with gnome network manager.) Since wireless was such a struggle with Ubuntu, I was amazed that it was so simple with Pupppy Linux 4.1.1 (and thought that Ubuntu could learn a thing or two from Puppy about hardware detection.) (Just in case anyone wonders why I stuck with Ubuntu when it took so long to get wireless working on my laptop, the reason is that this laptop is plugged into a wired ethernet cable 97% at home of the time and so I rarely actually had a need for wireless.)

Puppy Linux was first released in June 2003 by Barry Kauler and had pretty much been a one-man show until Mr. Kauler stepped aside for WhoDo (Warren Willson) to lead the development of Puppy 4.2. The screenshots of 4.2 released in Spring 2009 showed a more modern professional look to the distro which I found most appealing and was looking forward to trying. When I booted to it, it looked amazing!! The biggest drawback is that my Broadcom wireless no longer worked. It was not autodetected and would not install via the puppy connection wizard. It was autodetected as B43 pcmcia Broadcom B43 wireless driver under 4.1.1, so I tried that and I tried BCM43xx pci BCM43xx wireless driver (which actually seemed more appropriate for my card) but was successful with neither. The only other real drawback is that after saving settings and configurations following the first boot and creating the pupsave file, puppy would not allow the CD Rom drive to be unmounted following the subsequent boots. This renders that CD/DVD/reader/writer useless for reading / playing CDs/DVDs and or any burning activities of any kind. I didn't report the wireless issue as a bug as there was already a Broadcom wireless bug reported and it seemed that this bug report would cover my problem, too. (I somehow figured that the CD unmount problem must also have been reported, too.)

When WhoDo announced the Puppy Linux 4.2.1 bugfix release, I was very much looking forward to seeing my issues fixed, but much to my dismay, the wireless problem persists. The announcement and subsequent comments seemed to indicate some turmoil and much frustration between WhoDo and the community in the course of the development process and indicated that this bugfix release concludes WhoDo role as lead project developer. As such, it would be hard to imagine another bugfix update. My only choice might be to use 4.1.1. if functioning wireless is important to me. I did not yet test to see if 4.2.1 would allow unmounting of the CD following a boot after creating a pupsave file.

On a different issue, it has always been the Puppy developer's philosophy to always have Puppy run as the root user / account. While I have read and understand the rational, I do wish that he would make this modifiable and customizable for those who are performing a full (or frugal) hard drive install and would prefer to have a limited (secure) root account (or even disable root account as in Ubuntu) and a regular user account for routine use. While Ubuntu has the root account disabled and administrative access is gained through sudo, if any given user wants to change this on his/her installation, he/she sure may do so and enable the root account and log in as such (isn't choice part of the appeal and beauty of GNU/Linux freedom?) I understand that is it the developer's prerogative to implement this default behavior as he so chooses, but I do not understand the developer not allowing for this simple modification / customization (by a user who is not already a developer / coder.)

Still despite the issues, Puppy GNU/Linux is the best, most complete, most functional, lightweight GNU/Linux distribution around – bar none. I have used it for pre-partitioning using Gparted prior to an Ubuntu hard drive install, for data recovery, and for using my wife's work laptop so as not to leave a trace behind once I am finished and without needing to know any login usernames or passwords. Many thanks and kudos to Barry Kauler (and his helpers from the community) for sharing his (and their) work resulting in Puppy GNU/Linux through 4.1.1. Also, many thanks to Warren Willson (aka WhoDo) (and his helpers from the community) for sharing his (and their) work resulting in Puppy GNU/Linux 4.2 and 4.2.1 (although a further bug fix release would be much appreciates.)

Thanks for reading.

stlouisubntu

 

Add all Launchpad.net PPAs to you Ubuntu with ppa-pkg

Gold Roger

Remember Gol D. Roger and his legendary treasure "One Piece" ?! :D ..

Yeah, I found the One Piece. But, that's not means "I created it!" or the first one who found it. But, I think that I'm the first one who said : "I left everything I own in One Piece! " in this case!!.

Here what I mean:
If very interested in update your softwares to the latest versions like me, you must to know about launchpad.net and its PPAs!.
there is houndeds of software PPAs you can keep your Ubuntu up-to-date with it.
but sometime founding this PPAs is difficult! and add it with GPG is much more harder!.. You must to do it manually!!
Now you don't!.. Just download this file: ppa-pkg_1.0_all.deb  and install it then go to Synaptic and update the repositories by clicking "Reload" icon. you may search about "ppa" in Synaptic to install some/all of the PPAs
see this screen-cast: Add all Launchpad.net PPAs to you Ubuntu with ppa-pkg

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/n2mnW3LQLJs&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/n2mnW3LQLJs&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
 

Debian, Upgrading to Lenny, ERROR, no public key available for the following...

I've spent one day crushing my head against a weird problem, never seen it on Debian, I was only updating four Debian "etch" to "lenny" and in two of them I've seen this:

han:~# apt-get update
...
...
Fetched 74.7kB in 0s (87.4kB/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
9AA38DCD55BE302B
W: GPG error: http://xxx.xx.xxx.org lenny Release:
The following signatures couldn't be verified because the public key
is not available:
NO_PUBKEY 9AA38DCD55BE302B
W: You may want to run apt-get update to correct these problems

So I did what I've read and issued the apt-get command again

han:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
...
Fetched 74.7kB in 0s (99.9kB/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
9AA38DCD55BE302B
W: GPG error: http://ftp.it.debian.org lenny Release:
The following signatures couldn't be verified because the public key
is not available:
NO_PUBKEY 9AA38DCD55BE302B
W: You may want to run apt-get update to correct these problems

But still no luck, the problem raised again
I was thinking: what should I do next ?

After some google searches and after reading about gpg keys I've decided to solve the problem in this way:

1) As first thing I've decided to import this missing key with gpg, so run:

han:~# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B
gpg: directory `/root/.gnupg' created
gpg: can't open `/gnupg/options.skel': No such file or directory
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 55BE302B from hkp server
wwwkeys.eu.pgp.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 55BE302B: public key "Debian Archive Automatic
Signing Key (5.0/lenny) " imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

Got it ! So pgp.net replied my about authenticity of this Lenny key, so I've imported the newly created key to apt-get source packages, here's:

han:~# apt-key add .gnupg/pubring.gpg
OK

Issued again apt-get update:

han:~# apt-get update
...
Fetched 1033B in 0s (1400B/s)
Reading package lists... Done

 

And everything worked like a charm

Hope it helps someone else, read blogs and save time

 

Andrea Ben Benini

 

Slackware Linux Tip-of-the-day: The alias command

The alias command allows you to setup a one line command to be run under an alias in bash. A simple example is : 

 

  • alias=ls, this allows you to invoke the ls command by typing dir (this can be useful for windows users). 

 

The alias command can be invoked within the command line, within a script or as part of your .bashrc file.

 The limitation is that the alias only exists within the shell that it was invoked in, if you run it as a command in a terminal the alias will be removed when the terminal closes. the exception is when you add it to you .bashrc file, when it is loaded into this file the alias will be present in all future bash terminal sessions. 

The site http://www.linfo.org/alias.html hasmore information and some examples to help you get comfortable with the functionality.

The base files is different for each shell type, but since bash is the most used I am covering it here.

 

Debian: Find package name from program name

Back again,
This time it's Debian's time, when managing multiple hosts and installations sometimes happens you need to know what package owns a certain utility.

Recently I've faced a quite common problem, I'll take it as an example so it's more clear, I had a common and popular program "pdftotext" and I wanted to have it into another debian installation, quite easy isn't it ? you only need to remember what package has it.

While fighting with Ghostscript program and PostScript files was quite easy to check where this utility is, just take a look at ghostscript related packages (with apt-get, aptitute, ...) and see where your program could be (guess it...)

In my particular case "pdftotext" (my example) wasn't inside some package called "ghostscript*" but inside "poppler-utils"; don't want to blame poppler maintainers but I don't really remember where the utility was

So while looking at dpkg (Debian father for all CLI packages utilities) command line I was captured by -S switch and here's my final solution:

mymachine:/# dpkg -S `which pdftotext`
poppler-utils: /usr/bin/pdftotext

And here's, easy and dirty trick to get information from an utility name, then poppler-utils was my package name and I've installed it in the other machine

This goes for Debian, Ubuntu and mainly Debian based distros

 

Easy, isn't it ?

 

Hope it helps, glad to hear your comments

Andrea (Ben) Benini

 

 

Slackware

Slackware 12.2:

It's same old slackware  style -- a simple distro, but with a twist....

Aside from a new kernel that supports some new driverless web cams

It also packs an upgrade/patch tool in the form of slackpkg, which greatly simplifies getting the latest patches/upgrades.

 It also works with common wifi devices out of the box, so no need to search for and download  drivers for your wireless LAN devices

 Another thing to watch out for is the 64 bit Slackware, which may be coming out really soon...

check out www.slackware.com 

 

 

 

Counting the days.

As I wait for the next release of Fedora in 6 days, recently I have been spending some time away from GNU/Linux and playing with OpenSolaris UNIX. And might I add that it is a very impressive distribution. From the implementation of ZFS (and the Time Slider feature in GNOME) to Dtrace along with some other nice features.

I have worked with Solaris for many years and while Sun has always been ahead of its time with features and functionality, they always lacked in usability over the GUI. Usability over the CLI was always great and always there, it is just the GUI never looked good as it traditionally defaulted to CDE until recently (GNOME).

Spending more time with ZFS just makes me look forward to seeing a stable Btrfs in the Linux kernel.

 

Ubuntu Developer Summit for version 9.10

From Site :

25.05.09  Ubuntu Developer Summit for version 9.10 is beginning.

 

At the beginning of a new development cycle, Ubuntu developers from around the world gather to help shape and scope the next release of Ubuntu. The summit is open to the public, but it is not a conference, exhibition or other audience-oriented event. Rather, it is an opportunity for Ubuntu developers -- who usually collaborate online -- to work together in person on specific tasks.

Small groups of developers will participate in short Forum and Workshop (formerly called "BoF"/Birds-of-a-Feather) sessions. This allow a single project to be discussed and documented in a written specification. These specifications will be used for planning the new release of Ubuntu, as described in FeatureSpecifications and TimeBasedReleases.

 

Gentoo Easy Upgrade Script

If you just followed my previous blog about Gentoo you'll probably trying to understand what "easy upgrade" is for me and what I've to do for maintaining my system up to date.

If you take a look at the Gentoo Handbook you'll see how you can install and upgrade your system, expecially read Gentoo Upgrading Guide for making these tasks.

Syncing Gentoo portage is basically like the BSD upgrade, for a quick upgrade I've just made a script few years ago with the same commands listed in Upgrade guide, please feel free to contribute or mail me for corrections on the script.

But before the script it's important to understand the golden rule: read what your computer is writing to you, I think it should be applied to everything but expecially read what is saying, that's why I've placed a pause after each command; for example if you need to upgrade portage because it's telling you so then you've to do this so interrupt the script and upgrade portage, then re-run the script again from the step you're.

Comments and suggestions are welcomed:

#!/bin/bash
keypress() {
echo -n "hit any key to continue..."
read -n1 -e -r 2> /dev/null
echo
}

clear
echo "System Upgrade Script"
echo "--------------------------------------------------------------------------------"
echo
echo -n -e "portage sync ? ([y]/n) "
read key -n1 -e -r 2> /dev/null
if [ "$key" == "n" ]; then
echo
else
echo "Portage Sync"
emerge --sync
fi

echo
echo "Complete system upgrade (emerge --update --deep --newuse world)"
keypress
START=`date`
emerge --update --deep --newuse world
STOP=`date`
echo "Start : "$START
echo "End : "$STOP

echo
echo "Configuration files upgrade (etc-update)"
keypress
etc-update

echo
echo "Dependencies Clean (emerge --depclean)"
keypress
emerge --depclean

echo
echo "Dependencies Check and Rebuild (revdep-rebuild)"
keypress
revdep-rebuild

echo
echo
echo
echo "--------------------------------------------------------------------------------"
echo " System Upgrade Completed"
echo "--------------------------------------------------------------------------------"
echo
echo

RSync connection to gentoo hosts is maded only if you need it,  if you need to upgrade your system just make it once a day, it doesn't make sense to flood gentoo servers with rsync requests, and of course you'll be banned if you do so

Hope it helps

Any hints ?

 

Gentoo and BSD (a primer)

One of the best things from a metadistribution like Gentoo is its approach to upgrades and management

I've started using UNIX systems with Minix and Xenix, in '92-'93 I was rolling my Slackware distro with a brand new kernel called Linux, nobody knows it but it was fine and I was happy with it, never tried other Unices and neither worked with others. After a short period I've started on working with UNIX systems heavily and I've seen a lot of them, one of the biggest complaints were the system upgrades... oh what a mess.

While using Microsoft operating systems, upgrades were not even considered but after facing UNIX and some development movement due to Linux grow I was thinking upgrades are one of the most important parts of an entire system, one of my biggest concerns was:

"ok now I've a full upgraded/stable/configured system, it was a pain to get everything working but now it's fine, how can i maintain it stable forever ?"

Each time a major release came out configuration and reinstallation problems were the most common

After few years, I think '94-'95 I've tried something from the BSD world, I didn't remember what (think OpenBSD), one of my biggest problems there was: "where are my applications ? how can I install packages ?". Hell there weren't available in my system CD and I was searching for them across the net; after few good docs I've learned about package distribution and how my system can handle upgrades, it was a revelation to see source code packages (builds), download the source, auto-patch, compile and then install. The best thing I've ever seen and I was thinking something like: "oh damn, I wish to have something like this for Linux as well".

After it I've started using Linux from scratch approach (LSB), it was nice but each "major" upgrade was still a pain and I still need to patch and control everything by hand... since a day, a strange day, I was googling around and I saw the latest distribution of the day, it was called Gentoo. I've learned about Gentoo because one of the lead BSD developers ported its experience to Linux, I was following BSD (still I'm on it) and learned about this new distro.

I've tried it for a while and I was so impressed about portage and meta-packages, so I've decided to use it as my Main distro (I'm writing this blog from a Gentoo desktop system). Other features like code optimization and C compiler flags scared me for a while but now I'm fine and I can live with them

Here's how I've approached Gentoo, still using it since a lot of time and still happy with it

 

 
Page 16 of 18

Upcoming Linux Foundation Courses

  1. LFD211 Introduction to Linux for Developers
    08 Dec » 09 Dec - Virtual
    Details
  2. LFS220 Linux System Administration
    08 Dec » 11 Dec - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    15 Dec » 19 Dec - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board