Install Setup Wifi on Raspberry Pi 2 – Belkin N300 Micro Wifi Adapter


How to Install Setup Wifi on Raspberry Pi 2, 1

How to Install Setup Wifi on Raspberry Pi 2, 1 – Belkin N300 Micro Wireless USB Adapter. To connect the Belkin N300 micro wireless USB adapter on raspberry Pi it’s easy.

Get your Belkin N300 from Amazon
Belkin N300 micro

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
If using the Legacy Upstart way:
sudo service network-manager restart
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 Subscribe Newsletter if you haven’t already.

Using a good VPN with Kodi is always suggested for privacy and security. If you need a good low cost VPN to use with Kodi you can watch this next video with some of the best VPN services.

How to Install Setup Wifi on Raspberry Pi 2, 1


?‍♂️ Join me on Patreon and support this website to create more and better things!

✔︎ Follow and Share this video elsewhere:
Twitter
Google+
facebook.com/learnshare.net

? Watch next: Latest Posts
Follow learn share on ➥ Twitter

how to Install Setup Wifi on Raspberry Pi 2, 1