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
    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


      #3
      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


        #4
        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


          #5
          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


            #6
            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


              #7
              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


                #8
                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


                  #9
                  /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.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    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


                      #11
                      The strange thing is that resolv.conf is not being populated in the way it states in 14.04. In 15.10 the warning is not there.

                      I guess it might be a conflict between dnsmasq and resolvconf as discussed here: http://askubuntu.com/questions/36843...ubuntu-13-10-s

                      But who knows?
                      Check out my Ⓥegan youtube channel PlantSugar
                      CV and gallery at grn.dk
                      Please add [SOLVED] to topic subject when topic is solved.

                      Comment


                        #12
                        I usually configure my network manually on my desktop (no need for network manager). AFAIK, the only "correct" (again with that word ) place to put DNS server info in in the interfaces file(s), leavlng resolv.conf for local nameserver info. I use a router so my manually configured nameserver is my router IP and I don't need DNS server info because the router does that.

                        Please Read Me

                        Comment


                          #13
                          Originally posted by gnowak View Post
                          The strange thing is that resolv.conf is not being populated in the way it states in 14.04. In 15.10 the warning is not there.

                          I guess it might be a conflict between dnsmasq and resolvconf as discussed here: http://askubuntu.com/questions/36843...ubuntu-13-10-s

                          But who knows?
                          I wondered about that. Curious. I'm using 15.04 at the moment.

                          Please Read Me

                          Comment


                            #14
                            If you are back to using Networkmanager, you should be setting your DNS IPs through Configure Network Connections... (right-click on the Networkmanager icon in the System Tray)
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Thanks for the "tail" tip oshunluvr. :-)

                              Just for fun, i rebooted and my resolv.conf is unchanged. My evil manual edits are still there. I guess there is something wrong with my installation.

                              And for the record, the only reason I played around with resolv.conf is to get my mobile hotspot working. :-)

                              Yes my router at home does my DNS for me too.

                              Can anyone confirm the dnsmasq and resolvconf conflict. Should I disable dnsmasq in the networking settings file? What is state-of-the-art practice here in 15.10?

                              Thanks again!
                              Check out my Ⓥegan youtube channel PlantSugar
                              CV and gallery at grn.dk
                              Please add [SOLVED] to topic subject when topic is solved.

                              Comment

                              Working...
                              X