VMware Player do BackTrack - Erro: "Virtual Network Device" [Resolvido]
Publicado por Emilson Ribeiro Neto em 31/08/2012
[ Hits: 5.482 ]
#! /bin/bash # VMWare Workstation/Player _host kernel modules_ patcher v0.6.2 by ©2010 Artem S. Tashkinov # Tailored and fixed vmblock patching for the 2.6.39 patch by Stefano Angeleri (weltall) # Use at your own risk. fpatch=vmware3.2.0.patch vmreqver=8.0.2 plreqver=4.0.3 error() { echo "$*. Exiting" exit } curdir=`pwd` bdate=`date "+%F-%H:%M:%S"` || error "date utility didn't quite work. Hm" vmver=`vmware-installer -l 2>/dev/null | awk '/vmware-/{print $1substr($2,1,5)}'` vmver="${vmver#vmware-}" basedir=/usr/lib/vmware/modules/source ptoken="$basedir/.patched" bkupdir="$basedir-$vmver-$bdate-backup" unset product [ -z "$vmver" ] && error "VMWare is not installed (properly) on this PC" #[ "$vmver" == "workstation$vmreqver" ] && product="VMWare WorkStation" #[ "$vmver" == "player$plreqver" ] && product="VMWare Player" #[ -z "$product" ] && error "Sorry, this script is only for VMWare WorkStation $vmreqver or VMWare Player $plreqver" [ "`id -u`" != "0" ] && error "You must be root to run this script" [ -f "$ptoken" ] && error "$ptoken found. You have already patched your sources" [ ! -d "$basedir" ] && error "Source '$basedir' directory not found, reinstall $product" [ ! -f "$fpatch" ] && error "'$fpatch' not found. Please, copy it to the current '$curdir' directory" tmpdir=`mktemp -d` || exit 1 cp -an "$basedir" "$bkupdir" || exit 2 cd "$tmpdir" || exit 3 find "$basedir" -name "*.tar" -exec tar xf '{}' \; || exit 4 patch -p1 < "$curdir/$fpatch" || exit 5 tar cf vmci.tar vmci-only || exit 6 tar cf vsock.tar vsock-only || exit 7 tar cf vmnet.tar vmnet-only || exit 8 tar cf vmmon.tar vmmon-only || exit 9 tar cf vmblock.tar vmblock-only || exit 10 cp -a *.tar "$basedir" || exit 11 rm -rf "$tmpdir" || exit 12 touch "$ptoken" || exit 13 cd "$curdir" || exit 14 vmware-modconfig --console --install-all echo -e "\n" echo "All done, you can now run $product." echo "Modules sources backup can be found in the '$bkupdir' directory"
QEMU: Virtual Machine VM fácil no Kurumin NG Linux
Flareget no Debian, Ubuntu, Linux Mint e derivados
AutoTrace - Rasterizar bitmap para vetor
Instalando o plugin NRPE - Nagios Remote Plugin Executor
Instalando o xfburn no Vector Linux 6.0
Programa para ver seu Linux na TV
Nenhum comentário foi encontrado.
Melhorando o tempo de boot do Fedora e outras distribuições
Como instalar as extensões Dash To Dock e Hide Top Bar no Gnome 45/46
E a guerra contra bots continua
Tradução do artigo do filósofo Gottfried Wilhelm Leibniz sobre o sistema binário
Conheça o firewall OpenGFW, uma implementação do (Great Firewall of China).
Instalando o FreeOffice no LMDE 6
Anki: Remover Tags de Estilo HTML de Todas as Cartas
Colocando uma opção de redimensionamento de imagem no menu de contexto do KDE
Debian Bookworm para a versão beta Debian 13 Trixie (1)
material de assembly x64 [RESOLVIDO] (5)
Terminal não funciona [RESOLVIDO] (9)
Problema com alias usando locate (6)
Como adicionar módulo de saúde da bateria dos notebooks Acer ao kernel... (20)
[Shell Script] Script para desinstalar pacotes desnecessários no OpenSuse
[Shell Script] Script para criar certificados de forma automatizada no OpenVpn
[Shell Script] Conversor de vídeo com opção de legenda
[C/C++] BRT - Bulk Renaming Tool
[Shell Script] Criação de Usuarios , Grupo e instalação do servidor de arquivos samba