Feeds:
Posts
Comments

Archive for December, 2007

(taken from http://www.ntop.org)

Ntop is a network traffic monitor that shows the network usage. It display a list of hosts that are currently using the network and reports information concerning the (IP and non-IP) traffic generated and received by each host. It is similar to what the popular top Unix command does.

Ntop may operate as a front-end collector (sFlow and / or netFlow plugins) or as a stand alone collector/display program. A web browser is needed to access the information captured by the ntop program. The ntop users can navigate through ntop (that acts as a web server) traffic information and get a dump of the network status. It looks like an agent with an embedded web interface.

Ntop needs a limited configuration and administration via the web interface, reduced CPU and memory usage. It’s easy to use and suitable for monitoring various kind of networks.

What ntop can do for me?

  • Sort network traffic according to many protocols

  • Show network traffic sorted according to various criteria

  • Display traffic statistics

  • Store on disk persistent traffic statistics in RRD format

  • Identify the identity (e.g. email address) of computer users

  • Passively (I.e. without sending probe packets) identify the host OS

  • Show IP traffic distribution among the various protocols

  • Analyse IP traffic and sort it according to the source /destination

  • Display IP Traffic Subnet matrix (who’s talking to who?)

  • Report IP protocol usage sorted by protocol type

  • Act as a NetFlow / sFlow collector for flows generated by routers

  • Produce RMON – like network traffic statistics

It has been developed by Luca Deri, and Italian research scientist and network manager at University of Pisa.

Installation
taufanlubis@toshiba:~$ sudo apt-get install ntop

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
libgd2-noxpm libpcap0.7
Suggested packages:
libgd-tools graphviz
The following NEW packages will be installed:
libgd2-noxpm libpcap0.7 ntop
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3161kB of archives.
After unpacking 12.4MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com gutsy/main libgd2-noxpm 2.0.34-1ubuntu1 [317kB]Get:2 http://archive.ubuntu.com gutsy/universe libpcap0.7 0.7.2-7build1 [71.3kB]
Get:3 http://archive.ubuntu.com gutsy/universe ntop 3:3.2-10.1 [2773kB]
Fetched 3161kB in 1m4s (49.0kB/s)
Preconfiguring packages …
Selecting previously deselected package libgd2-noxpm.
(Reading database … 126317 files and directories currently installed.)
Unpacking libgd2-noxpm (from …/libgd2-noxpm_2.0.34-1ubuntu1_i386.deb) …
Selecting previously deselected package libpcap0.7.
Unpacking libpcap0.7 (from …/libpcap0.7_0.7.2-7build1_i386.deb) …
Selecting previously deselected package ntop.
Unpacking ntop (from …/ntop_3%3a3.2-10.1_i386.deb) …
Setting up libgd2-noxpm (2.0.34-1ubuntu1) …
Setting up libpcap0.7 (0.7.2-7build1) …
Setting up ntop (3:3.2-10.1) …
Adding system user: ntop.
Warning: The home dir you specified already exists.
Adding system user `ntop’ (UID 110) …
Adding new group `ntop’ (GID 122) …
Adding new user `ntop’ (UID 110) with group `ntop’ …
The home directory `/var/lib/ntop’ already exists. Not copying from `/etc/skel’.
adduser: Warning: that home directory does not belong to the user you are currently creating.
Starting network top daemon: Sat Dec 8 08:01:32 2007 NOTE: Interface merge enabled by default
Sat Dec 8 08:01:32 2007 Initializing gdbm databases
ntop
Processing triggers for libc6 …
ldconfig deferred processing now taking place

taufanlubis@toshiba:~$

 

To run ntop at your web browser, type ‘localhost:3000′ at your url.

ntop.png

Read Full Post »

Tcptrack is a sniffer program which can be used to monitor the tcp connection on the network. It passively watches for connection on the network interface. It’s similar to ‘top’ command.

Installation

taufanlubis@toshiba:~$ sudo apt-get install tcptrack

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following NEW packages will be installed:

tcptrack

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 39.6kB of archives.

After unpacking 139kB of additional disk space will be used.

WARNING: The following packages cannot be authenticated!

tcptrack

Install these packages without verification [y/N]? y

Get:1 http://archive.ubuntu.com gutsy/universe tcptrack 1.2.0-1 [39.6kB]

Fetched 39.6kB in 6s (5827B/s)

Selecting previously deselected package tcptrack.

(Reading database … 123337 files and directories currently installed.)

Unpacking tcptrack (from …/tcptrack_1.2.0-1_i386.deb) …

Setting up tcptrack (1.2.0-1) …

taufanlubis@toshiba:~$

How to use it?

The most basic way to run tcptrack.

taufanlubis@toshiba:~$ sudo tcptrack -i eth0

Show web traffic

taufanlubis@toshiba:~$ sudo tcptrack -i eth0 port 80

Only show connection from IP address 10.66.29.121.

taufanlubis@toshiba:~$ tcptrack -i eth0 src or dst 10.66.29.121

You can see the source (client) and destination (server) addresses and ports, connection state, idle time, and band witch usage.

tcptrack.png

Read Full Post »

What is NmapFE?

It is a graphical front end for nmap security scanner. Because the limited help available from the nmapfe help menu, better you read from nmap manual page first. NmapFE was originally written by Zach Smith (key@aye.net). It’s now maintained by Fyodor (fyodor@insecure.org). The newest version of nmap can be obtained from www.insecure.org/nmap/.

If you are not get used to with nmap options, it will be a good alternative.

How to install NmapFE?

taufanlubis@toshiba:~$ sudo apt-get install nmapfe

[sudo] password for taufanlubis:

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following NEW packages will be installed:

nmapfe

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 108kB of archives.

After unpacking 246kB of additional disk space will be used.

WARNING: The following packages cannot be authenticated!

nmapfe

Install these packages without verification [y/N]? y

Get:1 http://archive.ubuntu.com gutsy/universe nmapfe 4.20-2 [108kB]

Fetched 108kB in 16s (6716B/s)

Selecting previously deselected package nmapfe.

(Reading database … 123307 files and directories currently installed.)

Unpacking nmapfe (from …/nmapfe_4.20-2_i386.deb) …

Setting up nmapfe (4.20-2) …

taufanlubis@toshiba:~$

nmapfe.png

 

Read Full Post »

Gnome control center is a front end to configuration applets (capplets) that lets you configure your GNOME desktop. It’s the same like YAST in openSUSE or Control Panel in Windows.
gnome-control-center2.png

You can run it through Run Application screen or enable it from ‘Main Menu’

Menu Available:

Personal

  • About Me

  • Assistive Technology Preference

  • Keyboard Accessibility

  • Keyboard Shortcuts

  • Preferred Application

  • Sessions

Look and Feel

  • Advanced Desktop Effects

  • Appearance

  • Main Menu

  • Screen Saver

  • Windows

Internet and Netwok

  • Network Proxy

  • Remote Desktop

Hardware

  • Default printer

  • Hardware information

  • Keyboard

  • Mouse

  • Printing

  • Screen Resolution

  • Screen and Graphics

  • Sound

System

  • Keyring Manager

  • Language Support

  • Login Window

  • Network

  • Network Tools

  • Power Management

  • Restricted Driver Manager

  • Services

  • Shared Folder

  • Software Sources

  • Synaptic Package Manager

  • System Log

  • System Monitor

  • Time and Date

  • Update Manager

  • User and Groups

Other

  • Bluetooth Preferences

  • Indexing Preferences

  • Kiba-Settings

  • Palm OS Devices

  • Removable Drives and Media Preferences

  • SCIM Input Method Setup

To open gnome-control-center from ‘Run Application screen’, press Alt+F2 and type ‘gnome-control-center‘.
gnome-control-center1.png

To enable it, Open System > Preferences > Main Menu.

From the Menus List, choose ‘Preferences’ and mark ‘Control center’ on the ‘Items List’.

The other way to open “Main Menu”. Press Alt+F2 and type “alacarte”.
gnome-control-center3.png

Read Full Post »

I think PSP is one of great game devices have ever made. You can play games, hear music, see video, see photo, take photo (additional device) even browsing the internet with its wifi capabilities.

When you plug the PSP to your Ubuntu with USB cable, it will act like a flash disk. So, you can upload or download any data that you like.
psp.jpg

How can I do it?

First, connect the PSP to your Ubuntu with USB cable.

Second:

From PSP, Go to ‘settings‘ and choose ‘USB Connection‘.

Wait, for few seconds then you will get a new disk icon on your desktop. The icon will be different based on your themes. I use Mac Leopard themes, so I got an icon like below.
psp1.png

Now, you can double-click the icon to go to PSP directory.

Don’t get confuse with so may directories displayed in your PSP. Then main directories are:

  • VIDEO - for mpeg-3 dan mpeg-4 format (don’t create sub-directory)

  • PSP -

    • COMMON

    • GAME

    • SAVEDATA - for your saved games.

    • SYSTEM

  • PICTURE - for photo (can create sub-directories)

  • MUSIC - for your music (don’t create sub-directory)

  • ISO - for your games (don’t create sub-directory)

psp2.png

Note:
You can save your ‘saved games’ . For example, when you play Tekken (my favorite) until few levels then you remove the game from the PSP, your ‘game levels’ is still kept in the ‘SAVEDATA’ directory. So, next time you install the Tekken again, you still can play with your old ‘game levels’. The concept is the same like PS1, PS2 or PS3. You can change any discs but your level is saved in your memory card.

I think it’s cool idea. So, you can install or remove any games…..

Sample of the ISO directory in my PSP.
psp3.png

Sample of the saved games in my PSP.
psp4.png

Sample of the music directory in my PSP.
psp5.png

Sample of the wallpapper directory in my PSP.
psp6.png

One thing I still can’t find until now is, set my Linux machine acts as server and my PSP as a client. Cool right?

I can do that in Windows. So, I don’t have to upload or remove big game files to my PSP. For your information, PSP games size are from 70MB to 1.5GB meanwhile my Sony Stick Duo memory card is only 2GB.

There are so many web sites provide games for PSP but I think www.pspiso.com is best. Usually games with big file size are divided into few links. If you want it easier, just choose a game with one link only (1 file = 1 game, not split), so you don’t have to merge it again.

psp7.png
My psp iso collections:

taufanlubis@toshiba:/media/Maxtor/Data Game/PSP/ISO Collections$ ls -lh

total 15G
-rwxrwxrwx 2 root root 127M 2006-10-14 16:11 Avatar – The Last Airbender.CSO
-rwxrwxrwx 2 root root 280M 2007-02-12 18:50 Blade Dancer – Lineage of Light.cso
-rwxrwxrwx 2 root root 112M 2007-02-22 22:53 Coded Arms.cso
drwxrwxrwx 1 root root 4.0K 2007-04-24 14:33 cover game
-rwxrwxrwx 1 root root 135M 2006-10-04 17:43 Daxter.cso
-rwxrwxrwx 2 root root 105M 2007-02-12 18:46 Dead to Rights – Reckoning.cso
-rwxrwxrwx 2 root root 185M 2005-07-02 08:20 DEATH 2 RIGHT.iso
-rwxrwxrwx 2 root root 163M 2006-06-16 12:21 Fight Night Round 3.cso
-rwxrwxrwx 2 root root 702M 2007-02-09 22:08 Ghost Rider.cso
-rwxrwxrwx 2 root root 870M 2006-10-31 15:30 Grand Theft Auto.cso
-rwxrwxrwx 2 root root 297M 2006-09-05 21:09 Harry Potter and The Goblet of Fire.cso
-rwxrwxrwx 1 root root 4.2K 2007-05-27 16:04 iso.txt
-rwxrwxrwx 1 root root 563M 2007-02-08 21:17 Locoroco.ISO
-rwxrwxrwx 1 root root 381M 2007-05-27 09:34 LocoRoco.rar
-rwxrwxrwx 2 root root 102M 2007-01-17 21:00 Marvel – Nemesis.cso
-rwxrwxrwx 2 root root 266M 2006-10-27 02:08 Marvel – Ultimate Alliance.cso
-rwxrwxrwx 2 root root 819M 2006-12-06 11:45 Metal Gear Solid – Portable Ops.cso
-rwxrwxrwx 2 root root 22M 2007-04-05 07:35 Mind_Quiz.cso
-rwxrwxrwx 2 root root 639M 2006-06-13 15:37 Monster_Hunter_Freedom.cso
-rwxrwxrwx 2 root root 1.1G 2006-11-17 07:06 Mortal Kombat – Unchained.cso
-rwxrwxrwx 2 root root 186M 2007-01-18 19:21 Online Chess Kingdom.cso
-rwxrwxrwx 2 root root 171M 2007-01-24 18:21 PacMan – World 3.cso
-rwxrwxrwx 2 root root 125M 2006-08-26 23:04 PacMan – World Rally.cso
-rwxrwxrwx 2 root root 326M 2006-10-18 14:02 Power Stone Collection.cso
-rwxrwxrwx 2 root root 711M 2007-02-05 20:21 Prince Of Persia – Revelations.cso
-rwxrwxrwx 2 root root 801M 2006-11-28 18:27 Pro Evolution Soccer 6.cso
-rwxrwxrwx 2 root root 17M 2005-06-08 05:20 Puzzle_Bobble_JAP_PSP-DEV.ISO
-rwxrwxrwx 2 root root 161M 2007-02-13 16:22 Ridge Racer 2 – Japan Version.cso
-rwxrwxrwx 2 root root 184M 2005-09-18 05:26 Ridgeracer.iso
-rwxrwxrwx 2 root root 291M 2006-03-14 20:01 Samurai Warrior.iso
-rwxrwxrwx 2 root root 16M 2007-03-11 11:28 Secret War (2004) #001.cbr
-rwxrwxrwx 2 root root 188M 2007-01-24 10:01 Sid Meirs Pirates – Live the Life.cso
-rwxrwxrwx 2 root root 92M 2006-11-10 17:17 Socom – Navy Seals-Fire Team Bravo 2.cso
-rwxrwxrwx 1 root root 102M 2006-11-18 13:49 Sonic.cso
-rwxrwxrwx 2 root root 75M 2005-07-28 20:15 Star Soldier.iso
-rwxrwxrwx 2 root root 97M 2006-08-05 12:50 Street Fighter – Alpha3 Max Pal.cso
-rwxrwxrwx 2 root root 231M 2006-06-29 12:49 Syphon Filter – Dark Mirror.cso
-rwxrwxrwx 1 root root 768M 2006-07-08 16:54 tekken.cso
-rwxrwxrwx 2 root root 1.2G 2006-07-26 16:35 Tekken – Dark Resurrection.cso
-rwxrwxrwx 2 root root 302M 2007-02-10 19:44 Tenchu – Time of Assasins.cso
-rwxrwxrwx 1 root root 462M 2006-06-07 14:46 TheSims2.cso
-rwxrwxrwx 2 root root 272M 2006-08-31 01:55 Ultimate Ghosts n Goblins.cso
-rwxrwxrwx 2 root root 176M 2007-02-12 19:36 Untold Legends – Brotherhood of the Blade.cso
-rwxrwxrwx 2 root root 602M 2007-02-12 19:40 Valkyrie Profile – Lenneth.cso
-rwxrwxrwx 2 root root 379M 2007-01-17 21:01 Winning Eleven 9 ENG.cso
-rwxrwxrwx 1 root root 155M 2007-01-17 20:58 WipeOut.cso
-rwxrwxrwx 2 root root 432M 2007-02-22 16:43 X-Men Legends 2. – Rise of the Apocalypse.cso

taufanlubis@toshiba:/media/Maxtor/Data Game/PSP/ISO Collections$

Read Full Post »

When I turn my laptop this afternoon, I suddenly lost my sound and got this ugly red cross beside my speaker.

volumewithredsign.png
When I double click the icon, I got this message.
screenshot-mixer_applet2.png

Then I open System > Preferences > Sound ……I lost my sound device.
I can’t run ‘alsamixer’ from the terminal, then I did log off and reboot the system …..
nothing to make the sound work.
The last thing I did was I regularly update my system using:
taufanlubis@toshiba:~$ sudo apt-get update
taufanlubis@toshiba:~$ sudo apt-get upgrade
taufanlubis@toshiba:~$ sudo apt-get dist-upgrade

It’s normal daily routine that I do every day and I always use the ‘main server’ for my repository, so I’m very sure that it didn’t cause the problem.

When I googled, I found a solution in here. This blog belongs to Kamil.
http://linux.dsplabs.com.au/no-volume-control-gstreamer-plugins-and-or-devices-found-no-sound-or-voume-control-bug-on-ubuntu-p31/

He mentioned that it could probably a a Gnome bug and is most likely distribution independent. I agree that it may caused by independent distribution. When you install something using Sypnatic Package Manager, any programs that have been tested by Ubuntu Team and compatible with it has a Ubuntu logo beside the package title.

sypnatic.png

 

Because, there’s so many applications that I’ve run in my laptop.

But, who cares….. If you wanna try a new thing then you have to be ready with consequences.

 

The point is how we can fix the problem. So, here it is.

Problem 1. I don’t have any more access to my audio.

taufanlubis@toshiba:~$ ls -l /dev/snd
total 0
crw——- 1 root audio 116, 3 2007-12-20 12:51 seq
crw——- 1 root audio 116, 2 2007-12-20 12:51 timer

taufanlubis@toshiba:~$

If you see the list in my /dev/snd directory, the access is only for root. Then I gave a new access to me (taufanlubis).

taufanlubis@toshiba:~$ sudo chmod -R a+rwx /dev/snd

for temporary access. But, I got a new error message.

nosound.png

Then I try to make it permanent.

taufanlubis@toshiba:~$ sudo adduser taufanlubis audio

The user `taufanlubis’ is already a member of `audio’.

 

Strange, now I’m part of the groups but I still can’t hear the sound.

I though it’s caused by Gstreamer plugins.

So, I did update my system again ….

taufanlubis@toshiba:~$ sudo apt-get update

taufanlubis@toshiba:~$ sudo apt-get upgrade

taufanlubis@toshiba:~$ sudo apt-get dist-upgrade

…. and restart my laptop again.

 

Problem 2. I lost my sound device.

But, still there is no sound.

Then, I just realized that I don’t have my /dev/dsp, /dev/mixer, /dev/snd/pcm* anymore.

That’s why, I can’t run alsamixer from my terminal.

 

So, re-install my sound driver. Now, I got my device back.

taufanlubis@toshiba:~$ ls -l /dev/snd
total 0
crw——- 1 root audio 116, 0 2007-12-20 19:40 controlC0
crw——- 1 root audio 116, 4 2007-12-20 19:40 hwC0D0
crw——- 1 root audio 116, 5 2007-12-20 19:40 hwC0D1
crw——- 1 root audio 116, 24 2007-12-20 19:40 pcmC0D0c
crw——- 1 root audio 116, 16 2007-12-20 19:40 pcmC0D0p
crw——- 1 root audio 116, 30 2007-12-20 19:40 pcmC0D6c
crw——- 1 root audio 116, 22 2007-12-20 19:40 pcmC0D6p
crw——- 1 root audio 116, 1 2007-12-20 19:40 seq
crw——- 1 root audio 116, 33 2007-12-20 19:40 timer

taufanlubis@toshiba:~$

 

 

taufanlubis@toshiba:~$ ls -l /dev/dsp
crw——- 1 root audio 14, 3 2007-12-20 19:40 /dev/dsp
taufanlubis@toshiba:~$ ls -l /dev/mixer
crw——- 1 root audio 14, 0 2007-12-20 19:40 /dev/mixer
taufanlubis@toshiba:~$

 

Problem 3. I lost my access to System > Administration > Users and Groups.

I don’t know how but I don’t have any access to ‘Users and Groups’ which is bad because I can’t set the permission to my user login (taufanlubis).

The only way is I have to run it as ‘root‘. So, I opened my terminal, Application > Accessories > Terminal, login as root and open ‘users-admin’ application.

Then, I updated my ‘User Privileges’ and reboot the system.

users-admin.png

I have my sound back.

Checked again the permission.

taufanlubis@toshiba:~$ ls -l /dev/snd
total 0
crw-rw—- 1 root audio 116, 0 2007-12-20 19:40 controlC0
crw-rw—- 1 root audio 116, 4 2007-12-20 19:40 hwC0D0
crw-rw—- 1 root audio 116, 5 2007-12-20 19:40 hwC0D1
crw-rw—- 1 root audio 116, 24 2007-12-20 19:40 pcmC0D0c
crw-rw—- 1 root audio 116, 16 2007-12-20 19:40 pcmC0D0p
crw-rw—- 1 root audio 116, 30 2007-12-20 19:40 pcmC0D6c
crw-rw—- 1 root audio 116, 22 2007-12-20 19:40 pcmC0D6p
crw-rw—- 1 root audio 116, 1 2007-12-20 19:40 seq
crw-rw—- 1 root audio 116, 33 2007-12-20 19:40 timer

taufanlubis@toshiba:~$ ls -l /dev/dsp
crw-rw—- 1 root audio 14, 3 2007-12-20 19:40 /dev/dsp
taufanlubis@toshiba:~$ ls -l /dev/mixer
crw-rw—- 1 root audio 14, 0 2007-12-20 19:40 /dev/mixer
taufanlubis@toshiba:~$

Everything is ok.

I have my sound icon back to normal. Test with xmms, …..done….. I can hear the sound again.

sound.png

Read Full Post »

Google Earth is a great program to see a place from satellite. It’s designed for Windows before but it’s also available for Linux.

You can download the program from www.google.com. It’s in linux installer format, so you don’t have to compile it again.

Step 1. Installation Process

After you downloaded the program, go to its directory and run the installer.

taufanlubis@toshiba:~/MyData/Packages$ ls -lh GoogleEarthLinux.bin

-rwxrwxrwx 1 taufanlubis taufanlubis 22M 2007-10-20 15:06 GoogleEarthLinux.bin

taufanlubis@toshiba:~/MyData/Packages$

taufanlubis@toshiba:~/MyData/Packages$ sudo ./GoogleEarthLinux.bin

[sudo] password for taufanlubis:

Verifying archive integrity… All good.

Uncompressing Google Earth for GNU/Linux 4.2.198.2451……………………………………………………..

gooleearthsetup.png

Then, click ‘Begin Install’ button.

Installing mimetypes…

Installing desktop menu entries…

Installing desktop icon…

googleearthsetup2.png

You will get the screen above after the installation process is done.

You can run it from Applications > Internet > Google Earth.

Type your destination at ‘Fly to’ text box. For example, I stay in Bogor, Indonesia. So, I just type ‘bogor, indonesia’ in ‘Fly to text box’. But, make sure that you connected to the internet otherwise the google earth will not work.

google-earth.png

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.

Join 71 other followers