How to Install Wi-Fi Adapter on Raspberry Pi’s 2 / 1. Belkin N300 Micro Wireless USB Adapter. To connect the Belkin N300 on raspberry Pi it’s easy.
Watch: Latest Posts Subscribe: Newsletter
➥ Try Amazon Prime Try for 30 days Free
➥ Amazon Coupons!! Get your Coupons.
➥ Best Amazon Today’s Deals.
How to Install Wi-Fi Adapter on Raspberry Pi 2
Find your ➦ Amazon List.
First, on terminal from the Raspberry Pi, type this command to install the required package.
dpkg -l firmaware-realtek
Next the dongle should be recognized by raspbian.
lsmod
lsusb
Next, the usb wi-fi adapter can be utilized to scan for a wireless network, and take note of the ESSID you want to connect.
iwlist wlan0 scan
If you using a network with WPA encryption, you’ll have to generate the passphrase with the following command, replace the SSID and the PASSWORD parameters from the network you want to connect. This will generate the hash, that you’ll need in the next step.
wpa-passphrase [ESSID] [PASSWORD]
Next, Edit the /etc/network/interfaces
file for your network.
- And add the following content for a WPA network with DHCP protocol.
auto wlan0
iface wlan0 inet dhcp
wpa-ssid [ESSID]
wpa-psk [PASSWORD]
- or enter this settings for a WEP network.
auto wlan0
iface wlan0 inet dhcp
wireless-ssid [ESSID]
wireless-key [PASSWORD]
Next, you can restart your network interfaces with the following command.
If using the Legacy init.d way:
sudo /etc/init.d/networking restart
In the Legacy Upstart way:
sudo service network-manager restart
Or If using SystemD:
sudo systemctl start networking
Next, Make sure you are connected executing the iwconfig command.
iwconfig
And the Belkin N300 should now access the internet, and of course the always useful connections, the SSH and the remote desktop via VNC.
if you find some difficulties to connect. Try to use DHC client to get dynamic IP.
dhclient
Or try bringing the device down and up again using this command’s.
sudo ifconfig wlan0 down
sudo ifconfig wlan0 up
Or update your distro.
sudo apt-get update
Thanks for watching and stay connected subscribing the Newsletter if you haven’t already.
Make use of a Good VPN to hide your presence online! Hide your IP Address and get your privacy and security. You need a Virtual Private Network to keep your data encrypted and secure. Watch this video and choose the best VPN service for you.
Contribute translating our videos. ?