Archive for October, 2007

The first step is to config the kernel:

in Networking/Bluetooth subsystem support:

then in Bluetooth device drivers, select the driver of your bluetooth device or select all if you don’t know your device driver:

add teh support for PPP:

Now install the bluetooth protocol stack in debian:

# apt-get install bluez-utils bluez-firmware bluez-hcidump

Now is necessary to restart the hcid daemon, in debian:

# /etc/init.d/bluetooth start

to verify if configuration is ok, run:

# hciconfig

if the output is like the following, the bluettoth config is OK:

to list all the device:

to scan the remote devices, run:

# hcitool scan

"hcidump" util is a packet analyzer or a sniffer

Comments 3 Comments »

For programmers the debugging is very important to develop his programs correctly, this post is a simple introduction in the use of perl debugger. The perl debugger is integrated in the perl interpreter, to run perl in the debug mode launch it with the switch -d

# perl -d dbex.pl

output:

the help:

at the debugger prompt you can type the command for the debugger.

To make easy debugging in perl is usefull the package ptkdb; it is a visual debugger based on PerlTk libraries and the package is very simple to install from CPAN. Run it from the perl script with the switch -d:ptkdb

# perl -d:ptkdb dbex.pl

Comments No Comments »

After many months of inactivity my home computer is alive. I have parted the hard disk in a way to install many operating systems: Linux, openbsd and windows. Usually, for everyday use, I choose Linux as operating system, but to play game windows is necessary: I should complete Syberia II and I like to play Civilization IV. The next step after install windows ixp is to make it secure, IMHO is simple to do it: the most important thing is to use commonsense with the help of some good program.

An antivirus, a firewall and an antispyware make the windows desktop system secure against the normal attack (antivirus, spyware, trojan etc). In windows xp i have installed the next three programs:

  • Antivir: freeware antivirus, during the program upload, a popup window invite you to buy it.
  • Comodo: a firewall, to use is necessary deactivate windows xp internal firewall.
  • Spybot search & destroy: spyware remover.
  • C-Cleaner: remove temp file and optimize registry.

Comments No Comments »