Home Blog Page 2802

New York Times: Meet the Defenders of Free Software

New York Times reporter Ashlee Vance reported today on the Linux Foundation’s Open Compliance program and how we work closely with the individual defenders of free and open source software.

Ashlee paints a compelling picture of the differences between license compliance in proprietary vs open source software. The former? The Business Software Alliance and multi-million dollar software audits and lawsuits. The latter? Indivuals like Armijn Hemel and other leaders such as the Free Software Foundation, the Software Freedom Law Center, Harold Welte and many others who work with companies to ensure they understand and comply with license compliance.

This is where the Linux Foundation’s program comes in. Our Open Compliance Program adds to those efforts and gives companies the resources they need to understand the quite simple requirements of open source licenses so compliance issues don’t happen in the first place. Ashlee includes an example with Dell where the program has already paid dividends via our Open Compliance Directory.

Speaking of defenders of Free Software, we were lucky enough to have FOSS legal pioneer Eben Moglen keynote Linuxcon this year in Boston. If you haven’t watched his speech (which received a standing ovation), and you’re interested in the thought and motivation behind open source licenses you can view it here.

Thanks to the pioneers of open source licenses and the developers and defenders of the code, we are all enjoying shared research and development and rapid innovation across every industry today. License compliance is an important driver of that innovation.

The Defenders of Free Software

Armijn Hemel, 32, lives with his parents in Tiel, a town smack-dab in the middle of the Netherlands. He works as a technology consultant that spends several hours a week on his avocation: pestering some of the world’s most powerful consumer electronics companies and technologies companies. Mr. Hemel serves as a volunteer watchman for free, open-source software…

Read more at The New York Times

Installing adobe flashplayer for ubuntu 64-bit

 

Ubuntu is a great linux OS, if not the best, that offers so much in the opensource world. I’ve used it for almost a year, fully, and up to this point, have not had one major complaint. Now it is my primary desktop system, yeeha!!!

 

One of the reasons why ubuntu has been so successful is its ability to support different file formats, like mp3, wma, MPEG-4, .doc. PDF and others. This support codecs are not enabled by default, however ubuntu developers will be porting default codecs that will read these files.

 

One of the codecs I like is the adobe flashplayer. This allows my PCs the ability to watch online movies. To do that, you need the media file that can view online media content, that being adobe flash.

 

In Windows you have to install flash from the adobe website and off you go. The same is true in ubuntu, huge points given for this. The difference is you have to download the .deb or .tar.gz compressed file package. I rather use .deb because it allows the system to install the file automatically. This is done for the 32bit version of ubuntu, however, it is more trickier for the 64bit version.

 

I started out with the 32bit version of ubuntu, which, for lack of a better phrase, “just works”.Now I am using an AMD64 dual core architecture and want to take full advantage of its power, so 64bit ubuntu was installed. As you can imagine, what I did in the 32bit I wanted to do in the 64bit.

 

The first thing to do was enable adobe flashplayer. Unfortunately, there are no .deb package files to install, it has to be done manually. This is when you start to get into the nuts and bolts of the command line.

 

Adobe flash for 64bit ubuntu is still in the alpha mode and adobe plans to release the stable version for linux 64-bit sometime in the year of 2010. Goods news though, the alpha release is stable for the most part and works fine on my system.

 

To get things started, you will need to download “libflashplayer-latest_closed_beta.linux-x86_64.so.tar”.

You can download it directly from this site: http://go2.wordpress.com/?id=725X1342&site=nxadm.wordpress.com&url=http://home.scarlet.be/var/tmp/libflashplayer-lasted_closed-bete.linux-x86_64.so.tar.gz&sref=http://nxadm.wordpress.com/2009/04/26/install-64-bit-adobe-flash-player-on-ubuntu-904/

 

I prefer to download the file to your preferred folder through the terminal using the wget command.

 

cd <to you preferred folder>

wget <download link>

 

Once the file is downloaded, it will be in a .tar zip file. Unzip the file.

 

Within the folder thar flash file was downloaded to:

 

tar xvzf  libflashplayer-latest_closed_beta.linux-x86_64.so.tar

 

Now you are going to create a plugin folder in your home directory instead a system directory. Flashplayer is a browser plugin that allows internet browsers to decode media content. The plugin is accessed by the browser from an application plugin folder located on your system.

 

To create the plugin folder, change to your home folder:

 

cd <home folder.

sudo mkdir –p .mozilla/plugins

 

Then you are going to move the decompressed libflashplayer.so file to the plugin folder.

 

mv <location of the decompressed libflashplayer.so file>/libflashplayer.so .mozilla/plugins

 

If you can’t move the file into the plugin folder form the terminal, as I had that problem, you can do it manually by dragging and dropping.

 

Go to places>home folder>

 

Type, ctrl+h, this will reveal all hidden folders and files.

 

Move the libflashplayer.so file to the .mozilla/plugins folder.

 

Restart firefox and go to the about:plugins to see if libflashplayer.so is visible.

 

In the address bar, type, about:plugins

 

Under shockwave flash, you should see the libflashplayer.so file. This mean flash is enabled.

 

You are all done. Now you can listen to you favorite online music sites or watch your favorite online movies and videos.

 

Conclusion:

Flashplayer only works for the user account it was installed under. To use it for any other accounts on your system, you will have to repeat the process.

 

To view the site where I got this information visit,

http://nxadm.wordpress.com/2009/04/26/install-64-bit-adobe-flash-player-on-ubuntu-904/

Tracking Weekly Enterprise Linux News & Trends

Linux’s adoption in the enterprise has been accelerating for more than a decade, and the role of the OS in this environment is more strategic than ever. Linux is accelerating innovation for delivering IT services internally with virtualization technologies and is enabling new models for customers to build businesses based on Linux using cloud computing.

In an effort to capture notable enterprise Linux news and trends, The Linux Foundation will be surfacing some of the important milestones and announcements for enterprise Linux each week. We hope this is useful to our members and to the Linux.com community and we welcome your feedback and additions to these highlights in the comments section. 

This week was studded with major enterprise Linux news. The story that probably got the most attention was Oracle’s Enterprise Linux Kernel. The company describes it as a “fast, reliable, modern Linux kernel that is optimized for Oracle’s software and hardware.” It is based on its previous “Unbreakable Linux” offering, which is based on Red Hat Enterprise Linux (RHEL). This ongoing evolution of Oracle’s Linux strategy has drawn both applause and critisism, but there is no denying its contributions to the Linux kernel community and its competitive vigor. We’ll watch to see how customers receive this latest move.

Speaking of Red Hat, the company this week announced its earnings for its fiscal year 2011 second quarter and continued to demonstrate how an open source software company can dominate in any economy.  Red Hat reported total revenue for the quarter was up 20% from the year ago quarter. Subscription revenue was up 19% year over year. CEO Jim Whitehurst pointed to a variety of reasons for this success, including Red Hat’s Cloud Foundation portfolio.

Network monitoring and systems management vendor Zenoss this week released its own report on virtualization and cloud computing. It surveyed about 200 organizations and found that flexibility was the leading driver for adopting these technologies, while securitiy remains the biggest concern. VMware and Amazon EC2 lead the pack for applications deployments, but the report concludes that Xen, KVM, Rackspace Cloud and Google App Engine are experiencing increasing action.

It’s also worth noting the product and technology announcements from Cisco and Amazon this week. Sean Michael Kerner of InternetNews reports on Cisco’s new Linux switches for small business. Kerner’s report includes that Cisco uses Linux for its 300 Series because it helps reduce the time needed to train partners and customers. The TechTarget crew has you covered on the new Amazon Machine Image (AMI) focused on Linux.

Lastly, this weekly report would not be complete with out mentioning the ongoing rumors about VMware and Novell. The Wall Street Journal has been tracking the story and when something has been confirmed, we’ll share it here.

Weekend Project: Set Up a TFTP Server on Linux

Most users are familiar with FTP, but if you want to kickstart Red Hat installs, PXE boot systems, auto-provision VoIP phones or unbrick a Linux-based router, you want a Trivial File Transfer Protocol (TFTP) server. Setting one up on Linux is easy, and a perfect project to take on over the weekend.

TFTP (RFC 1350) is very low-overhead variant of the more familiar FTP that you are probably already used to interacting with. It is optimized for transferring files over a local network to small devices that may not even have permanent storage. In the old days, that originally meant thin clients booting over the network. Today there are still network services that depend on TFTP (most notably the Linux Terminal Server Project and Red Hat’s Kickstart remote-installation system) but it has taken on a second important role in VoIP, as the preferred way to “auto-provision” many IP telephones and analog telephone adapters (ATAs), distributing configuration files at boot time in a manner similar to DHCP. In addition to that, if you accidentally brick your Linux-based router while installing DD-WRT, TFTP may be your only path to restoring it. Fortunately, even though the protocol might not get the same public respect as FTP, Linux supports it just fine.

TFTP uses UDP as its transport protocol, on the reserved port 69. Like FTP, it can be used in either ASCII or binary mode, but unlike FTP it has no directory-listing or navigation features, because it was not primarily designed for interactive client use. Instead, TFTP clients typically boot up and request a specific file. If a listening server has the file, it acknowledges the request and begins transferring it.

This is a very simple process, which is what makes TFTP popular for thin client setups like Preboot eXecution Environment (PXE) and for embedded devices without built-in or USB-attachable storage. But it also includes no authentication step or access control methods, which makes man-in-the-middle attacks a very real security issue when dealing with VoIP deployments that require a support server to be running constantly.

An attacker that compromises the TFTP server can send rogue configuration files that do anything from register phones with different Session Initiation Protocol (SIP) gateways to perform denial-of-service by setting bad configuration parameters. Attacking a PXE system is a little more difficult, since the setup also includes DHCP, but it is certainly possible to upload a bad bootimage to thin clients.

On the other hand, if you just need to unbrick your router or flash a device with new firmware over TFTP, you do not need to run a TFTP server constantly. If you are really paranoid, you can just disconnect the WAN connection during the process. Since the two use cases are so different, the best choice for a static TFTP server probably is not the choice you would want just for an isolated job. We will consider each in turn.

Setting up static TFTP

For administrating a netboot or VoIP deployment, there are two main Linux TFTP server projects to choose from: tftpd-hpa and atftpd. The former is a port of OpenBSD’s TFTP daemon, though the Linux version has diverged over the course of several releases. Atftpd (which stands for Advanced TFTPd) is native to Linux. Both include support for several newer TFTP revision options, such as negotiable transfer block sizes and negotiable time-outs.

Your distribution may package one or the other, or both. If you are faced with a choice, the main differences between the two are in their security features and support for multicast TFTP.

Atftpd provides only host-level security using the libwrap TCP wrapper library. You can add TFTP clients by host name or address to /etc/hosts.allow or use exclusion rules in /etc/hosts.deny. Tftpd-hpa, on the other hand, respects rules in both hosts.allow and hosts.deny, but also implements several other security features. By default, it can only serve files that are publicly readable (i.e., o+r), and will only allow files to be uploaded by clients if the filename in question already exists and is publicly writable. Finally, starting the daemon with the -s option performs a chroot to the TFTP file directory to prevent an attacker from accessing anything else on the server.

Only atftpd, however, supports multicast TFTP, both the version specified in RFC 2090 and the slightly-different version that is part of the PXE specification. Thus, if you need to support PXE thin clients, atftpd is the better choice, but for all others, including VoIP provisioning, the added security features of tftpd-hpa are worth having.

Both servers can be started either by inetd or as standalone daemons, and store a configuration file in /etc/default/.

The tftpd-hpa server’s file is /etc/default/tftpd-hpa. By default it includes the line RUN_DAEMON="no", which allows it to be started and managed by inetd. Change this value to “yes” to start the server as a daemon instead. The OPTIONS= line lists a quoted series of run-time configuration flags, the most important of which is -s /path/to/tftp/directory.

Atftpd’s configuration is found in /etc/default/atftpd. By default, it includes USE_INETD=true to indicate inetd management; change this to false to run atftpd as a daemon. Aftpd requires that you specify the TFTP directory as the final argument, after all of the command-line switches, so you would simply append /var/tftpd to the end of its OPTIONS line.

Next, make sure that you create the TFTP directory you intend to use (say, /var/tftp/), and give it the proper ownership and permissions. Both daemons run as user nobody by default, so run chown -R nobody /var/tftp to set the ownership correctly, and chmod -R 777 /var/tftp to assign the correct permissions. Then, start the daemon: either execute /etc/init.d/atftpd restart or /etc/init.d/tftpd-hpa restart. Both services uses the standard Linux syslog utility, with run-time verbosity control so you can monitor their behavior.

For advanced usage, each of the servers also provides a way to serve alternate contents when it receives a specific file request, based on regular-expression matching and replacement. This can be useful when a device is hard-coded to request a specific firmware image, but you need to flash it with a newer replacement. But the two servers differ in their implementations. Atftpd uses Perl-Compatible Regular Expressions (PCREs), and allows for simple pattern/replacement pairs based on filename. Tftpd-hpa uses POSIX regular expression syntax, which is not as flexible, but it allows file remapping rules to be based on client IP address in addition to matching filenames alone.

The Simpler Case: TFTPing a Single File

If all you need to do is make one file available over TFTP for a short period of time, including restoring the factory firmware to a bricked router or uploading an update to your Cisco IP phone, you do not need to install and configure a full service like either of those discussed above. While it would be nice if Linksys and Cisco provided a simple command-line or GUI TFTP application for these occasions, neither do.

There is at least one robust, painless-to-use standalone TFTP app for Linux, though: tftpgui. Written in Python, tftpgui is meant to run as a user-initiated interactive application. The author documents its use with a variety of Cisco equipment, and it has also been tested with Vonage, Sipura, Linksys, and Grandstream hardware.

Currently, no distributions package tftpgui, so you will need to grab the latest tarball from the project’s downloads page. You can unpack its contents anywhere; it does not need to be compiled and installed to be used. In order to run on the default port of 69, you must launch the GUI as root, so execute sudo python ./tftpgui.py & to get started.

There are four buttons at the top: Start and Stop enable and disable the server, Exit closes the GUI, and Setup allows you to specify configuration rules. You must select a TFTP directory holding the files you need to move, and you can specify a log directory and change the UDP port on which the server listens.

The one security feature tftpgui includes is the ability to restrict incoming TFTP requests to a specific subnet, so if you must run the application in a hostile environment, you can at least try to isolate yourself to a vacant subnet before starting. You can also enter the remote clients IP address and specify a subnet mask of 32, even though purists may call that cheating.

After you apply any configuration settings and press Start in the main window, the main canvas will report any TFTP requests and return codes. You can then restart the remote device and watch its TFTP request hit the server, or if you are attempting to de-brick a router, follow whatever steps the instructions tell you to do.

Tftpgui does not support any of the extended protocol options like filename replacement or multicasting, but if you were stuck without a simple way to serve up a replacement firmware image or provisioning file, it may fit the bill.

In some ways, TFTP is a relic from the 1980s. As embedded devices get smarter and memory gets cheaper, more and more OEM products that used to use TFTP alone as their update mechanism are starting to include embedded HTTP stacks. That certainly makes it easier to troubleshoot, since most Linux boxes have Apache or another web server already installed. Still, when you find yourself trapped with a device that speaks only an unfamiliar protocol, it is reassuring to see that on Linux machines, old RFCs never die.

PacketFence NAC 1.9.1 Released

The Inverse development team has announced the release of version 1.9.1 of PacketFence, the free and open source network access control (NAC) system

Read more at The H

5 Reasons to Wrap Your Enterprise in Python

 By now, you should at least be passingly familiar with Python. One of the fastest-growing languages, Python has been gaining popularity for years and has reached a level of maturity that makes it a top choice for enterprise development. Companies from Microsoft to Google have embraced Python and are not only supporting its use, but also investing in its development. Google uses it to power some of the world’s most scalable applications. Developers pick it up quickly and easily.

Read more at LinuxInsider

Mozilla Seabird Agitates for Better Mobile Phones

The Seabird project is a concept for a phone with dramatically overhauled user interface for a more productive device. Too bad it’s just an idea.

Read more at CNET News

Pithos Melds Pandora Streaming with Linux Desktops

Sure, Pandora plays in a browser windows, but it can end up eating CPU cycles, causing instability, and requiring more window space than necessary. Pithos puts Pandora in a Linux desktop window, and makes it easy and convenient to use.

 

Read more at Lifehacker

CUDA Support in OpenCV Announced at GTC

From the start of next year, the open source OpenCV library will be able to utilise the computing power of GPUs

Read more at The H