Computer: September 2007 Archives

The new Amazon mp3 store

| | Comments (0) | TrackBacks (0)

There's been quite a bit of buzz about it, so I decided to try the Amazon mp3 store myself. I wanted to buy the "Dueling Banjos" song but could not find it without DRM on iTunes. On Amazon, however, it's there (in many versions) and it's quite cheaper. And without DRM, of course. So I just bought the whole "Bluegrass Favorites" album of the Wood Brothers, and the experience was seamless: the files downloaded slowly (on my still borrowed connection: we have received the modem but are still waiting for the activation of the line) and were automatically transferred to iTunes, ready for me to listen to them.

Cheap, convenient, and easy. iTunes music store: there's a new kid on the block, and he means business.

I did something stupid this afternoon: I edited my /etc/sudoers files and saved it with a syntax error. I realized there was something wrong when I tried a "sudo" and could not use it. And as I need sudo to edit this file, I thought I was hosed...

Moreover, OS X (client) does not have the root account enabled by default, and I could not find ways to enable it using only the command line, as the machine on which the problem was is back in France, while I'm in Italy. Searching for a while lead me to the following solution, which could be helpful to others.

What you need: command line access to the machine you need to be root on, and an account with administrative privileges. And the key command is "dsenableroot". Assuming your admin account is foo, and you are logged in as foo:

foo@mac ~ % dsenableroot
username = foo
user password:
root password:
verify root password:

dsenableroot:: ***Successfully enabled root user.

As you can see, the user password is asked, and then you enter the root password twice. You can then do whatever you need to (such as edit the /etc/sudoers file) then disable the root account. Assuming you may not be logged in as foo:

bar@mac ~ % dsenableroot -d -u foo
user password:

dsenableroot:: ***Successfully disabled root user.

I hope this is helpful... I was about to call someone to reboot the Mac in single user mode!

Internet en Italie

| | Comments (0) | TrackBacks (0)

Comme de nombreuses personnes ne le savent sûrement pas, toute la famille a émigré en Italie pour une année, afin que je puisse travailler avec Davide Sangiorgi à l'université de Bologne. Nous sommes arrivé il y a un peu plus d'une semaine, avons emménagé dans notre appartement mardi dernier, et sommes très bien installés. Tout fonctionne: eau, gaz, électricité, téléphone ... et même internet grâce à un voisin, et c'est le sujet de ce billet.

J'ai découvert par hasard, il y a quelques jours, qu'un réseau wifi non protégé était accessible. En cherchant un peu plus, je me suis aperçu que je pouvais y accéder depuis le balcon. C'était la première étape, qui m'a permis de téléphoner par Skype en France en utilisant mon MacBook.

Alan_DJ.jpg

Je ne pouvais pas m'arrêter là: Christelle devait aussi pouvoir accéder à son mail sur notre iMac. Celui-ci étant dénué de connexion sans fil, un petit tour par la section "Partage" des préférences de Mac OS X pour indiquer que je souhaitais partager ma connexion sans fil sur ma connexion ethernet, et un câble plus tard (et le portable toujours sur le balcon), Christelle avait accès a son mail.

Même si le temps à Bologne est plutôt agréable ...

Temps_Bologne.jpg

... rester debout sur le balcon pour accéder à internet grâce à de généreux voisins n'est pas très confortable. C'est comme ceci que je suis arrivé à la troisième (et actuelle) étape: l'utilisation de mon routeur Linksys WRT54G comme point d'accès. Cela a été un peu chaud, mais grâce à de très bonnes instructions, je m'en suis sorti: téléchargement et installation d'un nouveau firmware sur le routeur, configuration en mode client, et zou, c'est le routeur qui est sur le balcon, et les machines à l'intérieur, ce qui est bien confortable pour elles comme pour nous.

Tout ceci est bien sûr temporaire, nous avons lancé notre commande pour notre accès internet. Mais c'était quand même sympa à faire ;-)

Et merci aux voisins de m'avoir donné le réseau, à l'insu de leur plein gré, pour poster ce billet.

2 commentaires étaient sur Haloscan


Hey Alan,

Glad to hear that you've all landed safely in Bologne. So I'm never sure how I feel about the ethics of borrowing/repeating open WiFi networks... but if you really want to do it right (for the record: this was set up to repeat my own network in our large house in Philly), DD-WRT is much better than Alchemy. Among the nice features: your network settings (i.e., security) do not have to match the non-settings of the open network.
Nate | 17.09.07 - 23:37


About the ethics, I'm limiting myself to little traffic, in order not to disturb the person generously providing the free access. But I've ordered ADSL here, it just seems to take a while to be set up.

I heard of DD-WRT when searching for solutions, but could not find a simple tutorial. Moreover, I don't know what the router is at the other end and if I can extend its network (as the moment I'm just using client mode). If you have a link to a simple tutorial, I could try it.
Alan Schmitt | Homepage | 18.09.07 - 10:28

About this Archive

This page is a archive of entries in the Computer category from September 2007.

Computer: December 2006 is the previous archive.

Computer: November 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Recently Played Games