Skip to main content

Posts

How to install USB/IP for Windows on Server 2008 R2

USB/IP Project aims to develop a general USB device sharing system over IP network. To share USB devices between computers with their full functionality, USB/IP encapsulates "USB I/O messages" into TCP/IP payloads and transmits them between computers. A fork of USB/IP client on Windows is located here . Getting this forked version to work with Windows Sever 2008 R2 is not straightforward. I have documented below how I was able to get it to work 2008 R2. Download 0.1.0 (https://github.com/cezanne/usbip-win/releases/tag/v0.1.0), download all into a directory excluding source* Remember to unblock the files Save to c:\usbip Download x64 build for Win7 (https://github.com/cezanne/usbip-win/files/4743857/usbip_vhci_v0.1.0_win7_x64.zip) Unblock the zip file Extract Copy the files and overwrite files in c:\usbip Allow running non-validated driver bcdedit.exe /set TESTSIGNING ON Restart computer Import certificates manually Run mmc.exe File | Add/Remove Snap-in… In Available snap-ins

Remote Registry missing in Vista

  After installing/uninstalling software in Windows Vista Business machine "Remote Registry" got missing in the services list. Poking around the registry, noticed that under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry", Start key was gone. See picture below for the location: Creating the "Start" key of type REG_DWORD and value 3 (Manual) or 2 (Automatic), then a rebooted fixed the problem. ~ts

USB Mouse not detected properly in Vista

After using Windows Vista for over a month my USB mice stopped working :(.... Fortunately this is easy to fix via trial and error on what driver best works for Vista. To fix this do the ff: Step 1. Go to Device Manager (devmgmt.msc). Step 2. Do Update Driver Software. Step 3. Browse my computer for driver software. Step 4. Select "Let me pick from from a list of device drivers on my computer." Step 5. If it was shown as unknown device, select "Mice and other pointing device" else select "HID-compliant device." Step 6. Click on "Have Disk..." Step 7. Drill to C:\Windows\System32\DriverStore\FileRepository. Select a folder with a name that start with msmouse*. Start with the folder that has the latest time stamp. If this driver does not work select the next newer folder until your mouse driver is installed properly. See below for related figures. Figures: Figure 1. Figure 2. ~ts

Installing VirtualBox Guest additions in Debian Buster

VirtualBox Guest Additions allow a good number of  host to guest integrations that makes using the VM easier to use, for example copy/pasting text from host to guest and vice versa is very convenient. Another useful feature is resizing the window of the guest VM. To enable/install VirtualBox Guest Additions, do: $: sudo apt install dkms From VirtualBox Guest main UI, select Devices | Install Guest Additions..., then: $: cd /media/cdrom $: sudo sh ./VBoxLinuxAdditions.run $: sudo reboot Note: Copy/Paste is broken in 6.1.4, see  https://www.virtualbox.org/ticket/19336 . Test build VBoxGuestAdditions_6.1.5-136446.iso works for me.  Keywords: Debian Buster, Debian 10.3

Adding existing user to a group in Ubuntu

Example below adds user timus to the group www-authors $: sudo usermod -a -G www-authors timus To add user timus to sudoers group, do: $: sudo usermod -a -G sudo timus Note: That for the sudo to take effect you have to logout and log back in. In Debian Buster (10.3), need to reboot for it to take effect Tested on: - Lubuntu (13.04) - Ubuntu (12.04 - 13.04) - Debian Buster (10.3) References: http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/ http://askubuntu.com/questions/7477/how-can-i-add-a-new-user-as-sudoer-using-the-command-line