Posts Tagged Ubuntu

Connecting a HP Deskjet 3050A J611 to a DD-WRT Router when using Ubuntu

Posted by on Saturday, 3 November, 2012

Today, we bought a new all-in-one device for home use, a HP Deskjet 3050A J611 series, that was told to be capable for WiFi connections. The delivered software on a CD is available for Windows and Mac OS machines only. Now I run Ubuntu which shall not be a problem as all HP devices are supported by default on this operating system.

And right: I got it working very simply. Connect the USB cable and the driver will be installed even without a click, just use it.

Connecting the printer to your router brings up some more problems. Usually, if you have network-compatible hardware, you can adjust at least a network configuration on it. Not so on the printer we bought: by default, it uses WPS, the so called “Wireless Protection Setup” where you have to enter a PIN to your router. Of course, it doesn’t work if your router software doesn’t support WPS for a good reason: WPS was cracked via brute force attacks a while ago, just wondering why hardware with this software flaw is still delivered by HP…

Anyway, I found a workaround:

I couldn’t bring up running the HP software setup via wine what actually was a good thing: HP doesn’t only bring the drivers but also a lot of bloatware with it onto your machine.

So I fired up my (for emergency cases) still existing Windows installation and went to the entire setup process of the all-in-one device “drivers”. Interestingly, the setup routine asked me if I wanted to use the device via my WiFi network and I agreed. (Sorry that the Windows screen shots are in German.)

Windows installer asks for WiFi configuration

During the next steps, the WiFi configuration was read out and wrote to the device configuration (WTF?). But from this point on, the new device was connected to my home WiFi and got a proper IP address.

drivers are properly installed

Once you finished the installation successfully you can completely delete the HP software from your machine. Start over to Ubuntu again and install a network printer with the given IP address that you can find even on the display of your all-in-one device now.

install the network printer on ubuntu

Printing with CUPS via WiFi works smooth for all Ubuntu machines now. Alone I couldn’t get running the scanner via WiFi but actually I can live with that ;)

Installing OXID eShop via a Linux Terminal Using the Official SVN

Posted by on Wednesday, 5 October, 2011

Sometimes, it is necessary to install a new version of OXID eShop quickly. Downloading it from the official download page, extracting the archive and uploading it again to your hosting provider can be a time-consuming and error-prone process due to CRC errors.

If you have SSH access to your server terminal or if you work on a local Linux machine or VM-ware appliance, there is a much smoother way to get the job done in seconds.

1. Go to and find the most recent release from the list. In my example, I will use OXID eShop version 4.5.2.

2. Open a terminal on your Linux machine, switch to your Apache document root and type

~$ svn export

Using export instead of update ensures that you don’t have the .svn control files littering your installation.

Of course, an svn client has to be installed for this to work. If you don’t already have one, you can install it with apt-get install subversion on Debian-based systems. Also, check the rights you have to your Apache document root. For example, on Ubuntu, you might have to use sudo before the previous command for it to work correctly.

3. Create a new MySQL database by typing

~$ mysql -u[username] -p[password]

mysql> create database oxid_452;

Fire up your browser and go through the rest of the installation according to this manual.

Switching to Ubuntu Part III: Working with VirtualBox

Posted by on Wednesday, 10 November, 2010

After publishing my last blog post about switching to Ubuntu, I took a short break for a while. I had a few problems:

  • I couldn’t get the VPN running as my company was using a proprietary protocol.
  • I couldn’t find a good Exchange client replacement under Linux.
  • My company had bought me an iPhone and iTunes was not available on Linux.

I came up with a solution to bypass these problems. I installed Oracle’s (Sun’s) VirtualBox OSE from the sources on my Ubuntu installation, and then added Windows 7 to it. Everything worked well, except for the USB connection. Googling the problem, I found VirtualBox OSE doesnt support USB on the virtual machine.

I decided to try the proprietary version of VirtualBox. VirtualBox OSE didn’t de-install at first attempt, so I had to remove it via the command line:

$ sudo apt-get remove virtualbox-ose

After that, I downloaded and installed the proprietary version of VirtualBox. Hooray! It supported USB and recognized my iPhone as a USB device. All systems were now go!

The process of switching over to Ubuntu continues…stay tuned for more of my experiences.

My Impressions of Chemnitz Linux-Tage 2010

Posted by on Wednesday, 17 March, 2010

More or less spontaneously, I decided to go to “Chemnitzer Linux-Tage” for the first time, the probably second biggest Linux event in Germany, and was really surprised: Not only Linux geeks but a very mixed up audience of Germans and Non-Germans, developers, administrators and interested people in any kind of open source software found together in a very familiar and comfortable atmosphere.

In my role as OXID Community Guide I usually go to such events to talk to owners of interesting projects and maybe find synergies and a surplus for the OXID community. The entry fee at € 5.- was more than reasonable and to be honest: I found more valuable contacts there than on my CeBIT visit a couple of days before.

Of course, I visited the booth of my favorite Linux distribution run by the guys of Ubuntu Deutschland e.V. and furthermore, the Communtu project. Communtu is a Ubuntu based Linux distribution that lets you choose which application projects to install but most interesting is the backup feature: When you have to refresh your installation (what may happen from time to time), you are able to store your complete configuration to the Communtu server and moreover, download a CD or DVD for your new installation without loosing any application.

Also the PIM and CRM project tine 2.0 is absolutely worth mentioning. Tine is based on the Zend Framework and makes extensive use of the JavaScript library jQuery. The project is still young, doesn’t provide that many features that you would expect and really took me some time to install it today. But from it’s approach, it is very promising and the code looks clear on a first glance.

YaCy is a Java based search engine software that I hope to get evaluated for use on as well as on OXIDforge as a replacement for the Google search service we implemented presently.

After listening to two talks about IT management and OTRS (Open Ticket Request System) I hooked up with the OTRS guys Shawn and Martin and apparently it turned really, really, really interesting. We use this Perl-based software very successfully in our support department and our installation needs to be adapted for our needs. Shawn is the new OTRS Community Manager and Martin actually the inventor of the OTRS system. Hope to collaborate very tightly with this guys in the future.

For the next year, I personally would really like to have an OXID booth at the “Chemitzer Linux-Tage”. Let’s see whether we can sort it out.

Switching to Ubuntu Part II – how to install Twhirl

Posted by on Monday, 2 November, 2009

Of course, you have to announce your new blog posts over Twitter. A cool twitter client is not the worst idea – I personally decided to run Twhirl for this purpose because Twhirl is able to run multiple accounts.
As Twhirl is based on the platform Adobe Air, you first have to install this one.

  1. Go to, download it to your /home/ folder.
  2. Open the command line and type chmod +x AdobeAIRInstaller.bin
  3. Type chmod +x AdobeAIRInstaller.bin
  4. The Adobe Air installer will open up now in a new window. You will have to confirm the terms and conditions.

Time to install Twhirl:

  1. Go to and click to the install button on the right hand side.
  2. Again, an install routine opens up (inside Adobe Air). Choose your options for the Twhirl installation here.
  3. A twhirl instance now should pop up. Enter your Twitter name(s) and your password here and you are done.

Switching to Ubuntu, Part I – how to install Skype on Ubuntu

Posted by on Monday, 2 November, 2009

If you are in business, your companies’ IT policy is perhaps to run Microsoft products like Windows OS only. Although you might have a bit of freedom in this manner (let’s say because you are presenting on Open Source software fairs and need to run a Linux for this case) the switch might be not that easy thinking about Microsoft Exchange, Skype, VPN, Microsoft Office and so on. For me, it is really fun working on Linux and I would like to switch over completely as soon as possible. That’s why I ran Kubuntu as a parallel operating system.

Somehow, I got rid of running KDE on my Ubuntu installation and so I decided to install the Karmic Koala (Ubuntu 9.10) on a Gnome basis and I was really surprised about it’s simple handling. By the way: Gnome was suspect to me all the times I tried it before. Today I believe it was only about a simple and stupid marketing effect: I didn’t like the combination of brown, purple and orange on the desktop…

So now, let’s beginn with the Skype installation.
As you might know, Skype is proprietary software but obviously everybody in IT uses it. Nevertheless, the installation on Ubuntu is possible even including the update services. First of all you have to implement the Medibuntu sources to your sources.list file running this command on the terminal:

sudo wget$(lsb_release -cs).list \
--output-document=/etc/apt/sources.list.d/medibuntu.list &&
sudo apt-get -q update &&
sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring &&
sudo apt-get -q update

As a next step, install the Skype application:

sudo aptitude install skype

Despite Skype is only provided with version 2.1 on Linux, you are done mate! Somehow you will be connected to your colleagues, friends, etc. in this first step. More to follow.