linux poison RSS
linux poison Email
1

Howto change your MAC address (helps in hacking)

Open up a terminal and switch to root user.
Suppose : xx:xx:xx:xx:xx:xx = new mac address you wan to assign to you box
example: 1a:2b:3c:4d:5e:6f

Characters allowed in mac address: 1 2 3 4 5 6 7 8 9 0 a b c d e f
enter the following:
# ifconfig eth0 down
# ifconfig eth0 hw ether 1a:2b:3c:4d:5e:6f
# ifconfig etho up
Check the new MAC address by using following command
# ifconfig


Read more
0

How to load programs faster (prelink)?

# Install package: prelink (here)

Create backup: cp /etc/default/prelink /etc/default/prelink.bak

# Edit “/etc/default/prelink” as root, and find this line:

PRELINKING=unknown

# Change it to:

PRELINKING=yes

# Exit from editor, saving the file.
# Execute the following command - sudo prelink -avmR

Restart and see the difference


Read more
1

Reinstall Grub after installation/upgrade of Windows (Vista)

This is for Windows (XP or Vista) dual boot with Fedora Core (any version)

Boot the Fedora cd disk #1 (installation disk).
At the installation menu, type in linux rescue (hit the enter key)

Now system will try to find your linux installation and all goes fine it will mount your root filesystem under /mnt/sysimage directory.

At the terminal prompt, Type in chroot /mnt/sysimage
then type: cd /boot/grub this is where your grub files are.
Type cat grub.conf and note which hd it is referring to.

If this does not work for some reason, type in df or rdev and this will show you where the root drive is, usually the first entry (line).

Then type; (I am installing grub on the MBR of first hardisk)

grub-install –recheck/dev/hda

This may take a minute or so and should just return a command prompt with no errors. Once it does, type in reboot and see if grub comes up normally.

Read more
0

Tape drives naming convention

SCSI tape device names
The st driver provides the interface to a variety of SCSI tape devices under Linux.

  • First (auto rewind) SCSI tape device name: /dev/st0
  • Second (auto rewind) SCSI tape device name: /dev/st1
  • First the non-rewind SCSI tape devices: /dev/nst0
  • Second the non-rewind SCSI tape devices: /dev/nst1

IDE tape device names
The ht driver provides the interface to a variety of IDE tape devices under Linux.

  • First (auto rewind) IDE tape device name: /dev/ht0
  • Second (auto rewind) IDE tape device name: /dev/ht1
  • First the non-rewind IDE tape devices: /dev/nht0
  • Second the non-rewind IDE tape devices: /dev/nht1
Read more
0

Popular Linux OS download links

Read more
Related Posts with Thumbnails