News:

LATEST RELEASE:  FPP 8.4 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.4

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16872
Latest: Ninefingers
New This Month: 11
New This Week: 4
New Today: 4
Stats
Total Posts: 135397
Total Topics: 16969
Most Online Today: 65
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 55
Total: 55

Installe Tenda W311U mini wireless USB

Started by jnealand, September 29, 2013, 01:48:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jnealand

I am failing on step 1 and 2 of the following.  Not being a linux guru I assume since the apt directory is not found that means has been removed from the FPP distribution.  If so, how do I download and install a driver?  Or should I give up and just install something you guys support, but I cannot find a list of what is supported with the FPP so other than materdaddy's favorite edimax I am at a loss.  Just trying to use what I already have in-house.  I also have a Dlink DWA-140 which supposedly works  per the list here http://elinux.org/RPi_USB_Wi-Fi_Adapters

Installing the Tenda W311U Mini Wireless USB Dongle
Jun 30, 2012
This install guide was completed on the latest stable release of Debian Squeeze, but it should work on later releases, such as Wheezy. This guide will give a step by step overview of how to install the Tenda W311U MiniWireless USB Adaptor.
Requirements: Make sure you have a decent power supply for the Pi (we use 2000mA adaptors to stop any low power cut-outs), in addition to a USB hub. Like most wireless dongles, the Tenda adaptor requires more power than the Pi USB ports can provide, so it will need to be plugged into a powered hub.
Also, make sure that you are connected to the internet via a LAN cable.
1. Firstly, we need to check that the OS we are using has a 'non-free' component:
sudo grep non-free /etc/apt/sources.list
Which should reveal:
deb http://ftp.uk.debian.org/debian/ squeeze main non-free
Or similar. If this is not the case, you've really buggered something up (or you're super smart). Anyway, if it doesn't say that, you'll need to change it to the above (or your local Debian ftp server), or simply format your SD card and start again with the OS.
2. We can now install the Ralink drivers.
Change the directory to where we want the drivers to go:
cd /etc/apt
And install them:
sudo apt-get install firmware-ralink
3. OK so we've installed the drivers, plug the dongle into a spare port on the USB hub and we'll query it with the lsusb command:
lsusb
This should reveal a list of the installed usb devices, including the dongle:
Bus 001 Device 005: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
4. As a double check, we can check the system log to see if it's registered the dongle.
dmesg
This will check the system log, and the most recent log should be the successful installation of the wifi dongle:
usb 1-1.3: new high speed USB device number 5 using dwc_otg
usb 1-1.3: New USB device found, idVendor=148f, idProduct=3070
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3: Product: 802.11 n WLAN
usb 1-1.3: Manufacturer: Ralink
usb 1-1.3: SerialNumber: 1.0
cfg80211: Calling CRDA to update world regulatory domain
usb 1-1.3: reset high speed USB device number 5 using dwc_otg
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Registered led device: rt2800usb-phy0::radio
Registered led device: rt2800usb-phy0::assoc
Registered led device: rt2800usb-phy0::quality
usbcore: registered new interface driver rt2800usb
Cool, it's now been installed! Now we need to install a network manager to get on-line! There's a variation of network managers to choose from. But we have selected gnome as an example:
5. Let's just make sure everything is up to date:
sudo aptitude update
6. Next lets install the network manager:
sudo aptitude install network-manager-gnome
It should come up with a warning saying that you will use SD card space, just say yes.
7. After it's installed, it's probably worth restarting your Pi.
Now unplug your LAN and boot your Pi.
Start up the GUI with:
startx
You should now have the network manager in the corner of the screen, next to the time. Click on this and connect to your wireless network!
Easy Peasy!
Author: Neil Ronketti

Jim Nealand
Kennesaw, GA all Falcon controllers, all 12v Master Remote Multisync with Pi and BBB P10 and P5

MyKroFt

until the web GUI gets released, all wireless config has to be done by hand by editing the /etc/network/interfaces file.

If you want to leave it DHCP, all you have to do is edit the network SID and password

Tony

jnealand

So much to learn, maybe I should concentrate on sequencing.  Of course I have never done that before until the crush gets closer.  LOL.
Jim Nealand
Kennesaw, GA all Falcon controllers, all 12v Master Remote Multisync with Pi and BBB P10 and P5

JonB256

Quote from: MyKroFt on September 29, 2013, 05:08:39 PM
until the web GUI gets released, all wireless config has to be done by hand by editing the /etc/network/interfaces file.

If you want to leave it DHCP, all you have to do is edit the network SID and password

Tony

Tony, I tried editing the /etc/network/interfaces file. Put in my SSID and password. This is with the "WiPi" USB wireless. It seemed to work pretty well, but seriously confused my router and I began to get Duplicate IP warnings and it never showed the correct MAC for the WiPi. The RaspPi would correctly announce the IP address on startup and sometimes I could run the Web interface from the IP address, but not always. It was like I could only used 2 of the 3 available addresses (192.68.0.10 and 192.68.0.145 and 192.68.0.234). The .10 address would almost always work. When it didn't was the times I'd get "Duplicate IP" address errors.

Currently, the WiPi is not plugged in and everything is fine.

Jon
Long time Falcon, FPP and xLights user

MyKroFt

Your wifi usb dongle and the built in eth interface should have completly different mac addresses.  That is how DHCP address are assinged is via MAC address.

a ifconfig on the CL will show you the mac addresses of your interfaces.

the 192.168.0.10 is a static fallback ip.  It will always be there unless you take it out of the interfaces file.  It is there for when you have it hooked up to a switch and no DHCP server is avail and you dont have any interfaces set as static.

I will look into the current network settings page that is in the dev brance and see what I can do for ppls having trouble setting ip addresses etc.

Tony

jnealand

To many things to do I ordered an Edimax wireless adapter today from NewEgg.  $9.99 plus free shipping.
Jim Nealand
Kennesaw, GA all Falcon controllers, all 12v Master Remote Multisync with Pi and BBB P10 and P5

gdyrdave

 I just received the Edimax nano wifi usb and installed it. Prior to installation I edited the interfaces file to reflect my networks ssid and psk. Put the wifi in and restarted. No joy. The lsusb list shows it is there. DPitts basically it is plug and play. Anything I am not doing  or doing wrong? Is it possibly that I am using a hex psk as opposed to ascii ?  FYI

Dave

MyKroFt

ssid and passwords are case sens - wpa mode

also make sure they are inside the quotes

Tony

gdyrdave

Yes the case is correct and are within quotes.

Dave

gdyrdave

If I enable WPA I have to increase the size of the password. What if I disable wep/wpa and make it open system?

Dave

MyKroFt

I use WPA-Personal on my router(s) and it connects just fine....

Password I use is only 10 chars long (passphrase) not hex keys

Tony

Materdaddy

I use the edimax and used wpa_cli to configure it.

Remove the crap from /etc/network/interfaces for wlan0.

Boot using wired ethernet.

Use wpa_cli when plugged into regular ethernet: http://www.ronnutter.com/raspberry-pi-adding-wifi-wpawpa2-using-wpa_cli/ (I think I've sent you this link 4 times now. ;))

Once you have both interfaces working, you can save it (in that tutorial) and reboot with only the wireless plugged in from then on.  Pay attention to the IP address you get when using wpa_cli as it should be the same after a reboot (assuming you're using a router with a respectable DHCP implementation).

gdyrdave

Hi Mat,

  I know you sent that link to me. I did not work for the other wifi dongle I bought. I bought the Edimax because it was basically plug and play. I will try changing the wep key to ascii in the router.

Dave

neilric99

does the wpa_cli software allow you to setup as wep as well as wpa?


Materdaddy

Quote from: neilric99 on October 02, 2013, 08:27:44 AM
does the wpa_cli software allow you to setup as wep as well as wpa?

Yes, wpa_cli configures wpa_supplicant which supports basically all wireless security types (afaik).

You will run a scan, and it'll tell you what encryption all found networks are using.

Support FPP

+- Recent Topics

Scoreboard Plugin by CaptainMurdoch
February 06, 2025, 04:34:30 PM

K32 only the pixels stopped outputting by tetleytealeaf
February 06, 2025, 02:03:40 PM

Power failure wreaked havoc by perigalacticon
February 05, 2025, 04:04:27 AM

What is the fanout capabilities of ws2811 controllers? by k6ccc
February 04, 2025, 05:53:10 PM

SPixels broken in version 6 and upwards by dkulp
February 04, 2025, 02:52:30 PM

FPP stopped working by crookedpriority
February 03, 2025, 10:45:17 AM

Setting up a wired on demand show on Pi/ FPP to push a show to Falcon Controller by breese
February 03, 2025, 04:54:44 AM

F16V4 Expansion Board Half of the board stop lighting up. by onlineshopper
February 03, 2025, 03:08:47 AM

Overlay Matrix: write more than one pixel at a time ? by niemy
February 02, 2025, 03:35:16 PM

FPP Spixels bug by Colg
January 31, 2025, 02:52:05 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod