wifi 总是开着,然后关着

wifi 总是开着,然后关着

我有一台 Acer travilmate。安装 Ubuntu 并连接到无线网络后,我的 Wifi 一直打开和关闭,我几乎无能为力

这真的很烦人,因为它阻止我做任何事情,我几乎没有加载视频或游戏。

有什么方法可以解决这个问题并让 wifi 正常工作?

的结果lspci -nnk | grep -iA2 net

lspci -nnk | grep -iA2 net
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 02)
    Subsystem: Acer Incorporated [ALI] Device [1025:0110]
02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8038 PCI-E Fast Ethernet Controller [11ab:4352] (rev 14)
    Subsystem: Acer Incorporated [ALI] Device [1025:0110]
    Kernel driver in use: sky2
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
    Subsystem: Intel Corporation PRO/Wireless 3945BG Network Connection [8086:1005]
    Kernel driver in use: iwl3945
0a:09.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]

的结果lsmod

lsmod
Module                  Size  Used by
parport_pc             31981  0 
ppdev                  17391  0 
bnep                   18893  2 
rfcomm                 53664  16 
btusb                  23443  0 
bluetooth             323622  22 bnep,btusb,rfcomm
coretemp               13195  0 
joydev                 17097  0 
acer_wmi               31735  0 
sparse_keymap          13708  1 acer_wmi
snd_hda_codec_si3054    12864  1 
snd_hda_codec_realtek    45592  1 
gspca_vc032x           31199  0 
gspca_main             27772  1 gspca_vc032x
videodev              107508  2 gspca_vc032x,gspca_main
snd_hda_intel          42658  3 
snd_hda_codec         164003  3 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hda_intel
arc4                   12536  2 
snd_hwdep              13272  1 snd_hda_codec
snd_pcm                89488  3 snd_hda_codec_si3054,snd_hda_codec,snd_hda_intel
iwl3945                63619  0 
snd_page_alloc         14230  2 snd_pcm,snd_hda_intel
microcode              18830  0 
iwlegacy               87971  1 iwl3945
i915                  589697  3 
snd_seq_midi           13132  0 
mac80211              513247  2 iwl3945,iwlegacy
snd_seq_midi_event     14475  1 snd_seq_midi
snd_rawmidi            25094  1 snd_seq_midi
psmouse                90642  0 
snd_seq                55383  2 snd_seq_midi_event,snd_seq_midi
pcmcia                 51368  0 
snd_seq_device         14137  3 snd_seq,snd_rawmidi,snd_seq_midi
cfg80211              401436  3 iwl3945,iwlegacy,mac80211
drm_kms_helper         46867  1 i915
serio_raw              13189  0 
snd_timer              24447  2 snd_pcm,snd_seq
drm                   242354  4 i915,drm_kms_helper
snd                    60790  17 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
yenta_socket           40193  0 
soundcore              12600  1 snd
pcmcia_rsrc            18319  1 yenta_socket
tifm_7xx1              13163  0 
pcmcia_core            22328  3 pcmcia,pcmcia_rsrc,yenta_socket
i2c_algo_bit           13197  1 i915
lpc_ich                16864  0 
tifm_core              15040  1 tifm_7xx1
wmi                    18590  1 acer_wmi
video                  18777  2 i915,acer_wmi
mac_hid                13037  0 
lp                     13299  0 
parport                40795  3 lp,ppdev,parport_pc
hid_generic            12492  0 
usbhid                 47361  0 
hid                    87370  2 hid_generic,usbhid
sky2                   52910  0

的结果iwconfig

iwconfig
wlan0     IEEE 802.11bg  ESSID:"Etisalat"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: C8:D1:5E:5B:CB:2C   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=65/70  Signal level=-45 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:2   Missed beacon:0
lo        no wireless extensions.
eth0      no wireless extensions.

的结果ifconfig -a

ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:16:36:9b:da:24  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1545 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1545 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:116454 (116.4 KB)  TX bytes:116454 (116.4 KB)
wlan0     Link encap:Ethernet  HWaddr 00:18:de:46:aa:77  
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::218:deff:fe46:aa77/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2512 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2634 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:892621 (892.6 KB)  TX bytes:478504 (478.5 KB)

的结果sudo iwlist scan

sudo iwlist scan
wlan0     Scan completed :
          Cell 01 - Address: C8:D1:5E:5B:CB:2C
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=60/70  Signal level=-50 dBm  
                    Encryption key:on
                    ESSID:"Etisalat"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000fee9c2e01
                    Extra: Last beacon: 44ms ago
                    IE: Unknown: 000845746973616C6174
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A8C0103FFFF0000000000000000000000000000000C0000000000
                    IE: Unknown: 3D1601000700000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD07000C4307000000
                    IE: Unknown: 0706454720010D10
lo        Interface doesn't support scanning.
eth0      Interface doesn't support scanning.

的结果cat/etc/resolv.conf

cat/etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTENnameserver 127.0.1.1

答案1

不同的问题可能会导致这种情况

应用程序错误、驱动程序问题、硬件问题(包括过热)、网络干扰、网络注册、您选择的频道等。

首先摆脱手机等干扰设备。

转到Network Connections> Wireless>Edit并将其设置为自动连接。

关闭设备电源进行检查。

sudo iwconfig [INTERFAE]wlan0 power off

[INTERFAE]可能是wlan0eth0(或 1、2、3 等)

如果没有解决:

安装 wifi 设备驱动程序

sudo apt-get install collectd-core collectd-dev collectd-dbg collectd-utils

并更改应用程序

sudo apt-get install wicd-gtk wicd wicd-daemon wicd-curses wicd-cli

使用 Wicd,将频道更改为 6。


如果尚未解决,请编辑问题并包括lspci -nnk | grep -iA2 netlsmodiwconfigifconfig -a、的结果。具有专业知识的人可能会提供帮助。sudo iwlist scancat /etc/resolv.conf

相关内容