- 配置网络
根据上一篇中的内容,如果是台式机那么此时已经可以联网了则跳过此步骤,如果是笔记本则需要配置无线网络
步骤如下:
创建 WIFI配置文件 /etc/wpa_supplicant/wpa_supplicant.conf 内容如下
The below line not be changed otherwise wpa_supplicant refuses to work ctrl_interface=/var/run/wpa_supplicant Ensure that only root can read the WPA configuration ctrl_interface_group=0 Let wpa_supplicant take care of scanning and AP selection ap_scan=1 Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers network={ ssid="这里填写WIFI名称" psk="这里填写WIFI密码" priority=5 } 解锁WIFI并启用WIFI` `注意:wlo1为本机wifi端口,具体名称以自己的笔记本为主,查看 ls /sys/class/net
Tag: virtualbox
Gentoo Linux Virtualbox Openwrt旁路由设置
Linux Virtualbox install MacOS
新建名为macos的虚拟机之后先执行如下命令,再开始安装
vboxmanage modifyvm "macos" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff vboxmanage setextradata "macos" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" vboxmanage setextradata "macos" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" vboxmanage setextradata "macos" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" vboxmanage setextradata "macos" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleased ontsteal(c)AppleComputerInc" vboxmanage setextradata "macos" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 VBoxManage setextradata "macos" "VBoxInternal2/EfiGraphicsResolution" "1920x1080"
安装结束后,执行如下命令设置显示分辨率
VBoxManage setextradata macos VBoxInternal2/EfiGraphicsResolution 1920x1080