Friday, July 24, 2009

Picasa 3 on Fedora 11 network problem

Was getting this message:

Login failed. Please check that you are connected to the internet ...

less /root/.google/picasa/3.0/drive_c/Documents and Settings/root/Local Settings/Application Data/Google/Picasa2

Request made via proxy
Post data size: 109
[140187] id 3: Error: HttpOpenRequest failed (12157)
[140188] id 3: Failed to establish connection. will retry if possible
[140189] id 3: Stream summary:
POST request: (0)
Modified request headers:
Added header: Content-Type: application/x-www-form-urlencoded; charset=utf-8
Added header: Accept-Encoding: gzip

Copied from here.

yum install wine
cp /usr/lib/wine/ /opt/google/picasa/3.0/wine/lib/wine/

Sunday, June 28, 2009

FiWi on Fedora 11 on Dell Inspiron 1525 (BCM4312 / Dell Wireless 1395 adapter)

# check if it's the correct version
lspci -knn | grep -i -e network -e Wireless

from download and extract 2.6.29 kernel patch and 32 or 64-bit driver and then run

patch -p1 < patch_2.6.29_kernels
make -C /lib/modules/`uname -r`/build M=`pwd` clean
make -C /lib/modules/`uname -r`/build M=`pwd`
rmmod ndiswrapper b43 ssb bcm43xx b43legacy
# change the following line to reflect your kernel
cp wl.ko /lib/modules/
# and now comes the climax - WiFi led lits up
modprobe wl

Saturday, April 25, 2009

Mailto links to Google Apps Gmail in FF3

Go to
and set the following settings to true:

When on gmail page, go to (replace with your domain):
javascript:window.navigator.registerProtocolHandler('mailto','','Google Apps')

Click Add Application button that should appear in top right corner.

If the button doesn't appear, make sure that quotes are not replaced with smart quotes. If it still wouldn't work, try it in save mode:
firefox -safe-mode

Thursday, January 22, 2009

Cobbler on CentOS 5

rpm -Uvh

yum install cobbler
service cobblerd start

web Interface
vim /etc/cobbler/modules.conf
module = authn_configfile

- might use default password or change it to cobbler with:
htdigest /etc/cobbler/users.digest "Cobbler" cobbler

Run with:
username: cobbler, password: cobbler

# the web interface didn't work till I created this file and added entry for cobbler in hosts file
vim /etc/httpd/conf.d/cobbler_my.conf

<VirtualHost *:80>
ServerName cobbler
DocumentRoot /var/www/cobbler

service httpd restart
service cobblerd restart

vim /etc/cobbler/settings
next_server: ''
server: ''
manage_dhcp: 1

vim /etc/xinetd.d/tftp
disable = no

vim /etc/cobbler/dhcp.template
subnet netmask {
option routers;
option domain-name-servers;
option subnet-mask;
range dynamic-bootp;
filename "/pxelinux.0";
default-lease-time 21600;
max-lease-time 43200;
next-server $next_server;

service cobblerd restart
service xinetd start
service dhcpd start

chkconfig cobblerd on
chkconfig xinetd on
chkconfig dhcpd on

#if got errors with dhcpd, repeat:
vim /etc/cobbler/dhcp.template
cobbler sync
service dhcpd start
less /var/log/messages

ks menu
# yet to be done - don't want a menu
# might add systems:
#00:0c:29:46:17:d1 i386
#00:0c:29:70:55:9a x86_64


vim /etc/cobbler/pxedefault.template

download image
#make download to folder /isos if possible or after download move iso to /isos

mount iso image
mkdir -p /mnt/Centos52
mount -t auto -o loop /isos/CentOS-5.2-i386-bin-DVD.iso /mnt/Centos52
cobbler import --mirror=/mnt/Centos52 --name=CentOS-5.2-i386

#add extra repositories
cobbler repo add --name=CentOS-5.2-i386-UPDATES --mirror= --priority=40 --createrepo-flags="-c cache"

#!schedule daily sync!