Monday, March 11, 2013

Wireless problems with Ubuntu 12.04

So, I have been using Precise for a while now and with the addition of a laptop to my electronic family, the wireless router is being used regularly. The only issue I have faced with my laptop, Samsung RV409, and with Ubuntu 12.04 is the inability to connect to wifi consistently. I have used this post to find a solution which worked for me.

The solution is to download new drivers from here. A git clone would do the job.
git clone  http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git

If git is not available, it can be installed with
sudo apt-get install git.

Next, copy the required stuff to a place where the system can use it.
sudo cp linux-firmware/brcm /lib/firmware/brcm

Lastly, we use a utility called modprobe. Modprobe is used to enable or disable LKMs or loadable Kernel Modules.

sudo modprobe -r wl
sudo modprobe brcmsmac

All credits to OP and please give acknowledgement to OP over here






Wednesday, October 5, 2011

New Partition for /home

Yet another time, I make a small sized partition for /home. And so, I took some time to go through helps and create a new partition. 1. Made a new partition by resizing an existing drive using gparted. 2. copied everything from /home using rsync --> sudo rsync -axS --exclude='/*/.gvfs' /home/. /mnt/newhome/. 3. Added the new drive as /home in /etc/fstab and removed the listing for the old /home folder from fstab file and rebooted. Here is my source link : http://www.hackourlife.com/move-home-to-a-new-partition-ubuntu-10-04/

Saturday, July 16, 2011

I can't find file `ptmr7t'

Trying to get a tex file to make a pdf for me in Ubuntu Natty did not work,

sudo apt-get install texlive-fonts-recommended
worked for me.

Source of help :
http://sysad.wordpress.com/2008/11/06/ubuntu-hardy-to-intrepid-upgrade-remnants/

Saturday, December 12, 2009

symbolic toolbox

Using Octave and dealing with variables and looking for a representation? I have suffered not able to get the right word for it. "Symoblic toolbox"

Also available for Octave!
apt-get octave octave-symbolic

Thursday, October 1, 2009

merge pdf files

gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf in3.pdf ...

ref:http://ubuntuforums.org/showthread.php?t=262411

Monday, August 31, 2009

managing shared libraries

Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

Sunday, August 16, 2009

How to rename a drive in ubuntu Jaunty

just follow the instructions for the USB Drive renaming by installing gparted.

https://help.ubuntu.com/community/RenameUSBDrive