Using usb-wifi adapter instead of built in wifi Ubuntu 18.04












1















I bought a USB wifi adapter with antenna (ID: 0bda:b812) for situations when i need a bigger wifi range (University...) and i need help getting it to work.



I'm on Ubuntu 18.04.2 LTS (gnome).



The adapter gets recognized, i have two wifi options to choose from and i can connect both to different networks (though they only work simultaneously. If i connect one, the other one connects aswell, strangely enough to a different network).
However, when i turn off the built in wifi or disable it (ifconfig wlp4s0 down or via /etc/network/interfaces) the adapter won't connect anymore.



Furthermore i am pretty sure it doesnt work properly, since the adapter doesn't show me more wifi signals (i live in a very crowded area) nor does it give me better reception for the ones i see, compared to the built in wifi card.



I am by far no ubuntu pro and i'm pretty confused, read through dozens of threads with similar problems, tried out different drivers etc.



On my PC (18.04 gnome aswell but no built in wifi card) there was no problem.



This bothers me as well: lspci doesn't list the usb adapter but lshw shows it



~$ lspci -nnk | grep -iA2 net
04:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b2] (rev 73)
Subsystem: Intel Corporation Wireless-N 7260 [8086:4270]
Kernel driver in use: iwlwifi


rtl88x2 diver:



~$ dkms status
rtl88x2bu, 5.2.4.4, 4.15.0-45-generic, x86_64: installed


This is the ifconfig output:



~$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3200 bytes 250504 (250.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3200 bytes 250504 (250.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.12 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::20ac:6f7:1c6c:c21c prefixlen 64 scopeid 0x20<link>
ether 0c:8b:fd:cc:88:f0 txqueuelen 1000 (Ethernet)
RX packets 33824 bytes 37267883 (37.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12855 bytes 2491006 (2.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlx000f02139821: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.68 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::d721:d902:76e2:387d prefixlen 64 scopeid 0x20<link>
ether 00:0f:02:13:98:21 txqueuelen 1000 (Ethernet)
RX packets 809 bytes 156995 (156.9 KB)
RX errors 0 dropped 20 overruns 0 frame 0
TX packets 624 bytes 103764 (103.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


and for lshw -C network:



~$ sudo lshw -C network
[sudo] password for busch:
*-network
description: Wireless interface
product: Wireless 7260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlp4s0
version: 73
serial: 0c:8b:fd:cc:88:f0
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-45-generic firmware=17.948900127.0 ip=192.168.1.12 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:45 memory:f0500000-f0501fff
*-network
description: Wireless interface
physical id: 2
bus info: usb@2:1
logical name: wlx000f02139821
serial: 00:0f:02:13:98:21
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl88x2bu ip=192.168.1.68 multicast=yes wireless=IEEE 802.11bgn


Thanks for your help!










share|improve this question







New contributor




88x2bu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    I bought a USB wifi adapter with antenna (ID: 0bda:b812) for situations when i need a bigger wifi range (University...) and i need help getting it to work.



    I'm on Ubuntu 18.04.2 LTS (gnome).



    The adapter gets recognized, i have two wifi options to choose from and i can connect both to different networks (though they only work simultaneously. If i connect one, the other one connects aswell, strangely enough to a different network).
    However, when i turn off the built in wifi or disable it (ifconfig wlp4s0 down or via /etc/network/interfaces) the adapter won't connect anymore.



    Furthermore i am pretty sure it doesnt work properly, since the adapter doesn't show me more wifi signals (i live in a very crowded area) nor does it give me better reception for the ones i see, compared to the built in wifi card.



    I am by far no ubuntu pro and i'm pretty confused, read through dozens of threads with similar problems, tried out different drivers etc.



    On my PC (18.04 gnome aswell but no built in wifi card) there was no problem.



    This bothers me as well: lspci doesn't list the usb adapter but lshw shows it



    ~$ lspci -nnk | grep -iA2 net
    04:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b2] (rev 73)
    Subsystem: Intel Corporation Wireless-N 7260 [8086:4270]
    Kernel driver in use: iwlwifi


    rtl88x2 diver:



    ~$ dkms status
    rtl88x2bu, 5.2.4.4, 4.15.0-45-generic, x86_64: installed


    This is the ifconfig output:



    ~$ ifconfig
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 3200 bytes 250504 (250.5 KB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 3200 bytes 250504 (250.5 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.1.12 netmask 255.255.255.0 broadcast 192.168.1.255
    inet6 fe80::20ac:6f7:1c6c:c21c prefixlen 64 scopeid 0x20<link>
    ether 0c:8b:fd:cc:88:f0 txqueuelen 1000 (Ethernet)
    RX packets 33824 bytes 37267883 (37.2 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 12855 bytes 2491006 (2.4 MB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    wlx000f02139821: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.1.68 netmask 255.255.255.0 broadcast 192.168.1.255
    inet6 fe80::d721:d902:76e2:387d prefixlen 64 scopeid 0x20<link>
    ether 00:0f:02:13:98:21 txqueuelen 1000 (Ethernet)
    RX packets 809 bytes 156995 (156.9 KB)
    RX errors 0 dropped 20 overruns 0 frame 0
    TX packets 624 bytes 103764 (103.7 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


    and for lshw -C network:



    ~$ sudo lshw -C network
    [sudo] password for busch:
    *-network
    description: Wireless interface
    product: Wireless 7260
    vendor: Intel Corporation
    physical id: 0
    bus info: pci@0000:04:00.0
    logical name: wlp4s0
    version: 73
    serial: 0c:8b:fd:cc:88:f0
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-45-generic firmware=17.948900127.0 ip=192.168.1.12 latency=0 link=yes multicast=yes wireless=IEEE 802.11
    resources: irq:45 memory:f0500000-f0501fff
    *-network
    description: Wireless interface
    physical id: 2
    bus info: usb@2:1
    logical name: wlx000f02139821
    serial: 00:0f:02:13:98:21
    capabilities: ethernet physical wireless
    configuration: broadcast=yes driver=rtl88x2bu ip=192.168.1.68 multicast=yes wireless=IEEE 802.11bgn


    Thanks for your help!










    share|improve this question







    New contributor




    88x2bu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I bought a USB wifi adapter with antenna (ID: 0bda:b812) for situations when i need a bigger wifi range (University...) and i need help getting it to work.



      I'm on Ubuntu 18.04.2 LTS (gnome).



      The adapter gets recognized, i have two wifi options to choose from and i can connect both to different networks (though they only work simultaneously. If i connect one, the other one connects aswell, strangely enough to a different network).
      However, when i turn off the built in wifi or disable it (ifconfig wlp4s0 down or via /etc/network/interfaces) the adapter won't connect anymore.



      Furthermore i am pretty sure it doesnt work properly, since the adapter doesn't show me more wifi signals (i live in a very crowded area) nor does it give me better reception for the ones i see, compared to the built in wifi card.



      I am by far no ubuntu pro and i'm pretty confused, read through dozens of threads with similar problems, tried out different drivers etc.



      On my PC (18.04 gnome aswell but no built in wifi card) there was no problem.



      This bothers me as well: lspci doesn't list the usb adapter but lshw shows it



      ~$ lspci -nnk | grep -iA2 net
      04:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b2] (rev 73)
      Subsystem: Intel Corporation Wireless-N 7260 [8086:4270]
      Kernel driver in use: iwlwifi


      rtl88x2 diver:



      ~$ dkms status
      rtl88x2bu, 5.2.4.4, 4.15.0-45-generic, x86_64: installed


      This is the ifconfig output:



      ~$ ifconfig
      lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
      inet 127.0.0.1 netmask 255.0.0.0
      inet6 ::1 prefixlen 128 scopeid 0x10<host>
      loop txqueuelen 1000 (Local Loopback)
      RX packets 3200 bytes 250504 (250.5 KB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 3200 bytes 250504 (250.5 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      inet 192.168.1.12 netmask 255.255.255.0 broadcast 192.168.1.255
      inet6 fe80::20ac:6f7:1c6c:c21c prefixlen 64 scopeid 0x20<link>
      ether 0c:8b:fd:cc:88:f0 txqueuelen 1000 (Ethernet)
      RX packets 33824 bytes 37267883 (37.2 MB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 12855 bytes 2491006 (2.4 MB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      wlx000f02139821: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      inet 192.168.1.68 netmask 255.255.255.0 broadcast 192.168.1.255
      inet6 fe80::d721:d902:76e2:387d prefixlen 64 scopeid 0x20<link>
      ether 00:0f:02:13:98:21 txqueuelen 1000 (Ethernet)
      RX packets 809 bytes 156995 (156.9 KB)
      RX errors 0 dropped 20 overruns 0 frame 0
      TX packets 624 bytes 103764 (103.7 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


      and for lshw -C network:



      ~$ sudo lshw -C network
      [sudo] password for busch:
      *-network
      description: Wireless interface
      product: Wireless 7260
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:04:00.0
      logical name: wlp4s0
      version: 73
      serial: 0c:8b:fd:cc:88:f0
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-45-generic firmware=17.948900127.0 ip=192.168.1.12 latency=0 link=yes multicast=yes wireless=IEEE 802.11
      resources: irq:45 memory:f0500000-f0501fff
      *-network
      description: Wireless interface
      physical id: 2
      bus info: usb@2:1
      logical name: wlx000f02139821
      serial: 00:0f:02:13:98:21
      capabilities: ethernet physical wireless
      configuration: broadcast=yes driver=rtl88x2bu ip=192.168.1.68 multicast=yes wireless=IEEE 802.11bgn


      Thanks for your help!










      share|improve this question







      New contributor




      88x2bu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I bought a USB wifi adapter with antenna (ID: 0bda:b812) for situations when i need a bigger wifi range (University...) and i need help getting it to work.



      I'm on Ubuntu 18.04.2 LTS (gnome).



      The adapter gets recognized, i have two wifi options to choose from and i can connect both to different networks (though they only work simultaneously. If i connect one, the other one connects aswell, strangely enough to a different network).
      However, when i turn off the built in wifi or disable it (ifconfig wlp4s0 down or via /etc/network/interfaces) the adapter won't connect anymore.



      Furthermore i am pretty sure it doesnt work properly, since the adapter doesn't show me more wifi signals (i live in a very crowded area) nor does it give me better reception for the ones i see, compared to the built in wifi card.



      I am by far no ubuntu pro and i'm pretty confused, read through dozens of threads with similar problems, tried out different drivers etc.



      On my PC (18.04 gnome aswell but no built in wifi card) there was no problem.



      This bothers me as well: lspci doesn't list the usb adapter but lshw shows it



      ~$ lspci -nnk | grep -iA2 net
      04:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b2] (rev 73)
      Subsystem: Intel Corporation Wireless-N 7260 [8086:4270]
      Kernel driver in use: iwlwifi


      rtl88x2 diver:



      ~$ dkms status
      rtl88x2bu, 5.2.4.4, 4.15.0-45-generic, x86_64: installed


      This is the ifconfig output:



      ~$ ifconfig
      lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
      inet 127.0.0.1 netmask 255.0.0.0
      inet6 ::1 prefixlen 128 scopeid 0x10<host>
      loop txqueuelen 1000 (Local Loopback)
      RX packets 3200 bytes 250504 (250.5 KB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 3200 bytes 250504 (250.5 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      inet 192.168.1.12 netmask 255.255.255.0 broadcast 192.168.1.255
      inet6 fe80::20ac:6f7:1c6c:c21c prefixlen 64 scopeid 0x20<link>
      ether 0c:8b:fd:cc:88:f0 txqueuelen 1000 (Ethernet)
      RX packets 33824 bytes 37267883 (37.2 MB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 12855 bytes 2491006 (2.4 MB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      wlx000f02139821: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      inet 192.168.1.68 netmask 255.255.255.0 broadcast 192.168.1.255
      inet6 fe80::d721:d902:76e2:387d prefixlen 64 scopeid 0x20<link>
      ether 00:0f:02:13:98:21 txqueuelen 1000 (Ethernet)
      RX packets 809 bytes 156995 (156.9 KB)
      RX errors 0 dropped 20 overruns 0 frame 0
      TX packets 624 bytes 103764 (103.7 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


      and for lshw -C network:



      ~$ sudo lshw -C network
      [sudo] password for busch:
      *-network
      description: Wireless interface
      product: Wireless 7260
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:04:00.0
      logical name: wlp4s0
      version: 73
      serial: 0c:8b:fd:cc:88:f0
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-45-generic firmware=17.948900127.0 ip=192.168.1.12 latency=0 link=yes multicast=yes wireless=IEEE 802.11
      resources: irq:45 memory:f0500000-f0501fff
      *-network
      description: Wireless interface
      physical id: 2
      bus info: usb@2:1
      logical name: wlx000f02139821
      serial: 00:0f:02:13:98:21
      capabilities: ethernet physical wireless
      configuration: broadcast=yes driver=rtl88x2bu ip=192.168.1.68 multicast=yes wireless=IEEE 802.11bgn


      Thanks for your help!







      networking drivers 18.04 usb






      share|improve this question







      New contributor




      88x2bu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      88x2bu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      88x2bu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 hours ago









      88x2bu88x2bu

      61




      61




      New contributor




      88x2bu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      88x2bu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      88x2bu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          88x2bu is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118588%2fusing-usb-wifi-adapter-instead-of-built-in-wifi-ubuntu-18-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          88x2bu is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          88x2bu is a new contributor. Be nice, and check out our Code of Conduct.













          88x2bu is a new contributor. Be nice, and check out our Code of Conduct.












          88x2bu is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118588%2fusing-usb-wifi-adapter-instead-of-built-in-wifi-ubuntu-18-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Category:香港粉麵

          List *all* the tuples!

          Channel [V]