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

Sunday, March 22, 2009

Latex in windows

begin matrix, bmatrix, matrix and others not working?
latex error : "environment bmatrix undefined"



try this :

\usepackage{amssymb,amsmath}

bonus tip# : the use of the curly bracket is essential for most functions, symobls, complex sub and superscripts in latex

bonus tip#2 \usepackage[small]{caption2} for smaller captions

Thursday, March 19, 2009

Ubuntu : syntax on does not work

trying to use the syntax higlight in vim and it gives errors?

line 20:E319: Sorry, the command is not available in this version: syntax on

Try install vim-full

sudo apt-get vim-full

and then, edit the /etc/vim/vimrc file to uncomment syntax on and other useful utilities.

Cheers!!

http://devtime.blogspot.com/http://www.blogger.com/img/blank.gif2007/05/enable-vim-syntax-color-highlightning.html
http://ubuntuforums.org/archive/index.php/t-626294.html
http://www.cyberciti.biz/faq/howto-install-full-vim-under-ubuntu-linux/

Wednesday, March 11, 2009

Fedora 10 Cheatsheet: digitizor

One stop for Post-install mechanics :

http://digitizor.files.wordpress.com/2009/01/fedora10-cheatsheet.pdf

Wednesday, December 10, 2008

Error loading shared libraries

locate the library in the error using the locate command.

Add the folder to /etc/ld.so.conf

Run /sbin/ldconfig

if it does not run as current user , then sudo.

Thursday, October 2, 2008

AntiVirus Problems on Windows

Bitdefender dragged all space off my main drive taking it from 2.5 Gb to 200 Mb. Killer Antivirus virus?

Thursday, September 11, 2008

gcc 4.3 porting

Any installation is killing time on and on with errors due to gcc 4.3 porting issues. finding the right include files is easier from here:
http://gcc.gnu.org/gcc-4.3/porting_to.html

But, thanks a trillion to Martin Michlmayr and his website which threw upon all mysteries.

for strtol and strtod problems, #include

ArArgumentBuilder.cpp:357: error: ‘strtol’ was not declared in this scope
ArArgumentBuilder.cpp: In member function ‘int ArArgumentBuilder::getArgInt(size_t) const’:
ArArgumentBuilder.cpp:373: error: ‘strtol’ was not declared in this scope
ArArgumentBuilder.cpp: In member function ‘bool ArArgumentBuilder::isArgDouble(size_t) const’:
ArArgumentBuilder.cpp:399: error: ‘strtod’ was not declared in this scope
ArArgumentBuilder.cpp: In member function ‘double ArArgumentBuilder::getArgDouble(size_t) const’:
ArArgumentBuilder.cpp:429: error: ‘strtod’ was not declared in this scope



"#include "



Yay!

Wednesday, September 10, 2008

Google Chrome

Google Chrome is eye candy. the missing status bar leaves me unhappy. And then another huge problem is the crashing of sound drivers whenever I use Chrome.

http://www.google.com/chrome is a good place to experiment. No place for linux yet, which makes it even sad.
http://blogoscoped.com/google-chrome/ is a good way to start the journey. A small comic that defines its purpose.

here's a page from their cartoon series.





The Happy part : great sleek minimal interface, the speed, Multi-threading in browser--YEY, no more crashes.

The Sad Part : kills my sound in windows. :( need to restart whenever I use chrome.

Monday, September 8, 2008

amarok : making lyrics work

the wiki lyrics plugin works well
But the requirement for fedora core 9 is ruby-gtk2.

the easiest way to get that would be :
yum install ruby-gtk2*

next follows downloading the plugin from the net and installing it. Once it is installed, go to tools --> script manager --> lyrics. and click on Wiki-lyrics and then on run.

if there is no error message but still the lyrics do not function, try :

export http_proxy = "Proxy IP HERE : PORT HERE"
mine was :
export http_proxy="192.168.36.204:8080"

More Info from
http://ubuntuforums.org/showthread.php?t=331981

Proxy setting for amarok in Gnome
(thanks to Jornero)
1) Clean all proxy settings in amarok's configuration page
2) Edit ~/.kde/share/config/kioslaverc and add the following section and settings


[Proxy Settings][$i]
ProxyType=1
httpProxy=http://username:password@proxyserver:port/
httpsProxy=http://username:password@proxyserver:port/
ftpProxy=http://username:password@proxyserver:port/
3) Save the file and restart amarok!

Saturday, September 6, 2008

kappani




credits :http://www.vladstudio.com/home/

KappaNI : KappaNI not Infested :P

close on the heels of the GNU naming syndrome.