Friday, August 28, 2009

Changing iso files

from:

http://forums.fedoraforum.org/archive/index.php/t-16524.html

I usually mount the ISO, then copy the contents out with something like:

mkdir ~/mynewcd
mount -o loop ~/crappyoldcd.iso /mnt/iso
cd /mnt/iso
tar cf - . | (cd ~/mynewcd; tar xvfp -)

then unmount the ISO, change the files in ~/mynewcd and run mkisofs with
something like:

cd ~/mynewcd
mkisofs -J -R -v -T -o ../mynewcd.iso -b isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .

That's assuming you have a bootable CD using ISOLINUX. Also, running something
like:

isodebug ~/crappyoldcd.iso

might give you a good starting point command line for mkisofs...

Hope this helps...
Martin

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.