sexta-feira, 9 de abril de 2010

The loop mount - see contents of iso file

Imagine you downloaded an CD "iso" image and you want to see what's inside perhaps to add a few files.

As "root" (only root can do that or an user with privileges) issue the following command:

#
# mount -o loop /home/youruser/my-iso-file.iso /mnt/DISK/
#

That is: mount -options its_a_loop_device /the_path_to_the_file /the_mount_point

In this case the mount point is under "/mnt" directory (and "/DISK" directory was created) but could be any other location you specified.

quinta-feira, 8 de abril de 2010

Download files from Nokia E65 phone using bluetooth

True for other Nokia phones also.

# command line
#
#obexftp -i -b 00:17:E6:05:04:34 -g "C:/Data/Images/07042010(003).JPG"
#

Explanation:

obexftp -connect_using_irda_protcola -bluetooth_device device_number(00:17:E6:05:04:34) -retrive_files_from_mobile "path_to_and_file_nane"

Attention that the path for the file name depend on you mobile phone language.
To see the name of the image file go to "Gallery" "Images" on the phone menu.

For videos the path is: "C:/Data/Videos/" append the file name after Videos/ using MP4 as extension.

Used modules and needed software

ObexFTP version 0.22
Kernel: 2.6.18-1.2798.fc6
Modules:
rfcomm 46041 1
l2cap 31681 9 rfcomm
bluetooth 58917 4 rfcomm,l2cap

rfcomm -a (lists the mobile phone device id)

Bluetooth dongle was the cheapest I could find, the id is: ID 0e8f:0016 GreenAsia Inc.
bought at a Chinese store.

quarta-feira, 7 de abril de 2010

xeyes


"Those who don't understand UNIX are condemned to reinvent it, poorly." – Henry Spencer

Quite true! If you look at the major features in Unix systems you will see them implemented in the new versions of the most common operating systems in use today.

My computer background started around 82 (that is 1982) when I started using an ZX Spectrun computer. Them came some time without computers and after I started using PC's or shall we say IBM PC with the good oldie Intel 8088 CPU (not 8086). At that time DOS was the master OS then came Windows 3.0 and 3.1 for work groups. One day I was making a school work typing some text and the bloodie text processor crashed making me lost 22 pages of text. I tough that applications and OS should be more robust than this....that idea stayed in my mind! Some time later around 1996 I was attending a computer exhibition and spotted some nice little app, different in everything I had seen, graphically and interface wise... I saw "xeyes" running in a "xserver" with "twm" window manager on a Linux machine....I had found my future OS of choice! Since 1997 I am Micro!@##$$ free!!! That is 13 happy computing years!

In this blog I will document , mostly for my future reference, the Linux configurations and settings I use because it's a pain to configure everything again and again when you install a new distro.