English
Ask Your Question
0

Fedora 18: Atheros Ar8161 and Wireless bcm43142 not recognized

asked 2013-01-16 04:30:22 +0000

huynh gravatar image

updated 2013-01-16 05:00:24 +0000

I have just installed Fedora 18 on a Dell Vostro 3460. Neither ethernet (atheros 8161) nor wireless (bcm 43142) works.

How do I install drivers for those? I have Windows 8 alongside with Fedora so I can download .rpm files.

Edit:

  • I intalled the default version of Fedora (Gnome 3)
  • On Ubuntu, I installed wireless-compat package (I do not remember the exact name), and the ethernet connection worked fine. I think similar packages will work for Fedora, but I am pretty new to it and I don't know which files to download.
edit retag flag offensive close delete

4 Answers

Sort by » oldest newest most voted
-1

answered 2013-01-29 10:45:02 +0000

pyluyten gravatar image

dfcamara, you can use another link to have buildable alx.

http://www.kernel.org/pub/linux/kernel/projects/backports/2012/12/19/compat-drivers-2012-12-19-u.tar.bz2

(from https://bugzilla.redhat.com/show_bug.cgi?id=842367)

I believe the F18 packages will be created later on.

edit flag offensive delete publish link more
-1

answered 2013-01-18 02:14:32 +0000

compat-wireless source: http://www.linuxfoundation.org/collaborate/workgroups/networking/alx

I got an error trying to compile:

$ make
make -C /lib/modules/3.7.2-201.fc18.x86_64/build M=/home/danilo/Downloads/compat-wireless-3.6.8-1-snpc modules
make[1]: Entering directory `/usr/src/kernels/3.7.2-201.fc18.x86_64'
  CC [M]  /home/danilo/Downloads/compat-wireless-3.6.8-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.o
/home/danilo/Downloads/compat-wireless-3.6.8-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_hw_printk’:
/home/danilo/Downloads/compat-wireless-3.6.8-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:124:3: error: implicit declaration of function ‘__netdev_printk’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[4]: *** [/home/danilo/Downloads/compat-wireless-3.6.8-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.o] Error 1
make[3]: *** [/home/danilo/Downloads/compat-wireless-3.6.8-1-snpc/drivers/net/ethernet/atheros/alx] Error 2
make[2]: *** [/home/danilo/Downloads/compat-wireless-3.6.8-1-snpc/drivers/net/ethernet/atheros] Error 2
make[1]: *** [_module_/home/danilo/Downloads/compat-wireless-3.6.8-1-snpc] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.7.2-201.fc18.x86_64'
make: *** [modules] Error 2

RPMS here, but there's no RPM for Fedora 18: http://people.redhat.com/sgruszka/compat_wireless.html

edit flag offensive delete publish link more
-1

answered 2013-01-20 19:39:45 +0000

zeus7hc gravatar image

updated 2013-01-20 20:22:33 +0000

Hello,

I'm having the exact same trouble and it is indeed highly frustrating.

Using fedora 17, I managed to get both devices running:

a) Ethernet

I installed the alx driver. http://www.linuxfoundation.org/collaborate/workgroups/networking/alx

b) Wireless

Basically, I followed http://forums.fedoraforum.org/archive/index.php/t-282334.html

However, with the new Fedora 18, neither of them works.

Ethernet It worked with the older 3.6 kernel right after the fresh install. Then I updated the system and using the newer kernel, alx no longer compiles.

WiFi Using the source mentionned above, I am able to compile the WL driver, but if I load it using modprobe wl the system crashes instantaneously. It seems the BCM43142 is a tricky beast; googling revealed that the official drivers to not seem to support it, yet, there is a non-free non-obtainable ubuntu package shipped by Dell (it seems in some countries the vostro 3x60 familiy was sold with ubuntu). I downloaded the *.deb file and converted it using alien, but it doesn't work neither. I really don't know what to try next; all the available broadcom drivers seem to work fine except for BCM43142, and the driver that worked in fedora 17 crashes when run on fedora 18... same story for atheros LAN, yet, there is some hope that we can have at least LAN as the atheros driver worked with kernel 3.6

EDIT: I got the alx driver working.

  1. Download the package
  2. go to its directory and type ./scripts/driver-select alx
  3. but before excecuting make edit the file .../compat-wireless[...]/drivers/net/ethernet/atheros/alx/alx_main.c go to line 129 and comment the lines 129,130,131 by putting // at the beginning of the line
  4. in the drivers directory, type make
  5. sudo make install
  6. sudo modprobe alx

voilá for me, at least LAN.

EDIT2: It may happen that make complains that version.h is missing. if so, do:

  1. sudo cp /usr/include/linux/version.h /usr/src/kernels/'uname -r'/include/linux where uname -r should give you the directory of the kernel you're using, 3.7.2-204.fc18.x86_64 for example.
edit flag offensive delete publish link more

Comments

Thanks, that helped me get the alx driver working with the 3.7.2-204 kernel. I used the source tarball for compat-wireless-3.6.8-1-snpc and the line numbers I needed to comment out were 124 - 126. See http://pastebin.com/XpkPW7y4

benjaminfjones ( 2013-01-22 07:07:49 +0000 )edit

hmm yeah the atheros card is working, however, I'm completely stuck with the WiFi. ndiswrapper didn't help neither and I'm running out of ideas

zeus7hc ( 2013-01-25 12:04:04 +0000 )edit
-1

answered 2013-01-25 21:54:08 +0000

zeus7hc gravatar image

Update: BCM43142 is working under fedora 18!

This helpful guy uploaded a newer version of the wl driver: http://askubuntu.com/questions/178352/broadcom-4365-wireless-driver-with-3-4-3-5-kernel/

as its for ubuntu, you'll have to manually install it.

but thats really simple:

  1. extract the wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb file (treated as an ordinairy tarball)
  2. in a terminal, go to ../wireless-bcm43142-dkms_6.20.55.19-1_amd64/data/usr/src/wireless-bcm43142-6.20.55.19/
  3. type make
  4. type sudo make install
  5. sudo depmod -a
  6. sudo modprobe wl

voilà! my wireless is working :)

I think the *.deb file contains some edited lines of code that make the driver work with newer kernels.

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

Add answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question tools

Follow
1 follower

Stats

Asked: 2013-01-16 04:30:22 +0000

Seen: 14,275 times

Last updated: Aug 10 '13