Sunday, July 31, 2005

cdrecord with ATAPI CDRecorder device

Linux-2.4.xx includes a CDROM Packet interface in the
IDE CD driver. For this driver libscg now includes
support in pre-alpha status. Use cdrecord dev=ATAPI -scanbus
to check for drives and e.g. cdrecord dev=ATAPI:0,0 ....
for writing. Note that this interface is not integrated into
the standard libscg device naming scheme. Support for
this interface has been included because it is the only
way to use a PCCARD/PCMCIA writer - trying to use ide-scsi
on a PCATA interface will cause a Linux kernel panic
or will block all ATAPI drives.

Source : http://cdrecord.berlios.de/old/private/man/README/README.ATAPI

wget: Download entire websites easy

wget is a nice tool for downloading resources from the internet. The basic usage is wget url:

wget http://linuxreviews.org/

Therefore, wget (manual page) + less (manual page) is all you need to surf the internet. The power of wget is that you may download sites recursive, meaning you also get all pages (and images and other data) linked on the front page:

wget -r http://linuxreviews.org/

But many sites do not want you to download their entire site. To prevent this, they check how browsers identify. Many sites refuses you to connect or sends a blank page if they detect you are not using a web-browser. You might get a message like:

Sorry, but the download manager you are using to view this site is not supported. We do not support use of such download managers as flashget, go!zilla, or getright

Wget has a very handy -U option for sites like this. Use -U My-browser to tell the site you are using some commonly accepted browser:

  wget  -r -p -U Mozilla http://www.stupidsite.com/restricedplace.html

The most important command line options are --limit-rate= and --wait=. You should add --wait=20 to pause 20 seconds between retrievals, this makes sure you are not manually added to a blacklist. --limit-rate defaults to bytes, add K to set KB/s. Example:

wget --wait=20 --limit-rate=20K -r -p -U Mozilla http://www.stupidsite.com/restricedplace.html

A web-site owner will probably get upset if you attempt to download his entire site using a simple wget http://foo.bar command. However, the web-site owner will not even notice you if you limit the download transfer rate and pause between fetching files.

Use --no-parent

--no-parent is a very handy option that guarantees wget will not download anything from the folders beneath the folder you want to acquire. Use this to make sure wget does not fetch more than it needs to if just just want to download the files in a folder.

Source : http://linuxreviews.org/quicktips/wget/

Monday, July 25, 2005

TIPS FOR LINUX EXPLORERS

Helpful info for those learning Linux

These Linux tips are meant to provide just enough
information to whet your appetite for more.
They are updated frequently and are not presented
in any particular order.

(Source : [ilug-goa] posted by Edgar D'Souza on 25 July 2005 at 8:29 AM)

http://www.brunolinux.com/

Flash and other pulugins for Mozilla and Firefox for Linux (x86)

Plugin Names :

Find the plugins at
http://plugindoc.mozdev.org/linux.html

Monday, July 11, 2005

Reliance dialler for Linux

Find Reliance dialler for Linux at
http://www.relianceinfo.com/Infocomm/Rim/rconnect_dc_linux.html

Sunday, July 03, 2005

Get info. about files opened by processes

An open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file (Internet socket, NFS file or UNIX domain socket.) A specific file or all the files in a file system may be selected by path.

So If you want to know about what processes are currently hund on to your directory /mnt/cdrom

Explore ext2/ext3 filesystem on windows

Explore2fs: This is an explorer like program which can read and interpret the Linux ex2fs/ext3fs filesystem on windows

to download this
http://uranus.it.swin.edu.au/~jn/linux/

This is to be used with caution

Copying directory trees Edit ( Public )

cp source destination

cp -R /home/gnulinuxclub /tmp
Use the "-R" option (stands for "recursive") to copy the contents of whole directory trees in /home/gnulinuxclub to /tmp

Include path while compiling packages

While installing packages from source,they get installed in the default path ,generally
/usr/local/ . To specify diferent path while installing packages from source,do this while running "./configure"

./configure --prefix=/usr

then proceed as normal.

Friday, July 01, 2005

Change Win ME to Win XP while other Linux OSs on the same hdd

A computer was installed Windows ME on C: (/dev/hda1), Fedora Core 3 (/dev/hda7) and Slackware 10.1 (/dev/hda6). After formatting C: and installing Windows XP to that drive, it was found that the GRUB vanishes. How to fix the problem?

  1. Insert FC3 installation disk into your CD drive and boot it from CD.
  2. You will get boot : prompt
  3. boot : linux rescue
  4. Go through the on screen tasks like Language Selection (EN), Keyboard Selection (US), Enable Network Interface (NO) etc. Now you will be presented with a screen, which system to restore. There was two options /dev/hda6 and /dev/hda7. Select to /dev/hda7 as Fedora Core 3 was installed in that drive. The system will now be mounted.
  5. A message Your system has been mounted under /mnt/sysimage will be shown to you.
  6. You will be automatically placed on a shell. Now do the following tasks in the shell.
  7. chroot /mnt/sysimage (you will go to root environment with this)
  8. grub-install /dev/hda
  9. Now you will be informed that the boot image is successfully transferred to /dev/hda. Now type exit to exit from the root environment and again type exit to exit from the shell and this will reboot your computer.
  10. Viola...........you have finished the job. You can see your old GRUB with all options and new Win there.