zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

QEMU for Windows

December 21, 2010 by Igor Drobot Leave a Comment

There are a lot virtual emulators for windows, but most of them aren’t free and forbidden for commercial use. QEMU emulator released under GPL-license and works very well on windows. (I tested it only Windows Server 2003)

You can be downloaded from here – clickme

Filed Under: Virtualization, Windows Tagged With: qemu

Unable to enumerate USB device

December 21, 2010 by Igor Drobot 1 Comment

Some hardware just don’t work with ehci_hcd on Ubuntu and other distributions. My older mobile phone refused to work no matter what I did and want. After plugging the device nothing happened, doing dmesg showed me the following error:

Output from dmesg:

1
2
3
4
5
[ 4494.828096] usb 5-1: new low speed USB device using uhci_hcd and address 41
[ 4495.244038] usb 5-1: device not accepting address 41, error -71
[ 4495.356066] usb 5-1: new low speed USB device using uhci_hcd and address 42
[ 4495.768030] usb 5-1: device not accepting address 42, error -71
[ 4495.768057] hub 5-0:1.0: unable to enumerate USB device on port 1

[ 4494.828096] usb 5-1: new low speed USB device using uhci_hcd and address 41 [ 4495.244038] usb 5-1: device not accepting address 41, error -71 [ 4495.356066] usb 5-1: new low speed USB device using uhci_hcd and address 42 [ 4495.768030] usb 5-1: device not accepting address 42, error -71 [ 4495.768057] hub 5-0:1.0: unable to enumerate USB device on port 1

After searching a lot around web, I came to a conclusion that my device (mobile phone) doesn’t work with USB 2.0. So I tried to disable the ehci_hcd to make it work.

Since Karmic doesn’t use ehci_hcd as a module, modprobe -r ehci_hcd no longer works. This module was compiled into the kernel.
There is a trick to disable it. execute the following commands in terminal:

1
2
cd /sys/bus/pci/drivers/ehci_hcd
ls

cd /sys/bus/pci/drivers/ehci_hcd ls

You will see one or two files with 0000:00:xx.x format. Execute the following command:

1
sudo sh -c 'echo -n "0000:00:xx.x" > unbind'

sudo sh -c 'echo -n "0000:00:xx.x" > unbind'

Replace the xx.x with the numbers displayed on your file/s. It should disable the ehci_hcd.

Another way:

1
2
cd /sys/bus/pci/drivers/ehci_hcd/
sudo sh -c 'find ./ -name "0000:00:*" -print| sed "s/\.\///">unbind'

cd /sys/bus/pci/drivers/ehci_hcd/ sudo sh -c 'find ./ -name "0000:00:*" -print| sed "s/\.\///">unbind'

Filed Under: Bash, Debian, Kernel, Linux Tagged With: USB

Convert VMware Image .vmdk to VirtualBox Image .vdi

December 18, 2010 by Igor Drobot 12 Comments

Some days ago I started to give up my VMWare Workstation Server (version: 6.5.1 build-126130) that is running on Debian Lenny.
The reason was it’s very difficult to upgrade (you see my installation is a little bit outdated:)) and maintain.

The first step is to migrate to VirtualBox running. And I wrote this little tutorial to migrate VMWare VMDK Image to VirtualBox.

Step 1:
Start Virtualbox
Start VBox
Step 2:
File -> Virtual Media Manager
Manager

[Read more…]

Filed Under: Debian, Linux, Virtualization Tagged With: convert vmdk, KVM, qemu, VirtualBox, VMWare

Trainig for CCNA 640-802

December 13, 2010 by Igor Drobot Leave a Comment

Q: Which three application layer protocols use TCP? (Choose three.)
A: SMTP
A: FTP
SNMP
A: HTTP
TFTP
DHCP

Q: Which two application layer protocols use the UDP protocol? (Choose two.)
Telnet
A: SNMP
SMTP
SQL

A: TFTP

Q: What are two functions that occur at the Internet layer of the TCP/IP model? (Choose two.)
establishment of logical connections between source and destination hosts
A: end-to-end flow control
determination of best paths through the network
definition of the procedures used to interface with the network hardware

A: packet switching
Layer 5 and Layer 6 OSI model functions

[Read more…]

Filed Under: Cisco Tagged With: CCNA 640-820, Cisco

Roundcube performance

December 12, 2010 by Igor Drobot Leave a Comment

There are many configuration options with inpact on performance in Roundcube and behind it (Database and Webserver). As Roundcube installation administrator you can set them to some defaults and prevent users to change them by using the ‘dont_override‘ option.

I tested some options and created my tiny boost list.
Here’s the list of options with impact on performance

Messages listing is a main task of a mail client. Sorting is expensive. First of all you should use an IMAP server with SORT capability. If message list displaying is still too slow you should set ‘message_sort_col’ to an empty string.
‘message_sort_col’
[Read more…]

Filed Under: Debian, Linux, Mailing, Ubuntu Tagged With: Roundcube, Webmail

  • « Previous Page
  • 1
  • …
  • 53
  • 54
  • 55
  • 56
  • 57
  • …
  • 74
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok