--- title: Setting up Raspberry Pi Wi-Fi tags: Raspberry Pi --- # Setting up External Wi-Fi Dongle on Raspberry Pi OS ## Disable Bulid-In Wi-Fi in `/boot/config.txt` ```bash= dtoverlay=disable-wifi ``` ## Configure WPA Supplicant in `/etc/wpa_supplicant/wpa_supplicant.conf` ```bash= network={ ssid="wifi-ssid" psk="password" key_mgmt=WPA-PSK } ``` ## DHCP in `/etc/network/interfaces` ```bash= allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf ``` ## Static IP in `/etc/network/interfaces` ```bash= allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf ``` in `/etc/dhcpcd.conf` ```bash= interface eth0 static ip_address=192.168.0.4/24 static routers=192.168.0.1 static domain_name_servers=192.168.0.1 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up