Wifi gradually disappears

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Wifi gradually disappears

Postby SamuraiHelmet » Thu Oct 24, 2013 16:24

I am currently living on a college campus. The wifi here has garnered a bit of a reputation, but I've had very little trouble with it so far. The issue is, on my linux partition, the connection will start out strong, then gradually fade smaller and smaller until it disconnects. On most occasions, it takes a few seconds to a minute for the icon on the top bar to update to show I have been disconnected. This cycle repeats itself over the course of about 5 minutes every time I try to connect.

I believe I have all the stock network software, and I have the Realtek RTL 8188 CE for my wifi network controller. I have mounds of spare time to run tests or commands if need be.
SamuraiHelmet
Baby Hen
 
Posts: 5
Joined: Sat Sep 28, 2013 16:58

Re: Wifi gradually disappears

Postby Fitzcarraldo » Sat Oct 26, 2013 10:50

What kernel module (driver) are you using? Please post the output of the lsmod command. Perhaps its behaviour can be improved by passing some options to it at start-up.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Wifi gradually disappears

Postby linuxfluesterer » Sat Oct 26, 2013 13:58

Hallo guys.
I know, I'm not the owner of this thread, but the same situation happens to me also. So I've attached the descriprion for my wlan, which is combined with bluetooth. Here is the protocol, listed by hwinfo (needs to be installed):
Code: Select all
hwinfo --wlan
17: PCI 300.0: 0282 WLAN controller
  [Created at pci.319] 
  Unique ID: y9sn.Cv4PK6mZ0h7
  Parent ID: qTvu.AUwWLH5pOoE
  SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: network
  Model: "Atheros WLAN controller"
  Vendor: pci 0x168c "Atheros Communications Inc."
  Device: pci 0x0034
  SubVendor: pci 0x105b "Foxconn International, Inc."
  SubDevice: pci 0xe052
  Revision: 0x01
  Driver: "ath9k"
  Driver Modules: "ath9k", "ath9k"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xc0500000-0xc057ffff (rw,non-prefetchable)
  Memory Range: 0xafc00000-0xafc0ffff (ro,non-prefetchable,disabled)
  IRQ: 17 (no events)
  HW Address: 68:94:23:70:1d:41
  Link detected: yes
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v0000168Cd00000034sv0000105Bsd0000E052bc02sc80i00"
  Driver Info #0:
    Driver Status: ath9k is active
    Driver Activation Cmd: "modprobe ath9k"
  Driver Info #1:
    Driver Status: wl is not active
    Driver Activation Cmd: "modprobe wl"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #8 (PCI bridge)

In my case, sometimes (recurring) the wlan connection symbol shows being interrupted, then it connects again automatically after some seconds and then I see, that my bluetooth connection reappears also.
For my bluetooth, I have a different protocol, listed by hwinfo:
Code: Select all
hwinfo --bluetooth
03: USB 00.0: 11500 Bluetooth Device
  [Created at usb.122]
  Unique ID: 7dS8.+XjOheJX3H7
  Parent ID: KRJj.4Nx_qoDfSd7
  SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.1/3-1.1:1.0
  SysFS BusID: 3-1.1:1.0
  Hardware Class: bluetooth
  Model: "Foxconn / Hon Hai Bluetooth Device"
  Hotplug: USB
  Vendor: usb 0x0489 "Foxconn / Hon Hai"
  Device: usb 0xe04e 
  Revision: "0.02"
  Driver: "btusb"
  Driver Modules: "btusb"
  Speed: 12 Mbps
  Module Alias: "usb:v0489pE04Ed0002dcE0dsc01dp01icE0isc01ip01in00"
  Driver Info #0:
    Driver Status: ath3k is active
    Driver Activation Cmd: "modprobe ath3k"
  Driver Info #1:
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #2 (Hub)

When I connect to a friend's router, then the time of disconnction is much longer (minutes often) than in my own room.
I hope to give some valuable informations here.

-Linuxfluesterer (I love KDE ...)
I really hope, that by the Brexit (poor Britain), TTIP will be finally prevented. But don't get tired to talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 704
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: Wifi gradually disappears

Postby SamuraiHelmet » Tue Oct 29, 2013 22:54

Fitzcarraldo wrote:What kernel module (driver) are you using? Please post the output of the lsmod command. Perhaps its behaviour can be improved by passing some options to it at start-up.


I don't know exactly what my driver is, but I suspect it may be a part of the problem.
This is lsmod

Code: Select all
Module                  Size  Used by
psmouse                65716  0
serio_raw               4088  0
x86_pkg_temp_thermal     5682  0
intel_powerclamp        7196  0
coretemp                5080  0
kvm_intel             109520  0
uvcvideo               58450  0
videobuf2_vmalloc       2345  1 uvcvideo
videobuf2_memops        1840  1 videobuf2_vmalloc
videobuf2_core         20817  1 uvcvideo
videodev               86081  2 uvcvideo,videobuf2_core
media                   8933  2 uvcvideo,videodev
kvm                   206590  1 kvm_intel
ip6t_REJECT             3360  1
crc32_pclmul            2171  0
xt_hl                   1104  6
crc32c_intel            8480  0
ip6t_rt                 4480  3
rts5139               224055  0
joydev                  7808  0
nf_conntrack_ipv6       7312  7
nf_defrag_ipv6         24473  1 nf_conntrack_ipv6
ipt_REJECT              1904  1
ghash_clmulni_intel     3102  0
xt_LOG                  9944  10
cryptd                  5278  1 ghash_clmulni_intel
xt_limit                1400  13
rtl8192ce              42022  0
rtl_pci                12312  1 rtl8192ce
rtlwifi                37779  2 rtl_pci,rtl8192ce
rtl8192c_common        30784  1 rtl8192ce
mac80211              237652  3 rtl_pci,rtlwifi,rtl8192ce
cfg80211              154753  2 mac80211,rtlwifi
xt_tcpudp               2704  18
alx                    19474  0
shpchp                 20207  0
xt_addrtype             2256  4
nf_conntrack_ipv4      10970  7
nf_defrag_ipv4          1166  1 nf_conntrack_ipv4
xt_conntrack            2496  14
ip6table_filter         1088  1
iTCO_wdt                4168  0
iTCO_vendor_support     1633  1 iTCO_wdt
ip6_tables             13321  1 ip6table_filter
snd_hda_codec_hdmi     23929  1
snd_hda_codec_realtek    28880  1
i915                  468738  3
intel_agp               9208  1 i915
intel_gtt               9597  2 i915,intel_agp
drm_kms_helper         23040  1 i915
drm                   198089  4 i915,drm_kms_helper
i2c_algo_bit            4202  1 i915
agpgart                22168  3 drm,intel_agp,intel_gtt
i2c_i801               13368  0
snd_hda_intel          26926  3
snd_hda_codec         102522  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               4574  1 snd_hda_codec
snd_pcm                60143  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          6118  2 snd_pcm,snd_hda_intel
snd_timer              14486  1 snd_pcm
snd                    46769  13 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
pcspkr                  1536  0
nf_conntrack_netbios_ns      944  0
nf_conntrack_broadcast     1101  1 nf_conntrack_netbios_ns
microcode              10816  0
lpc_ich                12464  0
nf_nat_ftp              1824  0
nf_nat                 12352  1 nf_nat_ftp
nf_conntrack_ftp        8392  1 nf_nat_ftp
nf_conntrack           61550  8 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter          1136  1
ip_tables              13765  1 iptable_filter
x_tables               13946  13 ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype,ip6t_REJECT
ipv6                  263888  31 nf_defrag_ipv6,ip6t_REJECT,nf_conntrack_ipv6
efivarfs                4456  0
dm_thin_pool           33796  0
dm_persistent_data     36068  1 dm_thin_pool
dm_bio_prison           3697  1 dm_thin_pool
dm_service_time         2573  0
dm_round_robin          2087  0
dm_queue_length         2304  0
dm_multipath           14050  3 dm_round_robin,dm_queue_length,dm_service_time
scsi_dh                 4546  1 dm_multipath
dm_log_userspace        8906  0
dm_flakey               3710  0
dm_delay                3967  0
dm_bufio               13014  1 dm_persistent_data
virtio_pci              6205  0
virtio_scsi             8205  0
virtio_blk              7720  0
virtio_net             16347  0
virtio_console         16300  0
virtio_balloon          4919  0
virtio_ring             6662  6 virtio_blk,virtio_net,virtio_pci,virtio_balloon,virtio_console,virtio_scsi
virtio                  3413  6 virtio_blk,virtio_net,virtio_pci,virtio_balloon,virtio_console,virtio_scsi
xts                     2807  0
gf128mul                5290  1 xts
aes_x86_64              7279  0
sha512_generic          4888  0
sha256_generic          9684  0
sha1_generic            1846  0
iscsi_tcp               7868  0
tg3                   128996  0
ptp                     6796  1 tg3
pps_core                7808  1 ptp
e1000                 109701  0
fuse                   62719  3
xfs                   462629  0
nfs                   101111  0
lockd                  53006  1 nfs
sunrpc                148084  2 nfs,lockd
jfs                   141953  0
reiserfs              205388  0
ext4                  280983  3
jbd2                   49444  1 ext4
ext3                  108863  0
jbd                    37682  1 ext3
ext2                   54160  0
mbcache                 4594  3 ext2,ext3,ext4
firewire_core          44405  0
sl811_hcd               9063  0
ohci_hcd               20351  0
uhci_hcd               20889  0
sx8                    11173  0
imm                     8779  0
parport                26795  1 imm
pata_pcmcia             9740  0
pcmcia                 39019  1 pata_pcmcia
hid_generic             1081  0
ehci_pci                3728  0
ehci_hcd               41000  1 ehci_pci
xhci_hcd               77389  0
SamuraiHelmet
Baby Hen
 
Posts: 5
Joined: Sat Sep 28, 2013 16:58

Re: Wifi gradually disappears

Postby Fitzcarraldo » Wed Oct 30, 2013 0:50

The wireless drivers you have got loaded look OK to me.

Searching the Web tells me that the Realtek RTL 8188 CE is not a good choice for Linux; I'm reading several threads in various distributions' forums about problems similar to yours. Anyway, you could try what Arch Linux user Lord_Lizard recommends in his post in the following thread in the Arch Linux forums: rtl8192ce intermittent connection.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Wifi gradually disappears

Postby SamuraiHelmet » Thu Oct 31, 2013 2:15

Fitzcarraldo wrote:The wireless drivers you have got loaded look OK to me.

Searching the Web tells me that the Realtek RTL 8188 CE is not a good choice for Linux; I'm reading several threads in various distributions' forums about problems similar to yours. Anyway, you could try what Arch Linux user Lord_Lizard recommends in his post in the following thread in the Arch Linux forums: rtl8192ce intermittent connection.


I don't have the conf file that he mentioned in modprobe.d. Any suggestions?
SamuraiHelmet
Baby Hen
 
Posts: 5
Joined: Sat Sep 28, 2013 16:58

Re: Wifi gradually disappears

Postby Fitzcarraldo » Thu Oct 31, 2013 2:28

My suggestion would be to do what he tells you to do in his post: create the file.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Wifi gradually disappears

Postby SamuraiHelmet » Fri Nov 01, 2013 21:58

Well as of now, the wifi is less buggy. There are still times when I have to input my password several times, and it does disconnect, although less frequently.
SamuraiHelmet
Baby Hen
 
Posts: 5
Joined: Sat Sep 28, 2013 16:58


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 2 guests