esx find model of network card

vmkvsitools lspci -n | grep vmnic

spacer

The first column is VendorID and the second is DevID. E.g

VendorID 14e4 = Broadcom
VendorID 8086 = Intel

DevID 10bc = EXPI9404PTL or EXPI9404PTLBLK
DevID 10a4 = EXPI9404PT or EXPI9404PTBLK

www.intel.com/support/network/sb/CS-012904.htm?wapkw=expi9404pt

spacer January 9th, 2013 in general | tags: esx, vmware | No Comments

ubuntu gnome restore default icon folder

One by one:
1 Edit the file "$HOME/.config/user-dirs.dirs"
2 logoff and login

All together:
1 Delete the file "$HOME/.config/user-dirs.dirs"
2 Run "xdg-user-dirs-update"

For reference, here is my user-dirs.dirs:
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

source: ubuntuforums.org/showthread.php?t=1528520

spacer January 3rd, 2013 in general | tags: gnome, ubuntu | No Comments

show hidden device manager windows

once only

=> Start | Run | cmd
set devmgr_show_nonpresent_devices=1
start devmgmt.msc

the device manager (devmgmt.msc) should be started in the same command line session as the set command otherwise the enviroment variable will be lost.

permanent change

=> Computer | Properties | Advanced system settings | Advanced tab. | Environment variables … | New…
Variable name: devmgr_show_nonpresent_devices
Variable value: 1

spacer November 9th, 2012 in general | tags: cli, windwows | No Comments

how to install Dig in Ubuntu

sudo apt-get install dnsutils

or

sudo -i
apt-get update
apt-get install dnsutils

spacer April 20th, 2012 in general | tags: 10.04, 10.10, linux, ubuntu | No Comments

root access in Ubuntu

sudo -i
Sometimes I get tired to type before every command sudo and sudo -i helps me in that case. Sure I can make a normal root user by just only command passwd without any parameters but ubuntu/debian people constantly remand me that is not a good idea so I will not do that.

spacer April 19th, 2012 in general | tags: 10.04, 10.10, ubuntu | No Comments

flash player 64 bit in Ubuntu

sudo apt-get install chromium-browser flashplugin-installer

I don’t really need the flash player but the message “missing plug-in” makes me anxious so I remove Chrome and install Chromium.

spacer April 18th, 2012 in general | tags: 10.04, 10.10, 64-bit, ubuntu | No Comments

the first script on a fresh box to remove experts-exchange.com

I don’t know why I hate the experts-exchange.com I just cannot help it spacer


cp /etc/hosts /etc/hosts-`date +"%y%m%d"`
echo "127.0.0.1 experts-exchange.com www.experts-exchange.com" >> /etc/hosts

spacer October 10th, 2011 in general | tags: bash, cli, linux | 4 Comments

add vmware-tools depository in Ubuntu

Get and install public key

$>sudo wget packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
$>sudo apt-key add VMWARE-PACKAGING-GPG-RSA-KEY.pub

Add a line to file /etc/apt/sources.list like that:

deb packages.vmware.com/tools/esx/<esx-version>/ubuntu <dist> main restricted

in my case <esx-version>=4.1 and <dist>=maverick it will be:

deb packages.vmware.com/tools/esx/4.1/ubuntu maverick main restricted
$> sudo apt-get update
spacer September 30th, 2011 in general | tags: 10.10, server, ubuntu | No Comments

M$ windows style lock screen in Ubuntu

in Gnome main menu:
System | Preferences | Keyboard Shortcuts | Desktop | Lock screen : Mod4+L

spacer June 24th, 2011 in general | tags: 10.10, desktop, gnom, linux, server, ubuntu | No Comments

disable CTRL-ALT-DEL in Ubuntu

I have commented “exec shutdown … ” in /etc/init/control-alt-delete.conf.

# control-alt-delete - emergency keypress handling
#
# This task is run whenever the Control-Alt-Delete key combination is
# pressed, and performs a safe reboot of the machine.

description     "emergency keypress handling"
author          "Scott James Remnant "

start on control-alt-delete

# 110624 prevent restart from command line
# task
# exec shutdown -r now "Control-Alt-Delete pressed"
spacer June 24th, 2011 in general | tags: 10.04, 10.10, command line, linux, server, ubuntu | No Comments
←Older   
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.