ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
IceAmber
帖子: 19
注册时间: 2014-09-24 14:25

ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#1

帖子 IceAmber »

ubuntu15.04升级到15.10后,使用4.2内核无法连接网络,网卡用的8168,但是从http://www.realtek.com.tw/downloads/dow ... wn=false#2下载的网卡安装出错,似乎不支持4.2内核,肿么破,求各位大神指点
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#2

帖子 vickycq »

0.
无法连接网络的具体现象 描述

1.

代码: 全选

sudo lshw -C network
lspci -knn
sudo ifconfig -a
sudo route -nv
sudo cat /etc/resolv.conf
sudo dhclient -v
结果全部复制贴上来

2.
r8168驱动,从软件源安装 r8168-dkms 包
安装前先卸载之前手动编译安装的
若还有问题,再尝试自己编译
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
IceAmber
帖子: 19
注册时间: 2014-09-24 14:25

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#3

帖子 IceAmber »

vickycq 写了:0.
无法连接网络的具体现象 描述

1.

代码: 全选

sudo lshw -C network
lspci -knn
sudo ifconfig -a
sudo route -nv
sudo cat /etc/resolv.conf
sudo dhclient -v
结果全部复制贴上来

2.
r8168驱动,从软件源安装 r8168-dkms 包
安装前先卸载之前手动编译安装的
若还有问题,再尝试自己编译

感谢楼上的回答,是我用的网卡驱动版本太旧了,更新之后这个问题解决了,不过又出现了新的问题,就是我在驱动那里选了个闭源的(后面不带update)显卡驱动,然后重启后报the system is running in low-graphics mode,百度搜到底答案都试过,还是没法解决,把/etc/X11/xorg.conf.failsave 改为xorg.conf之后,就循环在登录界面,就是输入用户名密码,登录后过一会屏幕一闪又回到登录界面,咋整
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#4

帖子 vickycq »

/etc/X11/xorg.conf.failsafe
猜测你是 NVIDIA 显卡?

启动选择 Recovery Mode - FailsafeX
进入图形界面后

代码: 全选

lspci -knn
sudo lshw -C display
把结果全部复制贴上来

启动选择 Recovery Mode - FailsafeX
udgN9.png
@poloshiao
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
IceAmber
帖子: 19
注册时间: 2014-09-24 14:25

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#5

帖子 IceAmber »

vickycq 写了:
/etc/X11/xorg.conf.failsafe
猜测你是 NVIDIA 显卡?

启动选择 Recovery Mode - FailsafeX
进入图形界面后

代码: 全选

lspci -knn
sudo lshw -C display
把结果全部复制贴上来

启动选择 Recovery Mode - FailsafeX
附件 udgN9.png 已经无效
@poloshiao
用的是AMD显卡,进不了图形界面,开始是报下面的错
QQ截图20151024194058.jpg
QQ截图20151024194058.jpg (30.68 KiB) 查看 5596 次
百度上的方法基本上都试过了,没用。改了之后会在下面这里循环
QQ截图20151024194450.jpg
也就是输入密码之后,还会回到这个界面
网上说的修改.Xauthority文件拥有者,修改/tmp 或 /home权限都试过了,没用
IceAmber
帖子: 19
注册时间: 2014-09-24 14:25

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#6

帖子 IceAmber »

这是.xsession-errores文件里的记录

代码: 全选

openConnection: connect: No such file or directory
cannot connect to brltty at :0
upstart: no-pinentry-gnome3 main process (2360) terminated with status 1
upstart: upstart-event-bridge main process (2394) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2399) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2426) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2438) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2445) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2452) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2453) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2469) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2472) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2476) terminated with status 1
upstart: upstart-event-bridge main process ended, respawning
upstart: upstart-event-bridge main process (2481) terminated with status 1
upstart: upstart-event-bridge respawning too fast, stopped
upstart: gnome-session (Unity) main process (2524) terminated with status 1
upstart: unity-settings-daemon main process (2514) killed by TERM signal
upstart: logrotate main process (2370) killed by TERM signal
upstart: update-notifier-crash (/var/crash/_usr_bin_add-apt-repository.0.crash) main process (2408) killed by TERM signal
upstart: update-notifier-crash (/var/crash/_usr_lib_gnome-session_gnome-session-check-accelerated.124.crash) main process (2411) killed by TERM signal
upstart: update-notifier-crash (/var/crash/_usr_lib_ibus_ibus-ui-gtk3.1000.crash) main process (2412) killed by TERM signal
upstart: update-notifier-crash (/var/crash/_usr_sbin_unity-greeter.112.crash) main process (2421) killed by TERM signal
upstart: hud main process (2512) killed by TERM signal
upstart: Disconnected from notified D-Bus bus
upstart: unity-panel-service main process (2538) killed by TERM signal
upstart: window-stack-bridge main process (2393) killed by KILL signal
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#7

帖子 poloshiao »

不过又出现了新的问题,就是我在驱动那里选了个闭源的(后面不带update)显卡驱动,然后重启后报the system is running in low-graphics mode
1. 通常是 顯卡沒有 安裝/設定/啟用 合適的驅動 引起的
进不了图形界面,开始是报下面的错
the system is running in low-graphics mode.
百度上的方法基本上都试过了,没用。改了之后会在下面这里循环
也就是输入密码之后,还会回到这个界面
2. 因為登入 unity 桌面 需要 3D 加速支援
在還沒安裝合適 顯卡驅動 以前
可能因為沒有 3D 加速支援 而被退回
<猜測的 不一定正確>
用的是AMD显卡
3. 參閱
http://apexu.com/apexu/tw/modules/publi ... ?itemid=14
安裝 完畢 ubuntu 第一次開機 如何 增加 acpi_osi=linux 及 nomodeset 參數
參考 ATI/AMD 顯卡可以考慮的參數
目的 幫助你順利登入桌面安裝合適的顯卡驅動
3-1. 測試 可以順利登入桌面時 請再貼文
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#8

帖子 vickycq »

fglrx 15.9 官方声称不支持新于3.16的内核,更何况15.10的fglrx貌似是15.2? 消息称Ubuntu打包的fglrx包含补丁,可在4.2内核上使用。(参考链接3) 但用户实际汇报不可使用,(参考链接2,4,5) 官方发行注记也指出不可用。(参考链接1)

综上所述,在15.10中方便地使用AMD私有驱动 还要等等。建议先使用开源驱动。
15.10 发行注记 写了: AMD's fglrx driver does not work with the current kernel (1493888). It is warmly recommended to uninstall the fglrx driver before upgrading to Ubuntu 15.10. The open source "radeon" driver can be used as a temporary replacement until a fix is available.
参考
https://wiki.ubuntu.com/WilyWerewolf/ReleaseNotes
http://askubuntu.com/questions/544661/p ... cs-drivers
http://www.phoronix.com/scan.php?page=n ... -linux-4.2
http://askubuntu.com/questions/688747/u ... lrx-issue/
http://ubuntuforums.org/showthread.php?t=2299981
上次由 vickycq 在 2015-10-24 22:11,总共编辑 1 次。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#9

帖子 vickycq »

可以不重装 到 Recovery Mode - failsafeX 操作
卸载 fglrx 并恢复开源驱动

代码: 全选

sudo apt-get remove --purge fglrx fglrx* fglrx-amdcccle* fglrx-dev*
sudo rm /etc/X11/xorg.conf
sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dri
sudo dpkg-reconfigure xserver-xorg
如果遇到 Internal Error, No file name for libgl1-mesa-dri

代码: 全选

sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64
参考 http://askubuntu.com/a/294396
上次由 vickycq 在 2015-10-25 10:03,总共编辑 2 次。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#10

帖子 poloshiao »

fglrx 15.9 官方声称不支持新于3.16的内核,更何况15.10的fglrx貌似是15.2?
1. 參閱
viewtopic.php?p=3145993#p3145993
如果你是使用 ATI/AMD 閉源驅動 fglrx 要升級到 或 全新安裝 Ubuntu 15.10 請先看看
卸载 fglrx 并恢复开源驱动
2. 一般 開源驅動 radeon 比較不受版本影響 但是對於 3d 加速的支援可能無法充分滿意
2-1. 具體需要看顯卡型號
2-2. 如果對於 3d 加速的支援 無法充分滿意 最好建議安裝對於 3d 加速的要求不高的
Xubuntu
Lubuntu
Ubuntu Mate
IceAmber
帖子: 19
注册时间: 2014-09-24 14:25

Re: ubuntu15.04升级到15.10后,使用4.2内核无法连接网络

#11

帖子 IceAmber »

vickycq 写了:可以不重装,到 Recovery Mode - failsafeX 操作
卸载 fglrx 并恢复开源驱动

代码: 全选

sudo apt-get remove --purge fglrx fglrx* fglrx-amdcccle* fglrx-dev*
sudo rm /etc/X11/xorg.conf
sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dri libgl1-mesa-glx libgl1-mesa-dri
sudo dpkg-reconfigure xserver-xorg

谢谢,按照这个方法卸载fglrx并回复开源驱动后,问题解决了 :Haha
回复