1 2 3 4 5 6 Previous Next 75 Replies Latest reply: Sep 11, 2012 3:55 AM by wallarug Go to original post RSS
  • 60. Re: Wireless network conectivity
    GreenYamo Level 4

    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

    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.

  • 61. Re: Wireless network conectivity
    wallarug Level 14

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

    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

  • 62. Re: Wireless network conectivity
    wallarug Level 14

    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 .

  • 63. Re: Wireless network conectivity
    Drew Fustini PremierFarnell

    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

  • 64. Re: Wireless network conectivity
    wallarug Level 14

    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

  • 65. Re: Wireless network conectivity
    wallarug Level 14

    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.

  • 66. Re: Wireless network conectivity
    Drew Fustini PremierFarnell

    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.

  • 67. Re: Wireless network conectivity
    wallarug Level 14

    will do

  • 68. Re: Wireless network conectivity
    itcrowd32 New Members

    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?

  • 69. Re: Wireless network conectivity
    Drew Fustini PremierFarnell

    Hi Ahmad,

     

    I believe you should keep the quote marks.  An alterative to configuration via /etc/network/interfaces would be to wicd which is a GUI network manager that allows you to configure your wifi adapter.  You should be to install it by entering into the command line: "sudo apt-get install wicd" (while connected to Internet via Ethernet).  I wrote up more detailed instructions in this comment before:

     

    http://www.element14.com/community/docs/DOC-44703/l/raspberry-pi-wifi-adapter-testing#comment-15744

     

    I didn't try to install wicd it on the Adafruit image yet, so I think I'll give it a go this weekend.  I had installed wicd on the "official" Raspbian Wheezy image and it worked well.

     

    Cheers,

    Drew

  • 70. Re: Wireless network conectivity
    wallarug Level 14

    Drew Fustini wrote:

     

    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.

    Here's the output from uname -a:

    Linux raspberrypi 3.1.9+ #168 PREEMPT Sat Jul 14 18:56:31 BST 2012 armv6l GNU/Linux

     

    I also fixed the problem of the :

    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)

     

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

     

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

     

    I can now also tell you that the output of lsusb is:

    Bus 001 Device 007: ID 7392:7811 Edimax Technology Co.,Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

     

    I hope this helps you solve my problem.  I also found someone who had the same problem and am reading what they did now: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=6256&hilit=edimax&start=575

     

    Thanks

  • 71. Re: Wireless network conectivity
    wallarug Level 14

    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.

  • 72. Re: Wireless network conectivity
    selsinork Level 15

    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

  • 73. Re: Wireless network conectivity
    itcrowd32 New Members

    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

  • 74. Re: Wireless network conectivity
    wallarug Level 14

    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

     

    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.

     

    Message was edited by: Fergus Byrne