Free packages for Debian and Ubuntu are available and can be downloaded at http://getdeb.net, however the packages required the Debian or Ubuntu repositories which pours the package integrity to solve the package dependencies.
Monday, March 30, 2009
You might have experienced on this bug, if you have configured installation server and yum server in the same machine with the same path (i.e., /var/ftp/pub).
Linux kernel 2.6.28
Ext4 filesystem support
Turn-key mail servers
Wednesday, March 18, 2009
Type the following command in Unix shell. Of course, you can use it in $prompt or #prompt.
cal 9 1752
Surprised ???? That's the beauty lies in UNIX.
Isn't the output queer? A month with whole of eleven days missing. This was the time England shifted from Roman Julian Calendar to the Gregorian Calendar, and the king of England ordered those 11 days to be wiped off the face of the month of September of 1752. (What couldn't a King do in those days?!) And yes, the workers worked for 11 days less, but got paid for the entire 30 days. And that's how "Paid Leave" was born. Hail the King!!!
Sunday, March 15, 2009
1.Split the files
The following is an example of how to use the split command on a 600MB image.iso file:
# split -b 200m image.iso
It will generate three files, namely xaa,xab and xac of 200MB each. Afterwards you can use the cat command to combine the three to get back the original file, as follows
# cat xa* > newimage.iso
2. Prevent users from changing their passwords
You should have the root previliages to change this permission. Once you change this one users will not be able to change their passwords.
# chmod 511 /usr/bin/passwd
3. Crontab Example
first asterisk to enter the day of week 0-6, where 0 is Sunday. You can enter the month(1-12)in place of the second asterisk. Replace the third asterisk with the day of month (1-31). The fourth one is for the hour(0-23),while the fifth one is to enter the minutes(0-59).
For example, if you need to run a script daily at 5:30pm, then the entry will as shown below:
30 17 * * * sh /home/myuser/scripttorun.sh >/dev/null 2>&1
If the last part “>/dev/null 2>&1” is omitted, then by default, cron will send an e-mail to the user account after executing the cronjob.
4. How to use the swap as a file?
To make a swap file of 1GB, multiply 1024MB and 1024 to get a block size. Now at a shell prompt as the root user, type the following command with the count being equal to the desired block size:
dd if=/dev/zero of=/swapfile bs=1024 count=1048576
Now set up the swap file:
Enable the swap file after create it by using the following command:
Add the following entry in the /etc/fstab file to make the system activate this file as swap while booting the system:
/swapfile swap swap defaults 0 0
Friday, March 13, 2009
The method of how to make work the wireless in Acer 5315 is already written.
But if you do online upgrade with the additional latest patches, It will not work again.
It is really funny that with the ubuntu 8.10.
However, you have an alternate method to make work the wireless properly which follows below.
1. Download the latest patch of madwifi-hal-0.10.5.6-current.tar.gz from the internet.
This can be downloaded from this site http://snapshots.madwifi-project.org/
It is obvious to use the following alternate command in the $ prompt
$ sudo wget http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6-current.tar.gz
2. Untar (unzip) the newly downloaded file:
$ tar xvf madwifi-hal-0.10.5.6-current.tar.gz
3. Go into the newly created directory:
$ cd madwifi-hal-0.10.5.6-r3879-20081204
4. Then compile the package:
5. The install the package:
$ sudo make install
6. Then load the newly created module:
$ sudo modprobe ath_pci You can use the following alternate method also.
In the terminal type “sudo gedit /etc/modules”(without quotes) and add “ath_pci”(again without quotes)
to the bottom of the list if you don’t have anything in the list just add it to the bottom. Click ‘Save’ and that’s it.
7. Reboot the machine or alternatively use the following command
$ sudo /sbin/init 6
8. Your wifi should work in the specified model laptop. The light specified may not glow. If not please buzz me up.
Monday, March 2, 2009
Ubuntu8.10 works good in my Acer Aspire 5315
It will automatically detect the sound card and wired network which work good normally. But you have to configure the following things manually.
1. MP3, DVDsupport & Webcam driver support
The best suggestion I suggest is download and install the latest VLCplayer, which includes all general media files support and even it detects the Crystal Eye Webcam also. I have given you the procedure to install VLCplayer from the web repository of ubuntu8.10.
% sudo apt-get update
% sudo apt-get install vlc vlc-plugin-esd mozilla-plugin-vlc
It is obvious that incase of root user, that sudo is not required.
2. Wifi / Wireless LAN in Ubuntu8.10
The given version of the kernel has not provide support for wifi for the laptop that I have specified in the title.
To check the wifi driver is detected or not
% sudo lspci | grep âAtherosâ
The device specified will be displayed in the case of the device is detected properly, the prompt will be shown otherwise.
% sudo apt-get install linux-backports-modules-intrepid-generic
which is used to install the new kernel1 i.e., 2.26.27-11-generic. Then reboot the system once. Boot the machine to the kernel, which is recently installed. Wifi will work good.
Remember that this is the procedure for configuring ubuntu8.10 in the specified laptop only. I hope the same steps will help you to configure for other company laptops also.
1the old kernel removal is not required