Posts

How to install Broadcom BCM43142 wireless drivers on Kali Linux

Hi, If you install kali linux or any other Debian based distros, and you have a Broadcom BCM43142 wireless device in your system, you will need to install a proprietary driver to get Wi-Fi work. If you search this in internet, you will find several solutions like compiling the driver module and installing, or downloading the deb from launchpad etc. But there are cases that nothing will work! So here is a simple trick to get that work: Ubuntu is a debian-based operating system developed by Cannonical team. If  you install another debian based system, the stuffs that designed for ubuntu should work (Almost) in your system. Anyway, the proprietary driver for BCM43142 will work. To install the proprietary driver for Ubuntu in other Debian based systems, just add the Ubuntu repositories to your apt-sources.list. This is a /etc/apt/sources.list of Ubuntu 14.04: # deb cdrom:[Ubuntu-GNOME 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main multiverse restricted ...

Make Ubuntu Login Screen a Browser, Using the lightdm-webkit-greeter

Image
Hi all,     This is a small and simple post for Ubuntu users, Those who hates the default Ubuntu login screen and wish to change it. Not a little change, we can make it a browser, that shows a webpage as login screen, so that we can easily design a login screen or use an html login screen available on web.     Ubuntu’s default login screen is ‘unity-greeter’. This is a part of ‘lightdm’, the display manager of Ubuntu. So we are achieving this replacement by browser, by just replacing the ‘unity greeter’ with the ‘lightdm-webkit-greeter’. By the following steps: Changing the theme Install ‘lightdm-webkit-greeter : By just executing: sudo apt-get install lightdm-webkit-greeter Replace ‘ unity-greeter ’ with ‘ lightdm-webkit-greeter ’  Navigate to /usr/share/lightdm/lightdm.conf.d/  t here you will find some configuration files of lightdm. open ‘ 50-unity-greeter.conf ’, and change ‘ unity-greeter ’ to ‘ lightdm-webkit-greeter ’. Now we are don...

Type Malayalam in Photoshop, CorelDraw, Publisher etc. Without Character Map.

Image
Typing Malayalam Unicode in Photoshop/CorelDraw etc. will not work well with Google input tools. It requires some ICFOS fonts to work like ML-TTKartika, ML-TTIndulekha etc. But where the problem is how to type using these fonts. Some websites recommends using character map in windows, But it is a boring job to type each and every word in Malayalam, especially if we want to type a paragraph or page... Another way is using ISM, but it costs around $225 I think. Don't worry, here is a free and easy solution, use my FontConverter software. How to use it? It is so simple... If not present, download and install "Kartika" and "ML-TTIndulekha Normal" Fonts in your windows system. You can get ML-TT Fonts from here Download and Install Google Input Tools Download FontConverter setup and install it in your system. Now start FontConverter. In the input text box, type using Google input tools. Then click "convert" button. The output is set to display...

Dining Philosophers Problem between Processes

This is a solution to Dining Philosophers Problem between Processes. It starts 5 processes that runs infinitely, so require at least Intel i3 processor. Platform : Linux #include<iostream> #include<stdlib.h> #include<sys/ipc.h> #include<sys/types.h> #include<sys/shm.h> #include<sys/mman.h> #include<fcntl.h> #include<unistd.h> #include<semaphore.h> using namespace std; #define FORKS 5 #define PHIL_NUM 5 #define SNAME "SEM" key_t key = 5678; class philosopher {  sem_t *lock;  int shmid, *s, *shm, n, left_fork, right_fork;  void open_sem();  void open_shm(int);  void think (void);  void eat (void);  void take_forks ();  void put_forks ();  public:  const static int INIT = 0, NORMAL = 1;  philosopher(int );  void init_shm();  void start(); }; /* initialises shared memory all positions to 0*/ void philosopher :: init_shm () {  open_shm (INIT); } /** opens sha...