simple singularities

ubuntu network disconnect problem

Filed under: smalltalk — fri13th December 25, 2009 @ 10:00 am

there was some weird problem in my ubuntu pc. the network connection is closed frequently and it was fixed by rebooting. i googled the situation and nothing found. then i check the resolv.conf and it was empty and there was a message #Generated by NetworkManager. WTF!

i googled it and found these solutions

sudo chmod -w /etc/resolv.conf
sudo chattr +i /etc/resolv.conf

this prevents to change the resolv.conf file, but not a good idea

this one is more primitive solution

sudo vi /etc/dhcp3/dhclient.conf

and change this line.

prepend domain-name-servers 8.8.8.8

i don’t know which one works and which one works not. i applied all.. and got no problem now. so i wish you luck! enjoy the ubuntu life!

Selenium RC and Firefox issue in Snow Leopard

Filed under: apple, java — fri13th December 16, 2009 @ 10:22 pm

I just surprised that selenium rc 1.0.2 can’t launch firefox in snow leopard os. these all softwares are so famous in their fields. so it must be easy to solve this issue, but nope..

the problem is complicated, and i almost blow up my macbook’s hard drive by moving sqllite library..

there are many suggestions but none works. believe me, i try all. and this is the final solution that really works

http://jira.openqa.org/browse/SRC-743

there’s an attachment called snowleopard.patch file. you can apply it to the source of selenium-server.jar. and this can fix all the problem at once.