|
| |
| |
| |
|
Statistics |
| Unique Visitors: 0 |
| Total Unique Visitors: 224 |
| Visitors Out: 1904 |
| Total Visitors Out: 1904 |
|
|
|
| |
|
|
| |
|
| OpenSUSE 11.0 : Documentations |
| 2008-07-02 04:28:00 |
OpenSUSE 11 provides everything today’s Linux user needs for home computing and computing-on-the-go. Created by the openSUSE.org project, the product includes a stablized, secure and reliable Linux operating system plus a complete set of desktop applications - office suite, Web browser, instant messaging client, multimedia viewers, and graphical software. It also offers the latest open source
...
|
| |
|
| Fetchmail Configuration |
| 2008-07-02 04:17:00 |
First make an empty file named “.fetchmailrc” in your home directory. The easiest way for it is to use the command “touch”.
$ cd ~/
$ touch .fetchmailrc
Then change the permission of that file to 600 (that is, readable and writable only by the owner of the file).
$ chmod 600 .fetchmailrc
Now add these lines to .fetchmailrc file
poll SERVER with proto PROTOCOL
user REMOTE_USER there with
...
|
| |
|
| Cutting the tcp/ip network connection with cutter |
| 2008-07-02 04:08:00 |
Just imagine that people in your private network using peer to peer software such as Kazaa, iMesh or others and you want to cut them or just want to cut all ftp connection over firewall but not all traffic to host. For examples:
Suppose a client workstation 192.168.1.1 sending ftp, http, ssh traffic using 192.168.1.254 (Linux based) router to server outside our network, and you would like to cut
...
|
| |
|
| Working with tar with encryption |
| 2008-07-02 04:06:00 |
STEP 1 (Using the tar command on the directory /stuff)
Suppose you have a directory /stuff. To tar everything in stuff to create a “.tar” file.
$ tar -cvf stuff.tar stuff
Which will create “stuff.tar”.
STEP 2 (Using the tar command to create a “.tar.gz” of /stuff)
$ tar -czf stuff.tar.gz stuff
STEP 3 (List the files in the archive)
$ tar -tzf stuff.tar.gz
or
$ tar -tf stuff.tar
STEP 4 (A
...
|
| |
|
| How To setup "Cron" job |
| 2008-07-02 04:02:00 |
To edit or create a new cron jobs
$ crontab -e
You may want to put in the following header
#MINUTE(0-59) HOUR(0-23) DAYOFMONTH(1-31) MONTHOFYEAR(1-12) DAYOFWEEK(0-6) Note 0=Sun and 7=Sun
#
#14,15 10 * * 0 /usr/bin/somecommmand >/dev/null 2>&1
The sample “commented out command” will run at 10:14 and 10:15 every Sunday. There will
be no “mail” sent to the user because of the “>/dev/null 2>&1″
...
|
| |
|
| How authentication work between web server and Browser |
| 2008-07-02 03:02:00 |
When a particular resource has been protected using basic authentication, Apache sends a 401 Authentication Required header with the response to the request, in order to notify the client that user credentials must be supplied in order for the resource to be returned as requested.
Upon receiving a 401 response header, the client’s browser, if it supports basic authentication, will ask
...
|
| |
|
| 42 of the Best Free Linux Audio Software |
| 2008-07-02 02:43:00 |
To provide an insight into the quality of software that is available, we have compiled a list of 42 high quality Linux audio applications, covering a broad range of different uses. Most of the titles included here are desktop applications sporting an attractive front-end, although we have not forgotten console software.
We intend to examine audio programming languages (both text and graphical
...
|
| |
|
| Network configuration for Debian |
| 2008-07-01 07:06:00 |
The network interfaces in debian are configured in /etc/network/interfaces. There are scripts to bring things up and down (i.e. "ifup eth0"), although "ifconfig eth0 up" should work, too. This would be a basic configurations...
If you want to get the ip using dhcp
#/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
...
|
| |
|
| Code Analyzer for Java - QJ-Pro |
| 2008-07-01 02:52:00 |
QJ-Pro is a comprehensive software inspection tool targeted towards the software developer. Read the PDF brochure and concepts for an understanding of what the product does.
Developers can automatically inspect their Java source code and improve their Java programming skills as they write their programs. QJ-Pro provides descriptive Java patterns explaining error prone code constructs and
...
|
| |
|
| Linux Testing and Benchmarking Package - Phoronix Test Suite |
| 2008-06-30 03:31:00 |
The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux and is designed to carry out qualitative and quantitative benchmarks in a clean, reproducible, and easy-to-use manner. This software is based upon the internal tools and extensive Linux benchmarking work done by Phoronix since 2004, with input from tier-one computer hardware vendors. This
...
|
| |
|
| Reviews on openSUSE 11.0 |
| 2008-06-30 03:20:00 |
This is a very strong OpenSUSE release with a lot of compelling improvements. OpenSUSE 11 offers the best KDE 4 experience. OpenSUSE 11 is also an increasingly solid choice for GNOME users …”
First look: OpenSUSE 11 out, offers best KDE 4 experienceopenSUSE 11.0 First ImpressionsThe first 24-hours with openSUSE 11 (KDE 4)Kudos to openSUSE 11.0OpenSuse 11 - First ImpressionsYou run Linux already
...
|
| |
|
| Compiz Fusion Settings in OpenSuse 11 |
| 2008-06-30 02:16:00 |
For openSUSE 11.0, Stefan Dirsch and the rest of the openSUSE Xorg team has worked hard to ensure that AIGLX is enabled by default for all supported hardware. This means that you can run Compiz or other desktop effects such as those in KDE 4 without having to directly enable Xgl or edit xorg.conf manually. Compiz Fusion project has matured significantly, complementing Compiz with extra plugins, a
...
|
| |
|
| How To Create and modify ISO images |
| 2008-06-30 02:06:00 |
ISO Master is an open source application for Linux for creating and modifying ISO9660 files (ISO images).
Features:
Create an ISO image from scratch.
Add or remove files and directories to/from a CD image.
Create bootable CDs using various boot record types: no-emulation (isolinux, Microsoft Windows), 1.2, 1.44 and 2.88 floppy disk emulation.
Support for Rock Ridge and Joliet file names.
ISO
...
|
| |
|
| Default password list in the system/Application |
| 2008-06-26 02:46:00 |
Why? because most system administrator forget to change their default password in the system. So basically during the first assessment or audit, just go through using this default password to enter the system. What you need is to search this following site to get default password update.
Password Generic System
This following resources provide information about detail password in many type of
...
|
| |
|
| Security Audit Tool for Linux (must have) - Lynis |
| 2008-06-26 02:26:00 |
Lynis is an auditing tool for Unix (specialists). It scans the system configuration and creates an overview of system information and security issues usable by professional auditors.
This software aims in assisting automated auditing of Unix based systems and can be used in addition to other software, like security scanners, system benchmarking and fine tuning tools.
Examples of audit tests:
-
...
|
| |
|
| Nipper - The Network Infrastructure Parser |
| 2008-06-26 02:07:00 |
Nipper enables network administrators, security professionals and auditors to quickly produce reports on key network infrastructure devices.
The report can include a detailed security audit of the device settings or be a configuration report, the output is customisable. Nipper supports a wide variety of devices from different manufacturers such as Cisco, Nokia, Juniper, CheckPoint and Nortel.
...
|
| |
|
| The Kernel Boot Process |
| 2008-06-25 08:51:00 |
The previous post explained how computers boot up right up to the point where the boot loader, after stuffing the kernel image into memory, is about to jump into the kernel entry point. This last post about booting takes a look at the guts of the kernel to see how an operating system starts life. Since I have an empirical bent I’ll link heavily to the sources for Linux kernel 2.6.25.6 at the
...
|
| |
|
| How to run IE (Internet Explorer) in OpenSuse |
| 2008-06-25 00:21:00 |
IEs4Linux is the simpler way to have Microsoft Internet Explorer running on Linux (or any OS running Wine). WINE is a opensource Windows API implementation for the Linux platform and IEs4Linux is the “installer” which will download, install and get IE to work with WINE.
1. Add the WINE repository for openSUSE 11.
YaST2 -> Software -> Software Repositories.
http://download.opensuse.org/
...
|
| |
|
| HowTo configure Dial-Up internet connection in Ubuntu |
| 2008-06-24 06:26:00 |
First go to System->administration ->Netwok, when a dialog appear, click Unlock, enter password.
Click Point-to-Point connection, then fill in the dialog with your dial-up internet account details, as shown.
Click OK to confirm your selection, and you are done. Click the modem tab, put in your modem device port, typically it should be a serial device or /dev/modem
Hopefully this should be able
...
|
| |
|
| atunes - iTunes/Winamp/Amarok killer |
| 2008-06-24 00:59:00 |
aTunes is a full-featured audio player and manager, developed in Java programming language, so it can be executed on different platforms: Windows, Linux and Unix-like systems, ...
Currently plays mp3, ogg, wma, wav, flac, mp4 and radio streaming, allowing users to easily edit tags, organize music and rip Audio CDs.
This media player uses the open source MPlayer engine and is built on Java,
...
|
| |
|
| How to install Microsoft Fonts in OpenSuse 11 |
| 2008-06-24 00:34:00 |
Open and konsole or terminal
Now to to your home directory type “cd /home/Username/ and type the following commands to get and install Microsoft Fonts on your OpenSuse 11 box.
wget http://download.opensuse.org/update/10.3/scripts/fetchmsttfonts.sh
chmod a+x fetchmsttfonts.sh
sudo sh fetchmsttfonts.sh
Once installation is done, you may delete the file fetchmsttfonts.sh of your desktop.
...
|
| |
|
| List of best Linux blogs |
| 2008-06-23 06:36:00 |
UbuntuHQ Great site where you find a good collection of Ubuntu news, and posts, from other blogs.
ubuntublog Good Ubuntu blog, with lots of good Ubuntu stuff, sadly it stopped in September this year
PolishLinux This is a great Linux site, it has really good stuff, and great content
LinuxHelp Good site with great stuff, frequently updated.
UbuntuEssentials Frequently updated Ubuntu Site
...
|
| |
|
| How to block/allow packets sent by specific Operating System with iptables? |
| 2008-06-23 04:30:00 |
There is an iptables module named OSF (passive OS Fingerprinting) that was written by Evgeniy Polyakov. This module allows passively detect OS packet was sent from and perform various netfilter actions based on this match. Packets with SYN bit set are analyzed.
In order to install OSF module, do the following:
1. Download latest release from here, for example as follows:
wget http://
...
|
| |
|
| Domain Masquerading in Sendmail |
| 2008-06-21 08:39:00 |
Suppose you have a domain (test.com) on which your sendmail is running and you want to send out the mails from this server with domain (other.com) — (This is a very simple example to doing spamming)
In such a scenario, sendmail can be configured to masquerade the domain name (From test.com to other.com), effectively.
Before changing the default sendmail configuration, the Sendmail Configuration
...
|
| |
|
| Check you Disk speed |
| 2008-06-21 08:38:00 |
Using some simple command you can check the performance of you hard disk, just execute following command…
# hdparm -tT /dev/hda
/dev/hda:
Timing cached reads: 732 MB in 2.00 seconds = 365.20 MB/sec
Timing buffered disk reads: 114 MB in 3.05 seconds = 37.38 MB/sec
Substitute /dev/hda with the name of your disk device.
...
|
| |
|
| How To do a quick Network Performance Test |
| 2008-06-20 03:26:00 |
If you want to do a simple and quick network performance test you can use the ftp command.
FTP on Linux and other Unix systems allows you to pass shell commands to the ftp client by using the pipe symbol ‘|’ as the first character of the file name. With this feature you can send a very large file to a remote host using /dev/zero as input and /dev/null as output.
Example:
ftp> put “|dd if=/dev/
...
|
| |
|
| Multimedia support in OpenSuse 11 (MP3, MPEG-4, DiVX, etc.) |
| 2008-06-20 01:10:00 |
If you are using KDE - Download and run (execute) this
If you are using Gnome - Download and execute this
Want VLC player - Download and run this
This will enable you to have:Flash
JavaLatest Amarok (with MP3 Support) for KDE, or Helix-Banshee for GNOME usersEncrypted DVD (libdvdcss)Extra XINE Codecs, for DivX/Xvid etc. (libxine1)K3b with MP3 Support (k3b-codecs)Win 32 Codecs (w32codec-all)
...
|
| |
|
| Things that will not work in OpenSuse 11.0 |
| 2008-06-19 12:34:00 |
Xgl Versus AIGLX
On openSUSE 11.0 it is no longer possible to enable or disable Xgl with a graphical tool (such as gnome-xgl-settings in the past). Only the command line tool xgl-switch is still left to do this job. Instead AIGLX is now always enabled on supported hardware. There are still some issues with AIGLX (e.g., Xvideo is usually slower, OpenGL applications are misplaced when you rotate
...
|
| |
|
| Check errors in NIC from command line |
| 2008-06-19 08:19:00 |
Errors are a common symptom of slow connectivity due to poor configuration or excessive bandwidth utilization. They should always be corrected whenever possible. Error rates in excess of 0.5% can result in noticeable sluggishness.
Ifconfig Error Output
wlan0 Link encap:Ethernet HWaddr 00:06:25:09:6A:D7
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:2924 errors:0 dropped:0 overruns:0 frame:0
...
|
| |
|
| Squid Password Authentication Using NCSA |
| 2008-06-18 20:22:00 |
You can configure Squid to prompt users for a username and password. Squid comes with a program called ncsa_auth that reads any NCSA-compliant encrypted password file.
1) Create the password file. The name of the password file should be /etc/squid/squid_passwd, and you need to make sure that it’s universally readable.
# touch /etc/squid/squid_passwd
# chmod o+r /etc/squid/squid_passwd
2) Use
...
|
| |
|
| Its time to upgrade from OpenSuse 10.x to OpenSuse 11.0 |
| 2008-06-18 08:52:00 |
We hear that openSUSE 11.0 is just about to come out in some hours time, and it's high time to consider to go from a .2/.3 release to a .0 release? Well here are some main reasons why:
QT4 Installer:
Obviously the first thing you see when you upgrade / install an operating system is the installer screen. openSUSE 11.0 introduces a beautifully designed new QT 4 installer, that runs circles around
...
|
| |
|
| GRE Tunneling How to |
| 2008-06-18 08:06:00 |
Lets say you have 2 networks that you want to connect to each other. These networks are both connected to the Internet.
So we have network A:
network 10.0.1.0
netmask 255.255.255.0
router 10.0.1.1
Internet 172.16.17.18
and network B:
network 10.0.2.0
netmask 255.255.255.0
router 10.0.2.1
Internet 172.19.20.21
On the router of network A, you do the following:
ip tunnel add B mode gre remote
...
|
| |
|
| Block Messenger (AOL, Yahoo, MSN) services through Squid and Iptables |
| 2008-06-18 02:57:00 |
First of all you need to have a running copy of squid and you make transparent for your local
LAN. Add this to your squid.conf:
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
And this to your IPTABLES:
iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j REDIRECT –to-port 3128
iptables -A OUTPUT -j ACCEPT -m state –state NEW,
...
|
| |
|
| How to create a self signed certificates for Java Applets |
| 2008-06-18 01:22:00 |
1. Create your code for the applet as usual.
2. Install JDK and set the class-path/path
3. Generate key: keytool -genkey -keyalg rsa -alias key
Enter keystore password:
What is your first and last name?
[Unknown]: Nikesh
What is the name of your organizational unit?
[Unknown]: Cybage
What is the name of your organization?
[Unknown]: Cybage
What is the name of your City or Locality?
...
|
| |
|
| Few Quick How To’s for Fedora |
| 2008-06-17 08:43:00 |
How to list partition tables
fdisk -l
How to list filesystem disk space usage
df -T -h
How to list mounted devices
mount
How to list PCI devices
lspci or /sbin/lspci
If the first does not work try the latter.
How to list USB devices
lsusb
How to forcefully unmount CD/DVD-ROM manually
umount /media/cdrom0/ -l
How to remount /etc/fstab without rebooting
mount -a
How to generate MD5 checksum
...
|
| |
|
| cachemgr (Cache Manager) configuration for Squid |
| 2008-06-17 08:28:00 |
The cache manager (cachemgr.cgi) is a CGI utility comes with squid for displaying statistics about the squid process as it runs. The cache manager is a convenient way to manage the cache and view statistics without logging into the server
To make this configuration you need a webserver (Apache) running and configured.
1) Try to locate your cachemgr.cgi file which comes with the squid package,
...
|
| |
|
| Couple of easy steps to Speed Up Linux |
| 2008-06-17 07:59:00 |
By default there are lot of services that are running on your system (Any Fedora system) and all these services consume your resource like CPU and Memory, increase your booting time and also open your system for attack, So in order to make your system run faster and safer we need to stop all these unwanted services.
Login with root account, go to console and fire command “ntsysv”, you should see
...
|
| |
|
| What is TTL - "Time To Live" |
| 2008-06-17 07:53:00 |
Have you ever observed the output of ping command … and wonder what’s this “TTL” stand for
Pinging www.google.com [72.14.205.104] with 32 bytes of data:
Reply from 72.14.205.104: bytes=32 time=365ms TTL=242
Reply from 72.14.205.104: bytes=32 time=367ms TTL=242
Reply from 72.14.205.104: bytes=32 time=370ms TTL=242
Reply from 72.14.205.104: bytes=32 time=366ms TTL=242
Each IP packet has a Time
...
|
| |
|
| Execute a task ‘at’ the time you want |
| 2008-06-17 07:49:00 |
Procedure :
At the prompt type this command followed by
$ at 2359
The moment you press Enter the prompt changes into an arrow indicating that more information is required by Linux. Type the following command assuming you have installed XMMS player which plays mp3 files and that you actually have a mp3 file in the directory shown below
> xmms /home/david/mp3s/rock_my_world.mp3
Once you have
...
|
| |
|
| Monitor your hardware Temperature - Ubuntu |
| 2008-06-16 07:07:00 |
Computer Temperature Monitor is a little applet for the GNOME desktop that shows the temperature of your computer CPU and disks on screen. It allows you to log temperatures to a file. You can set alarms to notify you when a tempertature is reached.
Download (ubuntu): HereDownload (Source): Here
Configuration on Ubuntu:
...
|
| |
|
| |
 |