Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
笔记本双无线网卡设置
Experiences and Insight
1530
views ·
4
replies ·
To
floor
Go
xianyunyehe
deepin
2016-06-06 09:41
Author
完全不懂liunx,仅仅只是深度技术的追随者,双无线网卡,如何同时启用?实现负载均衡,网络带宽叠加?正在试用15.2挺好玩!请高手指点一二,请详细命令和操作方法,别人小白我就大白!多谢了,各路神仙!
Reply
Like 0
Favorite
View the author
All Replies
xianyunyehe
deepin
2016-06-06 21:11
#1
来个高手给点支持呀
Reply
Like 0
View the author
jllan
deepin
2016-06-06 22:10
#2
两个无线网卡不能同时启用吗,我的电脑没有两个无线网卡,但是一个以太网卡一个无线网卡各自工作好好的啊,至于负载均衡说的有点高端,我不懂。要掌握linux的各种命令需要较长时间的学习,论坛里有版主发的一个常用命令的pdf文件https://bbs.deepin.org/post/40140#,你可以参考下,应该可以满足日常需求了,有更高端的需求得自己好好学习
Reply
Like 0
View the author
fasheng
deepin
2016-06-07 01:37
#3
NetworkManager(Deepin网络后端)支持Bonding技术,可以把多个有线网卡整合到一起工作,不过可无线设备的话比较麻烦,没看到有成功的。
楼主感兴趣的话可以研究一下这些东西:
1. nmtui, NetworkManager自带的console版前端,可以创建Bonding连接
2. ifenslave, 另外一款支持Bonding技术的工具
3. 参考资料
https://help.ubuntu.com/community/UbuntuBonding
http://ubuntuforums.org/showthread.php?t=1626536
http://askubuntu.com/questions/459687/ubuntu-14-04-bonding-2-wifi-cards
Reply
Like 0
View the author
xianyunyehe
deepin
2016-06-07 02:04
#4
1.网卡配置
#cd /etc/sysconfig/network-scripts/
#cp ifcfg-eth0 ifcfg-bond0
#vi ifcfg-bond0
将第一行改成 DEVICE=bond0
# cat ifcfg-bond0
DEVICE=bond0
BOOTPROTO=static
IPADDR=192.168.1.100
NETMASK=255.255.255.0
BROADCAST=192.168.1.255
ONBOOT=yes
TYPE=Ethernet
其他网卡的配置如下:
# cat ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
# cat ifcfg-eth1
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
2.模块配置
编辑/etc/modules.conf或者/etc/moprobe.conf 文件
加入下列行
alias bond0 bonding
options bond0 miimon=100 mode=1
3.启动配置
# vi /etc/rc.d/rc.local
加入
ifenslave bond0 eth0 eth1
重启机器后,用ifconfig -a查看网卡配置信息,如果发现bond0,eth0,eth1三块网卡的mac地址及ip地址都一样了,那么就说明好了。
4.试验验证
用外部同一网段的一台机器做ping试验,双网卡机器上手工拔掉其中任意一条网络线(或者使用ifup eth0&&ifdown eth1),ping机器的终端应该没有中断信息,或者有一个"timeout"后很快恢复,则证明试验成功
这个命令具体在深度里面怎么用?
知道的指点下,参考《CentOS 双网卡绑定实现负载均衡和故障转移》
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More