LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help setting up wireless network in VM virtualbox (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-setting-up-wireless-network-in-vm-virtualbox-4175493836/)

v3tra 02-05-2014 01:26 PM

Need help setting up wireless network in VM virtualbox
 
Hello I am pretty new to linux software and recently I installed backtrack 5 R3 Gnome to virtual drive( VM Virtualbox). However I am having really bad time setting up the wlan0, it won't recognize my TP-LINK TL-WN721N USB adapter. I have tried different ways to install drives ath9k but still nothing. I get this error when trying to install ath9k drivers and I have already copied firmware ar9721.fw to lib/firmware/, but still nothing is working

If I try to install drivers it gives me this error

WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
is missing; modules will have no dependencies and modversions.


Code:

root@bt:~# cd compat-wireless-2012-05-23/
bash: cd: compat-wireless-2012-05-23/: No such file or directory
root@bt:~# cd /root/Desktop/compat-wireless-2012-05-23/
bash: cd: /root/Desktop/compat-wireless-2012-05-23/: No such file or directory
root@bt:~# cd compat-wireless-2012-05-10
root@bt:~/compat-wireless-2012-05-10# sudo make
make -C /lib/modules/3.2.6/build M=/root/compat-wireless-2012-05-10 modules
make[1]: Entering directory `/usr/src/linux-source-3.2.6'

  WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
          is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
  MODPOST 115 modules
make[1]: Leaving directory `/usr/src/linux-source-3.2.6'
root@bt:~/compat-wireless-2012-05-10# ^C
root@bt:~/compat-wireless-2012-05-10#

if I type in ifconfig i get lo and eth0 and lo but no wlan0
Code:

eth0      Link encap:Ethernet  HWaddr 08:00:27:53:3d:45 
          inet addr:192.168.1.81  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe53:3d45/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7283 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5924 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8828506 (8.8 MB)  TX bytes:827836 (827.8 KB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2189 (2.1 KB)  TX bytes:2189 (2.1 KB)


Please, can anyone help me??? I have dealt with this issue over 5 days now and I have still not found the correct answer for my issue :cry:

Ser Olmy 02-05-2014 02:13 PM

First of all, you don't actually need a wireless driver in VirtualBox, as you can just bridge the virtual NIC off the host NIC, which presumably has a working wireless connection, or use the internal VirtualBox router's "NAT" adapter. Perhaps you already know this, but I'm mentioning it anyway since you've posted in the "newbie" forum.

If you want to dedicate the wireless adapter to the VM (which means you won't be able to use it on the host PC), you'll have to enable USB passthrough for the adapter. I believe this requires the VirtualBox Extention pack to be installed. Have you downloaded and installed it?

TobiSGD 02-05-2014 02:55 PM

Don't use Backtrack. It is ancient and unsupported. If you use its successor, Kali Linux, chances are high that your wireless will work out of the box. However, neither of these distributions aim at the Linux newbie, they both are/were developed by network and security experts for network and security experts. You might want to start with a different distribution until you have learned the basics (for example that you better not run your GUI as root and that you don't need sudo if you are already root).

jefro 02-05-2014 03:34 PM

A newbie has no real use for backtrack also.

Learn on a more conventional distro first. See distrowatch.com for better choices.

kishor joshi 02-05-2014 10:39 PM

WIFi for virtualbox
 
Quote:

Originally Posted by v3tra (Post 5112237)
Hello I am pretty new to linux software and recently I installed backtrack 5 R3 Gnome to virtual drive( VM Virtualbox). However I am having really bad time setting up the wlan0, it won't recognize my TP-LINK TL-WN721N USB adapter. I have tried different ways to install drives ath9k but still nothing. I get this error when trying to install ath9k drivers and I have already copied firmware ar9721.fw to lib/firmware/, but still nothing is working

If I try to install drivers it gives me this error

WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
is missing; modules will have no dependencies and modversions.


Code:

root@bt:~# cd compat-wireless-2012-05-23/
bash: cd: compat-wireless-2012-05-23/: No such file or directory
root@bt:~# cd /root/Desktop/compat-wireless-2012-05-23/

=================================
I had problems for setting up Wi Fi for Toshiba Laptop
bash: cd: /root/Desktop/compat-wireless-2012-05-23/: No such file or directory
root@bt:~# cd compat-wireless-2012-05-10
root@bt:~/compat-wireless-2012-05-10# sudo make
make -C /lib/modules/3.2.6/build M=/root/compat-wireless-2012-05-10 modules
make[1]: Entering directory `/usr/src/linux-source-3.2.6'

  WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
          is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
  MODPOST 115 modules
make[1]: Leaving directory `/usr/src/linux-source-3.2.6'
root@bt:~/compat-wireless-2012-05-10# ^C
root@bt:~/compat-wireless-2012-05-10#

if I type in ifconfig i get lo and eth0 and lo but no wlan0
Code:

eth0      Link encap:Ethernet  HWaddr 08:00:27:53:3d:45 
          inet addr:192.168.1.81  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe53:3d45/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7283 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5924 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8828506 (8.8 MB)  TX bytes:827836 (827.8 KB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2189 (2.1 KB)  TX bytes:2189 (2.1 KB)


Please, can anyone help me??? I have dealt with this issue over 5 days now and I have still not found the correct answer for my issue :cry:

==========================
I had problems for setting up Wi Fi for Linux Mint 13 on my Toshiba Laptop.Leave apart Wi Fi for Virtual Box,Wi Fi was not dected even for Mint 13 OS.
After installing Linux Mint 15 WiFi was automatically detected for Mint 15 and for Guest(win XP) in Virtual Box.
Now I am having Linux Mint 16 having Oracle Virtual Box 4.3.6 r91406.
It works.

v3tra 02-05-2014 11:44 PM

Quote:

Don't use Backtrack. It is ancient and unsupported. If you use its successor, Kali Linux, chances are high that your wireless will work out of the box. However, neither of these distributions aim at the Linux newbie, they both are/were developed by network and security experts for network and security experts. You might want to start with a different distribution until you have learned the basics (for example that you better not run your GUI as root and that you don't need sudo if you are already root).
I have tried Kali Linux as well on the virtualbox and the only problem was that it was too damn slow in the VM virtualbox, but yes, it recognized the wifi adapter right away and created wlan0. Only problem was that if i tried for example run msfconsole it just froze and I could wait for hours it to load.
Do you think that I should use Kali Linux instead then?

TobiSGD 02-06-2014 04:40 AM

Yes, use Kali Linux. If you have problems with running Kali Linux open a new thread regarding that problems, maybe we can help you with that.

v3tra 02-06-2014 06:06 AM

But is there any solution for the my issue with backtrack ?

TobiSGD 02-06-2014 06:25 AM

There is no issue. All you got was a warning, but the compile worked. Have you tried to install and load the module after compiling it?


All times are GMT -5. The time now is 02:38 AM.