Debian wheezy 7.8 wireless network card installation, debianwheezy

Source: Internet
Author: User

Debian wheezy 7.8 wireless network card installation, debianwheezy

Linux xxx 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1 + deb7u1 i686 GNU/Linux
Prerequisites:
Debian installation record of minipc in my house
After the installation is complete, wired dial-up is always used, and wifi has never been used. Today, we are trying to configure wireless connections.
Find online many tutorials are related to wpe, installation and testing are not allowed to cause the use of not up, think of its previously written document debian7 installation and configuration of small experience, go to the https://wiki.debian.org/WiFi to find the answer.
First find

Because I am a pci-mode Nic, click pci. If it is another mode, click another mode. Let's look at my models.

$ Lspci

Jjm @ jarmini:/etc/apt $ lspci
00:00. 0 Host bridge: Intel Corporation ValleyView SSA-CUnit (rev 0c)
00:02. 0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0c)
00:13. 0 SATA controller: Intel Corporation ValleyView 6-Port sata ahci Controller (rev 0c)
00:14. 0 USB controller: Intel Corporation ValleyView USB xHCI Host Controller (rev 0c)
00: 1a. 0 Encryption controller: Intel Corporation ValleyView SEC (rev 0c)
00: 1b. 0 Audio device: Intel Corporation ValleyView High Definition Audio Controller (rev 0c)
00: 1c. 0 PCI bridge: Intel Corporation ValleyView PCI Express Root Port (rev 0c)
00: 1c. 1 PCI bridge: Intel Corporation ValleyView PCI Express Root Port (rev 0c)
00: 1c. 2 PCI bridge: Intel Corporation ValleyView PCI Express Root Port (rev 0c)
00: 1c. 3 PCI bridge: Intel Corporation ValleyView PCI Express Root Port (rev 0c)
00: 1d. 0 USB controller: Intel Corporation ValleyView USB Enhanced Host Controller (rev 0c)
00: 1f. 0 ISA bridge: Intel Corporation ValleyView Power Control Unit (rev 0c)
00: 1f. 3 SMBus: Intel Corporation ValleyView SMBus Controller (rev 0c)
0:00. 0 Ethernet controller: Realtek semiconduco., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
. 0 Network controller: Broadcom Corporation BCM43225 802.11b/g/n (rev 01)

Search4325There are two records, one is brcm80211, and the other is wl.

Installation
Debian 7 "Wheezy"

Then brcm80211

Add a "non-free" component to/etc/apt/sources. list, for example:

Debian 7 "Wheezy"

Deb http://http.debian.net/debian/ wheezy main contrib non-free
Update the list of available packages and install the firmware-brcm80211 package:

Apt-get update & apt-get install firmware-brcm80211

As the driver may already be loaded, reinsert the module to access installed firmware:

Modprobe-r brcmsmac; modprobe brcmsmac

Configure your wireless interface as appropriate.

Wl again

Add a "non-free" component to/etc/apt/sources. list, for example:

Debian 7 "Wheezy"

Deb http://http.debian.net/debian/ wheezy main contrib non-free
Update the list of available packages. Install the relevant linux-headers and broadcom-sta-dkms packages:

Apt-get update apt-get install linux-headers-$ (uname-r | sed's, [^-] -[^-]-, ') Broadcom-sta-dkms

This will also install the recommended wireless-tools package. DKMS will build the wl module for your system.
Unload conflicting modules:

Modprobe-r b44 b43 b43legacy ssb brcmsmac

Load the wl module:

Modprobe wl

Configure your wireless interface as appropriate. See also known issues.

Https://wiki.debian.org/wl
Https://wiki.debian.org/brcm80211

Set all but Nic still cannot enable, click https://wiki.debian.org/WiFi/HowToUse
ToCommand LineSection 1

Find your wireless interface and bring it up:

Ip a iwconfig ip link set wlan0 up

Scan for available networks and get network details:
$ Su

Iwlist scan

Then comeWPA-PSK and WPA2-PSKSection

$ Wpa_passphrase wireless Nic ssid wireless Nic Password
Network = {
Ssid = "myssid"
# Psk = "my_very_secret_passphrase"
Psk = ccb290fd4fe6b22935cbae31449e050edd02ad44627b16ce0151668f5f53c01b
}

This section is saved first, useful
Nano/etc/network/interfaces

Auto wlan0
Iface wlan0 inet dhcp
Wpa-ssid your ssid
Wpa-psk ccb290fd4fe6b22935cbae31449e050edd02ad44627b16ce0151668f5f53c01b (this is part of the text recorded earlier and one line with wpa-psk)

Then

Ifup wlan0

Debian's wiki is doing well. I used to perform blind tests.

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.