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 7717 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
  • wallarug
    wallarug over 13 years ago in reply to GreenYamo

    Digitech is not on the "working list" as of today.  I will play around with the RPi and see if I can get it working with the provided drivers.

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

    As I am new to linux,

    Can someone please help me through the installing process.  I don't know how to install a tar.bz2 file type.  I have extracted it to a folder and found the readme file but I don't understand what it is telling me to do.  I have attached it here.

    Attachments:
    7026.README_STA.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to wallarug

    Fergus, with a bit of luck, you may be able to ignore those build instructions altogether, and just do a network package install of the driver you need.  Take a look at this post by GizmoB73:

     

    • http://www.raspberrypi.org/phpBB3/viewtopic.php?f=4&t=3150&start=75#p63821

     

    Although I don't know whether it resolved his own problem, he points out that the rt2870 chipset is handled by the regular "ralink" driver, which you can install directly on your Debian with nothing more than:

     

    • apt-get install firmware-ralink

     

    Unfortunately I don't have my Pi yet and I'm not running Debian here on any machine, but it's worth a try doing the above install command, then running "depmod -a", and finally running "modprobe" on the right kernel module that the apt-get installed.

     

    To find the module name, run "uname -a" to discover your kernel version/build name (it should be the 3rd field of the single line of output, for example 3.2.0-xxx), and then use that name to look in the appropriate wireless modules directory:

     

    • ls -l /lib/modules/3.2.0-xxx/kernel/drivers/net/wireless/rt2x00

     

    In that directory you should find a number of driver modules (.ko files), and with a bit of luck that will include a rt2870.ko --- if so then try "modprobe rt2870".  If it's not there then you could try one of the others, although that can lead to a crash sometimes.

     

    It would be so much easier to give proper advice if I had a Pi, grrrr ... Good luck! image

     

    Morgaine.

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

    Fergus,

      I'm not sure where you're getting stuck.  I also can't tell if this

    driver has ever been built for arm, or for debian, so I'm not sure

    what the probability of success is.

     

      If you still have a tar.bz2 file, you can extract it like:

     

            bzip2  -cd  file.bz2  |  tar xvf -

    where file.bz2 is the name of the file you have, and be

    careful with the spaces

     

    The readme file appears to be in microsoft word format,

    which you can read on a PC or using Openoffice on the RPi.

     

    the results of unpacking the bz2 file should be a directory

    with some files ending in .c and .h (these are the c source files),

    and a file called Makefile.   You will be editing the Makefile,

    according to step 2 of the readme file.  You can skip step 1,

    which is just unpacking the files, which I think you've already done.

     

    In step 3, you will be editing os/linux/config.mk

     

    In step 4, you will type

       make

    at the command prompt

     

    which will use your modified Makefile to cause the .c and .h

    files to be compiled using the c compiler.

     

    In step 5, you will type

      cp ...

    at the command prompt, to copy the .dat file where it goes.

     

    Hope this is somewhat helpful. 

    EDIT: just saw Morgaine's reply.  Try that first.

    • 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
Reply
  • 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
Children
  • 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
  • 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
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