{"id":4798,"date":"2019-06-07T14:26:29","date_gmt":"2019-06-07T12:26:29","guid":{"rendered":"https:\/\/nil.uniza.sk\/?p=4798"},"modified":"2019-06-07T15:53:41","modified_gmt":"2019-06-07T13:53:41","slug":"usb-wi-fi-dongle-pass-through-into-virtualbox-vm","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/usb-wi-fi-dongle-pass-through-into-virtualbox-vm\/","title":{"rendered":"Enabling USB Wi-Fi dongle adapter on VirtualBox VM"},"content":{"rendered":"<p>When we have Wi-Fi adapter in our PC, we may use it as a network interface of VM, but the VM will recognize it just as another wired interface. But there is possibility to connect an USB Wi-Fi dongle adapter and enable it to the VM. VM then will see dongle as native USB Wi-Fi adapter and it allows to work with WiFi networks natively.<\/p>\n\n\n\n<p>For example, we have the TP-LINK Archer T2UH USB dongle, Windows 10 as base system, Lubuntu 19.04 as the virtual machine and VirtualBox 6.0.8.<\/p>\n\n\n\n<p>As first thing, the base system needs to have proper drivers for the dongle. Win 10 already has it. Then in properties of VM, inside of USB section enable USB version 2 and add the dongle using the second option Add New USB Filter, in our setup MediaTek WiFi.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img alt=\"\" decoding=\"async\" width=\"861\" height=\"493\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok.png\" class=\"wp-image-4799\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok.png 861w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-300x172.png 300w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-768x440.png 768w\" sizes=\"(max-width: 861px) 100vw, 861px\" \/><figcaption>Adding USB dongle into VM<\/figcaption><\/figure>\n\n\n\n<p>And that is all. Boot VM and we should see dongle as the Wi-Fi adapter (in linux we may check if it recognized via <code>lsusb<\/code>).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img alt=\"\" decoding=\"async\" width=\"789\" height=\"151\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-2.png\" class=\"wp-image-4801\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-2.png 789w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-2-300x57.png 300w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-2-768x147.png 768w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><\/figure>\n\n\n\n<p>Then we may use the network manager of guest OS, and we should be able to see all available Wi-Fi networks and setup theirs parameters and connect to them.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img alt=\"\" decoding=\"async\" width=\"793\" height=\"595\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-3.png\" class=\"wp-image-4802\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-3.png 793w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-3-300x225.png 300w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2019\/06\/obr\u00e1zok-3-768x576.png 768w\" sizes=\"(max-width: 793px) 100vw, 793px\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>When we have Wi-Fi adapter in our PC, we may use it as a network interface of VM, but the VM will recognize it just as another wired interface. But there is possibility to connect an USB Wi-Fi dongle adapter and enable it to the VM. VM then will see dongle as native USB Wi-Fi&#8230;<\/p>","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[825],"tags":[],"class_list":["post-4798","post","type-post","status-publish","format-standard","hentry","category-virtualization-virtualbox-en"],"taxonomy_info":{"category":[{"value":825,"label":"VirtualBox"}]},"featured_image_src_large":false,"author_info":{"display_name":"Marek Moravcik","author_link":"https:\/\/nil.uniza.sk\/en\/author\/marek\/"},"comment_info":5,"category_info":[{"term_id":825,"name":"VirtualBox","slug":"virtualization-virtualbox-en","term_group":0,"term_taxonomy_id":823,"taxonomy":"category","description":"","parent":819,"count":12,"filter":"raw","cat_ID":825,"category_count":12,"category_description":"","cat_name":"VirtualBox","category_nicename":"virtualization-virtualbox-en","category_parent":819}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/4798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=4798"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/4798\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=4798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=4798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=4798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}