Thursday, August 27, 2009

Limiting dhcp server to mac addresses

I followed:

http://osdir.com/ml/os.solaris.managers/2003-03/msg00240.html

I did in /etc/dhcp3/dhcpd.conf

#declarations des hosts : adresses ethernet
host emily { hardware ethernet 00:0b:db:6f:c7:4c;}
host wembley { hardware ethernet 00:0b:db:6f:e7:5f; }
host gobo { hardware ethernet 00:0b:db:6f:c7:5f; }

/etc/init.d/dhcp3-server restart

Wednesday, June 24, 2009

When you run out of swap ...

From Linux Journal:


free -tom
sudo dd if=/dev/zero of=/swapfile bs=1024 count=1024000
sudo mkswap /swapfile
sudo swapon /swapfile
free -tom

Saturday, February 14, 2009

no j3dcore-ogl in java.library.path error

When you the exception

no j3dcore-ogl in java.library.path error

you need to copy your .so or .dll files to jre directory

sudo cp libj3dcore-ogl* /opt/jdk1.6.0_07/jre/lib/i386/

Now you are set

Saturday, February 7, 2009

Grouping contacts with skype 2.0

http://forum.skype.com/index.php?showtopic=216691

For impatient:
  1. go to .Skype/xmaggx/config.xml
  2. Add to this file:
  3. ......


< UI >
< Surprise >
< QuickGroups >1< /QuickGroups >
< /Surprise >
< View >
< HideOfflineContacts >1< /HideOfflineContacts >
< /View >
< /UI >
< /config >


5. Hiding contacts unavailable - switching Ctrl + U

Friday, January 9, 2009

Skype - cannot make phone calls audioplayback problem

This was exactly my problem:

https://bugs.launchpad.net/medibuntu/+bug/285412

In skype, trying to make a phone call. I get this message 6 times:
ALSA lib pcm_bluetooth.c:1619:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5)
and the call fails immediately with "problem with audio playback"...

This is on a laptop, with bluetooth enabled, but i'm not trying to use a bluetooth headset or anything...

The solution is:

sudo killall -9 pulseaudio

and permament solution:

System > Preferences > Session Pulseaudio (uncheck)

Now it works.

Tuesday, December 30, 2008

Lost wireless - Wicd

1. It occurred that I lost the ability to connect wirelessly on my work network. I tried different combinations but it just didn't work. Finally I googled and found that there is a program called Wicd. It doesn't work with network-manager and network-manager-applet or something. So when I installed Wicd on my laptop I managed without any problem connect to the work network but installation Wicd uninstalls network-manager and network-manager-something. Anyway, now I can again connect to my network.

Monday, September 29, 2008

Switching displays workaround Fn-F7

Original text:

http://mcphersonz.wordpress.com/2008/03/21/switching-displays-with-a-lenovo-t60-ubuntu-710-gutsy-gibbon/

xrandr –output VGA –auto # Autodetect the VGA
xrandr –output LVDS –auto # Autodetect the laptop display
xrandr –output LVDS –mode 1024×768 # Specify the laptop display resolution
xrandr –output VGA –left-of LVDS # Extend the VGA to the left of the laptop
xrandr –output VGA –right-of LVDS # Extend the VGA to the left of the laptop

xrandr -q # displays current configuration