Archive for July, 2009

Distributed compiling

Posted by Vitalie Ciubotaru

It’s been at least a couple of years since I first read about combining several computers to jointly build a piece of software. I new about parallel building (using several instances of compiler), but the mere idea of spreading a compilation among many machines sounded fascinating.

Last week I decided to give it a try. It wasn’t a planned activity — I just got some free time. I was upgrading OpenOffice (a long- and much-needed activity) but it failed due to lack of disk space. There was no good way to get extra space and I started thinking about moving the source to the other machine. This is when I recalled distcc.

So far, I only used it to distributedly compile a couple of rather small packages, just to see if it works. It does. Next, I will move the OpenOffice source tree to my other machine and try to build it from there using distcc.

Issues in Linux (cont’d)

Posted by Vitalie Ciubotaru

1. Local network. Finaly, I managed to hunt down the problem with internet access sharing between my computers. As I knew it was not because of the firewall. However, it was the firewall that gave me the clue: during boot-time it always complained about not finding some kernel modules related to connection tracking. Being sure it’s compiled as part of the kernel, not as module, I paid no attention to the message. A couple of days ago I looked at config file and realized that conntrack stuff was not there. Moreover, it (among other components) was needed for Network Address Translation to be enabled. So, I ended up recompiling my kernel and now I can use internet on both of my machines. Solved.

2. “osaka-u” wireless network. For some reason it doesn’t send DNS addresses, although dhcp client. I don’t know how to make the dhclient script more “persuasive” in this matter so I will manually insert the DNS addresses for both networks and tell the script not to request them.

3. Web camera. I wanted to see if the camera would work in Skype under Windows (could not come up with any other application). I couldn’d test it earlier, because of the internet sharing proble (described in p. 1 above). Now, when I’m able to access internet from Windows, I installed Skype and saw my face on the webcam test screen. Next I have to make it work in Linux.