admin管理员组文章数量:1530521
裸机没有网络,USB连接Android手机,Android手机共享网络
- 网卡状态
1)系统安装后不能直接上网,首先需要查看网线是否连到主板对应的端口上,服务器主板(supermicro X10DRi)有三个LAN端口,分别是主板固件内置的Dedicated LAN和Intel® i350 Dual port GbE LAN。
2)利用sudo lshw -C network命令查询网卡状态,其中
UNCLAIMED 是系统不识别,没有安装驱动
DISABLED是安装驱动但是网线没查或者没有配置
其他为正常
[1] Ubuntu Server 20.04 no internet connection/network unclaimed https://askubuntu/questions/1270046/ubuntu-server-20-04-no-internet-connection-network-unclaimed
[2] Can't get RTL8125B working on 20.04https://askubuntu/questions/1259947/cant-get-rtl8125b-working-on-20-04
- 驱动更新
1)显示所有网卡#ifconfig –a
2)查看网卡所需驱动#ethtool -i enp4s0f0 (enp4s0f0本网卡名称) 注:intel I350网卡 为igb 驱动程序。
3)到intel官网下载网卡驱动
4)安装ReadMe文件中提示进行编译安装
[1] intel I350 网卡驱动安装方法http://blog.chinaunix/uid-31410005-id-5780988.html
[2]适用于 Linux * 的82575/6、82580、I350 和 I210-at/211 千兆位网络连接的英特尔®网络适配器驱动程序https://downloadcenter.intel/zh-cn/download/13663/Intel-Network-Adapter-Driver-for-82575-6-82580-I350-and-I210-211-Based-Gigabit-Network-Connections-for-Linux-
- 网络配置
通过sudo vi /etc/netplan/01-network-manager-all.yaml 来设置静态或者动态IP
network:
version: 2
renderer: NetworkManager
ethernets:
enp4s0f0:
dhcp4: no
addresses:
- 192.168.1.180/24
gateway4: 192.168.1.1
nameservers:
addresses: [192.168.1.1, 8.8.4.4]
设定之后sudo netplan apply
[1]Setting Up Static IP Address on Ubuntu 20.04 LTShttps://linuxhint/setup_static_ip_address_ubuntu/
版权声明:本文标题:[管理员手册](三)Ubuntu server 20.04网卡驱动安装 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1725517447a1027058.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论