You are here

Blogs

Uditha Atukorala's picture

Intel Wireless not getting connected to a wireless network in Debian Lenny

If you are using Debian Lenny and had a recent upgrade you might have found that you cannot associate with wireless networks anymore through the gnome network manager. But you might still be able to connect through manual configuration.

Well, there is a solution for this if,

Uditha Atukorala's picture

sudoers in Debian

To add sudo users or sudoers in Debian first you need to install the sudo package if it is not already installed.

# aptitude install sudo

Then it is all about editing the sudoers file and giving the appropriate permissions. This is done by executing the visudo command as root.

# visudo

By adding the following line to the # User privilege specification section you can give all the privileges of root to the user.

         user ALL=(ALL) ALL

Uditha Atukorala's picture

compiz-fusion broken after an upgrade (Debian Lenny)

I'm using Debian Lenny (testing) and for the second time compiz broke after I did an upgrade. I tried removing compiz completely and installing again (which worked last time) but it didn't fix the problem.

But for some reason I tried,

$ compiz-check

and it said that compiz couldn't run that my system is not supported.

What?? :o I was running it perfectly up until the upgrade.

So I thought this could be because of the graphics drivers so I downloaded the latest drivers and installed and compiz is back....

Uditha Atukorala's picture

Execute CGI-Perl scripts as root

When Apache executes CGI-Perl scripts they are executed as the apache user. So if you want to have some system commands which can be only executed as root (e.g. iptables commands) in your CGI scripts they will not get executed.

One solution is to use setuid mode in Perl.

For this you will need the perl-suid package (in Debian) or the special Perl program called suidperl.

# aptitude install perl-suid
Uditha Atukorala's picture

Windows Vista Fonts in Linux

My quest for a better font system in my Debian Lenny (testing) installation continues. I found out that there are some nice fonts is Windows Vista which I could put into use.

Following are two windows downloads I know of which includes these Windows Vista Fonts with them.

Uditha Atukorala's picture

Asterisk + FreePBX Installation with Debian Packages

Using Debian packages to install Asterisk and FreePBX would not be the most optimised way but it does the job when you want a quick installation.

FreePBX is not yet in the Debian repository but it is available through xorcom.com.

The Key for verifying the repository;

# cd ~
# wget http://updates.xorcom.com/xorcom.gpg.asc
# apt-key add xorcom.gpg.asc
# apt-get update

Aptitude installation;

# aptitude install freepbx

Uditha Atukorala's picture

List Kernel Modules

Had this Linux box to install Asterisk and wanted to check whether there are any zaptel drivers already installed. I knew that /proc file system holds runtime information of the Linux kernel but just didn't know where to look.

While going through /proc I came across /proc/modules which gave the information but not exactly in a readable fashion.

A Google search highlighted the use of lsmod, which is a tool that interprets the /proc/modules and lists the modules in a readable manner.

Pages

Subscribe to RSS - blogs