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
    About the element14 Community
  • 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 710 subscribers
  • Views 9788 views
  • Users 0 members are here
  • raspberry
  • pi
  • wireless
Related

Wireless network conectivity

wallarug
wallarug over 14 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
  • e14 Contributor
    e14 Contributor over 14 years ago

    If your adaptor uses Broadcom chipset you may need to install a piece of firmware to make it work. I had a similar problem with my Linux netbook that had Ralink wifi. It booted up but said that there was no WiFi as no firmware was loaded! After much searching the solution is at http://linuxwireless.org/en/users/Drivers/b43.

     

    The B43 package installs the firmware needed to run the Broadcom chipset. As its not GPL it can't be released with any Linux package, but is able to be extracted from the Windows driver. This package is already to go, just install!

     

    I required the firmware-b43-installer package. Not sure if it's in the RasPi repositories as I haven't got mine to play with yet... :-( But the above site it fairly comprehensive!

     

    Hope it works.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago in reply to e14 Contributor

    i have had issues with broadcom on various laptops using different distro's of linux, this is the best solution i have found so far. i also cant confirm at the moment if the b43 firmware is in the repositories. i will check tonight and see if it is.

     

    i cant actually try this on the R-Pi as i dont have a USB wifi adapter with the broadcom chipset.

     

    http://ubuntuforums.org/showpost.php?p=10527475&postcount=5

     

    hope this helps.

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

    Can someone please see what is wrong with the .tar.bz2 file that came with the device (and gave the above failures).  Can someone play around with these files and see if you can find the problem. I can not post the files here but you can download them from: here or here .

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

    I am reading the Makefile and the readme file that came with the device.  Can someone please explain what I have to do? (based on what the readme file is telling me.)

     

    Extract from readme file:

     

    1> $tar -xvzf RT2870_Linux_STA_x.x.x.x.tgz

        go to "./RT2870_Linux_STA_x.x.x.x" directory.

     

    2> In Makefile

               set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"

               define the linux kernel source include file path LINUX_SRC

               modify to meet your need.

     

     

    3> In os/linux/config.mk

              define the GCC and LD of the target machine

              define the compiler flags CFLAGS

              modify to meet your need.

              ** Build for being controlled by NetworkManager or wpa_supplicant wext functions

                 Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.

                 => #>cd wpa_supplicant-x.x

                 => #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d

              ** Build for being controlled by WpaSupplicant with Ralink Driver

                 Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.

                 => #>cd wpa_supplicant-0.5.7

                 => #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

     

     

    4> $make

              # compile driver source code

              # To fix "error: too few arguments to function ¡¥iwe_stream_add_event"

                => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

     

     

    5> $cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat

     

    6> load driver, go to "os/linux/" directory.

        #[kernel 2.4]

        #    $/sbin/insmod rt2870sta.o

        #    $/sbin/ifconfig ra0 inet YOUR_IP up

     

        #[kernel 2.6]

        #    $/sbin/insmod rt2870sta.ko

        #    $/sbin/ifconfig ra0 inet YOUR_IP up

     

     

    7> unload driver   

        $/sbin/ifconfig ra0 down

              $/sbin/rmmod rt2870sta

     

     

     

    I don't understand the step that says: " define the linux kernel source include file path LINUX_SRC" .

     

    Can someone help me please?

    Attachments:
    README_STA.zip
    Makefile.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 14 years ago in reply to wallarug

    Found this: http://forums.whirlpool.net.au/archive/1439103 but I don't know where the: "Linux kernel source code header files are installed "

     

    Could someone please fill in the blanks from this post.  Which include: steps 2 and 3.

     

    This would be much appreciated.

     

    Thanks in advanced.

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

    Hello Fergus,

     

    Are you sure that it is a 2770 ? Looking at the smaller chip, it is a 2720 which brings up a lot more hits for me in Google regarding wireless cards.

    I'm afraid I am not much of a Linux expert, but what you are posting above looks like you are compiling from source which is well above my head, perhaps someone else could comment on that.

    Have a look at the following link, that may be some help: http://wiki.debian.org/rt2870sta

    I know this may sound a little defeatist, and i'm happy to be told so, but at some point I would say you need to cut your losses and possibly think about buying a USB adaptor that is known to work with the Pi, rather than spending so much time trying to get your current one working ?

     

    Steve

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

    I think I will take your advice:

    "      but at some point I would say you need to cut your losses and possibly think about buying a USB adaptor that is known to work with the Pi, rather  than spending so much time trying to get your current one working ?"

     

    What do you think of this one: http://www.jaycar.com.au/productView.asp?ID=YN8309

     

    Although it is not branded on the Jaycar website, I think that it is the EW-7811Un which is verified on the wiki [http://elinux.org/RPi_VerifiedPeripherals#USB_WiFi_Adapters ].

     

    Also, I read on the wiki that someone has made a self-installer (so to speak) which should make it easy to impliment.

     

    Any thoughs before I go -out and buy this wireless adapter?

     

    PS: Should some add the other one to the problem adapter section. 

     

    And as a side not, I think the problem may have been the confusion between the two chips (RT2770 + RT2720) somewhere in the software. or that the hub is not providing enough power and therefore this device is pulling power from the RPi.


    Just a though.

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

    The two chips in this device are: Ralink RT2780F chipset with RT2720L as transceiver.  Does this mean anything driver wise?

     

    (I am still going to get a new adapter though)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 14 years ago in reply to e14 Contributor

    Mr P wrote:

     

    i have had issues with broadcom on various laptops using different distro's of linux, this is the best solution i have found so far. i also cant confirm at the moment if the b43 firmware is in the repositories. i will check tonight and see if it is.

     

    i cant actually try this on the R-Pi as i dont have a USB wifi adapter with the broadcom chipset.

     

    http://ubuntuforums.org/showpost.php?p=10527475&postcount=5

     

    hope this helps.

    As you can see from the above posts, I don't think that it is a broadcom chipset.

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

    How can I confirm the make if it is a generic brand?

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

    Hello Fergus, although not an answer to the question directly above, have you had a look at the Adafruit distro for the Pi ? From what I remember reading, this has drivers built in for some wireless cards andf may be worth giving a go with your current usb adaptor ?

     

    Morgaine has posted in this forum with links to the distro.

     

    Trying to answer your actual question, have a look at the drivers that come with the adaptor (even if you have got it yet, you can normally find a web page that will supply you the drivers, hopefully from the place you are buying it from) for Windows, and they will give a fair idea. BE something like Drivers\windows\realtek or hopefully something equally as useful.

     

    Steve

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

    I ahev the drivers, I just can't install them becasue I am a Linux n00b.image

     

    Could you help with this and this would solve my problem.

     

    Fergus

     

    See: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=45&t=13482&p=143746#p143746 for files that I need help with.

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

    I ahev the drivers, I just can't install them becasue I am a Linux n00b.image

     

    Could you help with this and this would solve my problem.

     

    Fergus

     

    See: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=45&t=13482&p=143746#p143746 for files that I need help with.

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

    Fergus Byrne wrote:

     

    I ahev the drivers, I just can't install them becasue I am a Linux n00b.image

     

    Could you help with this and this would solve my problem.

     

    Fergus

     

    See: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=45&t=13482&p=143746#p143746 for files that I need help with.

    Here is the instructions from the readme file that I don't understand/can't find the correct agruments to fill-in.  Could you PLEASE fill-in what I can't and then post back here.  please image.

     

              define the linux kernel source include file path LINUX_SRC

                         modify to meet your need.

     

    3> In os/linux/config.mk

              define the GCC and LD of the target machine

              define the compiler flags CFLAGS

              modify to meet your need.

              ** Build for being controlled by NetworkManager or wpa_supplicant wext functions

                 Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.

                 => #>cd wpa_supplicant-x.x

                 => #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d

              ** Build for being controlled by WpaSupplicant with Ralink Driver

                 Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.

                 => #>cd wpa_supplicant-0.5.7

                 => #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

     

     

    4> $make

              # compile driver source code

              # To fix "error: too few arguments to function ¡¥iwe_stream_add_event"

                => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

     

     

    5> $cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat

     

    6> load driver, go to "os/linux/" directory.

        #[kernel 2.4]

        #    $/sbin/insmod rt2870sta.o

        #    $/sbin/ifconfig ra0 inet YOUR_IP up

     

        #[kernel 2.6]

        #    $/sbin/insmod rt2870sta.ko

        #    $/sbin/ifconfig ra0 inet YOUR_IP up

     

     

    7> unload driver   

        $/sbin/ifconfig ra0 down

              $/sbin/rmmod rt2870sta

    Attachments:
    7674.Makefile.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 14 years ago in reply to wallarug

    Hello Fergus, i'm afraid as I said above, i'm very much a Linux noob too, and other than looking like those instructions are for re-compiling the kernal with the drivers included (and even that is probably wrong) I can't help much image

    All I can say is that to get my USB stick working, I didn't have to do any this, just the instructions I posted a way back up this thread. I think there must be an easier way than doing the above.

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

    Thats ok.  but I found this site which looks interesting, I am posting it here so I can find it later image

    http://linux.die.net/man/8/iwconfig

     

    For fixing a file I messed up.

    http://elinux.org/RPi_Peripherals#Wireless:_TP-Link_TL-WN722N_USB_wireless_adapter_.28Debian_6.29

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

    I bought the Edimax EW-7811Un but I need help setting it up, Steve, could you please help me with this one.  The RPi wiki says that it is verified but there is no guide to set-up this device for Raspbian.  I found this guide: http://www.ctrl-alt-del.cc/2012/05/raspberry-pi-meets-edimax-ew-7811un-wireless-ada.html but it has not worked for my RPi.  I think it has something to do with me not being able to get the rpi-update thing.  I tried to get this but failed.  Everytime I run rpi-update it returns:

     

    /usr/bin/rpi-update: line 1: syntax error near unexpected token `newline'

    /usr/bin/rpi-update: line 1: `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans                                                                             itional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'

     

     

    Can this be fixed so that I can update the firmware?

     

    Wireless card help would be nice as well image.

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

    I noticed from the link that Edimax uses the rtl8192cu driver.  I have another adapter (Asus USB-N13) which uses that driver and it did not work by default with the current Raspbian Wheezy image.  However, it did work ok with Adafruit's new image as it includes that driver, so you may want to give that a try: http://learn.adafruit.com/adafruit-raspberry-pi-educational-linux-distro/occidentalis-v0-dot-1

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

    With the EDIMAX, it gives me the errors:

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

    8192cu: disagrees about version of symbol <name of part>

    8192cu: Unknown symbol <name of part> (err -22)

     

    The "name of the parts" are all different.

     

    What can be done to fix this issue?  This might sovle my problem.

     

    How do you unpack a .ko file?

     

    I didn't unpack mine.  this could be leading to the above issues.








     

    Message was edited by: Fergus Byrne

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

    Drew Fustini wrote:

     

    I noticed from the link that Edimax uses the rtl8192cu driver.  I have another adapter (Asus USB-N13) which uses that driver and it did not work by default with the current Raspbian Wheezy image.  However, it did work ok with Adafruit's new image as it includes that driver, so you may want to give that a try: http://learn.adafruit.com/adafruit-raspberry-pi-educational-linux-distro/occidentalis-v0-dot-1

    I do not really want to change image (right now).  But I might give it a go in the future.

     

    Right now though, I just want to get this adapter working. image

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

    My guess is that the 8192cu.ko module you have doesn't agree with the version of the kernel your running.  a .ko file is a kernel module file and shouldn't have to unpacked.  the utility "modinfo" will print out information about the module.  could you run that and paste the output?  also, could you paste what "uname -a" outputs?  it might be that the kernel versions don't agree.

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

    will do image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago in reply to fustini

    Hey drew,

     

    I installed Occidentalis v10.1 successfully onto my Raspberry Pi's SD card and went to /etc/network/interfaces to add my SSID and password where it wanted me to add it. But for some reason I still can't connect to the Internet wirelessly when my wireless dongle is connected in (I'm using the Zyxel NWD2105 which uses Ralink firmware). When adding my SSID do I keep the quotation marks so it's SSID "xxxx" or do I remove the quotation marks? Is there anything else I must do to get my dongle working?

    • 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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube