GNU/Linux >> Linux Esercitazione >  >> Ubuntu

Vmware Player e Ubuntu 15.04:il driver di rete non viene più compilato, come risolverlo?

Uso VMWare Player su Ubuntu e su di esso eseguo un numero diverso di macchine virtuali.

Ha funzionato bene fino al 14.10, quando il kernel è stato aggiornato mi è stato chiesto di ricompilare i moduli ecc; ma non funziona più con Ubuntu 15.04.

Il problema è che non riesce quando si tenta di ricompilare la "scheda di rete virtuale". Come posso risolverlo?

Risposta accettata:

Usa questi comandi (è necessario l'accesso come root):

$ wget http://pastie.org/pastes/9934018/download -O /tmp/vmnet-3.19.patch
$ cd /usr/lib/vmware/modules/source
$ tar -xf vmnet.tar
$ patch -p0 -i /tmp/vmnet-3.19.patch
$ tar -cf vmnet.tar vmnet-only
$ rm -r *-only
$ vmware-modconfig --console --install-all

per vmware-player 9 devi anche cambiare:

  • vmnet-only/netif.c riga 152 da:

    dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
    

    a

    dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_UNKNOWN, VNetNetIfSetup);
    
  • vmnet-only/filter.c riga 207 da:

    VNetFilterHookFn(unsigned int hooknum, // IN:

    a:

    VNetFilterHookFn(const struct nf_hook_ops *ops, // IN:

  • vmnet-only/filter.c riga 255 da:

    transmit = (hooknum == VMW_NF_INET_POST_ROUTING);

    a:

    transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);


Ubuntu
  1. Come compilare ed eseguire il programma C in Ubuntu

  2. Correggi l'errore "comando add-apt-repository non trovato" su Ubuntu e Debian

  3. Come installare VMware Player su CentOS/RHEL e Ubuntu

  4. Come installare Vmware Workstation Player 12.11 su Ubuntu 16.04?

  5. Come correggere l'errore di Virtualbox "Driver del kernel non installato (rc=-1908)" su Ubuntu

Come installare VMware Workstation Player in Ubuntu Linux

Risolto il problema con il trascinamento della selezione che non funziona in Ubuntu 18.04 [Suggerimento rapido]

Come installare VMware Workstation Player su Ubuntu 20.04 LTS

Come installare VMware su Ubuntu 20.04?

Come diagnosticare e correggere l'avvio molto lento su Ubuntu

Come risolvere il comando Ifconfig non trovato su Ubuntu 20.04 LTS