How to share a folder on VirtualBox between Host and Guest

Host Debian 6 <> Guest Debian 5

#nano /etc/rc.local
add line
mount -t vboxsf SHARED /home/user/SHARED

You need to add the user name to the vboxsf group on the guest. (the user name that you use to login to the guest).

A minimum of log off and back in is required when permissions are changed.

Host Windows 7 <> Guest Linux Mint 17

Add shared folder

On guest you have to add your user to vboxsf group, otherwise shared folder will be accessible only by root.

# adduser {user} vboxsf

Reboot guest.


How to NAT eth0 to eth1 on Debian squeeze?

echo "1" > /proc/sys/net/ipv4/ip_forward

You will need to edit /etc/sysctl.conf and change the line that says net.ipv4.ip_forward = 0 to net.ipv4.ip_forward = 1.

/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
/sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT

/etc/init.d/isc-dhcp-server restart

cat /etc/resolv.conf

static ip on eth1 (option routers
/etc/resolv.conf (option domain-name-servers;)


subnet netmask {
    interface eth1;
    default-lease-time 6000;
    max-lease-time 7200;
    option subnet-mask;
    option time-offset -3600;
    option routers;
    option domain-name-servers;

/etc/init.d/isc-dhcp-server restart


StarCraft II: Wings of Liberty on Ubuntu


   Intel Core 2 Duo CPU E7500 @ 2.93 GHz x 2
   RAM  8 GB
   GeForce GT 630 PCI-E 2.0  2048MB


    Ubuntu amd64 12.10  Kernel Linux 3.5.0-17-generic
    Gnome 3.6.0

Back to simple panel Desktop meniu:
sudo apt-get install gnome-panel
Before login, click circle and select "Gnome Classic , No effects"

Set custom time format for the clock in the right top corner,
 Default is just not right!
gsettings set com.canonical.indicator.datetime time-format custom
gsettings set com.canonical.indicator.datetime custom-time-format "%Y-%m-%d  %A <b>%H:%M</b>"

Install Nvidia driver:

Nvidia module should be build during installation, so it needs:

sudo apt-get linux-source-3.5.0
sudo apt-get linux-headers-3.5.0-17-generic
sudo apt-get build-essential

If this part is skipped (install driver without building tools), it result (poor resolution) and nevidia-settings:

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current

Install wine:
sudo apt-add-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine

Set graphic memory size, to prevent, related crashes:

run regedit
got to
 HKEY_CURRENT_USERS create a "Direct3D" key under "HKEY_CURRENT_USER/Software/Wine".
 Within "Direct3D", create a string value "VideoMemorySize" and set the value, in my case 2048 (2 gb)

And Now! The Most Important part Install StarCraft-II-Setup-enGB.exe :)


Unfortunately It not perform as well as I would want...
At the beginning of the game it works almost perfect, problem begins at the fight moments!
Generally You can not properly organize Your army during The fight, cause the view is freezing.
I like everything else on Linux better, bud for this game a have to use Windows XP .
From time to time I will check performance with software updates...
The day when the Issue will be resolved, it will be the same day when Windows XP no longer on my PC... =)
P.S. graphics settings on both systems was equal 

StarCraft II: Wings of Liberty on Ubuntu **UPDATED**

Terran techtree...


post number 1 

no usefull info ...