Announcement

Collapse
No announcement yet.

WIFI only connects to network, but no internet [Wireless 7265 - Lenovo T450s - 15.10]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    WIFI only connects to network, but no internet [Wireless 7265 - Lenovo T450s - 15.10]

    I have a strange problem with my wireless network card Intel 7265. It only wants to connect to some wireless networks. It seems it is the fault of the linux driver, because when i boot in Windows, I am able to connect to the network. For instance some times I am able to connect to a wireless hotspot from my android phone, but there is no internet connection. Some times I am unable to connect at all. This is also true for other wireless network connections and also when using USB or Bluetooth tethering.

    Any hints are appreciated. What kind of information or things should I try to do?

    Thanks.

    lsb_release -a
    LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
    Distributor ID: Ubuntu
    Description: Ubuntu 15.10
    Release: 15.10
    Codename: wily

    description: Wireless interface
    product: Wireless 7265
    vendor: Intel Corporation
    physical id: 0
    bus info: pci@0000:03:00.0
    logical name: wlp3s0
    version: 59
    serial: 5c:e0:c5:88:f3:a1
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=iwlwifi driverversion=4.2.0-25-generic firmware=25.30.13.0 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
    resources: irq:46 memory:f2000000-f2001fff


    wlp3s0 Link encap:Ethernet HWaddr 5c:e0:c5:88:f3:a1
    inet addr:192.168.43.184 Bcast:192.168.43.255 Mask:255.255.255.0
    inet6 addr: fe80::5ee0:c5ff:fe88:f3a1/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:325 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1593 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:39562 (39.5 KB) TX bytes:206413 (206.4 KB)
    Last edited by gnowak; Feb 21, 2016, 06:17 AM.
    Check out my Ⓥegan youtube channel PlantSugar
    CV and gallery at grn.dk
    Please add [SOLVED] to topic subject when topic is solved.

    #2
    First off, Intel is typically well supported as are these T450s's.

    I try to understand your problem.

    Sometimes you can connect to WIFI, other times you cannot connect to WIFI, right?
    When connected to WIFI sometimes you can access the internet, sometimes you cannot access the internet?
    Or do you always get internet when connected to WIFI/

    Are there some WIFI access points you can always connect and others you can never connect to or is the failure at random?

    Is there a difference between a cold boot and after rebooting from Windows?


    Can you execute the following commands:
    Code:
    iwconfig
    It should (similar to what you already did) list at least two network sockets, lo and wlp3s0.
    The wlp3s0 one will be followed by the name of the access point you are connected with.

    If not try the next:
    Code:
    sudo ifconfig wlp3s0 up
    Followed by:
    Code:
    iwlist wlan0 scanning
    This last one should give a list of available WIFI access points

    If so you should be able to connect using the usual network widget.

    If you do get a list but are not able to connect via the network manager try these:
    Code:
    sudo iwconfig wlp3s0 essid ACCESSPOINT
    Replace ACCESSPOINT with the name of your WIFI


    Code:
    sudo dhclient wlp3s0
    This will set up DNS


    In case of WPA:
    Code:
    wpa_passphrase YOURESSID YOURWIFIPASSWORD
    Replace YOURESSID with the name of your WIFI
    Replace YOURWIFIPASSWORD with, uhh, yes your WIFI password.


    Try again:
    Code:
    iwconfig
    And you should see wlp3s0 is connected.
    Code:
    ping google.com
    Should show results.

    Is so there is a problem with the network manager applet.

    If still no connection it needs more investigation...


    I start to think of a hardware failure but you stated the network always works in Windows...

    Comment


      #3
      Thanks for your reply!

      I can connect sometimes to some networks.

      Let me try to explain.

      1) My home networks I can always connect to, and I always get internet.

      2) My Mobile hotspot i can connect to sometimes, but I never get internet.

      3) Other networks I can't connect to at all.

      I have been doing this for years, and it is the first time I have come across something like this. I should try to do a live-cd boot to an older version of Kubuntu maybe.

      I tried to shut down and startup the computer a couple of times in Kubuntu only. And yes, I have a dual boot option with Windows 10, which is a pain, but I need it for some of my clients.


      Her we go:
      Code:
      iwconfig
      enp0s25   no wireless extensions.
      
      lo        no wireless extensions.
      Code:
      wlp3s0    IEEE 802.11abgn  ESSID:"AndroidAP"  
                Mode:Managed  Frequency:2.462 GHz  Access Point: E8:50:8B:D2:09:D7   
                Bit Rate=78 Mb/s   Tx-Power=22 dBm   
                Retry short limit:7   RTS thr:off   Fragment thr:off
                Power Management:off
                Link Quality=70/70  Signal level=-30 dBm  
                Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
                Tx excessive retries:0  Invalid misc:36   Missed beacon:0

      Code:
      iwlist wlp3s0 scanning
      wlp3s0    Scan completed :
                Cell 01 - Address: E8:50:8B:D2:09:D7                                                 
                          Channel:11                                                                 
                          Frequency:2.462 GHz (Channel 11)                                           
                          Quality=70/70  Signal level=-30 dBm                                        
                          Encryption key:on                                                          
                          ESSID:"AndroidAP"                                                          
                          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=000000002b9e6ebe                                                 
                          Extra: Last beacon: 5520ms ago                                             
                          IE: Unknown: 0009416E64726F69644150                                        
                          IE: Unknown: 010882848B962430486C                                          
                          IE: Unknown: 03010B                                                        
                          IE: Unknown: 2A0100                                                        
                          IE: Unknown: 32040C121860                                                  
                          IE: IEEE 802.11i/WPA2 Version 1                                            
                              Group Cipher : CCMP                                                    
                              Pairwise Ciphers (1) : CCMP                                            
                              Authentication Suites (1) : PSK                                        
                          IE: Unknown: 2D1A2D0017FFFF000000000000000000000000000000000000000000      
                          IE: Unknown: 3D160B081500000000000000000000000000000000000000              
                          IE: Unknown: 7F080400008001000040                                          
                          IE: Unknown: DD050016328000                                                
                          IE: Unknown: DD1E00904C0408BF0C3258810FFAFF0000FAFF0000C005000B000000C3020000
                          IE: Unknown: DD090010180201001C0000
                          IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
      Code:
      wlp3s0    Link encap:Ethernet  HWaddr 5c:e0:c5:88:f3:a1  
                inet addr:192.168.43.184  Bcast:192.168.43.255  Mask:255.255.255.0
                inet6 addr: fe80::5ee0:c5ff:fe88:f3a1/64 Scope:Link
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:8447 errors:0 dropped:0 overruns:0 frame:0
                TX packets:9125 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:1000 
                RX bytes:7460775 (7.4 MB)  TX bytes:1710268 (1.7 MB)

      Code:
      ping google.com                                                                
      ping: unknown host google.com
      Code:
      ping 192.168.43.184
      PING 192.168.43.184 (192.168.43.184) 56(84) bytes of data.
      64 bytes from 192.168.43.184: icmp_seq=1 ttl=64 time=0.018 ms
      64 bytes from 192.168.43.184: icmp_seq=2 ttl=64 time=0.015 ms
      Any hints and thoughts are very appreciated! Thanks again!
      Last edited by gnowak; Feb 17, 2016, 02:48 PM.
      Check out my Ⓥegan youtube channel PlantSugar
      CV and gallery at grn.dk
      Please add [SOLVED] to topic subject when topic is solved.

      Comment


        #4
        Originally posted by gnowak View Post
        Thanks for your reply!

        I can connect sometimes to some networks.

        Let me try to explain.

        1) My home networks I can always connect to, and I always get internet.

        2) My Mobile hotspot i can connect to sometimes, but I never get internet.

        3) Other networks I can't connect to at all.

        I have been doing this for years, and it is the first time I have come across something like this. I should try to do a live-cd boot to an older version of Kubuntu maybe.

        I tried to shut down and startup the computer a couple of times in Kubuntu only. And yes, I have a dual boot option with Windows 10, which is a pain, but I need it for some of my clients.


        Her we go:
        <Snip>
        Code:
        wlp3s0    IEEE 802.11abgn  ESSID:"AndroidAP"  
                  Mode:Managed  Frequency:2.462 GHz  Access Point: E8:50:8B:D2:09:D7   
                  Bit Rate=78 Mb/s   Tx-Power=22 dBm   
                  Retry short limit:7   RTS thr:off   Fragment thr:off
                  Power Management:off
                  Link Quality=70/70  Signal level=-30 dBm  
                  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
                  Tx excessive retries:0  Invalid misc:36   Missed beacon:0
        This one shows you are connected to AndroidAP, that'll be the hotspot you have on an Android device.

        Code:
        iwlist wlp3s0 scanning
        wlp3s0    Scan completed :
                  Cell 01 - Address: E8:50:8B:D2:09:D7                                                 
                            Channel:11                                                                 
                            Frequency:2.462 GHz (Channel 11)                                           
                            Quality=70/70  Signal level=-30 dBm                                        
                            Encryption key:on                                                          
                            ESSID:"AndroidAP"                                                          
                            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=000000002b9e6ebe                                                 
                            Extra: Last beacon: 5520ms ago                                             
                            IE: Unknown: 0009416E64726F69644150                                        
                            IE: Unknown: 010882848B962430486C                                          
                            IE: Unknown: 03010B                                                        
                            IE: Unknown: 2A0100                                                        
                            IE: Unknown: 32040C121860                                                  
                            IE: IEEE 802.11i/WPA2 Version 1                                            
                                Group Cipher : CCMP                                                    
                                Pairwise Ciphers (1) : CCMP                                            
                                Authentication Suites (1) : PSK                                        
                            IE: Unknown: 2D1A2D0017FFFF000000000000000000000000000000000000000000      
                            IE: Unknown: 3D160B081500000000000000000000000000000000000000              
                            IE: Unknown: 7F080400008001000040                                          
                            IE: Unknown: DD050016328000                                                
                            IE: Unknown: DD1E00904C0408BF0C3258810FFAFF0000FAFF0000C005000B000000C3020000
                            IE: Unknown: DD090010180201001C0000
                            IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
        Because you are already connected to AndroidAP you cannot do a scan.

        <Snip>


        Code:
        ping google.com                                                                
        ping: unknown host google.com
        OK, either no internet or at least no DNS, you could try with:
        Code:
        ping 8.8.8.8
        That's also google.
        Code:
        ping 192.168.43.184
        PING 192.168.43.184 (192.168.43.184) 56(84) bytes of data.
        64 bytes from 192.168.43.184: icmp_seq=1 ttl=64 time=0.018 ms
        64 bytes from 192.168.43.184: icmp_seq=2 ttl=64 time=0.015 ms
        This one I assume it's your router or the Android hotspot?
        Because 192.168.xxx.xxx are local addresses.
        Any hints and thoughts are very appreciated! Thanks again!
        At the moment it looks like you are connected to the hotspot but maybe it doesn't process your network access.

        Try the ping 8.8.8.8 to google's DNS server.
        Last edited by Snowhog; Feb 19, 2016, 03:43 PM.

        Comment


          #5
          OK, thanks for the answers! You are right, I can ping the DNS:

          Code:
          ping 8.8.8.8
          PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
          64 bytes from 8.8.8.8: icmp_seq=1 ttl=52 time=47.4 ms
          64 bytes from 8.8.8.8: icmp_seq=2 ttl=52 time=52.1 ms
          But why? Both ipv4 and ipv6 are set to automatic... hmmm
          Check out my Ⓥegan youtube channel PlantSugar
          CV and gallery at grn.dk
          Please add [SOLVED] to topic subject when topic is solved.

          Comment


            #6
            Try this one one more time, it should set the DNS:
            Code:
            sudo dhclient wlp3s0
            Now you should be able to ping google.com or anything else.
            It might be the Android hotspot that's not behaving but I don't know how to check except with a different device.

            If not we need a network guru...

            PS,
            Try by switching off IPv6, not all devices understand it and it can cause this sort of behaviour.
            https://help.ubuntu.com/community/WebBrowsingSlowIPv6IPv4

            Where it says nano you can use kate.

            As the article states this is not a desirable fix but hey, if it works...

            Comment


              #7
              Thanks for the help!

              But it looks strange:

              Code:
              sudo dhclient wlp3s0
              RTNETLINK answers: File exists
              /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf
              What is wrong with nano? :-) I love nano.

              I followed the instructions to disable ipv6 and even choose to ignore ipv6 in the network settings, but ipv6 is still enabled and I don't have the dynamic name server information.

              Code:
              test -f /proc/net/if_inet6 && echo "Running kernel is IPv6 ready"
              Running kernel is IPv6 ready
              I miss Kubuntu 14.04, but I like the new applications here in 15.10. But it is quite buggy. I don't know if it is because of the laptop or because of the the new Kubuntu version.. hmm
              Check out my Ⓥegan youtube channel PlantSugar
              CV and gallery at grn.dk
              Please add [SOLVED] to topic subject when topic is solved.

              Comment


                #8
                Just as a bonus information, I am unable to connect via bluetooth nor USB tethering. The bluetooth tethering shows up as Galaxy S6 Network, but the USB tethering is invisible. I understand why many users are afraid of this wonderful world of free software. ;-D (I have been using linux since the early 2000's).
                Check out my Ⓥegan youtube channel PlantSugar
                CV and gallery at grn.dk
                Please add [SOLVED] to topic subject when topic is solved.

                Comment


                  #9
                  Good you like nano, it is very effective but not everyone likes to learn the controls.

                  One other idea, did you by chance install a firewall?

                  Comment


                    #10
                    Hmm I don't think I have installed a firewall. If I have, it was not intentional.
                    Check out my Ⓥegan youtube channel PlantSugar
                    CV and gallery at grn.dk
                    Please add [SOLVED] to topic subject when topic is solved.

                    Comment


                      #11
                      Two other ideas.
                      1.
                      Now in the situation where you can ping 8.8.8.8 you can also try this address in a browser:
                      It should give you the Google homepage without the need for DNS.

                      2.
                      Use a different network manager, it's called WICD and because it works differently it might be without the bug that's plaguing you.
                      You can find it in the repositories and if I remember correctly it will uninstall the regular network manager.

                      Comment


                        #12
                        1.
                        I can ping it:
                        ping 74.125.224.72
                        PING 74.125.224.72 (74.125.224.72) 56(84) bytes of data.
                        64 bytes from 74.125.224.72: icmp_seq=1 ttl=52 time=214 ms

                        In my chrome browser I get an error, because it tries to go to http://www.google.com/:

                        This webpage is not available
                        DNS_PROBE_FINISHED_BAD_CONFIG
                        2.
                        I followed the instructions here to install wicd and removed the network manager manually (https://help.ubuntu.com/community/WICD).

                        Code:
                        sudo apt-get remove plasma-widget-networkmanagement network-manager
                        Reading package lists... Done
                        Building dependency tree       
                        Reading state information... Done
                        Package 'plasma-widget-networkmanagement' is not installed, so not removed                                                  
                        The following packages will be REMOVED:                                                        
                          network-manager plasma-nm tlp-rdw                                                            
                        0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.                                 
                        After this operation, 11,2 MB disk space will be freed.                                        
                        Do you want to continue? [J/n] j                                                               
                        (Reading database ... 394985 files and directories currently installed.)                       
                        Removing plasma-nm (4:5.4.2-0ubuntu1.1) ...                                                    
                        Removing tlp-rdw (0.8-1) ...                                                                   
                        Removing network-manager (1.0.4-0ubuntu5.2) ...                                                
                        Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...                                 
                        Processing triggers for mime-support (3.58ubuntu1) ...                                         
                        Processing triggers for dbus (1.10.0-1ubuntu1) ...                                             
                        Processing triggers for man-db (2.7.4-1) ...
                        After reboot I connected to my different networks and none of them worked with DNS. Not even my wired connection. Hmm, I found my T430 and googled "Kubuntu 15.10 networking dns error". Found a page that suggested that /etc/resolv.conf needs to be populated and mine was not. I added "nameserver 8.8.8.8" in that file with nano ;-) and now everything works. I removed wicd and am back with the original network manager.

                        Thanks for your patience! Motivated me for this quick fix! Marking it as solved, even though it is probably not the right solution.
                        Check out my Ⓥegan youtube channel PlantSugar
                        CV and gallery at grn.dk
                        Please add [SOLVED] to topic subject when topic is solved.

                        Comment


                          #13
                          Thanks Snowhog, yes it is exactly the same content as I found on my T430 running Kubuntu 14.04. I still don't understand why mine is not being populated automagically here in 15.10. :-/

                          Just for reference: resolv.conf 14.04:
                          Code:
                          # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
                          #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
                          nameserver 127.0.1.1
                          search 208.122.23.23
                          resolv.conf 15.10 (I did not delete anything):
                          Code:
                          # Generated by NetworkManager
                          #added manually
                          nameserver 8.8.8.8
                          Check out my Ⓥegan youtube channel PlantSugar
                          CV and gallery at grn.dk
                          Please add [SOLVED] to topic subject when topic is solved.

                          Comment


                            #14
                            /etc/resolv.conf is not the file 'you' put the nameserver entry into. If you read the warning in that file:

                            # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

                            resov.conf is 'generated' by another process. There is another file that you modify to put in the IP addresses of the DNS's you want to use. I don't remember what that file is (sorry), but others here will let you know which on it is.
                            Using Kubuntu Linux since March 23, 2007
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Adding to what Snowhog says, it's likely the your manually edited resolv.conf will be overwritten. Thus these two lines in that file:
                              Code:
                              # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
                              #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
                              The "correct" way to add lines to resolv.conf is to create a file in /etc/resolvconf/resolv.conf.d/ named "tail" and add your edits in there. Next bootup, your changes should be present in /etc/resolv.conf

                              Please Read Me

                              Comment

                              Working...
                              X