2020年3月10日 星期二

Raspberry Pi 3 Static IP, WIFI and Ethernet


sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="XXX"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
psk="XXXXX"
}

sudo nano /etc/network/interfaces
iface eth0 inet manual 
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

sudo nano /etc/dhcpcd.conf
interface eth0
static ip_address=192.168.1.111/24
static routers=192.168.1.1
static domain_name+servers=8.8.8.8 
interface wlan0
static ip_address=192.168.1.222
static routers=192.168.1.1
static domain_name_servers=8.8.8.8

沒有留言:

VirtualBox 空間減肥

sdelete64 -z c: VBoxManage  modifymedium  disk  "/Users/fellow/VirtualBox VMs/Win10/Win10.vdi"  --compact *.vdi 路徑可以在 VirtualBox 儲...