Saturday, May 7, 2016
Changing display manager on Linux Mint using command
Saturday, February 20, 2016
Proxmox KVM usb passthrough
Proxmox KVM usb passthrough
# qm monitor 168
Entering Qemu Monitor for VM 168 - type 'help' for help
qm>
Show the usb devices info from your host machine:
qm> info usbhost
Bus 4, Addr 2, Port 1, Speed 12 Mb/s
Class 00: USB device 046b:ff10, Virtual Keyboard and Mouse
Bus 6, Addr 2, Port 2, Speed 1.5 Mb/s
Class 00: USB device 0624:0294, Dell 03R874
Bus 2, Addr 3, Port 1, Speed 480 Mb/s
Class 00: USB device 0930:6533, DataTraveler 2.0
Auto filters:
Bus *, Addr *, Port *, ID 0930:6533
According to device “USB device 0930:6533” in the example, add the device to guest machine:
qm> device_add usb-host,id=myusb,vendorid=0x0930,productid=0x6533
Verify that the new usb device is added in your guest:
qm> info usb
Device 0.1, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.3, Port 2, Speed 12 Mb/s, Product QEMU USB Hub
Device 0.4, Port 2.1, Speed 480 Mb/s, Product DataTraveler 2.0
After using it, remove usb device from your guest:
qm> device_del myusb
If you run the command again, you will see the usb device is gone from your guest:
qm> info usb
Device 0.1, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.3, Port 2, Speed 12 Mb/s, Product QEMU USB Hub
This has been tested in Proxmox 3.0/957f0862
Source
Saturday, January 16, 2016
FreeRDP - The Free Remote Desktop Client for Linux
mplayer-gui error : Error in skin config file
It doesn't work on Ubuntu 16.04 (xenial) but there's a workaround here.
sudo add-apt-repository ppa:mc3man/mplay-skins sudo apt-get update
Now just upgrade the related package by running:
sudo apt-get upgrade
Have fun!
Friday, November 27, 2015
New job, new place and new adventure
I have been working in a new place and environment for almost 6 months now. A lot has happened since in my life and i am very excited to begin blogging again.
I gained new knowledge in many areas of Linux, servers and networking. I dealt with 6 hypervisors here, many virtual machines on them, about 20 vlans, many vpns, many pfsenses, NAS, HAS, AD, win 2012 R2 and zimbra collaboration suite.
I need to master all of this and hopefully with my basic knowledge in Linux, AD and postfix, it will be easier to grasp them.
The most important things here are the bosses and colleagues. So far they are very helpful, friendly and supportive.
I will post more about my Linux work here soon. So stay tuned but don't hold your breath. :D
Cheers.
Monday, February 16, 2015
cannot ssh to server
me@pluto ~]$ ssh -vvv -l you localhost.localdomain
OpenSSH_6.2p2, OpenSSL 1.0.1k 8 Jan 2015
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 49: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost.localdomain [192.168.5.11] port 22.
debug1: Connection established.
debug1: identity file /home/zamri/.ssh/identity type -1
debug1: identity file /home/zamri/.ssh/identity-cert type -1
debug1: identity file /home/zamri/.ssh/id_rsa type -1
debug1: identity file /home/zamri/.ssh/id_rsa-cert type -1
debug1: identity file /home/zamri/.ssh/id_dsa type -1
debug1: identity file /home/zamri/.ssh/id_dsa-cert type -1
debug1: identity file /home/zamri/.ssh/id_ecdsa type -1
debug1: identity file /home/zamri/.ssh/id_ecdsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
Thursday, July 3, 2014
Book review: Implementing SAMBA 4
- Understand the migration steps from Samba 3 to Samba 4
- Integrate GNU/Linux operating system authentication into the AD
- Understand the tasks and attention points when replacing a Microsoft Windows AD
Nvidia new hotplug feature on Linux
If you use nvidia driver for your GPU, you probably wonder why in some config, you can't hotplug your second monitor. You need to reboo...
-
BASH script to load balance 2 WAN links. #!/bin/bash # # bal_local Load-balance internet connection over two local links # # Version: 1....
-
queuegraph is a very simple mail statistics RRDtool frontend for Postfix that produces daily, weekly, monthly and yearly graphs of Postfix...
-
Recently, my server's only hard disk was almost full. I bought a new hard disk with bigger size and I decided to just add it as a second...