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 9840 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
  • wallarug
    wallarug over 14 years ago in reply to wallarug

    THIS IS A MUST ADD TO THE WIKI! (it is already there but is not advertised very well)

     

    http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=6256&hilit=edimax&start=600 

     

    http://dl.dropbox.com/u/80256631/install-rtl8188cus.txt

     

    and

     

    http://dl.dropbox.com/u/80256631/install-rtl8188cus-latest.sh

     

    These solved all my problems in less than 15minutes.  Keep in mind that it only works for some adapters, which are listed on the 1st link.

    The script also installs all the latest updates for the RPi (rpi-update) as well as setting up your wireless.

     

    Great job,  MrEngman

     

    I still wonder how to install my other device though.  So if anyone finds this out, please let me know (it is not really that important now).

     

    Fergus.

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

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

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

     

    ...by deleting the driver (8192cu.ko file).

     

    Which leads me to suspect that the RPi s/ware didn't like it.

    What those messages tell you is that the module you compiled was built against a different kernel than the one you're running. Sometimes this can be as simple as having the exact same kernel source, but just one option has been changed in the .config

     

    To build external modules you need the correct kernel source tree and the .config from the running kernel. You can usually obtain this from the /proc/config.gz file.

     

    It's difficult to cover every possible problem in just a few lines, but here's a basic outline of how it should be done - no idea if this would work for you though

     

    cd /home/pi  - or wherever

    git clone https://github.com/raspberrypi/linux.git - this should leave you with a 'linux' directory eventually, it will take some time

    cd linux

    cp /proc/config.gz .   - copy config of running kernel

    gunzip config.gz       - unpack config

    mv config .config      - move it to (dot)config that leading . is necessary !

    make oldconfig         - this configures the kernel source with the config of your running kernel

     

    if make oldconfig asks lots of confusing questions you don't know how to answer, try make silentoldconfig instead

     

    at this point you can go and build your driver, but you must make sure it uses the kernel source tree you've just configured. You likely need to change two symlinks under /lib/modules/* for this to work properly like this:

     

    rm /lib/modules/`uname -r`/build

    rm /lib/modules/`uname -r`/source

    ln -s /home/pi/linux /lib/modules/`uname -r`/build

    ln -s /home/pi/linux /lib/modules/`uname -r`/source

     

    now build and install your external driver module.

     

    It's sometimes the case that you'll end up with two conflicting versions of a driver, you can search for them like this

     

    find /lib/modules/`uname -r`/ -name 8192cu.ko

     

    if that finds more than one, delete all of them and then re-run the drivers install.

     

    When you're done, run depmod -a hopefully the driver install did it for you, but sometimes they don't.

     

    You should then be able to run modprobe 8192cu to load the module. dmesg will show you any errors.

     

    I hope some of the above helps, but no guarantees - too many assumptions in there for guarantees image

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

    Okay, thanks for the help, I really appreciate it Drew and I'll give this a go next time I hook up my Pi up to the internet. Hopefully it will work on adafruit's image because I didn't have much luck with it on Rasbian Wheezy, but it's worth a try.

     

    Edit - Using the WICD software on the adafruit's image I successfully managed to connect to my router using a dongle. Thanks for the help, my Raspberry Pi can now connect to to the internet without an Ethernet cable (which has been an issue to me for quite a while)

     

    Message was edited by: Ahmad A

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

    selsinork wrote:

     

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

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

     

    ...by deleting the driver (8192cu.ko file).

     

    Which leads me to suspect that the RPi s/ware didn't like it.

    What those messages tell you is that the module you compiled was built against a different kernel than the one you're running. Sometimes this can be as simple as having the exact same kernel source, but just one option has been changed in the .config

     

    To build external modules you need the correct kernel source tree and the .config from the running kernel. You can usually obtain this from the /proc/config.gz file.

     

    It's difficult to cover every possible problem in just a few lines, but here's a basic outline of how it should be done - no idea if this would work for you though

     

    cd /home/pi  - or wherever

    git clone https://github.com/raspberrypi/linux.git - this should leave you with a 'linux' directory eventually, it will take some time

    cd linux

    cp /proc/config.gz .   - copy config of running kernel

    gunzip config.gz       - unpack config

    mv config .config      - move it to (dot)config that leading . is necessary !

    make oldconfig         - this configures the kernel source with the config of your running kernel

     

    if make oldconfig asks lots of confusing questions you don't know how to answer, try make silentoldconfig instead

     

    at this point you can go and build your driver, but you must make sure it uses the kernel source tree you've just configured. You likely need to change two symlinks under /lib/modules/* for this to work properly like this:

     

    rm /lib/modules/`uname -r`/build

    rm /lib/modules/`uname -r`/source

    ln -s /home/pi/linux /lib/modules/`uname -r`/build

    ln -s /home/pi/linux /lib/modules/`uname -r`/source

     

    now build and install your external driver module.

     

    It's sometimes the case that you'll end up with two conflicting versions of a driver, you can search for them like this

     

    find /lib/modules/`uname -r`/ -name 8192cu.ko

     

    if that finds more than one, delete all of them and then re-run the drivers install.

     

    When you're done, run depmod -a hopefully the driver install did it for you, but sometimes they don't.

     

    You should then be able to run modprobe 8192cu to load the module. dmesg will show you any errors.

     

    I hope some of the above helps, but no guarantees - too many assumptions in there for guarantees image

     

    I am a linux n00b,  I read something and think that was what the problem could be. Anyway, the problems are all solved for me anyway.

     

    thanks for the help. image

     

    Message was edited by: Fergus Byrne

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

    YEPPY!!

     

    I worked it out after 6 months of trouble.

     

    I found these instructions: http://elinux.org/RPi_Ralink_WLAN_devices

    ...Which I then used to install the card as my second Wireless interface.

     

    Install the wpasupplicant and the ralink firmware:

    1) sudo apt-get install wpasupplicant

    2) sudo apt-get install firmware-ralink

    Restrict access to /etc/interfaces so only root can read it (in this method, this file will contain your network password):

    3) sudo chmod 0600 /etc/network/interfaces

    Edit you /etc/network/interfaces:

    4) sudo nano /etc/network/interfaces

    5) The file already contains the configuration for eth0 (your Ethernet port) and looks something like this:

    auto eth0 iface eth0 inet dhcp  

    add the following lines below, enter you network name (ssid) and password:

    iface wlan0 inet dhcp wpa-ssid <your network ssid here>  wpa-psk <your network password>  

    6) save the file.

    The network interface will connect every time the RPi boots up. To connect it now manually, run:

    7) sudo ifup wlan0

     

    I hope someone can now add this to the wiki as a working adapter.

     

    Ralink Technology, Corp. RT2870 Wireless Adapter

    ID: 148f:2870

     

    Must be used with a powered hub and works out-of-the-box with Raspbian (August 16th 2012 --> From Raspberrypi.org Download page)

     

    The only real instructions required are:

    1. Image card and go through normal set-up

    2. Plug in card and confirm that it is what it says it is using "lsusb" command

    3. Type in "sudo nano /etc/network/interfaces"

    4. Add the following lines:

    auto lo

     

    iface lo inet loopback

    iface eth0 inet dhcp

     

    allow-hotplug wlan0

     

    auto wlan0

     

    iface wlan0 dhcp

    wpa-ssid <insert name of your ssid here using inverted commas " ">

    wpa-psk < insert password of access point here using inverted commas " ">

    5. Use the command "sudo ifup wlan0"

    6. Let the device connect

    7. You should be connected.

     

     

    Thanks for all the help.

     

    This problem is now SOLVED.

     

    Fergus.

    • 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