14.04 无故无法连接网络

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
头像
摩天轮
帖子: 44
注册时间: 2014-05-10 23:19
系统: Win10+Ubuntu16.04
联系:

14.04 无故无法连接网络

#1

帖子 摩天轮 » 2014-05-23 19:42

装上的时候好的,突然某一次开始连不上了,重启win7也连不了

拔掉电源之后开机win7可以,ubuntu不行,而且只要进ubuntu,就回到上面的死循环。

这是什么原因呢
朝蒸藜藿暮烹葵
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04 无故无法连接网络

#2

帖子 poloshiao » 2014-05-23 20:43

把下面指令 複製 貼進終端機 執行
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
3. sudo route -nv
4. sudo dhclient -v
把結果直接複製 貼上來
头像
摩天轮
帖子: 44
注册时间: 2014-05-10 23:19
系统: Win10+Ubuntu16.04
联系:

Re: 14.04 无故无法连接网络

#3

帖子 摩天轮 » 2014-05-29 23:14

ferris@The:~$ sudo lshw -numeric -class network
[sudo] password for ferris:
*-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: eth0
version: 0c
serial: b8:97:5a:74:ff:0d
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:50 ioport:d000(size=256) memory:fe900000-fe900fff memory:e0000000-e0003fff
ferris@The:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 b8:97:5a:74:ff:0d
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)

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

teredo Link encap:未指定 硬件地址 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
POINTOPOINT NOARP MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:500
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

ferris@The:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
ferris@The:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

No broadcast interfaces found - exiting.
朝蒸藜藿暮烹葵
头像
摩天轮
帖子: 44
注册时间: 2014-05-10 23:19
系统: Win10+Ubuntu16.04
联系:

Re: 14.04 无故无法连接网络

#4

帖子 摩天轮 » 2014-05-29 23:52

poloshiao 写了:把下面指令 複製 貼進終端機 執行
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
3. sudo route -nv
4. sudo dhclient -v
把結果直接複製 貼上來
不知道为什么发不 上来。。。
朝蒸藜藿暮烹葵
头像
TeliuTe
论坛版主
帖子: 7668
注册时间: 2007-11-25 13:29
系统: 16/18/20/w7
来自: 新疆博乐
联系:

Re: 14.04 无故无法连接网络

#5

帖子 TeliuTe » 2014-05-30 9:01

摩天轮 写了:
poloshiao 写了:把下面指令 複製 貼進終端機 執行
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
3. sudo route -nv
4. sudo dhclient -v
把結果直接複製 貼上來
不知道为什么发不 上来。。。
10帖之前要审核才能显示
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04 无故无法连接网络

#6

帖子 poloshiao » 2014-05-30 10:44

sudo lshw -numeric -class network
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
serial: b8:97:5a:74:ff:0d
configuration: autonegotiation=on broadcast=yes driver=r8169
driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-2_0.0.1 02/06/13
sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 b8:97:5a:74:ff:0d
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
有被驅動
但是 驅動模組 r8169 不是正確選擇
細節 參考
https://bugs.launchpad.net/ubuntu/+sour ... ug/1266725
https://bugs.debian.org/cgi-bin/bugrepo ... bug=743399
http://forums.linuxmint.com/viewtopic.php?f=49&t=152180
http://ubuntuforums.org/showthread.php?t=2201556
头像
摩天轮
帖子: 44
注册时间: 2014-05-10 23:19
系统: Win10+Ubuntu16.04
联系:

Re: 14.04 无故无法连接网络

#7

帖子 摩天轮 » 2014-05-30 15:53

poloshiao 写了:
sudo lshw -numeric -class network
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
serial: b8:97:5a:74:ff:0d
configuration: autonegotiation=on broadcast=yes driver=r8169
driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-2_0.0.1 02/06/13
sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 b8:97:5a:74:ff:0d
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
有被驅動
但是 驅動模組 r8169 不是正確選擇
細節 參考
https://bugs.launchpad.net/ubuntu/+sour ... ug/1266725
https://bugs.debian.org/cgi-bin/bugrepo ... bug=743399
http://forums.linuxmint.com/viewtopic.php?f=49&t=152180
http://ubuntuforums.org/showthread.php?t=2201556
朝蒸藜藿暮烹葵
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04 无故无法连接网络

#8

帖子 poloshiao » 2014-05-30 17:27

到這裡
http://www.realtek.com.tw/downloads/dow ... RTL8111GUS
下載
Unix (Linux)
2014/3/4
8.038
LINUX driver for kernel 3.x and 2.6.x and 2.4.x
看看 有沒有效

下載解開後 有一個 README 文件 詳細閱讀
头像
摩天轮
帖子: 44
注册时间: 2014-05-10 23:19
系统: Win10+Ubuntu16.04
联系:

Re: 14.04 无故无法连接网络

#9

帖子 摩天轮 » 2014-06-02 11:28

poloshiao 写了:到這裡
http://www.realtek.com.tw/downloads/dow ... RTL8111GUS
下載
Unix (Linux)
2014/3/4
8.038
LINUX driver for kernel 3.x and 2.6.x and 2.4.x
看看 有沒有效

下載解開後 有一個 README 文件 詳細閱讀

汇报工作,,第一次,
ferris@The:~$ tar vjxf r8168-8.038.00.tar.bz2
tar (child): r8168-8.038.00.tar.bz2:無法 open: 沒有此一檔案或目錄
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
ferris@The:~$ tar vjxf r8168-8.038.00.tar.bz2
tar (child): r8168-8.038.00.tar.bz2:無法 open: 沒有此一檔案或目錄
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
ferris@The:~$ tar vjxf r8168-8.038.00.tar.bz2
r8168-8.038.00/
r8168-8.038.00/autorun.sh
r8168-8.038.00/Makefile
r8168-8.038.00/README
r8168-8.038.00/src/
r8168-8.038.00/src/Makefile
r8168-8.038.00/src/Makefile_linux24x
r8168-8.038.00/src/r8168.h
r8168-8.038.00/src/r8168_asf.c
r8168-8.038.00/src/r8168_asf.h
r8168-8.038.00/src/r8168_dash.h
r8168-8.038.00/src/r8168_n.c
r8168-8.038.00/src/rtltool.c
r8168-8.038.00/src/rtltool.h
r8168-8.038.00/src/rtl_eeprom.c
r8168-8.038.00/src/rtl_eeprom.h
ferris@The:~$ cd r8168-8.038.00.tar.bz2
bash: cd: r8168-8.038.00.tar.bz2: 並不是一個目錄
ferris@The:~$ cd r8168-8.038.00
ferris@The:~/r8168-8.038.00$ ./autorun.sh

Check old driver and unload it.
rmmod r8169
rmmod: ERROR: ../libkmod/libkmod-module.c:769 kmod_module_remove_module() could not remove 'r8169': Operation not permitted
rmmod: ERROR: could not remove module r8169: Operation not permitted
Build the module and install
cp: 無法建立普通檔案 ‘/lib/modules/3.13.0-24-generic/kernel/drivers/net/ethernet/realtek/r8168.ko’: 拒絕不符權限的操作
Can't read private key
Backup r8169.ko
rename r8169.ko to r8169.bak
mv: 無法將 ‘/lib/modules/3.13.0-24-generic/kernel/drivers/net/ethernet/realtek/r8169.ko’ 移動至 ‘/lib/modules/3.13.0-24-generic/kernel/drivers/net/ethernet/realtek/r8169.bak’: 拒絕不符權限的操作
DEPMOD 3.13.0-24-generic
depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.dep.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.dep.bin.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.alias.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.alias.bin.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.softdep.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.symbols.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.symbols.bin.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.builtin.bin.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.13.0-24-generic, modules.devname.tmp, 1101, 644): Permission denied
load module r8168
modprobe: FATAL: Module r8168 not found.
Updating initramfs. Please wait.
ln: 无法创建硬链接‘/boot/initrd.img-3.13.0-24-generic.dpkg-bak’ => ‘/boot/initrd.img-3.13.0-24-generic’: 此項操作並不被允許
cp: 無法建立普通檔案 ‘/boot/initrd.img-3.13.0-24-generic.dpkg-bak’: 拒絕不符權限的操作
Completed.
ferris@The:~/r8168-8.038.00$ sudo ./autorun.sh
[sudo] password for ferris:

Check old driver and unload it.
rmmod r8169
Build the module and install
r8168
Can't read private key
Backup r8169.ko
rename r8169.ko to r8169.bak
DEPMOD 3.13.0-24-generic
load module r8168
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
Completed.
ferris@The:~/r8168-8.038.00$ r8168
r8168:無此指令
ferris@The:~/r8168-8.038.00$ lsmod | grep r8168
r8168 400910 0
ferris@The:~/r8168-8.038.00$ ifconfig -a
eth0 Link encap:以太网 硬件地址 b8:97:5a:74:ff:0d
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)
中断:50 基本地址:0xc000

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

teredo Link encap:未指定 硬件地址 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
POINTOPOINT NOARP MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:500
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

ferris@The:~/r8168-8.038.00$ lsmod | grep r8169
ferris@The:~/r8168-8.038.00$ lsmod | grep r8168
r8168 400910 0
ferris@The:~/r8168-8.038.00$ ifconfig eth0 up
SIOCSIFFLAGS: 此項操作並不被允許
ferris@The:~/r8168-8.038.00$ ifconfig ethX up
ethX: 获取接口标志时出错: 沒有此一裝置
ferris@The:~/r8168-8.038.00$ sudo ifconfig eth0 up
ferris@The:~/r8168-8.038.00$
ferris@The:~/r8168-8.038.00$ sudo ifconfig eth0 up
ferris@The:~/r8168-8.038.00$ ifconfig ethX up
ethX: 获取接口标志时出错: 沒有此一裝置
ferris@The:~/r8168-8.038.00$ ifconfig eth0 up
SIOCSIFFLAGS: 此項操作並不被允許
ferris@The:~/r8168-8.038.00$

完了之后,重启,可以连了
朝蒸藜藿暮烹葵
头像
摩天轮
帖子: 44
注册时间: 2014-05-10 23:19
系统: Win10+Ubuntu16.04
联系:

Re: 14.04 无故无法连接网络

#10

帖子 摩天轮 » 2014-06-02 11:30

poloshiao 写了:到這裡
http://www.realtek.com.tw/downloads/dow ... RTL8111GUS
下載
Unix (Linux)
2014/3/4
8.038
LINUX driver for kernel 3.x and 2.6.x and 2.4.x
看看 有沒有效

下載解開後 有一個 README 文件 詳細閱讀

然后,再用的时候又不行了
然后,。。。
ferris@The:~$ lsmod | grep r8168
r8168 400910 0
ferris@The:~$ ifconfig -a
eth0 Link encap:以太网 硬件地址 b8:97:5a:74:ff:0d
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)
中断:50 基本地址:0xc000

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

teredo Link encap:未指定 硬件地址 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
POINTOPOINT NOARP MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:500
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

ferris@The:~$ ifconfig eth0 up
SIOCSIFFLAGS: 此項操作並不被允許
ferris@The:~$ cd r8168-8.038.00
ferris@The:~/r8168-8.038.00$ sudo ./autorun.sh
[sudo] password for ferris:

Check old driver and unload it.
rmmod r8168
Build the module and install
Can't read private key
DEPMOD 3.13.0-24-generic
load module r8168
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
Completed.
ferris@The:~/r8168-8.038.00$ lsmod | grep r8168
r8168 400910 0
ferris@The:~/r8168-8.038.00$ ifconfig -a
eth0 Link encap:以太网 硬件地址 b8:97:5a:74:ff:0d
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)
中断:50 基本地址:0xc000

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

teredo Link encap:未指定 硬件地址 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
POINTOPOINT NOARP MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:500
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

ferris@The:~/r8168-8.038.00$ ifconfig eth0 up
SIOCSIFFLAGS: 此項操作並不被允許
ferris@The:~/r8168-8.038.00$

重启,还是不行。。。
朝蒸藜藿暮烹葵
头像
摩天轮
帖子: 44
注册时间: 2014-05-10 23:19
系统: Win10+Ubuntu16.04
联系:

Re: 14.04 无故无法连接网络

#11

帖子 摩天轮 » 2014-06-02 11:43

poloshiao 写了:到這裡
http://www.realtek.com.tw/downloads/dow ... RTL8111GUS
下載
Unix (Linux)
2014/3/4
8.038
LINUX driver for kernel 3.x and 2.6.x and 2.4.x
看看 有沒有效

下載解開後 有一個 README 文件 詳細閱讀

然后这个是按照版主之前给出的步骤重复一次。。
ferris@The:~$ sudo lshw -numeric -class network
[sudo] password for ferris:
*-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: eth0
version: 0c
serial: b8:97:5a:74:ff:0d
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.038.00-NAPI duplex=full latency=0 link=no multicast=yes port=twisted pair speed=10Mbit/s
resources: irq:50 ioport:d000(size=256) memory:fe900000-fe900fff memory:e0000000-e0003fff
ferris@The:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 b8:97:5a:74:ff:0d
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)
中断:50 基本地址:0xc000

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

teredo Link encap:未指定 硬件地址 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
POINTOPOINT NOARP MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:500
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

ferris@The:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
ferris@The:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

No broadcast interfaces found - exiting.
ferris@The:~$
朝蒸藜藿暮烹葵
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04 无故无法连接网络

#12

帖子 poloshiao » 2014-06-02 13:20

這個檔案 提供一些 秘訣 需要先詳讀
r8168-8.038.00/README
如果解開的目錄裡 有全部大寫的文字檔案 需要先詳讀
拒絕不符權限的操作
範圍在 家目錄的 不需加 sudo
如果出現 權限不夠 或者 範圍超出 家目錄 以外的
最好加 sudo
如果是 圖形程式
最好加 gksudo
configuration: autonegotiation=on broadcast=yes driver=r8169
需要把 r8169 需入 開機阻擋載入黑名單中 才不會來搗亂
头像
摩天轮
帖子: 44
注册时间: 2014-05-10 23:19
系统: Win10+Ubuntu16.04
联系:

Re: 14.04 无故无法连接网络

#13

帖子 摩天轮 » 2014-06-02 17:55

poloshiao 写了:這個檔案 提供一些 秘訣 需要先詳讀
r8168-8.038.00/README
如果解開的目錄裡 有全部大寫的文字檔案 需要先詳讀
拒絕不符權限的操作
範圍在 家目錄的 不需加 sudo
如果出現 權限不夠 或者 範圍超出 家目錄 以外的
最好加 sudo
如果是 圖形程式
最好加 gksudo
configuration: autonegotiation=on broadcast=yes driver=r8169
需要把 r8169 需入 開機阻擋載入黑名單中 才不會來搗亂

我是按照那个README做的,不过后面的不太看懂,而且后面有设置IP,我这个局域网来的,一直自动连接。。
另外开机阻挡载入。。我找找。。
朝蒸藜藿暮烹葵
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04 无故无法连接网络

#14

帖子 poloshiao » 2014-06-02 22:18

开机阻挡载入
configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.038.00-NAPI duplex=full
已經是 r8168
情況比 r8169 好
是否阻擋 不是關鍵了
當然 能阻擋最好
sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 b8:97:5a:74:ff:0d
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
已啟動
但是沒有連上 dhcp server (如果是 設定 dhcp 方式 連線的話)
sudo dhclient -v
...
No broadcast interfaces found - exiting.
要看你的連線設定 是不是 p2p ? 還是 dhcp ?

你在哪裡設定有線網卡連線的 ?
如果是 右上角的圖示
能否 擷個圖 ?
头像
摩天轮
帖子: 44
注册时间: 2014-05-10 23:19
系统: Win10+Ubuntu16.04
联系:

Re: 14.04 无故无法连接网络

#15

帖子 摩天轮 » 2014-06-04 9:34

图片
应该是这个了吧
朝蒸藜藿暮烹葵
回复