Friday, October 31, 2008

Howto APT behind a proxy server

If your machine is behind a proxy server your apt-get install will not work properly
in this case you have to open a terminal and type the following command
I am assuming that you have no username and password for using internet then use this commands

export http_proxy=http://192.168.0.2:3128/ (replace the IP address and port with  your
export ftp_proxy=http://192.168.0.2:3128(replace the IP address and port with your


if you have username and password use

export http_proxy=http://username:password@192.168.0.2:3128/
export ftp_proxy=http://username:password@192.168.0.2:3128/
 
OR
 
Create or Edit /etc/apt/apt.conf
 
Add the Following 
 
Acquire::http::proxy "http://:/";
Acquire::ftp::proxy "ftp://:/";
Acquire::https::proxy "https://:/";  

Howto upgrade your ubuntu from 8.04 to 8.10


Press ALT+F2

and type update-manager -d close the warning window

Then select Upgrade option at the top of the screen

Howto RUN a file in ubuntu ( windows RUN alternative

To run a file just type Alt+F2 and type the filename

Thursday, October 30, 2008

Invisible women (man) !! The dreams comes true

The researcher of Berkeley University (California) are created a new material called meta-meterial by utilizing the potential of nanotechnology. We know all of the materials we can see in nature have a positive refractive index, but the new meta-material has a negative refractive index of -0.6 for light with a wavelength of 780-nanometers. The meta-material operates in the infrared spectrum with higher frequencies, the materials that we can see is operated in smaller wavelengths.

According to the sources consequence the researchers have to miniaturize their already microscopic designs, a process at the bleeding edge of current technology. The meta-material is obtained through layers of silver, sandwiching a thin sliver of nonconducting magnesium fluoride on a glass sheet and it can capture the electromagnetic radiation and deflect it progressively. In other words the meta -material can control the light direction, making invisible the object that is behind. Practically this new material should bend the luminous waves around the object, at the same manner of a water river around a rock. An observer, in this case, should see only the light coming behind the object. So the invisibility will be a reality and not a dream in the future.

Wednesday, October 29, 2008

Howto Autologin in Ubuntu Linux


How to make autologin (login without asking username and password) in ubuntu,

I think it is very useful for Kids

Select System--> Administration--> Login Window
now it will ask for sudo password , Enter password
Now select security tab and tick the Enable Automatic Login checkbox

64GB Flash drive from Corsair-flash drives breaking barriers


Corsair Voyager is one of the most advanced and famous flash drives in market quite number of years with its durable, water resistance and drop tested design. Now announced their Corsair Flash Voyager family of USB drives with capacity 64GB. See More

New Windows 7 Features Leaked : Microsoft have to Check their own Security

Microsoft have to check their own security, Windows 7 Leaked!!!!!!!

Driver Protection checks a database that is maintained locally for drivers that are known to be problematic. It can be updated via Windows Update and a new feature called Dynamic Update which essentially updates Windows 7 during installation if an Internet connection is available. Windows 7 might prevent those drivers from being loaded which is a somewhat scary sentence if there is no way to overrule the decision.

Internet Printing and the Online Print Ordering Wizard are two new print services. The first makes it possible to send print jobs to computers over the Internet using the http protocol while the second is supposed to make it easier to send digital photos to online print stores to order prints of them.


See More with Scree Shots

Tuesday, October 28, 2008

Unbelievable Phoronix Benchmarking Report -Ubuntu 7.04 to 8.10 Benchmarks: Is Ubuntu Getting Slower?

Phoronix forum recently released a benchmarking report about Ubuntu 8.10. Ubuntu 7.04 to 8.10 Benchmarks: Is Ubuntu Getting Slower?

Ubuntu 8.10 RC was released only at the midnight of 23rd that means it is on 24th October(See this). The test result says they tested it for 100 hours. The result is published on 27th October. How they can test 100 Hours with in 62 hours. I suspect and I am asking how mush ubuntu competitors paid for it. Because this test comes out before few hours of ubuntu 8.10 release. http://www.phoronix.com/vr.php?view=13022

Convert Redhat packages (rpm) in Ubuntu

Some of my friend asked me, how they can install rpm files in ubuntu, they all tried alien but some times it failed

try this
sudo apt-get install alien debhelper build-essential dpkg-dev

after the installation you can use alien

sudo alien yourpackage.rpm

now it will make yourpackage.deb

Now you can install the deb using
sudo dpkg -i packagename.deb

Saturday, October 25, 2008

Howto find Disk usage of Packages in ubuntu

The following command help you to find the disk space used by different packages in ubuntu

open a terminal window and run the command

dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n | grep -v deinstall | awk '{printf "%.3f MB \t %s\n", $2/(1024), $1}'

That will sort the packages by size, putting the largest ones on the bottom.

you can pipe(|} the output for last 10 by using | tail -n 10 at the end of the command


High speed Multi protocol Command line Download manager for ubuntu - Aria2

aria2 is a utility for downloading files in lightning speed . The supported protocols are HTTP(S), FTP, BitTorrent (DHT, PEX, MSE/PE), and Metalink. You can utilize your maximum download bandwidth by downloading a file from multiple sources/protocols and tries to.

It downloading a file from HTTP(S)/FTP and BitTorrent at the same time, while the data downloaded from HTTP(S)/FTP is uploaded to the BitTorrent swarm. Using Metalink’s chunk checksums, aria2 automatically validates chunks of data while downloading a file like BitTorrent.

Aria2 Features

  • Command-line interface
  • Download files through HTTP(S)/FTP/BitTorrent
  • Segmented downloading
  • Metalink version 3.0 support(HTTP/FTP/BitTorrent)
  • HTTP/1.1 implementation
  • HTTP/FTP Proxy support
  • HTTP Proxy authentication support
  • Chunked transfer encoding suppor
  • Persistent Connections support
  • Download/Upload speed throttling
  • BitTorrent extensions: Fast extension, DHT, PEX, MSE/PSE, Multi-Tracker
  • Selective download in multi-file torrent/Metalink
  • Configuration file support
  • Download URls found in a text file

Connect your USB Wireless local Loop Phone (WLL) in ubuntu linux

In most of the countries like India (BSNL), Pakistan (PTCL) , Brazil, Brunei, Myanmar Internet Service providers are supplying USB Wireless Local Loop Phones (WLL). I have found a very good howto for connecting WLL in Ubuntu Linux, it can be used for all other distributions. It is tested in India with ISP BSNL , Click here

Friday, October 24, 2008

Online Wordprocessing Tools

Word Processing
Microsoft is a group of fools, so they still maintain releases for MSword, We are heading towards Web based OS. Lot of web based Wordprocessors are available now. Take a look on range of wordprocessors from simple to full-featured.


Writer: With this tool from BigHugeLabs, you can write simple documents and save them online.

J2E: It is a great word processor for students, offering free accounts and a unique URL for sharing documents.

Buzzword: This word processor has a really good interface from market leader Adobe.

Solodox: Solodox makes it easy for you to write, edit, and collaborate your documents online.

Writeboard: Writeboard is a full-featured word processor, with great features like collaboration capability and version control

GreenDoc: GreenDoc offers an incredibly simple way to write online.

FCKeditor: Use this HTML editor to enjoy, an alternative for MS Word online.

Nevercode Docs: You can use Nevercode online, then download and store your files on their servers to access them later.

TheOpenDoc: TheOpenDoc is great for collaboration, offering word processing with change tracking.


iNetWord: With this word processor, you can perform document tasks as well as edit web documents.


FlySuite: This app has a lot to offer, serving up offline capability as well as a gigabyte of file storage.

Tuesday, October 21, 2008

Record your desktop in Ubuntu Intrepid Ibex - Byzanz

Byzanz is a command-line-utility for recording your desktop in to aan animated GIF file. You can record your entire screen, a single window, an arbitrary region or even follow the cursor. The output file size is very small because it is animated gif. Byzanz is implemented as a GNOME applet. It also contains a command line interface. It very useful for making demonstrations, and small presentations.

To install

$sudo apt-get install byzanz

source available here

Are you Electronically naked


If you are using Windows ,Steve Ballmer and Bill gates can see everything (see the pictutre that is you ) - you are electronically naked !!!
If you are using Linux, no secret eyes behind you!!!

Howto Change Desktop Icon size in Windows Vista

It’s a hidden thing in windows Vista that makes it cool. Highlight all icons on your desktop. Press the Ctrl key, then Scroll up and down to size.

Howto Activate Administrastor Login in Windows Vista

Microsoft is not yet confident on their security, So Microsoft Vista always asking ‘Are you Sure?’ prompts… to enable the account, Right Click on the command prompt and Run as Administrator. Some of my friends asked me, how can we avoid it. If you are confident in your security, You can avoid it .

At the command prompt, type:

net user administrator /active:yes

Now you have activated Administrator's Login, log out now and you will see the Administrator’s log in. There is NO password. Log in and change it….

Saturday, October 18, 2008

Good Bye to Hard Disk (HDD)



The largest hard-disk drive maker is going solid-state. Slowly. According to Seagate senior manager Rich Vignes, Seagate has decided to enter the solid-state disk (SSD) market in 2009, starting the company's switch from hard disk drives (HDD). Intel Has already started shipping of SSD. So I think countdown started for HDD.

Howto Cleanup Your Ubuntu Linux Filesystem


FSLint will clean your temp files, duplicate files, bad sim links and etc. It is very useful tool with an attractive user friendly front-end.

apt-get install fslint

Useful Links For Linux Users

Windows Desktop Software and Its Linux Alternatives Huge List
Linux Basics
Official Home page of Ubuntu Linux

Friday, October 17, 2008

Windows Vista Failed Now Microsoft moves to Windows 7


Microsoft Next OS tobe called Windows 7 . It will release in the first quarter of 2010. Microsoft is now in a hurry to push out its next operating system after the generally dismal response to Vista. The rate of vulnerabilities found with in 6 months, Windows has significantly increased— Windows: 12+, Red Hat + Fedora: 2, Mac OS X: 1, HP-UX: 2, Solaris: 1. Microsoft has stopped releasing updates and hotfixes for many of their old Windows operating systems, including all versions of Windows 9x and earlier versions of Windows NT. Windows versions prior to XP are no longer supported. As per the reports on September 2008 the market share of Desktop OS shows Windows - 92.24%, Mac OS X - 5.33, Linux - 1.12 and others - 1.32%.

Thursday, October 16, 2008

Servers of Indian External Affairs Ministry hacked by China


According to Times Of India, The computer servers of Indian External Affairs Ministry has been hacked by Chinese Hackers. The government will have to improve the defences and fortify the system to defeat such attempts. It don't required any nuclear weapons, only need strong system adminstrator.

The End of ReiserFS


Hans Thomas Reiser The Developer of great ReiserFS was convicted of the first degree murder of his wife, Nina Reiser, who disappeared in 2006. Read More

How to install/uninstall .deb file using dpkg a close look

1. Howto install a .deb file

sudo dpkg -i package_file.deb

2. Hoto uninstall a .deb file

sudo dpkg -r package_name

3 Howto find version of a package installed

dpkg -l packagename

4. Howto List all installed files with version

dpkg -l

5 Howto convert .rpm files to .deb files

sudo alien package_file.rpm

Wednesday, October 15, 2008

LiveCD for System Security - Knoppix-STD



Knoppix-STD is a Linux-based Security Tool for both novice and professional security personnel . Lot of utilities are text based, so power users can enjoy.It is a collection of thousands of open source security tools. It's a Live Linux Distro.
List of tools Download

Howto change your MAC address in ubuntu Linux

Type the following in a terminal with root permission

# ifconfig eth0 down
# ifconfig eth0 hw ether 1b:2a:4c:4d:8e:9f ( this is only for example)
# ifconfig etho up

Check your new MAC address by using

# ifconfig

Google's web based Operating System - Microsoft in Trouble

Microsoft is now under pressure, Google is very near to their hidden project web based Operating System. Google needs to regain some level of control, that they archived through Google Chrome, it is the foundation stone for the forth coming web based OS project. Now they have Google apps google docs, picasa, google widgets. By utilizing the net power, Google will trying to bypass microsoft. They will achive it with in a short period and become the emperor of computer software.

Linux commands for System Administrators

Kernel Ring Buffer: dmesg

#dmesg |more

[ 0.000000] Linux version 2.6.24-16-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:23:42 UTC 2008 (Ubuntu 2.6.24-16.30-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009e000 (usable)
[ 0.000000] BIOS-e820: 000000007edf4000 - 000000007edff000 (ACPI data)
[ 0.000000] 1134MB HIGHMEM available.
[ 0.000000] 896MB LOWMEM available.
[ 0.000000] found SMP MP-table at 000fe200
[ 0.000000] Entering add_active_range(0, 0, 519680) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 229376
[ 0.000000] HighMem 229376 -> 519680

List of Open Files: lsof
To view a list of all the files open for a particular process

# psof -p 6685 6685 is the process ID for a process (ps -u username will give process ID)

Process Tree: pstree

This will give the list of process in a tree format

# pstree

Interprocess Communication: ipcs
This will produces a list of the IPC resources currently in use:

# ipc

User Accessing Files: fuser
This command is useful to find what processes or users are currently accessing a particular files. Example, suppose you want to unmount a file system mounted at /cdrom. umount gives “device is busy.” The fuser command can help you to find which processes are accessing the device:

vishnu@vishnu-desktop:~$ fuser -v /home/vishnu
USER PID ACCESS COMMAND
/home/vishnu: vishnu 6383 ..c.. gnome-session
vishnu 6445 ..c.. gnome-settings-
vishnu 6499 ..c.. nautilus
vishnu 6575 ..c.. update-notifier
vishnu 6585 ..c.. python
vishnu 6814 ..c.. bash
vishnu 6904 ..c.. bash

Processes List: top
Command for “table of processes,” displays a list of processes that is refreshed every two seconds.

$top

Tasks: 134 total, 1 running, 133 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.8%us, 0.3%sy, 0.0%ni, 93.8%id, 1.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2056640k total, 1642608k used, 414032k free, 24620k buffers
Swap: 3951948k total, 0k used, 3951948k free, 629144k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6685 vishnu 20 0 764m 652m 23m S 4 32.5 4:15.57 firefox
1 root 20 0 2844 1660 520 S 0 0.1 0:01.02 init
2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0
4 root 15 -5 0 0 0 S 0 0.0 0:00.02 ksoftirqd/0

Who Is Doing What: w

This will find out who is logged onto the system and what he is doing.

#w



Tuesday, October 14, 2008

How to Create and Modify ISO Images in Ubuntu

You can create and Modify ISO9660 files (iso images) graphicaly in ubuntu by using an open source Linux application ISO Master

Features:
Create an ISO image from scratch.
Add or remove files and directories to a CD iso image.
Make bootable CDs
Support for Rock Ridge and Joliet file names.

ISO Master can read .ISO files (ISO9660, Joliet, RockRidge, and El Torito), most NERO .NRG files, and some single-track .MDF files.

sudo apt-get install isomaster

Linux Software Repositories from Google



Google released the Google Linux Software Repositories, a centralized download and update place for the latest versions of all the tools that created by Google.
Installation guidance for different Linux distributions are available Ubuntu 7.04 (Gutsy),
Debian GNU / Linux 4.0, openSUSE 10.2,
Mandriva 2007 Spring
command line for APT (Debian, Ubuntu ...)YUM , urpmi (Mandriva) YaST2 (SUSE), RPM (Red Hat).

For more details , you can join the Google Linux Repositories Help group.

Friday, October 3, 2008

Poseidon Linux Ubuntu for Scientific Applications


Poseidon Linux is designed for scientific applications by Brazilian/International scientific community. It having a collection of tools in the areas GIS and Geostatistics, Mathematics, Visualization2D/3D/4D, Statistics, Physics, Chemistry, CAD / Engineering, Computer Graphics,
Image Editing and Vectorial Drawing, Numeric modelling / Simulation, Scientific graphs, Scientific, Authoring, Database, Programming languages.

This is the detailed list of the main programs included in Poseidon Linux 3.0:

GIS/Mapping: SPRING 4.3.3, GRASS 6.2.1 + plugins GDAL 1.4.4 and OGR 1.4.4, GMT 4.2.0, PROJ 4.6, QGIS 0.10 + plugins (including GRASS Plugin), Terraview 3.2 Plus,
MB System 5.1.0, GPS Manager, GPS Drive, Mapserver 5.0 + Pmapper 3.2 (don't work running from live-DVD, just work installed on a PC)

Visualization (2D/3D/4D): OpenDX 4.4.0

Statistics and Math: R 2.6.2 + many libraries (GeoR, GeoRglm, GStat, GAM, GRASS, abind, car, effects, lmtest, multicomp, mvtnorm, relimp, rgl, sandwich, sm, strucchange, zoo) + graphical interface for R (using his library, Rcmdr)

Numerical Modelling: Octave 3.0 + Gnuplot

CAD: QCAD (2D CAD)

Computer Graphics (CG): Blender

Database: Postgresql 8.3 + addon PostGIS 1.3 (module to work with GIS data)

Scientific Authoring: Kile , Lyx

Scientific Graphics: Dia, Gri 2.12.16, LabPlot, Qtiplot , Fityk

Compilers/Programming Languages:
GCC (C and C++ compiler), G77 (Fortran compiler) ,Lua ,Python

Multimedia:
Amarok (Mp3 Player de MP3) , Mplayer(Player VCD, DVD, MPEG, AVI, etc...) ,
Totem (Player VCD, DVD, MPEG, AVI, etc...) , K3B (CD e DVD Recording), Brasero (CD e DVD Recording)

Office: OpenOffice 2.4

Internet: Mozilla FireFox , Thunderbird , TightVNC , XChat , aMSN , Pidgin ,Evolution ,gFTP

Graphics and Image Editing: Gimp 2.4.5 , XFig , F-Spot, gThumb , XSane ,Inkscape

Extras: Alien (Convert .RPM to .DEB) , Vim , DosBox (DOS emulator) ,Sysutils (Tools to convert ASCII text files from DOS to UNIX, and UNIX to DOS), Gnuplot ,Tools for Palm sync, QEmu (free emulator, runs another OS in a window)

Thursday, October 2, 2008

Google Summer Internship for College Students


This is a summer internship opportunity for college students who are currently enrolled in a 4-year BA/BS program, in Computer Science, at any university

Google is inviting applications from Computer Science students for a 10 week summer project that is expected to begin in June 2009. You’ll be required to submit two essays as part of the application.


Thanks to Madhav Mishra

MobaLiveCD Run Your LiveCD Directly from Windows

MobaLiveCD is a freeware that allows to run your LiveCD on Windows. An Excellent emulator QEMU is used to implement this. This will allow you to run your livecd from an ISO image file. MobaLiveCD can run without installation, that you can start from an USB stick, only 1.6Mb in size. Install MobaLiveCD take right-click menu and show your ISO file Download

Disable Ping Response in ubuntu Linux

Ping is used to check if a machine is up, Most of the hackers are using ping for finding the hackable machine. The hacking chances can be reduced by blocking ping.

in ubuntu ping can be disable by adding following line to /etc/init.d/networking (network init script)
echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all

to re-enable

echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all

Bugs in e1000e ethernet driver for Intel GigE chipsets will kill your hardware

Reports have been coming in that the e1000e ethernet driver for Intel GigE chipsets, as included upstream in Linux 2.6.27, may under certain conditions irreparably damage your ethernet hardware by corrupting the on-board firmware. Beware of buggy alpha versions.