I Love Tips

Nice Tips & Tricks made easy

Archive for the ‘Uncategorized’ Category

Configuration of Broadcom wireless cards for Ubuntu

Posted by Rajkiran Ghanta on January 24, 2008

Have you ever had trouble setting up your Broadcom wirless cards to work with Ubuntu? The following procedure worked perfect ( I have tried several times) for
me to configure Broadcom wireless card on my old and heavy Dell Inspiron 9100 to work with Ubuntu Edgy.

1) Before you start,  get a copy of bcmwl5.inf and bcmwl5.sys files and copy them to your desktop

2) Open a terminal session and enter the following commands

a) remove the broadcom module
$sudo gedit /etc/modprobe.d/blacklist
add: “blacklist bcm43xx” (no quotes) and save the file
$sudo modprobe -r bcm43xx
$sudo modprobe ndiswrapper

b) Install windows wireless drivers(ndiswrapper)

$sudo apt-get install ndiswrapper-utils
$sudo ndiswrapper -i ~/Desktop/bcmwl5.inf
$sudo ndiswrapper -m
$sudo modprobe ndiswrapper

3) Reboot your PC and the wireless card should start working fine.

Posted in Uncategorized | Leave a Comment »

Crontab Usage

Posted by Rajkiran Ghanta on December 23, 2007

crontab utility helps to set up tasks to run automatically in the background at regular intervals, as specified in the schedule.
You can use cron.allow and cron.deny files under /usr/lib/cron directory to control access to the cron.
crontab -e Edit crontab file, or create one if it doesn’t already exist.
crontab -l Display crontab file.
crontab -r Remove your crontab file.
crontab -v Display the last time the crontab file is edited

The following is the crontab file syntax
* * * * * command
- – - – -

+—– day of week (0 – 6) (Sunday=0)
+——- month (1 – 12)
+——— day of month (1 – 31)
+———– hour (0 – 23)
+————- min (0 – 59)

Example

Crontab entry for health check report that runs every night at 11.30pm

30 23 * * * /home/oracle/monitoring/health.sh > /logs/health.log 2>&1

Posted in Uncategorized | Leave a Comment »