ubuntu16.04不能联网

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu16.04不能联网

#16

帖子 poloshiao » 2016-09-02 6:29

try enabling only one driver though
試試每次只啟動一個驅動
xulianpu
帖子: 30
注册时间: 2011-05-04 11:50

Re: ubuntu16.04不能联网

#17

帖子 xulianpu » 2016-09-02 7:19

poloshiao 写了:
try enabling only one driver though
試試每次只啟動一個驅動
我在bios里已经disable wlan,还是我理解错了,请详细一些
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu16.04不能联网

#18

帖子 poloshiao » 2016-09-02 7:28

我在bios里已经disable wlan
這是 一次一個網卡 不是 一次一個驅動

目前 一次一個驅動 是針對有線網卡
make时报警:compat-drivers by default supports kernels >= 2.6.24, try enabling only one driver though
表示 你在 make 以前 就應該做好 一次一個驅動

詳見
https://wiki.linuxfoundation.org/networking/alx
./scripts/driver-select alx
我沒試過這裡是否需要指定 atl1c ?
你試試

另外 不知道 你下載時 有沒有 指定 版本號 例如 4.2.6-1
http://drvbp1.linux-foundation.org/~mcg ... backports/
backports-4.2.6-1 signed
kobe10
帖子: 6
注册时间: 2016-09-29 12:29
系统: ubuntu kylin16.04

Re: ubuntu16.04不能联网

#19

帖子 kobe10 » 2016-09-29 13:50

vickycq, 您好,我是刚刚那个发帖说不能没有wifi按钮,双系统,无法联网的用户。刚刚的测试结果发不上去不知道为什么,我给您私信一下吧。
kobe10@kobe10-X555LB:~$ uname -a
Linux kobe10-X555LB 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
kobe10@kobe10-X555LB:~$ lspci -knn | grep -iA2 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f]
Kernel driver in use: r8168
Kernel modules: r8168
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
Subsystem: Foxconn International, Inc. MT7630e 802.11bgn Wireless Network Adapter [105b:e084]
04:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 940M] [10de:1347] (rev a2)
Subsystem: ASUSTeK Computer Inc. GM108M [GeForce 940M] [1043:1a6d]
kobe10@kobe10-X555LB:~$ sudo lshw -numeric -C net
[sudo] kobe10 的密码:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 10
serial: 30:5a:3a:a9:b4:d7
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.042.00-NAPI duplex=half latency=0 link=no multicast=yes port=twisted pair speed=10Mbit/s
resources: irq:47 ioport:4000(size=256) memory:a3204000-a3204fff memory:a3200000-a3203fff
*-network UNCLAIMED
description: Network controller
product: MT7630e 802.11bgn Wireless Network Adapter [14C3:7630]
vendor: MEDIATEK Corp. [14C3]
physical id: 0
bus info: pci@0000:03:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:a3100000-a31fffff
kobe10@kobe10-X555LB:~$ sudo ifconfig -a
enp2s0 Link encap:以太网 硬件地址 30:5a:3a:a9:b4:d7
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
中断:47 基本地址:0x8000

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:820 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:820 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1
接收字节:60768 (60.7 KB) 发送字节:60768 (60.7 KB)

kobe10@kobe10-X555LB:~$ find /lib/modules | grep "r8169|r8168"
kobe10@kobe10-X555LB:~$ grep -Ri "r8169\|r8168" /etc
grep: /etc/ufw/user.rules: 权限不够
grep: /etc/ufw/after6.rules: 权限不够
grep: /etc/ufw/before6.rules: 权限不够
grep: /etc/ufw/user6.rules: 权限不够
grep: /etc/ufw/after.rules: 权限不够
grep: /etc/ufw/before.init: 权限不够
grep: /etc/ufw/after.init: 权限不够
grep: /etc/ufw/before.rules: 权限不够
grep: /etc/sudoers.d/README: 权限不够
grep: /etc/sudoers: 权限不够
grep: /etc/passwd-: 权限不够
grep: /etc/cups/subscriptions.conf: 权限不够
grep: /etc/cups/subscriptions.conf.O: 权限不够
grep: /etc/cups/ssl: 权限不够
grep: /etc/subgid-: 权限不够
grep: /etc/ppp/chap-secrets: 权限不够
grep: /etc/ppp/pap-secrets: 权限不够
grep: /etc/gshadow: 权限不够
grep: /etc/subuid-: 权限不够
grep: /etc/NetworkManager/system-connections/以太网连接 1: 权限不够
grep: /etc/NetworkManager/system-connections/蓝牙连接 1: 权限不够
grep: /etc/group-: 权限不够
grep: /etc/shadow-: 权限不够
grep: /etc/gshadow-: 权限不够
grep: /etc/shadow: 权限不够
grep: /etc/polkit-1/localauthority: 权限不够
grep: /etc/apparmor.d/cache/usr.bin.webbrowser-app: 权限不够
grep: /etc/apparmor.d/cache/usr.sbin.cups-browsed: 权限不够
grep: /etc/apparmor.d/cache/usr.sbin.cupsd: 权限不够
grep: /etc/apparmor.d/cache/sbin.dhclient: 权限不够
grep: /etc/apparmor.d/cache/usr.sbin.ippusbxd: 权限不够
grep: /etc/apparmor.d/cache/lightdm-guest-session: 权限不够
grep: /etc/apparmor.d/cache/usr.sbin.tcpdump: 权限不够
grep: /etc/apparmor.d/cache/usr.bin.evince: 权限不够
grep: /etc/apparmor.d/cache/usr.bin.ubuntu-core-launcher: 权限不够
grep: /etc/.pwd.lock: 权限不够
grep: /etc/ssl/private: 权限不够
grep: /etc/security/opasswd: 权限不够
su rokobe10@kobe10-X555LB:~$ su root
密码:
root@kobe10-X555LB:/home/kobe10# grep -Ri "r8169\|r8168" /etc
root@kobe10-X555LB:/home/kobe10# grep -Ri "r8169\|r8168" /etc
root@kobe10-X555LB:/home/kobe10#
xulianpu
帖子: 30
注册时间: 2011-05-04 11:50

Re: ubuntu16.04不能联网

#20

帖子 xulianpu » 2016-10-07 20:46

vickycq 写了:尝试换用其它版本内核 如 Linux 4.7 (从 http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.2/ 下载)
或使用 Ubuntu 16.04 LiveCD/LiveUSB 测试。若正常,考虑备份文件后全新安装 16.04
重新安装后ok了
回复