WiFi only works sometimes

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Vikezor

WiFi only works sometimes

Post by Vikezor »

I can always connect to networks just fine, but usually I don't get an internet connection. Turning WiFi off and back on again sometimes helps.

Code: Select all

-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation Wireless 7260 (rev 73)
      ==> PCI ID = 8086:08b2 (rev 73)
-------------------------
* II. querying ndiswrapper...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en",
        LC_ALL = (unset),
        LC_TIME = "en_FI.UTF-8",
        LC_MONETARY = "en_FI.UTF-8",
        LC_ADDRESS = "en_FI.UTF-8",
        LC_TELEPHONE = "en_FI.UTF-8",
        LC_NAME = "en_FI.UTF-8",
        LC_MEASUREMENT = "en_FI.UTF-8",
        LC_IDENTIFICATION = "en_FI.UTF-8",
        LC_NUMERIC = "en_FI.UTF-8",
        LC_PAPER = "en_FI.UTF-8",
        LANG = "en_FI.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
-------------------------
* III. querying iwconfig...
lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"Mokkula-003E-C"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:60:64:9D:4F:47   
          Bit Rate=270 Mb/s   Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off                                                                                                              
          Encryption key:off                                                                                                                                                
          Power Management:off                                                                                                                                              
          Link Quality=63/70  Signal level=-47 dBm                                                                                                                          
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0                                                                                                          
          Tx excessive retries:0  Invalid misc:80   Missed beacon:0                                                                                                         
                                                                                                                                                                            
-------------------------                                                                                                                                                   
* IV. querying ifconfig...                                                                                                                                                  
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:2596 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2596 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:268108 (268.1 KB)  TX bytes:268108 (268.1 KB)

wlan0     Link encap:Ethernet  HWaddr 80:86:f2:a4:a8:b2  
          inet addr:192.168.2.16  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::8286:f2ff:fea4:a8b2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:39891 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26912 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:51279173 (51.2 MB)  TX bytes:3060150 (3.0 MB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:         192.168.2.1
Address:        192.168.2.1#53

Non-authoritative answer:
Name:   google.com
Address: 173.194.32.4
Name:   google.com
Address: 173.194.32.5
Name:   google.com
Address: 173.194.32.6
Name:   google.com
Address: 173.194.32.7
Name:   google.com
Address: 173.194.32.8
Name:   google.com
Address: 173.194.32.9
Name:   google.com
Address: 173.194.32.14
Name:   google.com
Address: 173.194.32.0
Name:   google.com
Address: 173.194.32.1
Name:   google.com
Address: 173.194.32.2
Name:   google.com
Address: 173.194.32.3
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DrHu

Re: WiFi only works sometimes

Post by DrHu »

Well there is a bunch of info on Intel wireless that model and drivers..
http://wireless.kernel.org/en/users/Drivers/iwlwifi
--you probably don't configure the kernel on your system to include those driver files..

Mint has some info..
http://forums.linuxmint.com/viewtopic.php?f=53&t=149664

If its internet, you might try OpenDns as the connection service rather than your ISP or as an alternate dns
http://forums.linuxmint.com/viewtopic.php?f=90&t=128529
Vikezor

Re: WiFi only works sometimes

Post by Vikezor »

I ran make menuconfig and went to

Code: Select all

Device Drivers ->
    Generic Driver Options ->
        Userspace firmware loading support
like http://wireless.kernel.org/en/users/Drivers/iwlwifi told me to. There were two options: Include in-kernel firmware blobs in kernel binary, which was ticked, and External firmware blobs to build into the kernel binary, which asked for a string value.
Then I downloaded http://wireless.kernel.org/en/users/Dri ... 24.8.0.tgz, extracted it and did

Code: Select all

sudo cp iwlwifi-*.ucode /lib/firmware
WiFi still doesn't work.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi only works sometimes

Post by JeremyB »

You should have had to do anything to get the 7260 to work in LM17
Please install pastebin and run the wireless script and post the URL that will be returned in terminal if you click Y when asked if you want to upload to pastebin

Code: Select all

sudo apt-get install pastebinit

Code: Select all

wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script
I have 2 different models of this card and both work in LM17/Ubuntu 14.04 but I did have to use backports to get the one working in LM13. And that was not a surprise as there was support for the 7260 in kernel 3.2

There is only 1 revision of the 7260 that has an issue in linux and that is revision cb and chili555 found a workaround
Vikezor

Re: WiFi only works sometimes

Post by Vikezor »

JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi only works sometimes

Post by JeremyB »

Can you post the results of

Code: Select all

dmesg | egrep 'iwl | wlan0'
Vikezor

Re: WiFi only works sometimes

Post by Vikezor »

Code: Select all

[   40.076829] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   40.077099] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   41.694286] wlan0: authenticate with 08:96:d7:62:d1:96
[   41.696343] wlan0: send auth to 08:96:d7:62:d1:96 (try 1/3)
[   41.699175] wlan0: authenticated
[   41.702169] wlan0: associate with 08:96:d7:62:d1:96 (try 1/3)
[   41.708958] wlan0: RX AssocResp from 08:96:d7:62:d1:96 (capab=0x431 status=0 aid=2)
[   41.710139] wlan0: associated
[   41.710173] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   41.765746] wlan0: deauthenticating from 08:96:d7:62:d1:96 by local choice (reason=2)
[   41.767786] wlan0: authenticate with 08:96:d7:62:d1:96
[   41.769374] wlan0: send auth to 08:96:d7:62:d1:96 (try 1/3)
[   41.786594] wlan0: authenticated
[   41.790126] wlan0: associate with 08:96:d7:62:d1:96 (try 1/3)
[   41.797028] wlan0: RX AssocResp from 08:96:d7:62:d1:96 (capab=0x431 status=0 aid=2)
[   41.798228] wlan0: associated
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi only works sometimes

Post by JeremyB »

Still don't see where it loads the firmware in dmesg but a few things to try. In network manager for your wifi connection set IPv6 to ignore. In terminal

Code: Select all

sudo iwconfig wlan0 power off
disables power management.
And see if your router can be set to WPA2-AES as now it is in a mixed mode setting

This command likely won't fix your current state but it helps these cards run their top speed

Code: Select all

echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
Reboot and run the script again without your USB device connected

Code: Select all

./wireless_script
Choose N for the pastebin upload, then plug in the USB if the internal still isn't working and

Code: Select all

cat wireless-info.text | pastebinit
and paste the URL
Vikezor

Re: WiFi only works sometimes

Post by Vikezor »

Here it be once again: http://pastebin.com/VU15EcfC
As for
JeremyB wrote:And see if your router can be set to WPA2-AES as now it is in a mixed mode setting
I have this problem on all wireless networks.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi only works sometimes

Post by JeremyB »

Vikezor wrote:Here it be once again: http://pastebin.com/VU15EcfC
As for
JeremyB wrote:And see if your router can be set to WPA2-AES as now it is in a mixed mode setting
I have this problem on all wireless networks.
Let me see

Code: Select all

lshw -C network
results

I am used to seeing the firmware getting loaded and a message concerning rate control with the 7260
DrHu

Re: WiFi only works sometimes

Post by DrHu »

http://forums.linuxmint.com/viewtopic.php?f=49&t=175450
Are you also this poster ?? Username:Mianrer
--who said good wifi rt nic ??
6th post entry from (Mianrer, seems to match this user post here (post entry 4)

Code: Select all

 codes shown in the 6th post by Mianrer
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi only works sometimes

Post by JeremyB »

DrHu wrote:http://forums.linuxmint.com/viewtopic.php?f=49&t=175450
Are you also this poster ?? Username:Mianrer
--who said good wifi rt nic ??
6th post entry from (Mianrer, seems to match this user post here (post entry 4)

Code: Select all

 codes shown in the 6th post by Mianrer
Could be but I don't like the sound of the compiling a kernel

So I think the poster should

Code: Select all

sudo apt-get update
Then use mint update manager, click view then linux kernels and install the latest available there which should be 3-13.0-37
Then reboot
Vikezor

Re: WiFi only works sometimes

Post by Vikezor »

JeremyB wrote:Let me see

Code: Select all

lshw -C network
results

Code: Select all

  *-network               
       description: Wireless interface
       product: Wireless 7260
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 73
       serial: 80:86:f2:a4:a8:b2
       width: 64 bits
       clock: 33MHz                                                                                                                                                         
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless                                                                                       
       configuration: broadcast=yes driver=iwlwifi driverversion=3.13.0-24-generic firmware=22.24.8.0 ip=130.232.172.184 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn                                                                                                                                                                       
       resources: irq:63 memory:b2400000-b2401fff
DrHu wrote:http://forums.linuxmint.com/viewtopic.php?f=49&t=175450
Are you also this poster ?? Username:Mianrer
no...........................................................................................................................
JeremyB wrote:So I think the poster should

Code: Select all

sudo apt-get update
Then use mint update manager, click view then linux kernels and install the latest available there which should be 3-13.0-37
Then reboot
Installed latest kernel, will restart and report on how it went.
Vikezor

Re: WiFi only works sometimes

Post by Vikezor »

this seems good
EDIT: No, this didn't fix anything. Another thing I noticed: I can't even open the router configuration page. Everything works just fine in Windows 8.
Locked

Return to “Networking”