LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problem with my WiFi adapter (http://www.linuxquestions.org/questions/linux-hardware-18/problem-with-my-wifi-adapter-4175445106/)

fierytux 01-11-2013 05:05 AM

Problem with my WiFi adapter
 
Hi all,
I have a very weird problem in my laptop right now. My WiFi gets connected to my home router, I can browse internet and everything works normally for some 30 minutes. But, after that I cannot ping either to my router or any external IPs and still my applet shows I'm connected and the signal strength too varies with the distance.

Since, it is working fine in Windows (same laptop) I thought there was some problem with that distro and I even reinstalled it. But, still the problem persists in the new distro too.

After the connection gets dropped

Code:

$ ifconfig wlan0
wlan0    Link encap:Ethernet  HWaddr b8:03:05:36:29:6e 
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::ba03:5ff:fe36:296e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:382046 errors:0 dropped:0 overruns:0 frame:0
          TX packets:255023 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:482804122 (482.8 MB)  TX bytes:30810637 (30.8 MB)

Code:

$ iwconfig
wlan0    IEEE 802.11bgn  ESSID:"Krishh-ll" 
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:26:15:5F:C3:53 
          Bit Rate=1 Mb/s  Tx-Power=15 dBm 
          Retry  long limit:7  RTS thr:off  Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-39 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:49  Missed beacon:0

Code:

$ lspci | grep Wireless
01:00.0 Network controller: Intel Corporation Centrino Wireless-N 130 (rev 34

Code:

$ rfkill list all
0: samsung-wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: samsung-bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: no
3: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

And also, when the connection goes down, if I do

Code:


$ sudo ifconfig wlan0 down
$ sudo ifconfig wlan0 up

it works fine for the next 30 mintes. Please guys, help me out.

EDIT:
Forgot to include that I also tried installing the WiFi drivers manually from kernel.org but, even that didn't work out

rosehosting.com 01-12-2013 01:17 AM

hi fierytux,

you didn't say what GNU/Linux distro you're using? Anyhow, I've seen this happening to some other folks and I think you're hit by this bug.

what relevant modules are loaded for your card? as suggested, in order to fix this as a workaround you may want try disabling '11n' so it wont load on your system startup.

so you need to modprobe 'iwlwifi' and '11n_disable=1'.

fierytux 01-12-2013 02:04 AM

Thanks for the reply, rosehosting.com

I didn't notice that I missed to include the current distro. I was using Arch till 3 days back and now reinstalled with Ubuntu 12.10.
My current uname -a
Code:

Linux fox 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
These are the modules loaded for my adapter:
Code:

iwlwifi              386826  0
mac80211              539908  1 iwlwifi
cfg80211              206566  2 iwlwifi,mac80211

I'll try disabling 11n now and see if its working out.

fierytux 01-12-2013 08:14 AM

After disabling 11n, I'm getting disconnects unlike previouly when the applet showed I'm connected. Even now, if I disable wireless and connect again, it gets connected and works fine.


All times are GMT -5. The time now is 01:20 PM.