说来,今天很郁闷。
自己很讨厌ubuntu的自动升级,于是在Synaptic中禁止linux内核升级。但是天算不如人算,不知道哪天我的ubuntu内核居然升级了。
哎,原来的linux-2.6.35-22变成了旧内核。看看我的ubuntu里面有很多旧内核:
mark@mark:~$ sudo dpkg --get-selections|grep linux libselinux1 install linux-firmware install linux-generic-pae install linux-headers-2.6.35-22 install linux-headers-2.6.35-22-generic install linux-headers-2.6.35-24 install linux-headers-2.6.35-24-generic install linux-headers-2.6.35-24-generic-pae install linux-headers-2.6.35-30 install linux-headers-2.6.35-30-generic install linux-headers-2.6.35-30-generic-pae install linux-headers-generic install linux-headers-generic-pae install linux-image install linux-image-2.6.35-24-generic install linux-image-2.6.35-24-generic-pae install linux-image-2.6.35-30-generic install linux-image-2.6.35-30-generic-pae install linux-image-generic install linux-image-generic-pae install linux-libc-dev install linux-sound-base install pptp-linux install syslinux install syslinux-common install util-linux install
顺便说一下,http://www.itmop.com/network/system/linux/12224227.html提示如何卸载旧的内核。
一直发现,我的无线网卡不是很稳定。时而连接失败时而成功,前段日子,即使掉线,也可以再连一次。但是现在掉线,需要重启电脑。其它招数一概不好使。很有可能是网卡驱动问题,于是我这样做:
mark@mark:~$ sudo lshw -C network *-network description: Ethernet interface product: RTL8111/8168B PCI Express Gigabit Ethernet controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:08:00.0 logical name: eth0 version: 03 serial: 60:eb:69:e8:55:5c size: 10MB/s capacity: 1GB/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list rom 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 latency=0 link=no multicast=yes port=MII speed=10MB/s resources: irq:44 ioport:c000(size=256) memory:d0204000-d0204fff memory:d0200000-d0203fff memory:d0220000-d023ffff *-network description: Wireless interface product: RTL8191SEvB Wireless LAN Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:09:00.0 logical name: wlan0 version: 10 serial: 88:9f:fa:fc:5c:0a width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rtl8192se driverversion=2.6.35-30-generic-pae firmware=N/A ip=192.168.0.112 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn resources: irq:18 ioport:d000(size=256) memory:d0600000-d0603fff在-network中,看到这样一条记录,product: RTL8191SEvB Wireless LAN Controller,可以看出驱动是RTL8191SEvB。带着疑问,我又这样:
iwconfig看到,rtl8191SE-VA2的信息。这次确定驱动的版本了。
好嘞,去RTL官网下载最新驱动,下载地址:http://218.210.127.131/downloads/searchView.aspx?keyword=rtl8191se
当然,根据你自己的操作系统以及实际网卡驱动来选择下载。不要盲目下载。我下载的是:
接下来的工作,就是编译安装。
1. 解压下载的文件
解压到/home/mark/Download
2. 编译
cd Download make3. 安装
sudo make install4. 重启PC
ok,搞定!可爱的无线图标显示正常,呵呵!