“We wanted the book to be freely available (that is under the terms of a license compatible with the Debian Free Software Guidelines of course). There was a condition though: a liberation fund had to be completed to ensure we had a decent compensation for the work that the book represents. This fund reached its target of €25K in April 2012.” Raphaël Hertzog and Roland Mas hope that you will enjoy the book.
debian-handbook.info
Category Archives: computing
How Linux is built
“You use Linux everyday, whether you know it or not…”
The Linux Foundation
youtube.com
Canonical’s ticking time clock
“Ubuntu could have stayed relevant if Canonical hadn’t tossed aside its user base to pursue Unity and tablets.” Barbara Hudson shares her doubts about Canonical’s apparent strategy for Ubuntu.
www.linuxinsider.com
Introduction to VoIP
“Clearly, the future of telephony is the Internet, for which geographic location and distance don’t matter.”
Andrew Sheppard
Voice over Internet Protocol (VoIP) enables you to use the Internet for making phone calls. Calls from one VoIP phone to another are free and long-distance calls to a landline can typically be made for the price of a local call. VoIP also enables you to receive calls anywhere you connect to the Internet.
What Do You Need?
VoIP telephony requires reliable broadband connection to the Internet with a speed of at least 128 Kbps in the upload direction. In addition, there are three different types of hardware to chose from:
1) Peripherals, such as USB handsets, are relatively cheap to buy and plug straight into your computer. Used in conjunction with suitable software, they instantly turn your computer into a VoIP telephone. The most obvious drawback to such a solution is that your computer needs to be switched on to receive incoming calls.
2) Dedicated IP telephones are generally more expensive and function as independent devices on the network. However, setting up an IP telephone behind a router/firewall with Network Address Translation (NAT) can present you with additional configuration challenges.
3) Analog telephone adapters (ATAs) connect your existing telephones to VoIP services. ATAs usually have built-in ADSL modems (Annex A or Annex B, depending on your country) and, in addition to VoIP telephony, are capable of providing the computers in your home with broadband-access to the Internet. In Europe, and probably elsewhere, the ATA currently is the best tool for Voice over IP.
Session Initiation Protocol
Like any other application on the Internet, telephony services need to communicate by an established protocol. VoIP services that use the Session Initiation Protocol (SIP) benefit from the fact that SIP was designed as an open standard. As a result, any SIP-capable device should be able to link up with any other. What this means is that everybody can call anybody else and for free.
Why Not Use Skype?
Skype is a VoIP service with more than 663 million users as of 2011. It helped start the VoIP revolution. However, Skype uses a proprietary protocol that is subject to a number of security concerns and prevents free calls to and from anyone outside of the network.
What about Vonage?
Up until 2007, Vonage held on to the top spot as the largest provider of Internet-based telephony services in the US. Unlike Skype, Vonage does employ SIP to connect your calls. But it is still very much a closed system, because Vonage require you to use their own proprietary hardware and prevent direct connections to and from other SIP-based providers.
Service Providers
Connecting a call over the Internet is the basic task of an Internet Telephony Service Provider (ITSP). Additional services, such as voicemail and incoming numbers that can be dialled from normal telephones, are often available at no extra cost.
Skype and Vonage are by no means the only culprits when it comes to selling their customers short. The fact that a service provider is using SIP to connect your calls does not always equate to a service that is open and free from artificial restrictions. In particular, beware of providers that proclaim to offer a SIP-based service but then disable the facility to call users on other networks for free.
Because dedicated SIP devices can manage up to ten different accounts simultaneously, there is no need to limit yourself to just one provider. Pick and choose to create a mix of services that best suits your telephony requirements.
Expect No Less
So what should you be looking for in a good SIP provider? The first thing to bear in mind is that when it comes to setting things up, SIP is very much like email. On signing up, a provider should issue you with a username, a password, a SIP address and information about their SIP registrar. If any of these are missing or not documented, for whatever reason, just find another provider who does not keep this information from you.
Your SIP provider should offer a gateway to the Public Switched Telephone Network (PSTN), enabling you to make calls from your internet telephone to regular landlines and mobiles. Not all providers charge the same rates, so compare their respective tariffs. Billing should be by the second, and not the nearest minute.
Often there is a telephone number that others can use to call you on your internet phone. Be sure to find out what rates apply to calls to such a number. True geographical numbers are best, as they will always be charged at the same rate as regular numbers with the same area code.
Your SIP address should work exactly as you would expect, in that anyone with a SIP device or compatible software should be able to use the Internet to call you for free. Otherwise, you might as well be using Skype or Vonage and never really experience the power of true Voice over IP telephony.
Apple v Google
“Apple’s and Google’s war for the phone in our pockets is the biggest clash since Apple v Microsoft for the space on our desktops” and, according to Robert Lane Greene, likely to impact the way we experience the world around us.
moreintelligentlife.com
Windows applications making GRUB 2 unbootable
“We need to defend ourselves against the predatory practices of some companies making us look bad: a relatively small number of people do enough detective work to realise that it’s the fault of a particular Windows application, but many more simply blame our operating system because it won’t start any more.” Debian developer Colin Watson asks for your help in an effort to mitigate the problems caused by antifeatures built into Windows software that result in broken Windows/Linux double-boot systems.
www.chiark.greenend.org.uk/ucgi/~cjwatson/blosxom
Redirecting mail for the local root user
postfix is Ubuntu’s default mail transfer agent (MTA) and can be configured to deliver mail using a relay host that requires SMTP authentication.
Get the necessary packages with the following command:
user@ubuntu:~$ sudo apt-get install postfix bsd-mailx
Begin to configure your postfix installation by choosing satellite system as the general type of configuration. Enter the local machine name as the mail name (eg mycomputer.edafe.org) and the SMTP server address of your email service provider as the SMTP relay host (eg smtp.relayhost.com).
Edit the file /etc/postfix/main.cf and add the following:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
relay_domains =
Create the file /etc/postfix/sasl_passwd and make the following entries:
smtp.relayhost.com user:password
Substitute smtp.relayhost.com with the address of the SMTP relay host and user:password with your login details.
Continue by executing the following three commands:
user@ubuntu:~$ sudo chown root.root /etc/postfix/sasl_passwd
user@ubuntu:~$ sudo chmod 600 /etc/postfix/sasl_passwd
user@ubuntu:~$ sudo postmap hash:/etc/postfix/sasl_passwd
Instruct postfix to reload its settings with the following command:
user@ubuntu:~$ sudo /etc/init.d/postfix reload
Making changes to the alias table
The aliases table provides a system-wide mechanism to redirect mail for local recipients.
Edit the file /etc/aliases to contain the following entries:
postmaster: root
root: user@yourdomain.com
Substitute user@yourdomain.com with the email address that you would like mail for the root user to be redirected to.
Finally, update /etc/aliases.db using the following command:
user@ubuntu:~$ sudo newaliases
Mail for the local root user from now on will automatically be forwarded to user@yourdomain.com , using smtp.relayhost.com as the relay host.
www.postfix.org, help.ubuntu.com
Monitoring hard disks with smartmontools
SMART stands for Self-Monitoring, Analysis and Reporting Technology and is built into most modern hard disks. The smartd daemon is part of smartmontools and monitors a disk’s SMART data for any signs of hardware problems.
SMART is available with Parallel and Serial ATA disks, drives appearing as either /dev/hd* or /dev/sd*, respectively. Use the following command to obtain relevant information for your system:
user@ubuntu:~$ df -hl
If required, start by configuring postfix to redirect mail for the local root user.
Get the necessary packages with the following command:
user@ubuntu:~$ sudo apt-get install smartmontools bsd-mailx
Configuring smartd
Edit the file /etc/smartd.conf and comment out any lines beginning with DEVICESCAN.
If you are using a netbook or a laptop, add the following line for the smartd daemon to monitor the device /dev/sda:
/dev/sda -a -d ata -n standby -o on -S on -m root -M daily -M test
If you are using a desktop or a server, add the following line for the smartd daemon to monitor the device /dev/hda:
/dev/hda -a -d ata -n never -o on -S on -s (L/../../7/04|S/../.././02) -m root -M daily -M test
See man smartd.conf for more information on how to tailor the operation of smartd to your needs.
Starting smartd
Edit the file /etc/default/smartmontools and uncomment the line containing start_smartd=yes.
Restart the smartd daemon with the following command:
user@ubuntu:~$ sudo /etc/init.d/smartmontools restart
Verify that the local root user has received a test message from the smartd daemon.
From now on, the smartd daemon will monitor the disk and, in the event of impending disk failure, alert the local root user by email.
OpenOffice.org
OpenOffice.org is a free, multi-platform office suite. It includes key desktop applications, such as a word processor, spreadsheet, presentation manager, drawing program, and database module.
OpenOffice.org is an Open Source project and available on all major platforms, including Linux, Mac OS X and Windows. At present, you can choose from more than 100 different language options.
OpenOffice.org avoids the risk of vendor lock-in because it uses a standardised, XML-based file format that makes interoperability easy and your documents future-proof.
OpenOffice.org is compatible with Microsoft Office. The latest version imports .docx files and continues to be able to read and write all the other Office formats.
Get OpenOffice.org
“OpenOffice.org is released under the LGPL licence. This means you may use it for any purpose—domestic, commercial, educational, public administration. You may install it on as many computers as you like. You may make copies and give them away to family, friends, students, employees—anyone you like.”
download.openoffice.org
Contribute
Submitting Bug Reports
“Simple end users are really critical in the process of making the code better. It’s important for end users to understand how important they are in the process.” OpenOffice.org developer Florian Reuter discusses some of the issues and explains how you can take part.
Support
OpenOffice.org Forum
Interact with other OpenOffice.org users to help with your questions.
www.oooforum.org
OpenDocument software
“This is an overview of software support for the OpenDocument format, an open document file format for saving and exchanging editable office documents.”
en.wikipedia.org
Desktop Linux for the Windows power user
“As a lifelong Windows user, system builder, ex-gamer, and performance freak, I’m not drinking anyone’s Kool-Aid. I just want the most amount of control over my system as possible, and at this point in time, Ubuntu is the best follow-up to Windows XP.” Adam Overa walks the Windows user through the Ubuntu installation process from downloading the CD image to finding help online.
www.tomshardware.com
How VoIP works
“VoIP can turn a standard Internet connection into a way to place free phone calls. The practical upshot of this is that by using some of the free VoIP software that is available to make Internet phone calls, you’re bypassing the phone company (and its charges) entirely.” Robert Valdes and Dave Roos would like to change the way you communicate.
www.howstuffworks.com
OpenOffice.org 3.1: the next generation
“The latest version of the open-source office suite OpenOffice.org 3.1 has just arrived, and it’s a good one. While some of the improvements are visible to the naked eye, I found that the most important changes were hidden under the hood.” Steven J Vaughan-Nichols takes the latest OpenOffice.org release for a spin.
www.computerworld.com
Linux Outlaws 92: New User Special
“We tell you how to burn and install your first distribution, we try to explain some often used terms as well as some philosophical and political issues and we cover the basic concepts behind the OS.” Dan and Fab give an introduction to Linux for new users.
linuxoutlaws.com
What exactly is LaTeX for?
“Many people discover LaTeX after years of struggling with wordprocessors and desktop publishing systems, and are amazed to find that TeX has been around for over 25 years and they hadn’t heard of it.”
Peter Flynn
LaTeX is a free document preparation system that enables you to create beautifully typeset pages. It implements a set of commands designed to control TeX, the typesetting engine developed by Donald E Knuth. LaTeX stores the information about your documents as plain text, thus avoiding the risk of vendor lock-in and ensuring that your documents will still be editable twenty years from now. LaTeX processes the plain text data and, with pdfTeX working in the background, generates PDF output of the highest typographic quality—perfect for viewing on-screen or printing on paper. LaTeX runs on many platforms and is included as standard with most Linux distributions. Ready-to-run LaTeX systems are also available for Windows and Mac OS X.
miktex.org, tug.org/mactex
Still sending naked email?
“In a world of repressive governments and a growing reliance on insecure networks, there’s no way anyone can be sure their most sensitive messages aren’t intercepted by the forces of darkness. But you can make it mathematically improbable that all but the most well-funded snoops could ever make heads or tales of your communications.” Use Dan Goodin’s step-by-step guide to email encryption and keep your communications private.
www.theregister.co.uk
Ubuntu Linux is for everyone
Ubuntu is a relatively new flavour of Linux. Since the release of ‘Warty Warthog’ in October 2004, it has become the most popular Linux distribution worldwide. Similar to its parent, Debian GNU/Linux, Ubuntu is based entirely on free software. It inherits outstanding package management and provides one-click access to thousands of downloadable applications.
Ubuntu can be installed as an application inside an existing Windows installation. This provides new users with a great opportunity to try Ubuntu at no risk to their existing setup. Ubuntu 8.10 (Intrepid Ibex) is the latest version and available for download from today.
www.unbuntu.com
Linux Outlaws
“Linux Outlaws is a podcast about Linux and free and open source software. We are normal users like yourself rather than part of the in-crowd of community leaders and hardcore kernel hackers.” Dan Lynch and Fabian Scherschel present this weekly podcast for current and future users of the Linux operating system.
linuxoutlaws.com
Switch to Ubuntu Linux not Apple Mac OS
“Umpteen number of reports have been published telling people why they should consider switching to the Mac OS now that Vista has failed.” Prosenjit Bhattacharyya suggests Ubuntu as another alternative.
prosenjit23.wordpress.com
OpenOffice.org 3.0
“OpenOffice.org has an impressive feature set, a generally lucid interface, pure open-source credentials, and the decisive advantage of being absolutely free.” Edward Mendelson reviews OpenOffice.org 3.0.
www.pcmag.com