Ubuntu10.10-2.6.35 kernel + BCM4353 wireless driver installation notes

Source: Internet
Author: User
Source: LengF & amp; #39; sBlog author: LengF0x00 preface the work requires the company to configure a dellstudio1458 notebook, so that the depressing dell cannot install xp, had to install the win7-32 to consider the software compatibility. Ubuntu10.04 is installed on the back, and the cable is installed on the back...

 

Source: LengF's Blog author: LengF

0x00 preface

Work requires the company to configure a dell studio 1458 notebook, depressing dell can not install xp, had to install a win7-32 to consider the software compatibility. Ubuntu10.04 is installed later. it is depressing that both the wired network card and the wireless network card cannot be used after the installation. What else can linux do without a network? Therefore, I went to the official website to download the latest version of ubuntu10.10 cd, and improved the UI after installing it. After going in, you will find that the wired network card can be used and the wireless network card cannot be connected. I wrote this article to record my own solutions to the problem and hope to help my friends who have encountered the same problem.

0x01

Connect to the network cable, first update to see if there is any update driver "system"-"system management"-"additional driver", found two drivers, one is a wireless driver (broadcom sta cannot be activated), and the other is the ati video card driver. after the video card driver is updated, it is perfectly supported, but the wireless device cannot be updated.

Helpless, looked at the dell official driver download only provides a win7-64 driver, so check what model is:

Xiaoc @ xiaoc-Studio-1458 :~ $ Lspci

 

Found:

. 0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)

06:00. 0 Network controller: Broadcom Corporation BCM43224 802.11a/B/g/n (rev 01)

 

The first line is the wired Nic, and the second is the wireless Nic. It is a Broadcom company and has been officially downloaded from broadcom. Http://www.broadcom.com/support/802.11/linux_sta.php I downloaded 32 bits (I CPU is 64 bits detailed details of this readme.txt, according to instructions to execute the command is as follows:

Xiaoc @ xiaoc-Studio-1458 :~ $ Lspci-n | grep 14e4

. 0 0200: 14e4: 1692 (rev 01)

06:00. 0 0280: 14e4: 4353 (rev 01)

 

Pci's idleness is 4353compared to readme.txt's list. no installation method is available on the network. I had to try it myself.

Download broadcom's official 32-bit driver. run the following command to download the cd file:

Sudo mkdir driver

Cd driver/

Tar-xzf ../hybrid-portsrc-x86_32-v5.60.48.36.tar.gz

 

First sudo make clean and then make. the error is as follows:

KBUILD_NOPEDANTIC = 1 make-C/lib/modules/'uname-r'/build M = 'pwd'

Make [1]: entering Directory '/usr/src/linux-headers-2.6.35-22-generic-pae'

CC [M]/home/xiaoc/download/driver/src/shared/linux_osl.o

In file encoded ded from/home/xiaoc/download/driver/src/shared/linux_osl.c: 19:

/Home/xiaoc/download/driver/src/include/linuxver. h: 23: fatal error: linux/autoconf. h: No such file or directory

Compilation terminated.

Make [2]: *** [/home/xiaoc/download/driver/src/shared/linux_osl.o] Error 1

Make [1]: *** [_ module _/home/xiaoc/download/driver] error 2

Make [1]: leaving Directory '/usr/src/linux-headers-2.6.35-22-generic-pae'

Make: *** [all] error 2

Www.2cto.com

Two problems are found from this error. the same file autoconf. h command is missing in two places to find this file:

Sudo find/-mount-name autoconf. h

 

The returned result is as follows:

/Usr/src/linux-headers-2.6.35-22-generic-pae/include/generated/autoconf. h

/Usr/src/linux-headers-2.6.35-22-generic/include/generated/autoconf. h

 

Then uname-r is used to check which kernel is used. so I chose the first one and copied it directly to the directory without this file.

Cd to driver/src, create a linux folder under the include folder, copy autoconf. h to its directory, and copy it to the src/shared/directory.

OK, then sudo make finds that the compilation is successful, and the prompt is as follows:

Make [1]: Entering the Directory

/Usr/src/linux-headers-2.6.35-22-generic-pae

LD/home/xiaoc/download/driver/built-in.o

CC [M]/home/xiaoc/download/driver/src/shared/linux_osl.o

CC [M]/home/xiaoc/download/driver/src/wl/sys/wl_linux.o

CC [M]/home/xiaoc/download/driver/src/wl/sys/wl_iw.o

LD [M]/home/xiaoc/download/driver/wl. o

Building modules, stage 2.

MODPOST 1 modules # you can see that the compilation is complete.

WARNING: modpost: missing MODULE_LICENSE () in/home/xiaoc/download/driver/wl. o

See include/linux/module. h for more information

CC/home/xiaoc/download/driver/wl. mod. o

LD [M]/home/xiaoc/download/driver/wl. ko

Make [1]: leaving Directory '/usr/src/linux-headers-2.6.35-22-generic-pae'

[C/ode]

The module is generated, but there is another error. Regardless of whether it is necessary to copy it to/lib/modules/2.6.35-22-generic-pae/kernel/net/wireless/according to the official readme instruction file and execute the following command:

[Code] sudo cp wl. ko/lib/modules/2.6.35-22-generic-pae/kernel/net/wireless/

 

Run the depmod command again.

Manually load the driver and try modprobe wl

Now we can find another wireless network card and find other wireless networks. But the question comes again. The obtained ip address is incorrect, so it cannot be accessed.

Check whether the module is loaded and run the following command:

[Code] xiaoc @ xiaoc-Studio-1458 :~ $ Lsmod | grep "wl"

Wl 1959533 0

Lib80211 5058 2 wl, lib80211_crypt_tkip

 

I found that it was loaded normally, but I was wondering if I still couldn't access the Internet. After going out for dinner, I changed the encrypted routing mode from WEP128 to WAP, and the link found to be normal. OK solved ~ This article ends. my network ID: LengF, network address: www.81sec.com. if not, I still hope to point it out.

Provide compiled modules: Click here to download files

 

 

 

Generated by Bo-blog 2.1.1 Release

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.