[Invalid] wireless network adapter problem

This is for discussing general topics about how to use VirtualBox.
Post Reply
Dash166
Posts: 3
Joined: 29. Aug 2019, 04:33

[Invalid] wireless network adapter problem

Post by Dash166 »

Hello everyone, I am new to this forum and I hope you help me. Well, I will start. I have a problem with the wireless network device, TP-LINK WN722N. I will mention what is currently established:
  • the usb extension the updated virtual box version
  • I have established in usb 2.0 (EHCI)
  • I have the Realtek 802.11n NIC filter added
  • enable the network adapter for usb use
Well I have everything mentioned I run and the wireless network adapter is not shown. Also in devices the Realtek filter is selected and still does not show entry by command iwconfig and just recognize:
  • eth0
  • lo
command entry, lsusb recognizes it:
Bus 001 Device 002: ID 2357: 010c TP-Link TL-WN722N v2
but does not show the wireless network adapter.

It is also normal that in the virtual box network that I established as a tp-link network adapter I switched to my internet via connected xd cable?

Well that's it, I hope you can help me
Last edited by socratis on 29. Aug 2019, 19:01, edited 1 time in total.
Reason: Marked as [Invalid].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: wireless network adapter problem

Post by socratis »

The only way that a guest will see a WiFi adapter, is if you use a USB WiFi, and capture it in the guest. It seems that you've done exactly that:
Dash166 wrote:lsusb recognizes it:
Bus 001 Device 002: ID 2357: 010c TP-Link TL-WN722N v2
That shows that VirtualBox has done its job correctly. The problem then is with your guest OS. Can it recognize the device? Are there drivers for it?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Dash166
Posts: 3
Joined: 29. Aug 2019, 04:33

Re: wireless network adapter problem

Post by Dash166 »

Hi, well in that case I don't have the driver but I also have a problem with the driver when trying to install look:

Code: Select all

root@kali:~/rtl8188eus# make

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.2.0-kali2-amd64/build M=/root/rtl8188eus  modules
make[1]: se entra en el directorio '/usr/src/linux-headers-5.2.0-kali2-amd64'
  CC [M]  /root/rtl8188eus/os_dep/osdep_service.o
In file included from /root/rtl8188eus/include/drv_types.h:30,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/root/rtl8188eus/include/wifi.h:970: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8188eus/include/osdep_service_linux.h:83,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.2.0-kali2-common/include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘isFileReadable’:
/root/rtl8188eus/os_dep/osdep_service.c:2204:10: error: implicit declaration of function ‘get_ds’; did you mean ‘get_da’? [-Werror=implicit-function-declaration]
   set_fs(get_ds());
          ^~~~~~
          get_da
/root/rtl8188eus/os_dep/osdep_service.c:2204:10: error: incompatible type for argument 1 of ‘set_fs’
   set_fs(get_ds());
          ^~~~~~~~
In file included from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/crypto.h:21,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/crypto/hash.h:11,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uio.h:10,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/socket.h:8,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/compat.h:15,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/ethtool.h:17,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/netdevice.h:37,
                 from /root/rtl8188eus/include/osdep_service_linux.h:30,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.2.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
 static inline void set_fs(mm_segment_t fs)
                           ~~~~~~~~~~~~~^~
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/root/rtl8188eus/os_dep/osdep_service.c:2242:11: error: incompatible type for argument 1 of ‘set_fs’
    set_fs(get_ds());
           ^~~~~~~~
In file included from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/crypto.h:21,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/crypto/hash.h:11,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uio.h:10,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/socket.h:8,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/compat.h:15,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/ethtool.h:17,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/netdevice.h:37,
                 from /root/rtl8188eus/include/osdep_service_linux.h:30,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.2.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
 static inline void set_fs(mm_segment_t fs)
                           ~~~~~~~~~~~~~^~
/root/rtl8188eus/os_dep/osdep_service.c: In function ‘storeToFile’:
/root/rtl8188eus/os_dep/osdep_service.c:2277:11: error: incompatible type for argument 1 of ‘set_fs’
    set_fs(get_ds());
           ^~~~~~~~
In file included from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/crypto.h:21,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/crypto/hash.h:11,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/uio.h:10,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/socket.h:8,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/compat.h:15,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/ethtool.h:17,
                 from /usr/src/linux-headers-5.2.0-kali2-common/include/linux/netdevice.h:37,
                 from /root/rtl8188eus/include/osdep_service_linux.h:30,
                 from /root/rtl8188eus/include/osdep_service.h:50,
                 from /root/rtl8188eus/include/drv_types.h:27,
                 from /root/rtl8188eus/os_dep/osdep_service.c:19:
/usr/src/linux-headers-5.2.0-kali2-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
 static inline void set_fs(mm_segment_t fs)
                           ~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-5.2.0-kali2-common/scripts/Makefile.build:284: /root/rtl8188eus/os_dep/osdep_service.o] Error 1
make[3]: *** [/usr/src/linux-headers-5.2.0-kali2-common/Makefile:1610: _module_/root/rtl8188eus] Error 2
make[2]: *** [Makefile:179: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-5.2.0-kali2-amd64'
make: *** [Makefile:2286: modules] Error 2
Last edited by socratis on 29. Aug 2019, 18:56, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: wireless network adapter problem

Post by socratis »

Dash166 wrote:I don't have the driver
Well, there's not that much that VirtualBox can do about it... Just because an OS/program that runs in the context of VirtualBox has a problem, it doesn't make it a VirtualBox problem necessarily. You're having an issue that has nothing to do with VirtualBox, so my suggestion would be to treat it as such, as a native problem with the OS of the guest. I would suggest to visit the Kali forums and ask there about your compilation issues, they are in a better position to help you.

Marking as [Invalid].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Dash166
Posts: 3
Joined: 29. Aug 2019, 04:33

Re: [Invalid] wireless network adapter problem

Post by Dash166 »

Oh Ok thank you very much I thought it was a problem with the virtual box extension as you mentioned it should be a driver problem
Post Reply