联想Y430P CentOS 7.3 无线网络的配置
# uname -a # 查看内核/操作系统/CPU信息的Linux系统信息命令
[root@www ~]# uname -a
Linux www 3.10.0-514.el7.x86_64 # SMP Tue Nov :: UTC x86_64 x86_64 x86_64 GNU/Linux
[root@www ~]#
# lspci -tv # 列出所有PCI设备
[root@endv /]# lspci -tv
-[:]-+-00.0 Intel Corporation Xeon E3- v3/4th Gen Core Processor DRAM Controller
+-01.0-[-]----00.0 NVIDIA Corporation GM107M [GeForce GTX 850M]
+-02.0 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller
+-03.0 Intel Corporation Xeon E3- v3/4th Gen Core Processor HD Audio Controller
+-14.0 Intel Corporation Series/C220 Series Chipset Family USB xHCI
+-16.0 Intel Corporation Series/C220 Series Chipset Family MEI Controller #
+-1a. Intel Corporation Series/C220 Series Chipset Family USB EHCI #
+-1b. Intel Corporation Series/C220 Series Chipset High Definition Audio Controller
+-1c.-[]----00.0 Qualcomm Atheros QCA8171 Gigabit Ethernet
+-1c.4-[08]----00.0 Broadcom Limited BCM43142 802.11b/g/n
+-1d. Intel Corporation Series/C220 Series Chipset Family USB EHCI #
+-1f. Intel Corporation HM86 Express LPC Controller
+-1f. Intel Corporation Series/C220 Series Chipset Family -port SATA Controller [AHCI mode]
\-1f. Intel Corporation Series/C220 Series Chipset Family SMBus Controller
[root@endv /]#
# BCM43142
# Wi-Fi Direct™ & Bluetooth 4.0 Combo Chip for PCs & Notebooks
博通无线网卡 BCM43142 802.11b/g/n 64位驱动下载地址:
# https://docs.broadcom.com/docs/12358410
建立安装路径并解压
# mkdir -p /usr/local/src/hybrid-wl
将刚刚下载的.tar.gz复制到新建好的文件夹中
# cp /home/XXXX/下载/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz /usr/local/src/hybrid-wl
进入hybrid-hy文件夹
# cd /usr/local/src/hybrid-wl
编译安装
# make clean
[root@www hybrid-wl]# make clean
KBUILD_NOPEDANTIC= make -C /lib/modules/`uname -r`/build M=`pwd` clean
make[]: 进入目录“/usr/src/kernels/3.10.0-514.el7.x86_64”
CFG80211 API is prefered for this kernel version
/usr/local/src/hybrid-wl/Makefile:: Neither CFG80211 nor Wireless Extension is enabled in kernel
make[]: 离开目录“/usr/src/kernels/3.10.0-514.el7.x86_64”
[root@www hybrid-wl]#
# make API=WEXT
[root@www hybrid-wl]# make API=WEXT
KBUILD_NOPEDANTIC= make -C /lib/modules/`uname -r`/build M=`pwd`
make[]: 进入目录“/usr/src/kernels/3.10.0-514.el7.x86_64”
Wireless Extension API specified in command line
Using Wireless Extension API
LD /usr/local/src/hybrid-wl/built-in.o
CC [M] /usr/local/src/hybrid-wl/src/shared/linux_osl.o
CC [M] /usr/local/src/hybrid-wl/src/wl/sys/wl_linux.o
CC [M] /usr/local/src/hybrid-wl/src/wl/sys/wl_iw.o
CC [M] /usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211_hybrid.o
LD [M] /usr/local/src/hybrid-wl/wl.o
Building modules, stage .
Wireless Extension API specified in command line
Using Wireless Extension API
MODPOST modules
CC /usr/local/src/hybrid-wl/wl.mod.o
LD [M] /usr/local/src/hybrid-wl/wl.ko
make[]: 离开目录“/usr/src/kernels/3.10.0-514.el7.x86_64”
[root@www hybrid-wl]#
编译成功,ls以下,发现生成了wl.ko文件 然后安装
[root@www hybrid-wl]# ls
built-in.o lib modules.order src wl.mod.c wl.o
hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz Makefile Module.symvers wl.ko wl.mod.o
[root@www hybrid-wl]#
# make install
[root@www hybrid-wl]# make install
install -D -m wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
[root@www hybrid-wl]#
# modprobe lib80211 # 因为 wl.ko 需要依赖该模块
[root@www hybrid-wl]# modprobe lib80211
[root@www hybrid-wl]#
# insmod wl.ko
[root@www hybrid-wl]# insmod wl.ko
[root@www hybrid-wl]#
添加开机启动
# cp wl.ko /lib/modules/3.10.0-514.6.1.el7.x86_64/kernel/drivers/net/wireless (将wl.ko复制进去,其中3.10.0-514.6.1.el7.x86_64是你的内核版本,可以进入modules文件夹中ls一下)
# depmod -a
# echo modeprobe wl >> /etc/rc.local
重启后,看看系统能否自动加载模块
lsmod | grep
查看网卡的信息lsusb
[root@www hybrid-wl]# lsusb
Bus Device : ID : Intel Corp.
Bus Device : ID 1d6b: Linux Foundation 2.0 root hub
Bus Device : ID : Intel Corp.
Bus Device : ID 1d6b: Linux Foundation 2.0 root hub
Bus Device : ID 1d6b: Linux Foundation 3.0 root hub
Bus Device : ID 105b:e065 Foxconn International, Inc. BCM43142A0 Bluetooth module
Bus Device : ID : Kingston Technology DataTraveler G3
Bus Device : ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus Device : ID 174f: Syntek
Bus Device : ID 1d6b: Linux Foundation 2.0 root hub
[root@www hybrid-wl]#
ifconfig查看若沒有用 ifconfig -a查看
原来是ifconfig查看的是已激活的网卡,ifconfig -a 查看的所有的
[root@www hybrid-wl]# ifconfig
enp7s0: flags=<UP,BROADCAST,RUNNING,MULTICAST> mtu
inet 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80:::723e:63ad:6c7a prefixlen scopeid 0x20<link>
ether :f7:::b7: txqueuelen (Ethernet)
RX packets bytes (313.6 MiB)
RX errors dropped overruns frame
TX packets bytes (7.5 MiB)
TX errors dropped overruns carrier collisions
device interrupt enp8s0: flags=<UP,BROADCAST,RUNNING,MULTICAST> mtu
ether ::b1:d8:ac:db txqueuelen (Ethernet)
RX packets bytes (0.0 B)
RX errors dropped overruns frame
TX packets bytes (0.0 B)
TX errors dropped overruns carrier collisions
device interrupt lo: flags=<UP,LOOPBACK,RUNNING> mtu
inet 127.0.0.1 netmask 255.0.0.0
inet6 :: prefixlen scopeid 0x10<host>
loop txqueuelen (Local Loopback)
RX packets bytes (45.2 KiB)
RX errors dropped overruns frame
TX packets bytes (45.2 KiB)
TX errors dropped overruns carrier collisions virbr0: flags=<UP,BROADCAST,MULTICAST> mtu
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether ::::e3:3c txqueuelen (Ethernet)
RX packets bytes (0.0 B)
RX errors dropped overruns frame
TX packets bytes (0.0 B)
TX errors dropped overruns carrier collisions [root@www hybrid-wl]#
[root@www hybrid-wl]# ifconfig -a
enp7s0: flags=<UP,BROADCAST,RUNNING,MULTICAST> mtu
inet 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80:::723e:63ad:6c7a prefixlen scopeid 0x20<link>
ether :f7:::b7: txqueuelen (Ethernet)
RX packets bytes (313.7 MiB)
RX errors dropped overruns frame
TX packets bytes (7.5 MiB)
TX errors dropped overruns carrier collisions
device interrupt enp8s0: flags=<UP,BROADCAST,RUNNING,MULTICAST> mtu
ether ::b1:d8:ac:db txqueuelen (Ethernet)
RX packets bytes (0.0 B)
RX errors dropped overruns frame
TX packets bytes (0.0 B)
TX errors dropped overruns carrier collisions
device interrupt lo: flags=<UP,LOOPBACK,RUNNING> mtu
inet 127.0.0.1 netmask 255.0.0.0
inet6 :: prefixlen scopeid 0x10<host>
loop txqueuelen (Local Loopback)
RX packets bytes (45.2 KiB)
RX errors dropped overruns frame
TX packets bytes (45.2 KiB)
TX errors dropped overruns carrier collisions virbr0: flags=<UP,BROADCAST,MULTICAST> mtu
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether ::::e3:3c txqueuelen (Ethernet)
RX packets bytes (0.0 B)
RX errors dropped overruns frame
TX packets bytes (0.0 B)
TX errors dropped overruns carrier collisions virbr0-nic: flags=<BROADCAST,MULTICAST> mtu
ether ::::e3:3c txqueuelen (Ethernet)
RX packets bytes (0.0 B)
RX errors dropped overruns frame
TX packets bytes (0.0 B)
TX errors dropped overruns carrier collisions [root@www hybrid-wl]#
,此时我们只需要将wlp0s29u1u6激活;
借助wireless_tools和wpa_supplicant(因为现在的无线wifi网络大多是wpa加密。所以需要移植wpa_supplicant工具)等工具实现wifi的过程
Download (HTTP): http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.tar.gz
http://linux.softpedia.com/get/System/Networking/Wireless-Tools-6312.shtml
cd /usr/src/kernels/3.10.0-514.el7.x86_64/tools
[root@www]# cd /usr/src/kernels/3.10.0-514.el7.x86_64/tools
[root@www tools]#
tar -zxvf wireless_tools.30.rtl.tar.gz -C /usr/local/src/进入到拆解的目录
切換root權限,執行make和make iinstall
我们进入/usr/local/sbin目录下:
联想Y430P CentOS 7.3 无线网络的配置的更多相关文章
- VMware Linux虚拟机与WIN7操作系统共享无线网络上网配置
Linux虚拟机与WIN7操作系统共享无线网络上网配置 by:授客 QQ:1033553122 测试环境: CentOS-7-x86_64-DVD-1503-01.iso Vmware 9 实践操作: ...
- 记在centos中连接无线网络的一次过程
1. 首先, 你的系统要能驱动无限网卡, 要是人品好的话, 系统已经自带了你的网卡的驱动程序. 不然就要先搞定无线网卡的驱动再说. 不然后面的步骤也就没必要了. 2. 看一下你的无线网卡叫什么: iw ...
- Centos无法连接无线网络解决办法
系统->管理->服务器设置->服务,将NetworkManager选项勾选,点击重启服务.然后就可以看到右上角已经有了网络连接.
- centos和ubuntu的网络属性配置
一. centos的网络配置 1. 修改 /etc/sysconfig/network-scripts/ifcfg-IFACE: DEVICE:此配置文件应用到 ...
- Centos 7 联想Y430P无线网卡驱动安装 过程参考
Centos 7 联想Y430P无线网卡驱动安装 过程参考 ABRT 已检测到 [root@endv ~]# yum install -y rdesktop 已加载插件:fastestmirror, ...
- centos 7 查看系统/硬件信息及运维常用命令+联想Y430P无线网卡驱动安装
centos 7 查看系统/硬件信息及运维常用命令 当前环境:联想Y430P CentOS 7.3 [root@yan-001 ~] # uname -a # 查看内核/操作系统/CPU信息的Li ...
- linux 无线网络配置工具wpa_supplicant与wireless-tools
4.a. 介绍目前您可以使用我们提供的wireless-tools 或wpa_supplicant工具来配置无线网络.请记住重要的一点是,您对无线网络的配置是全局性的,而非针对具体的接口.wpa_su ...
- wpa_supplicant无线网络配置
目前可以使用wireless-tools 或wpa_supplicant工具来配置无线网络.请记住重要的一点是,对无线网络的配置是全局性的,而非针对具体的接口. wpa_supplicant是一个较好 ...
- 安装ubuntu16.04系统后没有无线网络选项的解决方法
ubuntu系统是自带有无线网络驱动的,因此最好的解决办法是安装是把联网更新选项勾选上,这样在安装是就能自动把无线网络驱动配置好 这是一个比较有效的解决没有无线网络驱动的方法,比后续按网络上的教程自己 ...
随机推荐
- 为Ubuntu Gnome环境创建桌面快捷方式
为Ubuntu Gnome环境创建桌面快捷方式 安装gnome-panel包 sudo apt-get install --no-install-recommends gnome-panel 启动终端 ...
- 狂K 线段树
想写好树剖~~线段树very important HDU 1166 敌兵布阵 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536 ...
- 给dedeCMS自定义模型添加图片集字段
1.先找到dedecms图片集模型的templets生成图片集的html代码(album_add.htm) <tr> <td height="24" ...
- 嵌入式Linux支持LCD console【转】
转自:http://blog.sina.com.cn/s/blog_664c545f0100v9zl.html 转载:http://www.mculee.cn/post/48.html [1]LCD ...
- python enumerate元素的时候可以获取下标,并且可以指定开始的下标值。
list=["a","b","c","d","e"] for i,item in enumerate ...
- protobuf 中的嵌套消息的使用 主要对set_allocated_和mutable_的使用
protobuf的简单的使用,不过还留下了一个问题,那就是之前主要介绍的都是对简单数据的赋值,简单数据直接采用set_xx()即可,但是如果不是简单变量而是自定义的复合类型变量,就没有简单的set函数 ...
- zabbix ssh登录ip监控,登录ip归属地查询
#!/usr/local/zabbix/scripts/src/bin/python # -*- coding: UTF-8 -*- from bs4 import BeautifulSoup as ...
- python接口自动化9-https请求(SSL)【转载】
本篇转自博客:上海-悠悠 原文地址:http://www.cnblogs.com/yoyoketang/tag/python%E6%8E%A5%E5%8F%A3%E8%87%AA%E5%8A%A8%E ...
- 检查URL Protocol是否安装的项目
https://github.com/ismailhabib/custom-protocol-detection
- 写给小白看的 JavaScript 异步
某天突然写了个方法要从后台调用数据,显示在前台页面,但是输出结果总是空 undefined,得不到数据.多方找资料才发现,原来是入了 JS 异步的 “坑”. 我们常常听到单线程.多线程.同步.异步这些 ...