Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 77

Thread: Ubuntu 12.04 Wifi Drivers

  1. #61
    Join Date
    Apr 2009
    Location
    UK
    Beans
    109

    Re: Ubuntu 12.04 Wifi Drivers

    Will do, but may not be until tomorrow.

    EDIT:
    During make / make install I got messages saying warnings were being treated as errors.
    Should I try a different compat-wireless version and if so, which one?
    Or is it a matter of trial and error?
    Thanks.
    Last edited by norm.h; November 9th, 2012 at 07:13 PM.

  2. #62
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,555
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ubuntu 12.04 Wifi Drivers

    I'd try this: http://www.orbit-lab.org/kernel/comp....1.1-1.tar.bz2

    Please post any errors and we'll try to help.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #63
    Join Date
    Apr 2009
    Location
    UK
    Beans
    109

    Re: Ubuntu 12.04 Wifi Drivers

    OK, will try that one, but do all the other steps in Post 35 still apply, and is there anything from my first attempts that needs to be removed?

  4. #64
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,555
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ubuntu 12.04 Wifi Drivers

    All the steps still apply; 0037 is not included until you add it. The newer install will overwrite the old.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #65
    Join Date
    Apr 2009
    Location
    UK
    Beans
    109

    Re: Ubuntu 12.04 Wifi Drivers

    I copied and pasted the commands from the instructions in Post 35, but unfortunately it's still not working.
    FWIW, sudo lshw -c network still shows UNCLAIMED


    Here are extracts from make and make install.

    Extract from MAKE. This was preceded by LOTS of WARNINGS

    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:25:15: error: expected declaration specifiers or ‘...’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:26:20: error: expected declaration specifiers or ‘...’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:27:25: error: expected declaration specifiers or ‘...’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:28:16: error: expected declaration specifiers or ‘...’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:31:40: error: expected ‘)’ before ‘uint’
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:32:25: error: expected ‘)’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:35:57: error: expected ‘)’ before ‘int’
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:36:29: error: expected ‘)’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:39:38: error: expected ‘)’ before ‘int’
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:40:25: error: expected ‘)’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:43:56: error: expected ‘)’ before ‘int’
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:44:33: error: expected ‘)’ before string constant
    make[5]: *** [/home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.o] Error 1
    make[4]: *** [/home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k] Error 2
    make[3]: *** [/home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath] Error 2
    make[2]: *** [/home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless] Error 2
    make[1]: *** [_module_/home/normh/Desktop/compat-wireless-3.1.1-1] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
    make: *** [modules] Error 2

    Extract from MAKE INSTALL

    make -C /lib/modules/3.2.0-23-generic/build M=/home/normh/Desktop/compat-wireless-3.1.1-1 modules
    make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
    CC [M] /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.o
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:25:15: error: expected declaration specifiers or ‘...’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:26:20: error: expected declaration specifiers or ‘...’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:27:25: error: expected declaration specifiers or ‘...’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:28:16: error: expected declaration specifiers or ‘...’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:31:40: error: expected ‘)’ before ‘uint’
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:32:25: error: expected ‘)’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:35:57: error: expected ‘)’ before ‘int’
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:36:29: error: expected ‘)’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:39:38: error: expected ‘)’ before ‘int’
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:40:25: error: expected ‘)’ before string constant
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:43:56: error: expected ‘)’ before ‘int’
    /home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.c:44:33: error: expected ‘)’ before string constant
    make[5]: *** [/home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.o] Error 1
    make[4]: *** [/home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k] Error 2
    make[3]: *** [/home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath] Error 2
    make[2]: *** [/home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless] Error 2
    make[1]: *** [_module_/home/normh/Desktop/compat-wireless-3.1.1-1] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
    make: *** [modules] Error 2
    normh-nspire compat-wireless-3.1.1-1 # e
    Last edited by norm.h; November 10th, 2012 at 12:03 PM.

  6. #66
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,555
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ubuntu 12.04 Wifi Drivers

    Those are more than warnings; they are errors.
    make[5]: *** [/home/normh/Desktop/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/init.o] Error 1
    When you see errors at 'make' stop, because nothing following is going to work at all. That's Linux-speak that means, roughly, "Stop! You have a version mis-match!!!"

    I believe Mint 13 uses a 3.2.0.xx kernel. Verify:
    Code:
    uname -r
    Let's try a compat-wireless version closer to 3.2.0.xx: http://www.orbit-lab.org/kernel/comp...-3.2-1.tar.bz2

    Your device 0037 is still not covered in this version, you'll need to make the changes from post #35.

    You may as well delete the other versions of compat-wireless on your desktop since they don't work.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #67
    Join Date
    Apr 2009
    Location
    UK
    Beans
    109

    Re: Ubuntu 12.04 Wifi Drivers

    normh@normh-nspire ~ $ uname -r
    3.2.0-23-generic
    normh@normh-nspire ~ $

    Stopped as instructed because:

    Extract from "make":

    /home/normh/Desktop/compat-wireless-3.2-1/net/wireless/core.c:7:0: warning: "pr_fmt" redefined [enabled by default]
    include/linux/printk.h:152:0: note: this is the location of the previous definition
    /home/normh/Desktop/compat-wireless-3.2-1/net/wireless/core.c:7:0: warning: "pr_fmt" redefined [enabled by default]
    include/linux/printk.h:152:0: note: this is the location of the previous definition
    CC [M] /home/normh/Desktop/compat-wireless-3.2-1/net/wireless/sysfs.o
    CC [M] /home/normh/Desktop/compat-wireless-3.2-1/net/wireless/radiotap.o
    CC [M] /home/normh/Desktop/compat-wireless-3.2-1/net/wireless/util.o
    /home/normh/Desktop/compat-wireless-3.2-1/net/wireless/util.c: In function ‘cfg80211_change_iface’:
    /home/normh/Desktop/compat-wireless-3.2-1/net/wireless/util.c:810:2: error: implicit declaration of function ‘br_port_exists’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[3]: *** [/home/normh/Desktop/compat-wireless-3.2-1/net/wireless/util.o] Error 1
    make[2]: *** [/home/normh/Desktop/compat-wireless-3.2-1/net/wireless] Error 2
    make[1]: *** [_module_/home/normh/Desktop/compat-wireless-3.2-1] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
    make: *** [modules] Error 2


    EDIT: Can't respond until tomorrow, I'm afraid
    Last edited by norm.h; November 10th, 2012 at 06:19 PM. Reason: afterthought

  8. #68
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,555
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ubuntu 12.04 Wifi Drivers

    I am on the way out the door, but when I return, I will fire up a 12.04 live CD and figure this tough problem out. I'm sorry, I usually compile before I recommend, but installing Mint is not an option. I will, however, try a 12.04 live CD.

    Later.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #69
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,555
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ubuntu 12.04 Wifi Drivers

    This version compiles on 3.2.0-xx with a few warnings and no errors!

    http://linuxwireless.org/download/co...-10-pc.tar.bz2

    Best of all, it has the needed modifications to cover your 0037 device ALREADY PRESENT! Woo hoo!
    static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
    { PCI_VDEVICE(ATHEROS, 0x0023) }, /* PCI */
    { PCI_VDEVICE(ATHEROS, 0x0024) }, /* PCI-E */
    { PCI_VDEVICE(ATHEROS, 0x0027) }, /* PCI */
    { PCI_VDEVICE(ATHEROS, 0x0029) }, /* PCI */
    { PCI_VDEVICE(ATHEROS, 0x002A) }, /* PCI-E */
    { PCI_VDEVICE(ATHEROS, 0x002B) }, /* PCI-E */
    { PCI_VDEVICE(ATHEROS, 0x002C) }, /* PCI-E 802.11n bonded out */
    { PCI_VDEVICE(ATHEROS, 0x002D) }, /* PCI */
    { PCI_VDEVICE(ATHEROS, 0x002E) }, /* PCI-E */
    { PCI_VDEVICE(ATHEROS, 0x0030) }, /* PCI-E AR9300 */
    { PCI_VDEVICE(ATHEROS, 0x0032) }, /* PCI-E AR9485 */
    { PCI_VDEVICE(ATHEROS, 0x0033) }, /* PCI-E AR9580 */
    { PCI_VDEVICE(ATHEROS, 0x0034) }, /* PCI-E AR9462 */
    { PCI_VDEVICE(ATHEROS, 0x0037) }, /* PCI-E AR1111/AR9485 */
    { PCI_VDEVICE(ATHEROS, 0x0036) }, /* PCI-E AR9565 */
    { 0 }
    Please compile and give us a good report.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  10. #70
    Join Date
    Apr 2009
    Location
    UK
    Beans
    109

    Re: Ubuntu 12.04 Wifi Drivers

    "Woo hoo!" indeed.
    Well the good news is that this works.
    It finds the networks OK.

    The bad news is that it won't let me connect.
    I'm sure it's a router configuration issue, which I'll have to overcome.

    Many thanks for your interest, perseverance and patience.
    Like British Rail used to say: "We're getting there!"

    Will your comment about recompiling the driver for a newer kernel still apply?
    I've copied the commands just in case.

    EDIT:
    Router reconfigured - all working OK
    Again, many thanks
    Last edited by norm.h; November 11th, 2012 at 06:43 PM.

Page 7 of 8 FirstFirst ... 5678 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •