Advertisements

Wifi Adapter Set up for Rasperry Pi

For connecting Raspberry Pi with internet, we have three options, one is through LAN cable, another is using a supported internet dongle and the other way is to using a wifi adapter. Here explaining about the steps that I did for configuring a Netgear N150 WNA1000MV2 wifi adapter with Raspberry pi. Raspberry pi supports lot of wifi adapters. The list of the hardware supported by raspberry pi is available in this url. I had one Netgear Wifi adapter (N150 WNA1000M) and it was working fine without any config changes. Because of that reason, I bought another wifi adapter with the same model number from an online shopping site. But when I unpacked it, I realized that they upgraded the product and a new version of the same product came with model number WNA1000MV2. When I connected it with the pi, it was not working. My raspberry pi OS was Raspbian.

Raspberry-Pi

Netgear1

A portion of the output of dmesg command that contains the details of the wifi adapter is shown below.

dmesg

[ 3.401856] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.523552] usb 1-1.2: New USB device found, idVendor=0846, idProduct=9043
[ 3.532493] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.541771] usb 1-1.2: Product: WNA1000Mv2
[ 3.547744] usb 1-1.2: Manufacturer: Realtek
[ 3.553858] usb 1-1.2: SerialNumber: 00e04c000001

To make this working, we have to do some modifications.
Add the following contents to the /etc/rc.local file

modprobe 8192cu
echo "0846 9043" > /sys/bus/usb/drivers/rtl8192cu/new_id
ifdown wlan0
ifup wlan0

Then add the following contents to /etc/modprobe.d/netgear_n150.conf file

install 8192cu /sbin/modprobe --ignore-install 8192cu; echo "0846 9043" > /sys/bus/usb/drivers/rtl8192cu/new_id

This worked perfectly for me. Hope this will help..!!!

Advertisements

We connected computers in the past, Now computers are connecting us…!!

A new revolution is going to happen in the world with connected devices and human life. We can call it as Internet of Things. Now lot of discussions and experiments are happening around the world to make this concept a reality. This is a very simple concept from the point of view of a person who knows electronics. But the problem is that for making this internet of things a reality and to make it usable by every individuals, it needs much more effort. For developing an application that makes our life easier by connecting things, we need the skillsets of a software engineer and electronics engineer. An electronics engineer can design the circuit, wire up and get the signals in the proper way. But those signals are just some electrical signals which will be useful only to the technical people. These systems were already in the past. Then what is different in IoT..??

IoT includes connecting systems, sensing each and every members in the network and controlling of every single node in the network based on the feedback. The control may not be based on a pre-written script, it can be dynamic. This requires extensive analytic knowledge along with electronics knowledge. If we sense and control every member of a large network, the data size will be high. Here we have big data solutions. So if we combine the electronics and analytic knowledge, we can build superb systems that can revolutionize the world. If we make everything connected and everything under control, there are some pros and cons. This will be just like the atomic energy. Good people used it for energy sustenance by generating energy and bad people used it as atom bomb for destroying people. Hope IoT will be used in the right way..!!!!