rtl8192ce wifi信号波动且随机断开

rtl8192ce wifi信号波动且随机断开

在自定义构建上运行 Ubuntu 14.04。我有 Encore 无线 N300 PCI-E 适配器(见这里)该驱动程序也可以从此链接下载。我读到,连接问题的常见解决方法是卸载/重新安装无线驱动程序。但在我开始行动之前,我想知道是否还应该首先考虑其他一些事情?另外,下载后如何安装?

它只会断开连接一秒钟,然后重新连接。问题是,我失去了 VPN 连接,然后又重新连接干净。 (无论 VPN 或打开,WiFi 都会下降)

注意:我也在 Ubuntuforums 上发布了几天这个帖子,但还没有得到回复。

lspci

Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)

lsmod | grep rtl:

rtl8192ce              53550  0
rtl_pci                26690  1 rtl8192ce
rtlwifi                63475  2 rtl_pci,rtl8192ce
rtl8192c_common        53172  1 rtl8192ce
mac80211              626557  3 rtl_pci,rtlwifi,rtl8192ce
cfg80211              484040  2 mac80211,rtlwifi

iwconfig | grep Power
eth0      no wireless extensions.

lo        no wireless extensions.

          Bit Rate=144.4 Mb/s   Tx-Power=20 dBm  
          Power Management:off

wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script:

########## wireless info START ##########

##### release #####

Distributor ID:    Ubuntu
Description:    Ubuntu 14.04 LTS
Release:    14.04
Codename:    trusty

##### kernel #####

Linux mike-System-Product-Name 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

##### lspci #####

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 09)
    Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard [1043:8505]
    Kernel driver in use: r8169

06:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178] (rev 01)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178]
    Kernel driver in use: rtl8192ce
07:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller [1b21:1042]

##### lsusb #####

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04d9:a06b Holtek Semiconductor, Inc.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 03f0:8904 Hewlett-Packard DeskJet 6940 series
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA Card Info #####

##### rfkill #####

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

##### iw reg get #####

country 00:
    (2402 - 2472 @ 40), (3, 20)
    (2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
    (2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
    (5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
    (5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

##### interfaces #####

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

##### iwconfig #####

wlan0     IEEE 802.11bgn  ESSID:"HighMoon"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: <MAC address removed>  
          Bit Rate=144.4 Mb/s   Tx-Power=20 dBm  
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=20 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:88   Missed beacon:0

##### route #####

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0

##### resolv.conf #####

nameserver 127.0.1.1
search hsd1.pa.comcast.net

##### nm-tool #####

NetworkManager Tool

State: connected (global)

- Device: wlan0  [HighMoon] ----------------------------------------------------
  Type:              802.11 WiFi
  Driver:            rtl8192ce
  State:             connected
  Default:           yes
  HW Address:        <MAC address removed>

  Capabilities:
    Speed:           144 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    HighMoon-guest:  Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 97
    *HighMoon:       Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 100 WPA2

  IPv4 Settings:
    Address:         192.168.1.146
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.1

    DNS:             75.75.76.76
    DNS:             75.75.75.75
    DNS:             192.168.1.1

- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        <MAC address removed>

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off

##### NetworkManager.state #####

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true

##### NetworkManager.conf #####

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### iwlist #####

wlan0     Scan completed :
          Cell 01 - Address: <MAC address removed>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=26 dBm  
                    Encryption key:on
                    ESSID:"HighMoon"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 0008486967684D6F6F6E
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AFC181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606081500000000000000000000000000000000000000
                    IE: Unknown: DD810050F204104A00011010440001021041000100103B0001031047001002519461683B1AF5B2843176671BB6DB102100074C696E6B7379731023000D4C696E6B7379732045343230301024000776312E302E30321042000234321054000800060050F20400011011000D4C696E6B737973204534323030100800020084103C000103
                    IE: Unknown: DD090010180203F02C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 02 - Address: <MAC address removed>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=26 dBm  
                    Encryption key:off
                    ESSID:"HighMoon-guest"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000E486967684D6F6F6E2D6775657374
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AFC181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606081100000000000000000000000000000000000000
                    IE: Unknown: DD090010180200F02C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00

##### iwlist channel #####

wlan0     13 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Current Frequency:2.437 GHz (Channel 6)

##### lsmod #####

rtl8192ce              53550  0
rtl_pci                26690  1 rtl8192ce
rtlwifi                63475  2 rtl_pci,rtl8192ce
rtl8192c_common        53172  1 rtl8192ce
mac80211              626557  3 rtl_pci,rtlwifi,rtl8192ce
cfg80211              484040  2 mac80211,rtlwifi

##### modinfo #####

filename:       /lib/modules/3.13.0-29-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
firmware:       rtlwifi/rtl8192cfwU_B.bin
firmware:       rtlwifi/rtl8192cfwU.bin
firmware:       rtlwifi/rtl8192cfw.bin
description:    Realtek 8192C/8188C 802.11n PCI wireless
license:        GPL
author:         Larry Finger    <[email protected]>
author:         Realtek WlanFAE    <[email protected]>
author:         lizhaoming    <[email protected]>
srcversion:     EF063698748457BBEDB4633
alias:          pci:v000010ECd00008176sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008177sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008178sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008191sv*sd*bc*sc*i*
depends:        rtlwifi,rtl_pci,rtl8192c-common,mac80211
intree:         Y
vermagic:       3.13.0-29-generic SMP mod_unload modversions
signer:         Magrathea: Glacier signing key
sig_key:        <MAC address removed>:3B:EA:01:C4:BD:A9:65:67:CF:A7:23:C9:70:D8
sig_hashalgo:   sha512
parm:           swenc:Set to 1 for software crypto (default 0)
 (bool)
parm:           ips:Set to 0 to not use link power save (default 1)
 (bool)
parm:           swlps:Set to 1 to use SW control power save (default 0)
 (bool)
parm:           fwlps:Set to 1 to use FW control power save (default 1)
 (bool)
parm:           debug:Set debug level (0-5) (default 0) (int)

filename:       /lib/modules/3.13.0-29-generic/kernel/drivers/net/wireless/rtlwifi/rtl_pci.ko
description:    PCI basic driver for rtlwifi
license:        GPL
author:         Larry Finger    <[email protected]>
author:         Realtek WlanFAE    <[email protected]>
author:         lizhaoming    <[email protected]>
srcversion:     9B7F19319428FF0EFE7E350
depends:        mac80211,rtlwifi
intree:         Y
vermagic:       3.13.0-29-generic SMP mod_unload modversions
signer:         Magrathea: Glacier signing key
sig_key:        <MAC address removed>:3B:EA:01:C4:BD:A9:65:67:CF:A7:23:C9:70:D8
sig_hashalgo:   sha512

filename:       /lib/modules/3.13.0-29-generic/kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko
description:    Realtek 802.11n PCI wireless core
license:        GPL
author:         Larry Finger    <[email protected]>
author:         Realtek WlanFAE    <[email protected]>
author:         lizhaoming    <[email protected]>
srcversion:     27E91755814596D634B7709
depends:        mac80211,cfg80211
intree:         Y
vermagic:       3.13.0-29-generic SMP mod_unload modversions
signer:         Magrathea: Glacier signing key
sig_key:        <MAC address removed>:3B:EA:01:C4:BD:A9:65:67:CF:A7:23:C9:70:D8
sig_hashalgo:   sha512

filename:       /lib/modules/3.13.0-29-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
description:    Realtek 8192C/8188C 802.11n PCI wireless
license:        GPL
author:         Larry Finger    <[email protected]>
author:         Ziv Huang    <[email protected]>
author:         Georgia        <[email protected]>
author:         Realtek WlanFAE    <[email protected]>
author:         lizhaoming    <[email protected]>
srcversion:     32F826C623BC49F764F7974
depends:        
intree:         Y
vermagic:       3.13.0-29-generic SMP mod_unload modversions
signer:         Magrathea: Glacier signing key
sig_key:        <MAC address removed>:3B:EA:01:C4:BD:A9:65:67:CF:A7:23:C9:70:D8
sig_hashalgo:   sha512

##### modules #####

lp
rtc

coretemp
nct6775

coretemp
nct6775

##### blacklist #####

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/fbdev-blacklist.conf]
blacklist arkfb
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist cirrusfb
blacklist cyber2000fb
blacklist gx1fb
blacklist gxfb
blacklist kyrofb
blacklist matroxfb_base
blacklist mb862xxfb
blacklist neofb
blacklist nvidiafb
blacklist pm2fb
blacklist pm3fb
blacklist s3fb
blacklist savagefb
blacklist sisfb
blacklist tdfxfb
blacklist tridentfb
blacklist viafb
blacklist vt8623fb

##### udev rules #####

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8178 (rtl8192ce)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

##### dmesg #####

[    5.120047] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[    5.194147] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    5.194286] rtlwifi: wireless switch is on
[    8.897871] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    8.898113] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   11.059263] wlan0: authenticate with <MAC address removed>
[   11.079193] wlan0: send auth to <MAC address removed> (try 1/3)
[   11.080713] wlan0: authenticated
[   11.082910] wlan0: associate with <MAC address removed> (try 1/3)
[   11.085949] wlan0: RX AssocResp from <MAC address removed> (capab=0x411 status=0 aid=2)
[   11.086080] wlan0: associated
[   11.086087] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   11.130630] wlan0: deauthenticating from <MAC address removed> by local choice (reason=2)
[   11.161112] wlan0: authenticate with <MAC address removed>
[   11.507939] wlan0: send auth to <MAC address removed> (try 1/3)
[   11.509417] wlan0: authenticated
[   11.510494] wlan0: associate with <MAC address removed> (try 1/3)
[   11.517862] wlan0: RX AssocResp from <MAC address removed> (capab=0x411 status=0 aid=2)
[   11.517993] wlan0: associated
[   19.514761] wlan0: Connection to AP <MAC address removed> lost
[   20.825705] wlan0: authenticate with <MAC address removed>
[   20.845680] wlan0: send auth to <MAC address removed> (try 1/3)
[   20.849279] wlan0: authenticated
[   20.853472] wlan0: associate with <MAC address removed> (try 1/3)
[   20.856489] wlan0: RX AssocResp from <MAC address removed> (capab=0x411 status=0 aid=2)
[   20.856620] wlan0: associated

########## wireless info END ############

还进入网络管理器并锁定之前空白字段中的 BSSID 号码。尽管如此,我还是看到 WiFi 图标在波动。通过运行找到的BSSID:

cat /var/log/syslog | grep -e etwork -e wlan | tail -n20

这给了我一条信息:

WLAN:0 WPA: GROUP
Rekeying completed with ( BSSID NUMBER)
[GTK=CCMP]

答案1

我对我之前的回答感到非常抱歉,尽管它是用大字体写的,您正在使用 14.04;我没想到你是,我以为你用的是12.04。

我个人使用 14.04 Gnome Buntu 来输入此内容。这个版本的驱动程序实际上是在发行版上开箱即用的,并且工作得很好,但我正在跟踪一些奇怪的问题,这些问题没有意义。构建文件不再在原来的位置,并且存在时髦的 c/c++ arch 交叉编译指针问题。

在 Gnome Ubuntu 14.04 上,不要将司机列入黑名单。

无论如何,我希望这能帮助您进行诊断,假设问题出在您的 VPN 端,所以请阅读以下内容。

我必须问您一些故障排除问题,您需要向自己和您的系统提出/回答这些问题。它们如下:

  1. 你有设置root密码吗?您可以通过输入/etc/shadow文件来检查:

    :~$ sudo nano /etc/shadow
    

    如果文件的第一行距离加密不太长,您需要设置一个,或者最好将数据备份到 USB 并执行完整的重新安装:如果您选择重新安装,请先删除所有虚拟机这样做(您可能需要创建一个脚本来清除并删除系统上的所有主要应用程序),甚至可能需要 DBAN 您的系统(需要 8 到 24 小时)。

    我说的是完全重新安装,如果你没有设置root密码,因为你现在不知道你的系统上放置了哪些隐藏脚本(除非你一直在使用tripwire)你知道吗?脚本可能会在您的 VPN 期间“打电话回家”,这可能会导致内核终止连接。

  2. 您正在使用什么发行版,Ubuntu 14.04 或基于 14.04 构建的变体(例如 Gnome Ubuntu),以及您的系统使用什么显示管理器或显示管理器组合?

    在 12.04 和 14.04 之间,xgreeter 会话的登录启动过程发生了一些变化,如果您立即启动,greeter 会话可能需要一段时间(登录后 100 秒或更多秒)才能杀死其 pts。跳转到系统并启动 VPN,这可能会导致内核终止连接。

  3. 重新启动后首次登录用户帐户时,who从命令行运行命令,打开终端Ctrl+T

    :~$ who
    

    显示的输出是什么,您是否使用pts/0ptmx 主从关系。明明是你tty7,你的是什么pts?你应该是零。

  4. 假设您不是,那么您的: , ,pts/0是什么?您的系统在系统启动时正在运行哪些作业?ptspts/9pts/12pts/15upstart

    关闭系统电源。让 RAM 断电并重新启动它。登录后立即打开终端实例 Ctrl+T 并运行以下命令:

    :~$ ps -a > psOfA.txt
    :~$ sudo status modemmanager
    :~$ sudo status cups
    :~$ sudo status cups-browsed
    :~$ sudo status bluetooth
    

    如果您ssh通过 VPN 从非硬连线的桌面(“以太网电缆 cat3 或 cat5”)连接到路由器,我向您保证您不希望这些处于活动状态!

    您需要终止这些作业进程。进入/etc/init目录并注释掉(用#)前面提到的四个作业的文件的startexec行。.conf文件的起始行可能会占用两行,请将这两行注释掉。

    检查您使用命令创建的文本文件ps -a,并注意作业处理顺序是什么,在系统启动时,有什么地方您觉得不合适吗?您应该有诸如kinitgettysystem.d等。但是是否有任何在后台运行的应用程序您在启动时从未使用过?

  5. 您是否安装了 Rkhunter、unhide 和 gkrellm?如果没有,请安装它们!您知道您使用的处理器是什么品牌和型号吗?该处理器是否支持传感器读取技术?如果您使用的是intel cpu,您可以在此处查看其信息。

    如果您的 CPU 具有传感器读取技术(如果您使用的是 Intel,则应该如此),启动并配置 Gkrellm 应用程序以显示温度、WLAN 和 Lo,即使未连接到互联网!

    当您的适配器未插入且互联网已关闭时,lo 读数是什么?它是否像 480 常数一样被提升?如果它为零就可以了。

    还要在打开互联网并插入适配器的情况下运行以下命令:

    :~$ sudo unhide-tcp help
    :~$ sudo unhide checkbrute
    :~$ sudo rkhunter --propupd
    :~$ sudo rkhunter --checkall
    

    运行后rkhunter有什么警告吗?如果这是您第一次运行rkhunter,您应该会收到有关密码和组文件更改的警告。rkhunter如果您还没有这样做,请了解如何配置!

    您可以检查文件中的消息/var/log/rkhunter。使用gedit命令行打开它sudo,然后将其复制并粘贴到您自己的新文件中。

  6. 如果您使用 VPN,您可能需要open-ssh安装服务器,但默认情况下不会安装它。使用命令行中的sudo updatedb命令locate ssh来获取 ssh 文件在系统中的位置。配置文件应该位于该/etc/ssh目录中。

  7. 运行以下命令后,输出是什么ifconfig -aiwconfig

    :~$ ifconfig -a
    :~$ iwconfig 
    

    (这非常重要,可能应该放在列表的前面,但我想到了其他事情,所以首先询问/指导他们)

    命令的 RTS 抛出和 RTX 读数是多少iwconfig? rts 是否设置为关闭?如果 rts 读数为不是如果您使用那些 rtl8192 驱动程序,就会有“噪音”。

    rts 对象在启动过程中并不持久,并且某些模型适配器不允许您设置它;但是,一旦您的系统启动作业停止并且您正在使用pts/0主从关系,请尝试使用以下命令:

    :~$ sudo iwconfig wlan0 rts off
    

    运行上述命令后,运行sudo updatedb并关闭终端,重新打开另一个终端并iwconfig再次运行该命令,您的 rts 现在设置为关闭吗?如果你的型号adatper允许设置rts,则创建一个脚本在每次登录时运行,如下所示:

#! /bin/bash
IWCONFIG_OPT="sudo iwconfig wlan0 rts off"
$IWCONFIG_OPT;

exit;

将脚本命名为您想要的名称,但您必须在终端实例授予临时根/超级用户权限后运行它,因此要么登录到 bash(例如sudo bash),然后通过键入exit并运行脚本或使用退出 bash 的根实例sudo updatedb。这是最简单的两个,所以这就是我提到它们的原因。

您可以命名脚本yourname.sh并运行它,./yourname.sh或者您可以省略文件类型(例如,只是您的文件名)并从它所在的目录运行它,并在脚本名称前面加上美元符号,如下所示:(其还是一个shell/x-application

:~$ sudo chmod +x yourname.sh
:~$ sudo chmod +x yourname
:~$ sudo bash 
:~# exit
:~$ $yourname

这将降低“噪音”,在步骤 6 中提到的 gkrellm 指令中,您的 lo 是零还是它读取的是 480 之类的值?它不应该是读数 480,这会干扰您在该运行级别的实际情况。这很可能来自您已安装的视频/声音或 gtk+ 引擎模块安装的某些包/模块,这些包/模块不具有以前用作不再在基础包中分发的依赖项的内容。 (不用再打 20,000 个字,这就是我要说的 480 个字)。

  1. 如果您直接使用 Ubuntu 14.04,没有变体(例如 Gnome Buntu、Zorin、xUbunu 等..) 您是否在登录时杀死了来宾帐户?这意味着您在登录时隐藏访客帐户。如果你还没有,你应该这样做。您可以通过将以下内容添加到如下所示的文件中来完成此操作:

    :~$ sudo nano /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf

    允许访客=false

进行更改后不要重新启动 lig​​htdm,只需重新启动它的命令,例如 sudo restart。

继续运行rkhunter,锁定系统并进行配置ssh;然后让我们知道您看到了什么。另外你用VPN做什么?连接到某种类型的数据库或开发平台?什么类型的系统以及系统的安全性如何?

相关内容