深度如何修改网卡双工模式
Tofloor
poster avatar
passerk
deepin
2016-12-06 02:38
Author
今天刚刚在WIN7下安装了deepin的系统,出现一个问题,选择启动deepin后,网卡总会出现持续的一会连接上一会断开,差不多5分钟后才会稳定连接上
自己的win7系统以前也出现过这种情况,在网卡设置里将网卡双工模式设置成10M全双工就解决了
但是在deepin里我是彻底懵逼了,网上找了一些方式,但是对应修改的文件和原生Ubuntu的文件名字不一样,没找到
求高手给详细解决一下~~谢谢先
Reply Favorite View the author
All Replies
avatar
fasheng
deepin
2016-12-06 19:01
#1
用 ethtool 就可以啊
sudo ethtool -s eth1 speed 10 duplex full
Reply View the author
avatar
fasheng
deepin
2016-12-06 19:05
#2
另把上面的命令放到 /etc/rc.local 应该可以开机自动设置
echo ' ethtool -s eth1 speed 10 duplex full || true' | sudo tee -a /etc/rc.local
Reply View the author
avatar
passerk
deepin
2016-12-07 16:43
#3
https://bbs.deepin.org/post/132753
另把上面的命令放到 /etc/rc.local 应该可以开机自动设置
echo ' ethtool -s eth1 speed 10 duplex full || ...

多谢朋友~~我去试试~~
Reply View the author
avatar
passerk
deepin
2016-12-08 23:01
#4
本帖最后由 passerk 于 2016-12-8 15:09 编辑
https://bbs.deepin.org/post/132753
另把上面的命令放到 /etc/rc.local 应该可以开机自动设置
echo ' ethtool -s eth1 speed 10 duplex full || ...

大神,我尝试了用 eth0 和 eth1 ,提示都是找不到这个设备。如何查看目前的网卡名字??
看了一下设备,貌似没有识别出网卡,但是可以上网
Reply View the author
avatar
a137054853
deepin
2016-12-08 23:52
#5
https://bbs.deepin.org/post/132753
大神,我尝试了用 eth0 和 eth1 ,提示都是找不到这个设备。如何查看目前的网卡名字??
看了一下设备, ...

你可以试试 ifconfig 命令,这个命令等同于windows下的ipconfig
Reply View the author