Archive

Posts Tagged ‘Linux’

Freeing up RAM in Linux

July 27, 2009 3 comments

NOTE: Little clarification, this is not needed at all ,as memory is freed when required.

WHY IT MAY BE HELP-FULL: This clears the page-cache , dentires and inodes.

IT’S TRANSLATION : It may be that you are watching a movie or using a Virtual Machine , a resource hungry process has filled up your ram by caching data and the data needs to be continuously removed  to make space for new data . This is managed by the kernel.

IF YOU STILL DON’T  GET IT: Notice  video in your movie hanging (not audio) while your ram gets cached Or your system running a bit slow ?


1) Stop the process consuming loads of memory. (Check System Monitor).
2) Open a terminal with root privileges .
3) Sync
4) echo 3 > /proc/sys/vm/drop_caches
5) echo 0 > /proc/sys/vm/drop_caches

Advertisements

Reliance ATZ USB CDMA Modem on fedora , ubuntu and other linux

December 24, 2008 1 comment

1) Find Vendor and ProdID

Do

cat /proc/bus/usb/devices

In the generated list where Manufacturer is ZTE , Incorporated

Take Vendor and ProdID

eg. Vendor=19d2 ProdID=fffd

-You can also use lsusb to get entry with ONDA Communication S.p.A in format   a:b

eg  19d2:fffd

2) Load Module
modprobe usbserial vendor=0x19d2 product=0xfffd

After this step 3 interfaces /dev/ttyUSB* where *(0-2)
should be created .(if not then rmmod usbserial ->remove device->modprobe again->insert device )

3)Configure (Run in root mode)(NOT FOR FEDORA go to 6)
wvdialconf

4)Edit /etc/wvdial.conf
Add number eg. #777
Add your username and password in the fields.

5)Run
Ideally running wvdial should be enough.
(try ping google.com to check if you are connected)

6)However in fedora(and if above steps dont work for you) after modprobe
Go to System>Administration>Network>New>Modem>
In Modem Properties (Despite error)
change device to /dev/ttyUSB0
Modem Volume=low
->Forward
Phone number #777
Username and Password -as you have
Provider Name -any
->Forward
Save And activate
Try ping google.com

Fedora 9 :The second Look Review

May 22, 2008 Leave a comment

Well after some days after using with fedora i have come to the decide on certain aspects..

1) Sure Package-Kit uses less memory and is faster than pirut BUT the interface design is IRRITATING!!!

It doesn’t download all package descriptions together, while this is reasonable but you can only download only 1 package at a time and you can only select those packages to install in your current view.( They should learn something from yumex and smart package manager)

2)GNOME-VFS The latest version of gnome 2.22 packs a speed punch with sharper graphics and faster interface but when copying from a pen drive (flash drive) results in it pausing in between copying. (THIS IS NOT A FEDORA SPECIFIC PROBLEM. ITS THERE IN UBUNTU 8.04 ) Read more…

Fedora 9 essentials guide

May 18, 2008 12 comments

A basic guide to satisfy all your needs:

NOTE:all commands r to be typed in terminal with sudo or su login
PS:” All yum commands can be replaced by package kit alternatives type “info pkcon” in terminal.

1)Adding livna repositories : (VERY ESSENTIAL ALL OTHER STEPS REQUIRE THIS)
Since Fedoras own repositories dont have much softwares use livna or packman repositories
rpm -ivh http://rpm.livna.org/livna-release-9.rpm
then yum update

2)YUMEX :install yumex for gui interface for yum , though package kit suffices.

3)MP3 SUPPORT:
Read more…

Enabling WiFi in Fedora 9 HP 6515b using Ndiswrapper

May 16, 2008 1 comment

1) You got  to have GCC 4+ and MAKE installed in your system to compile Ndiswrapper(get them from dvd)

2)in terminal go to the directory containig ndiswrapper tarball package (type following commands as super user -> su or sudo -i

3)make

4)make install

5)See COMMON STEPS

Alternate:

1) If you got the live cd be prepared to download and install gcc from internet ( connect to friends comp)

or download and install the packages:

binutils
gcc
kernel-headers
dkms
glibc-devel
libgomp
dkms-ndiswrapper
glibc-headers
kernel-devel
make

COMMON STEPS

1)/usr/sbin/ndiswrapper -i bcmwl5.inf (this is the win xp driver obtain it from windows installation or setup given by hp)

2)use “/usr/sbin/ndiswrapper -m”

3)use “/usr/sbin/ndiswrapper -mi”

4)use “/usr/sbin/ndiswrapper -ma”

5)gedit “/etc/modprobe.d/blacklist”

add following lines ->

blacklist b43

blacklist ssb

3)Reboot and see if the wifi networks are shown if not use “/sbin/modprobe ndiswrapper”

and add the same line to /etc/rc.local

IF THE ABOVE STEPS DON’T WORK PLEASE TELL ME THE EXACT PROBLEM.

PEOPLE WITH OTHER WIRELESS CARDS TRY SAM PROCCEDURE WITH DIFFERENT DRIVER (MAKE SURE YOU ARE INSTALLING THE WIRELESS CARD DRIVER AND NOT THE CONTROLLER DRIVER)

Categories: Fedora 8, Fedora 9, Linux Tags: , ,

Download Accelerators For Linux

May 16, 2008 Leave a comment
    Download Accelerators For Linux

1)Axel : Download from http://axel.alioth.debian.org/ current version = 1.1

Simple command line downloader.

Simple GUI using Zenity:

#!/bin/sh

url=`zenity --title="Axel " --text="Enter url" --entry`
user=`zenity --title="Axel " --text="Enter username" --entry`
pass=`zenity --title="Axel " --text="Enter password" --entry`

axel http://"$user":"$pass"@"$url" 

Remember url shud not have “http://”

ps: if you don’t want user name password

#!/bin/sh

url=`zenity --title="Axel " --text="Enter url" --entry`

axel "$url"

Here url needs “http://”

2)Aria2: command line download client which supports resuming and segmented downloading

http://sourceforge.net/projects/aria2

GUI:

http://www.martin-achern.de/wgetgui/aria2gui.html

Most Popular Free Linux Distros !!!

April 14, 2008 3 comments

Most Popular Linux Distros !!!

Well the question has been asked many times before and the opinion seems to be steady:

1)Debian

2)Ubuntu

3)Fedora

4)Gentoo

5)OpenSUSE

6)Arch Linux

7)Sabayon

8)Knoppix

9)Slackware

10)Others

Categories: Linux Tags: