element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Wireless network conectivity
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 75 replies
  • Subscribers 679 subscribers
  • Views 7708 views
  • Users 0 members are here
  • raspberry
  • pi
  • wireless
Related

Wireless network conectivity

wallarug
wallarug over 13 years ago

I bought one of these about 12 mths ago: http://www.jaycar.com.au/productView.asp?ID=YN8306&keywords=high+power+wireless+n&form=KEYWORD

I downloaded the drivers from the link above then installed them on a windows computer.  How do I use these linux drivers/installers on the raspberry pi to get the wireless adaptor to work?

 

Will this work with the Raspberry Pi?

  • Sign in to reply
  • Cancel
Parents
  • wallarug
    wallarug over 13 years ago

    I should add that I am using the latest Debian image.

     

    If it does work, what are the commands to install this?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 13 years ago in reply to wallarug

    Fergus,

     

    I would try here first:

     

    http://elinux.org/RPi_VerifiedPeripherals#USB_WiFi_Adapters

     

    There is also a guide for installing if yours is on the working list.

     

    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 13 years ago in reply to Former Member

    I took a gamble on a cheap Wireless Dongle, hoping they would be a fairly generic chipset and bought this one from Amazon: http://www.amazon.co.uk/Wireless-Internet-Adaptor-150Mbps-Windows/dp/B003BKBGF4/ref=sr_1_sc_1?ie=UTF8&qid=1339940385&sr=8-1-spell

     

    I'm pleased to say that the gamble worked for once, as my Pi is currently connected wirelessly - Keyboard and Dongle both plugged directly into the Pi.

     

    apt-get install firmware-ralink first

     

    Then followed the guide here: http://elinux.org/RPi_Peripherals#Wireless:_TP-Link_TL-WN722N_USB_wireless_adapter_.28Debian_6.29 from where it says: Add adapter definition to network config - eg: sudo vi /etc/network/interfaces - add the wlan0 section:

     

    Personally, I used Nano to edit rather than Vi as I find it as lot easier.

     

    Hope this helps someone to a cheap wireless Pi!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to GreenYamo

    Steve Read wrote:

     

    Personally, I used Nano to edit rather than Vi as I find it as lot easier.

     

    It's Sunday.  That comment wasn't anywhere near strong enough to stir people out of bed and into a decent editors flame war. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 13 years ago in reply to morgaine

    Oops, perhaps I should be careful of what I say :-)

     

    It's just as a beginner in all this, Vi seems a little, er, can I say arcane ?

     

    It just seems like trying to type a sentence using alt codes !

     

    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to GreenYamo

    Steve,

     

    I installed the ralink firmware but I have few problems:

    1. The W/LAN adapter is not outputing any power: and power management is "on"

     

      wlan0     IEEE 802.11bgn  ESSID:off/any

                Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm

                Retry  long limit:7   RTS thr:off   Fragment thr:off

                Encryption key:off

                Power Management:on

    2. When I type: "sudo iwlist wlan0 scan" the wlan0 replys:

    wlan0          Interface does not support scanning

     

    Any fixes.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 13 years ago in reply to wallarug

    Fergus,

     

    The wireless dongle you link to appears to use the realtek chipset, not the ralink firmware as mine does, so I would try

     

    apt-get install firmware-realtek

     

    then the rest as I linked to.

    It may also be worth having a play with the Beta of Debian Wheezy, as I think that has more support for wireless stuff : http://www.raspberrypi.org/archives/1435

     

    I would also try using the dongle in a powered hub, rather than directly into the pi as it may not be able to supply enough juice.

     

    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to GreenYamo

    Steve,

     

    If i heve installed the wrong fireware (which you say) how do I uninstall the ralink fireware?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 13 years ago in reply to wallarug

    Installing an extra package isn't going to hurt your 'pi. It'll take a few bytes of SD-card-space, but that's all.

     

    If you installed it using apt-get, the command to uninstall is:

     

       apt-get remove <package name>

     

    (where you fill in the package name (without the brackets)).

     

    The realtek firmware lives in a file with "realtek" in it. When the system detects the insertion of a realtek wifi card, the driver will say: "Hey, I need the firmware for this realtek card". The system will look in a specific file and if that doesn't exist, that's the end of it. The driver will not be able to use your realtek wifi module.

     

    If you have an ra-link, the filename will be different, so it will load the proper firmware even if the realtek firmware is installed. Or the other way around.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to GreenYamo

    Anyone,

     

    After I added the lines to the /etc/network/interfaces I have lost all ethernet connections to the RPi.  Any fixes?   I can't change the fireware if I have no internet.

    EDIT: I have uninstalled the ralink fireware.and... still no ethernet! image

    EDIT (2): seems that the ethernet cable was not plug-in correctly.  Now onto the fixing that wireless card.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to rew

    Thanks for that, old fireware removed and new one installed.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to wallarug

    This does not look good for the Raspberry Pi:

     

         DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1

         send_packet: Network is down

         phy0 -> rt2x00lib_request_firmware: Error - Fail to request Fireware.

         No DHCPOFFERS recieved.

         No working lease in persistent database - sleeping.

     

    Make any sense to anyone?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • wallarug
    wallarug over 13 years ago in reply to wallarug

    This does not look good for the Raspberry Pi:

     

         DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1

         send_packet: Network is down

         phy0 -> rt2x00lib_request_firmware: Error - Fail to request Fireware.

         No DHCPOFFERS recieved.

         No working lease in persistent database - sleeping.

     

    Make any sense to anyone?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • wallarug
    wallarug over 13 years ago in reply to wallarug

    Can someone please tell me what drivers/firmware I need for my particular model of card, None of the above firmwares seem to be working.  Link to download: http://www.jaycar.com.au/productView.asp?ID=YN8306&keywords=high+power+wireless+n&form=KEYWORD

    All the Linux drivers are in the download.  Can someone please look though them and see what needs to be done.  I have no idea what is what and how to install this USB card.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 13 years ago in reply to wallarug

    Fergus Byrne wrote:

     

    This does not look good for the Raspberry Pi:

         phy0 -> rt2x00lib_request_firmware: Error - Fail to request Fireware.

     

    This is what I like about Linux, and dislike about Windows: When something goes wrong, you get an error message that makes sense. In this case you're missing the firmware files for your wireless card.


    If you've messed up your "interfaces" file so you no longer have any internet put:

     

      iface eth0 inet dhcp

     

    back in there. I have it there while my 'pi has wlan as well.

     

    Try "lsusb" to see the brand of your wlan chipset.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to rew

    [q] Try "lsusb" to see the brand of your wlan chipset. [/q]

     

    Will Do.  Away for weekend but will try to do some raspberry pi testing.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to wallarug

    I can now confirm that it is a RALINK w/lan card (Ralink Technology Corp. RT2870 Wireless Adaptor).  I am going back to the Ralink Drivers now and then seeing what else I can do.  If this can help others to point me in the right direction after installing fireware, that would be much apreciated.

     

    I read a step in a previous post and on the wiki that you need to get "wifi-utils" but I can't seem to be able to install them.  Any help here?

     

    Fergus

     

    PS: Thanks in advanced.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 13 years ago in reply to wallarug

    maybe

      sudo apt-get install iw

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to wallarug

    http://wiki.debian.org/rt2800usb

     

    This looks hopeful (but it is for the Wheezy Debian not Squeeze, does that matter?)

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to rew

    Roger Wolff wrote:

     

    maybe

      sudo apt-get install iw

    Seems to have worked.  I will try the other commands and see if that has fixed other problems.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to wallarug

    Also ( as a side question):

     

    How do you create a shortcut to a folder in linux to a networked share drive?

    I know how to connect to it by typing

     

    smb: <location>

     

    But how do you create a shortcut?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to wallarug

    Progress made:  The Wlan adapter has power (which it didn't before) but the RPi is playing up, The RPi does not like the iwconfig command.  Any thoughts?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to wallarug

    I got this error:

    wpasupplicant deamon failed to start

     

    Which means I have an error in the:

    /etc/wpa.conf

    ...file. 

     

    But I don't know where they are.  I can tell you that I have a WPA+WPA2 sercurity setting active on the router but I don't know how that information translates into the /etc/wpa.conf file.

     

    This is what I curently have: (minus the ssid and password image - security purposes image)

     

    network={

    ssid="network2.4"

    proto=RSN

    key_mgmt=WPA-PSK

    pairwise=CCMP TKIP

    group=CCMP TKIP

    psk="passwordisfake"

    }

     

    Can anyone help me get the correct information into that file???

     

    EDIT: Just found an error but that has not fixed the problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube