ubuntu 16.04 安装r8168驱动

笔记本/便携移动设备,手机平板等软硬件
回复
rockan007
帖子: 9
注册时间: 2017-07-06 22:35
系统: ubuntu16.04

ubuntu 16.04 安装r8168驱动

#1

帖子 rockan007 » 2017-07-21 9:42

apt install r8168 dkms
命令大体如此
安装错误

然后下载deb,安装后显示r8168
但是有线依然显示图片,但实际上还是无网络

win+ubuntu双系统

win拨号上网没问题
*************************************************************
$ uname -a
Linux rockan007-Inspiron-15-7000-Gaming 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
rockan007@rockan007-Inspiron-15-7000-Gaming:~$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l
$ dpkg -l |grep "r8168\|linux\|dkms"
ii console-setup-linux 1.108ubuntu15.3 all Linux specific part of console-setup
ii dkms 2.2.0.3-2ubuntu11.3 all Dynamic Kernel Module Support Framework
ii libselinux1:amd64 2.4-3build2 amd64 SELinux runtime shared libraries
ii libv4l-0:amd64 1.10.0-1 amd64 Collection of video4linux support libraries
ii libv4lconvert0:amd64 1.10.0-1 amd64 Video4linux frame format conversion library
ii linux-base 4.0ubuntu1 all Linux image base package
ii linux-firmware 1.157.11 all Firmware for Linux kernel drivers
ii linux-generic-hwe-16.04 4.8.0.58.29 amd64 Complete Generic Linux kernel and headers
ii linux-headers-4.8.0-36 4.8.0-36.36~16.04.1 all Header files related to Linux kernel version 4.8.0
ii linux-headers-4.8.0-36-generic 4.8.0-36.36~16.04.1 amd64 Linux kernel headers for version 4.8.0 on 64 bit x86 SMP
ii linux-headers-4.8.0-58 4.8.0-58.63~16.04.1 all Header files related to Linux kernel version 4.8.0
ii linux-headers-4.8.0-58-generic 4.8.0-58.63~16.04.1 amd64 Linux kernel headers for version 4.8.0 on 64 bit x86 SMP
ii linux-headers-generic-hwe-16.04 4.8.0.58.29 amd64 Generic Linux kernel headers
ii linux-image-4.8.0-36-generic 4.8.0-36.36~16.04.1 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii linux-image-4.8.0-58-generic 4.8.0-58.63~16.04.1 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii linux-image-extra-4.8.0-36-generic 4.8.0-36.36~16.04.1 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii linux-image-extra-4.8.0-58-generic 4.8.0-58.63~16.04.1 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii linux-image-generic-hwe-16.04 4.8.0.58.29 amd64 Generic Linux kernel image
ii linux-libc-dev:amd64 4.4.0-83.106 amd64 Linux Kernel Headers for development
ii linux-signed-generic-hwe-16.04 4.8.0.58.29 amd64 Complete Signed Generic Linux kernel and headers
ii linux-signed-image-4.8.0-58-generic 4.8.0-58.63~16.04.1 amd64 Signed kernel image generic
ii linux-signed-image-generic-hwe-16.04 4.8.0.58.29 amd64 Signed Generic Linux kernel image
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems
ii pptp-linux 1.8.0-1 amd64 Point-to-Point Tunneling Protocol (PPTP) Client
ii r8168-dkms 8.042.00-2 all dkms source for the r8168 network driver
ii syslinux 3:6.03+dfsg-11ubuntu1 amd64 collection of bootloaders (DOS FAT and NTFS bootloader)
ii syslinux-common 3:6.03+dfsg-11ubuntu1 all collection of bootloaders (common)
ii syslinux-legacy 2:3.63+dfsg-2ubuntu8 amd64 Bootloader for Linux/i386 using MS-DOS floppies
ii util-linux 2.27.1-6ubuntu3.3 amd64 miscellaneous system utilities
$ sudo lshw -numeric -C net
*-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: 15
serial: d4:81:d7:89:40:ab
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix 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=full latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:124 ioport:d000(size=256) memory:d5104000-d5104fff memory:d5100000-d5103fff
*-network
description: Wireless interface
product: Wireless 3165 [8086:3165]
vendor: Intel Corporation [8086]
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 79
serial: 70:1c:e7:84:79:8e
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.8.0-58-generic firmware=22.391740.0 ip=192.168.1.116 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:129 memory:d5000000-d5001fff
上次由 rockan007 在 2017-07-21 10:25,总共编辑 2 次。
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: ubuntu 16.04 安装r8168驱动

#2

帖子 vickycq » 2017-07-21 10:00

执行以下指令将结果贴上来

代码: 全选

uname -a
cat /etc/issue
dpkg -l | grep "r8168\|linux-h\|dkms"
sudo lshw -numeric -C net
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
回复