Tuesday, September 30, 2008

New Movies and Puppies

This summer I shot 2 movies, called The End and Torta al cioccolato (Chocolate Cake). They're now available on youtube, just follow the links.

I also have big news: my dog Penny is pregnant with 6 puppies!

Wednesday, September 03, 2008

Summer Holidays 2008

I got back from my holidays yesterday.
This summer I've been to Paris, where I presented my acoustics article (check youtube channel soon for a video of my presentation), to Valencia for a couple of days. I spent most of the remaining time in Campomoro, and the whole August in Folgarida.
I did lots of walks and biking in both places, with more walks having place in Folgarida due to the cooler weather.
I took relatively few pictures, but I shot two short films, which you can see on my youtube channel. I also tried downhill bicycling, which is real fun, especially considering that a modern downhill bicycle has much better suspension and brakes than my old motorbikes.

This allowed me to go much faster with little risk, leaving my brother and dad to bite dust behind me.

ASUS EEE GPRS connection - simple mode

How to configure a GPRS connection on your Asus EEE. Tried with various Motorola V360 phones connected with an USB cable in data mode.
A quicker and simpler way to achieve the same result as the previous post.
Just create a standard dial-up connection and try it. If it doesn't work,install wvdial.
sudo apt-get install wvdial

Then run wvdialconf and wvdial. They'll configure and try to run you connection. If the second one fails after getting the carrier, start the connection from the network settings and it will work.

Monday, May 26, 2008

Asus EEE connection

I just managed to set up once again the connection on my asus eee. As I had completely forgot how it was done, I'm going to store all the data here, for future reference.
The settings are for Wind, you probably have to change "internet.wind" with the APN of your provider.
1. Create a dialup connection profile for your mobile.

2. Edit /etc/ppp/peers/dialup1 so as to obtain this code:

#
# This file was generated by xandrosncs tools.
#
ipparam "dialup1"
name "pjkoij"
remotename "dialup1_XANDROS_NCS_REFERENCE"

connect "/opt/xandros/lib/libxandrosncs/bin/xandrosncs-pppconnect-chat dialup1"

noauth
hide-password
noipdefault
usepeerdns

modem /dev/ttyACM0
460800

/dev/ttyACM0

3. Edit /etc/chatscripts/dialup1 thus:

#
# This file was generated by xandrosncs tools.
#
ABORT VOICE
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "NO DIAL TONE"
TIMEOUT 120
"" ATZ
OK ATV1E0
OK AT+CGDCONT=1,"IP","internet.wind"
OK ATD*99#
CONNECT \c

Friday, January 18, 2008

Triple Boot on my MacBook Pro

I finally managed to set up a triple boot system on my macbook pro. It would actually have been much easier if I knew that you must format your windows partition during the windows setup. If you don't, windows xp is not going to work (and don't use quick format nor convert to ntfs, they're not going to work). It is actually quite simple: you just create 2 partitions using disk utility, and yo format the windows one to fat32. You should ensure that neither your primary partition nor the partition you want to use with linux are htfs+ journaled. Linux cannot write to journaled file systems. After you made the partitions (you may need to use disk utility boot from your mac os x dvd, depending on your previous system configuration) you should install rEFIt: an open source boot loader for the EFI platform. rEFIt will detect any bootable device in your system at each startup. With rEFIt installed you can boot from the Ubuntu Live CD (or DVD) and install it. You need an external mouse to right click. During setup be careful about the keyboard layout: it tends to get it wrong on macs (you can change it at a later time, though). Install linux on the third partition (the first being EFI and the second being Mac). Windows needs to be on the last partition. You can try to install Grub directly on the correct partition (hd0,2) by changing the install location in the advanced pop-up window. However I didn't manage to boot ubuntu if I installed grub on the partition. If you let ubuntu install grub on the whole disk, windows will overwrite it during its own setup, requiring you to re-install grub on the correct partition. Once you completed the ubuntu setup check that it's bootable and install windows (remember about formatting the partition if installing xp). As you need to access both a windows and a linux (ext3) filesystem from your mac you can use ntfs for your windows drive, as you need to install MacFUSE on your Mac anyway in order to get access to ext3. Once Windows is setup you will find that rEFIt doesn't show linux as bootable anymore. To restore it you need to boot from Ubuntu Live CD, go to http://supergrub.forjamari.linex.org/, download Super Disk Grub and install it on your third partition foolowing Herman's instructions (available on the linked web site). Note that while the instructions show ho to set up grub on a usb stick, you need to install it to your linux disk (it is the only ext3 one). I did try to boot from the memory stick, but an error pops-up and it doesn't boot.
After re-installing grbu everything should work fine (after, of course, you install all the drivers).
While ubuntu automatically reads and writes to other disks, you need MacFUSE for enabling other disks on Mac, and MacDrive and Ext2fs for enabling them on windows.