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. ➥ https://learn-share.net/go/rpi Subscribe https://goo.gl/Amj8rx Get your Wi-fi Adapter http://amzn.to/2lTei6D
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.
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 protected network with dhcp protocol.
iface wlan0 inet dhcp
or enter this settings for a WEP network.
iface wlan0 inet dhcp
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.
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.
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 remember to rate and Subscribe https://q.gs/8436075/subscribe-learn-share Newsletter if you haven’t already.
????Great deals: http://lear-share.net/shop-store/
????♂️ Join me, Support this channel for more and better things! https://www.patreon.com/learnshare
???? Music from:
Contribute translating learn share videos: http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCA2aRJQUHkkTlvugxOYggpA