How do i setup a wifi adapter on my Raspberry Pi 2 Model B? - raspberry-pi2

I have a Comfast CF-WU810N V2.0 - 2.4GHz 802.11b/g/n 150Mbps USB 2.0 Wireless Wi-Fi Network Adapter. It works with most of my devices but not with my Raspberry Pi. I want to set it up with my Raspberry Pi 2 Model B running windows 10 iot core. How do I do it? Please Help!

As of today the only supported WiFi dongle is the official Raspberry Pi dongle. This is known and actively being worked on.

Related

Android Things: ADB over USB on Raspberry Pi

I'm playing with Raspberry Pi 3 Model B and Android Things. I was able to configure everything (connect Pi over Ethernet, then reconnect over Wi-Fi with Android.local) and debug the app. However it's not convenient sometimes to debug over Wi-Fi when I travel and I have to change Wi-Fi networks or don't have Wi-Fi connection at all.
I know there is serial debug console, but it seems to be for getting logs and shell commands, not for debugging.
Any chance to have direct debugging over USB cable just like any other Android device like smartphone/tablet?
How to debug Android Things device over USB?
Briefly: you can't do it with Raspberry Pi.
Why not?
Let's look at the pin specification of Raspberry Pi micro USB (J1):
where
1: power
2: D- (data out), not connected
3: D+ (data in), not connected
4: NC, not connected
5: GND (ground)
So summing up the above said: no data pin connection - no adb. You can only power your RPi over micro USB.
Any chance to have direct debugging over USB cable just like any other Android device like smartphone/tablet?
Use another board. In fact, any board that has USB OTG and is supported by Android Things would allow debugging over USB, just as a "regular" smartphone/tablet.
And ironically, by the time of this writing, all the supported hardware platforms would fit except for Raspberry Pi :)
The NXP i.MX7D development board has the same pins as the Raspberry Pi for development, however it uses USB-C for power and ADB.
Highly recommend it over the Raspberry Pi
https://developer.android.com/things/hardware/imx7d.html
(source: android.com)
Another option is to setup Wi-Fi access point on your laptop and allow the Pi to connect to it. I have not tested it but it should work.

Raspberry Pi with TP-Link TL-WN823N, not disconnecting when hotspot is stopped

Raspberry Pi 2 (3.18.7-v7+) with Wi-Fi dongle TP-Link TL-WN823N (8192CU chipset).
I am creating a hotspot on Windows with TP-Link TL-WN823N and configured auto connection on the Raspberry Pi. But when I stop the hotspot, in most of the cases, 'wpa_cli status' shows connected state (wpa_state=COMPLETED).
I am unable to detect the source of problem. Please tell me what could be the problem and its possible solution.

Raspberry Pi 2 B and Kinect V2

Is there anybody who can confirm it is possible to extract depth/RGB images from Kinect V2 + Kinect Adapter for Windows on Raspberry Pi 2 Model B?
As far as I know, Raspberry Pi 2 Model B has USB 3.0 which is a requirement for Kinect V2. I would like to know if anyone had success in RGB, IR and depth image transfer from Kinect V2 using libfreenect2 or any other similar way.
Furthermore, anyone knows any hardware similar to Raspberry Pi 2 (more expensive but still cheap) which supports Kinect V2?
According to the Raspberry Pi 2 datasheet, it only has USB 2.0 ports. So it won't work. :-(
The most basic hardware that works that I know of is the NVIDIA Jetson TK1. At $192 it's way more expensive then a Raspberry Pi, but cheaper than most other options. For more information on using libfreenect2 with the TK1, see this HOWTO

USB HID Keyboard emulator

I want to make hardware keylogger from my Raspberry Pi model B. I think that I can connect keyboard to raspberry and connect raspberry to computer, but how I can emulate keyboard output?
I consider that here must be some low-level libraries for this purpose, but I can't find someone.
Thanks!
You need to implement HID device emulator on Pi in order to act like keyboard. But it seems impossible because Pi hasn't separate USB port.
No, on the Raspberry PI model B the USB hardware is actually connected to a built in Hub, this fixes the USB format as master, there is no way a model B can be a "slave device". Thats said, the SoC of the Raspberry PI is actually capable as being used for both a master and a slave USB device, so theoretically when using a model-A it could be possible to program it to behave as a slave device. Obviously its against the USB specification for a slave device to have a type-A connector, but with some soldering you could connect a type-B or even an USB-on-the-go connector.
source

Raspberry pi freezed on wifi adapter

I have a type B Raspberry Pi running perfectly with USB keyboard and USB mouse both plugged in.
However pi freeze in all the following combinations,
USB keyboard + USB wifi adapter (CUI)
USB mouse + USB wifi adapter (GUI)
In CUI, pi reboots every time I hot plugged in the adapter, and freezes on asking for login id.
If I boot pi with wifi preplugged in, pi also freeze on asking for login id.
In GUI, it does not reboot but freeze when I hot plugged in the adapter.
It is true when I boot pi with preplugged in.
Could someone please advise me how to fix this?
Your raspberry pi does not have beefy enough USB ports to power the wifi adaptor. Get a powered USB hub.