HaLe Blog twitter
HaLe Blog Rss

Getting a flash .exe game to run with Wine 1.1.14 on Ubuntu Intrepid

Posted by lhe | Posted in Leiv Hendrickx, Linux (Ubuntu) | Posted on 10-02-2009

0

I was facing problems getting Governor of Poker to run on my Ubuntu Intrepid.
After launching the exe file, wine fires up, and shows me a window, asking me to pick a folder to install the game.
Here start the troubles….
the browsing of the folders seems to be ok, but picking the folder, does not result in an update of the browse field.

After clicking ok, the job status remains “waiting” and the progress bar doesn’t move.
After checking the file system, I can find the “Governer of Poker” folder, which contains a subfolder called “Config data”.

I tried to apply the patch as shown in this thread: http://bugs.winehq.org/show_bug.cgi?id=14139
But when i try to apply it, it asks me “File to patch”. I ran the patch in my .wine folder…

All of the above, without success…

So, first of all, the exe you get when purchasing the game (I do assume you bought it… ;-) ), is a self extracting archive file. I tried and tried, but finally ended up extracting it on a windows machine. If anyone out there can solve this part of the puzzle, please, feel free to let me know.

After that, i copied the folder that was created on my windows machine, to my Ubuntu.
Tried to run the exe with wine again, but still no cigar.
I looked around on the internet some more and found this post: http://dogbuntu.wordpress.com/2008/05/02/running-flash-exes-in-ubuntu-or-any-other-linux-with-wine/

Basically, it tells us to do the following:

  • Install WINE.
  • Download ies4linux from this site and install ies4linux.
  • Press Alt + F2 and type ~/.ies4linux/ie6 and press enter.
  • At the same time press Alt+F2 and type ~/.wine
  • Now copy all the contents from the former folder to latter folder. And when prompted for overwriting, choose Replace All.
  • Now go to terminal and type: wine <flash-program>.exe

After following these instructions, everything worked like a charm!

Pairing your Nokia 6300 with Ubuntu 8.10 on a Sony Vaio VGN-FZ29VN

Posted by lhe | Posted in Leiv Hendrickx, Linux (Ubuntu) | Posted on 26-01-2009

3

I threw out Vista on my laptop today and chose Ubuntu 8.10 as OS. What a great OS it is… The install is easy and clear, even for a noobie like myself :-) . Well, noobie, i have played around with linux before (mainly with Gentoo), but this time, i went for the real 100%. No dual boot. No more Bill.

As i said, the install was easy and everything worked out of the box (as far as i have checked), but typical fears such as wireless network, soundcard, etc… seemed to be no issue at all. Next, connection to our outlook server, no problemo! Evolution is a very very good mail client if you ask me.

And what do you know, i could even see the bluetooth symbol on top of my screen, telling me that i have a working bluetooth device on my laptop. Because Sony does not (yet?) have a PC Suite for Linux, i went on a search for alternatives. After looking around a bit, i chose Gnokii. Mind you, this little program was built for Nokia phones, so no guarantees for other brands.

I could easily connect it via USB, see my contacts and even send sms messages. So far so good. But off course, i don’t want to play around with cables all day long, i want to use the power of bluetooth. Well, that did not work like a charm.

The bluetooth device manager just did not find my phone. At all.

Trial and error and lots of looking around on the web finally brought succes. After performing the command below, i was able to find my phone via the bluetooth manager and pair it to my laptop.

sudo hciconfig hci0 reset

Now just to find a way to sync over bluetooth with Gnokii. This is what i did:

First you will need to edit the config file.

sudo gedit /etc/gnokiirc

Make sure to set these parameters. The config file itself contains a lot of very useful comments. Be sure to go through them.

model = 6300
port = aa:bb:cc:dd:ee:ff
connection = bluetooth
rfcomm_channel = 1

Little hint: to get the mac address of your phone’s bluetooth device type *#2820# in your phone.

ProFTPD on Ubuntu – connection times out

Posted by lhe | Posted in Leiv Hendrickx, Linux (Ubuntu), Operating Systems | Posted on 18-01-2009

0

We have set up an Ubuntu machine in our network to have a real LAMP stack. It’s just the best way to have a decent working Drupal installation. While you can off course manage a Drupal site from outside of you LAN, adding modules still requires you to put files into the modules directory (/sites/all/modules) of your Drupal. That means, you need FTP access to those folders.

So we set up ProFTPD. Installing it was no issue, but getting users to be able to connect to the ftp server from outside the network, that was another story all together…

It would take us a long time to go true all our trials and errors, but the key actions we finally did to get it to work are the following:

- Create a new user

  • set any username
  • chose /bin/sh as shell
  • chose “normal password” (for webmin users)

- Edit your proftpd conf file (on ubuntu : /etc/proftpd/proftpd.conf)

  • set AuthAliasOnly to off 
  • comment out the UserAlias line

- Make sure your ftp client (CuteFTP in our case) uses “auto” as data mode. I had it set to PASV first and that did not work.

After completing these steps you should be able to connect to your FTP server. If it still does not work, you should have a look at your firewall. Make sure that port 21 has been opened. If you want to use FTP over SSH2, you should open port 22.