Resize .vdi VirtualBox image

To  resize .vdi use command:

VBoxManage modifyhd {21691477-9419-40d9-b96c-e808157e66b7} –resize 61440

where

VBoxManage modifyhd UUID-machine –resize SizeInMB

i create new size of image that have 60 GB to make 20GB you should give number 20480. So if you want 5GB you can count this via multyply 5 * 1024 = 5120

Next after login to your machine you should change the wolumin size.

Windows 10 Windoes 10-2Windoes 10-3

 

Configuration Qualcomm Atheros AR9285 Wireless

lspci | grep Wireless

04:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

Screenshot at 2016-01-09 00:02:58

next we configure  /etc/network/interface

nano /etc/network/interface

auto lo
iface lo inet loopback

allow-hotplug wlan0
iface wlan0 inet manual
wpa-driver wext
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp

next we configure network:

nano /etc/wpa_supplicant/wpa_supplicant.conf

update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
eapol_version=1

network={
ssid=”NETWORK_NAME
scan_ssid=1
mode=0
proto=WPA2
auth_alg=OPEN
pairwise=CCMP
group=CCMP
key_mgmt=WPA-PSK
psk=”SECRET_PASSWORD
id_str=”win7″
priority=1
}

and we down and up interface

ifdown wlan0

ifup wlan0

ps.

if you got problem when up interface using command ifup, and you see:

Operation not possible due to RF-kill

please use command rfkill to use blocked device.

rfkill list

0: asus-wwan: Wireless WAN
 Soft blocked: no
 Hard blocked: no
1: asus-wimax: WiMAX
 Soft blocked: no
 Hard blocked: no
2: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

and kill Wireless LAN, using command:

rfkill unblock 3