yet another draggy weblog

fun, technical stuff, anything else

Browsing Posts in how2do

hey folks!

today i’ve got the message that vmware workstation was updated and that version 6.5.4 is out. so, i downloaded it and wanted to install … *schmecks*

there was a problem – i remembered it, that the version 6.5.3 made similar troubles – the installer hung up at configuring the vmplayer. here i found again the solution. shortly briefed:

  • in one terminal, run: while true; do sudo killall -9 vmware-modconfig-console; sleep 1; done
  • in a second terminal, run: sudo ./VMware-Workstation-6.5.4-246459.x86_64.bundle –ignore-errors
  • kill loop in first terminal.
  • run: sudo vmware-modconfig –console –install-all
  • edit /etc/vmware/bootstrap to add the line: VMWARE_USE_SHIPPED_GTK=force

and everything is fine :)

thanks for all the fish!

hey folks!

after a lot of unsuccessful tries finally there is a solution! if you want to connect your ubuntu with a iphone 3gs to the internet look at this site!

but here a short overview:

  • add following repository: “add-apt-repository ppa:pmcenery/ppa”
  • run “apt-get update”
  • install following packages: “gvfs ipheth-utils”

that should be enough, so you can plug your activated iphone to the usb and your network-manager will show you a new wired network interface.

so, happy surfing with your iphone ;)

as you have read on this page before, it is possible to upgrade an iphone under ubuntu with vmware. BUT, as i’ve read on this page, it is easier as you think! here is my actually setup …

  • iPhone 3G 8Gb
  • ubuntu 9.10 (karmic) on lenovo t61p, kernel 2.6.31-19-generic
  • vmware workstation 6.5.3 build-185404
  • guest: winxp professional sp3 with itunes 9.0.3.15

what has to be done?

1. create a file /etc/modprobe.d/blacklist-usb.conf

2. add usb modules not to be loaded into that file

blacklist snd_usb_audio
blacklist usbhid

3. reload kernel event manager for the changes to take effect

reload udev

4. restart vmware and make sure you also restart windows in vmware

5. now start iphone software update in itunes

6. after update is complete, you can remove the blacklist file and restart kernel event manager again

note that during firmware update iphone might get disconnected – just connect it again using vmware removable devices menu.

wish you happy upgrading!!!

upgrade2do

No comments

some essential and additional packages, which should be installed after an upgrade ;-)

  • vim
  • ssh
  • nvidia-glx-185
  • thunderbird
  • enigmail
  • network-manager-openvpn
  • network-manager-vpnc
  • compizconfig-settings-manager
  • gnome-do
  • build-essential
  • sun-java6-*
  • ant
  • pidgin
  • unison-gtk
  • awn-manager
  • flashplugin-*
  • rapidsvn
  • ubuntu-restricted-extras
  • xine-[ui|plugin]
  • vlc
  • libdvdread4
  • libqt4-dev
  • a2ps
  • hplip-gui
  • gnomebaker
  • blueman
  • skype
  • link-monitor-applet
  • gdesklets*

to be continued …

hey folks!

trying to get scrum working …

… there will be more, stay tuned!

merge a lot of pdfs

No comments

hey folks!

i’ve had a problem … a lot of pdfs! and i wasn’t really amazed about using a2ps (wanted multiple pages on one sheet), because of not proper configuration. so i’ve searched for another solution to merge my 60 pdf documents. here i found the solution in one ingenious command:

gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf *.pdf

so long and thanks for all the fish ;)

hi folks!

if you want to know, how you can really kick off the shoes of your audience, try those two pages:

http://presentationzen.blogs.com/
http://www.garrreynolds.com/

i’m looking forward to held his book in my hands soon ;)

hi folks!

after upgrading my server, i’ve had a little bit troubles with receiving emails.

Fatal: Plugin cmusieve not found from directory /usr/lib/dovecot/modules/lda

solution is simple! change this in your dovecot.conf:

protocol lda {
mail_plugin_dir = /usr/lib/dovecot/modules/lda
mail_plugins = sieve
sieve_extensions = +imapflags
log_path = /var/log/dovecot/deliver.log
info_log_path = /var/log/dovecot/deliver-info.log

so, change “cmusieve” into “sieve”! and don’t forget to flush your postqueue … there will be some queued emails :)

hey guys,

have had troubles with umlauts … so, quick and dirty, i’ve written some lines for the bash:

#! /bin/bash
# rnUmlauts.sh

ONE=1
number=0
EXPECTED_ARGS=2

if [ $# -ne $EXPECTED_ARGS -o \( "$1" != "--test" -a "$1" != "--force" \) ]
then
echo “NAME”
echo “\trnUmlauts – Renaming files with umlauts\n”
echo “Synopsis”
echo “\t`basename $0` –force|–test pathname\n”
echo “Examples”
echo “\t`basename $0` –test /usr/share”
echo “\t\tonly shows which files will be renamed in the directory /usr/share\n”
echo “\t`basename $0` –force /etc/doIt”
echo “\t\trenaming the files with umlauts in the directory /etc/doIt\n”
exit 1
fiif [ -d $2 ]; then
echo “Searching for files with umlauts in $2 …”
else
echo “Directory $2 doesn’t exist!\n”
exit 2
fi

files=$(find $2 -name *[äöüÄÖÜß]* > .temp)

while read file;do
n=`echo $file | sed -e “s/ä/ae/g”`
n=`echo $n | sed -e “s/ö/oe/g”`
n=`echo $n | sed -e “s/ü/ue/g”`
n=`echo $n | sed -e “s/Ä/Ae/g”`
n=`echo $n | sed -e “s/Ö/Oe/g”`
n=`echo $n | sed -e “s/Ü/Ue/g”`
n=`echo $n | sed -e “s/ß/ss/g”`
if [ "$1" = "--test" ]
then
echo “$file will be renamed into $n”
else
echo “Renaming $file to $n”
mv “$file” “$n”
fi
number=$(($number+1))
done<.temp

rm .temp

if [ "$1" = "--test" ]
then
if [ "$number" -eq "$ONE" ]
then
echo “$number file will be renamed.”
else
echo “$number files will be renamed.”
fi
else
if [ "$number" -eq "$ONE" ]
then
echo “$number file renamed.”
else
echo “$number files renamed.”
fi
fi

exit 0

maybe you can use it, too.

best regards!

hi folks!

i’ve had a problem with java, netbeans and my ubuntu 9.04 x86_64 system. so, i’ve decided to start my vmware and install a 32bit system – facing another problem: vmware-tools, in particular the mouse and filesharing.

searching for solutions on the web, i found those two sites:
http://www.csi-labor.de/archives/52-Howto-Vmware-Tools-Installation-unter-Ubuntu-9.04.html
http://communities.vmware.com/thread/207410

in short: you have to patch the vmhgfs module and if you are using the gcc-4.3 also the vmware-config-tools.pl script. everything else please read by yourself.

wish you happy compiling ;)

Powered by WordPress Web Design by SRS Solutions © 2010 yet another draggy weblog Design by SRS Solutions