第一步:檢查DNS
vim /etc/resolv.conf
domain DHCP
search DHCP HOST
nameserver 103.85.84.193
nameserver 114.114.114.114
第二步:檢查網卡
vim /etc/network/interfaces
# This file describes the network interfaces available on your system
# and now to activate them. For more information, see interfaces(5).
# sources /etc/network/interfaces.d/*
auto lo
ifaces lo inet loopback (自動識別網卡)
auto eth0
iface eth0 inet dhcp (自動獲取IP)
第三步:改橋接模式設定
主機接的網線就橋接到Realtek PCIe GBE.Family.Controller
主機連的wifi就橋接到Inter(R) Dual Band Wireless-AC 3165
/etc/init.d/networking restart (重啟網路服務)
ifconfig (查IP)
ping www.baidu.c()(回傳資料正確網路就已經配置成功了)m
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/105861.html
標籤:非技術區
上一篇:excel表格分列怎么做
