方法一:
下面说一下网络连接的问题吧,为了使像Ubuntu一样在任务栏里面出现网络连接的图标,需要安装NM的支持,即:
apt-get install network-manager。
不过此时虽然出现了连接图标,但选项是和灰色的,仍然会看到网络设备未托管的提示,这是由于Linux里面的两套网络管理方案出现冲突造成的:文档点此 解决方案为:
将/etc/NetWorkManager/nm-system-settings.conf 中的managed=false改为=true然后重启:
/etc/init.d/networking restart 即可。
不过细心的话大家仍然可以发现依旧有问题残留,那就是在网络的下拉列表中并不是出现Ubuntu中我们所熟悉的Auto eth0,而是许多ifupdown的永久有线连接,并且无法对其进行编辑,这时的解决方案如下:
修改/etc/dbus-1/system.d/NetworkManager.conf 和/etc/dbus-1/system.d/nm-applet.conf,将其中显示为:
<policy context=default>
<deny own=”org.freedesktop.NetworkManager”/>
<deny send_destination=”org.freedesktop.NetworkManager”/>
<deny send_interface=”org.freedesktop.NetworkManager”/>
</policy>
中的deny改为allow,然后重启dbus:
/etc/init.d/dbus restart
停止NetWorkManager:
/etc/init.d/network-manager stop
删除interfaces:
rm /etc/network/interfaces
重启NetWorkManager:
/etc/init.d/network-manager start
即可。
方法二:
How to Configure a Wireless Network Connection in Backtrack or Kali :-
In my previous article i write about How To Fix Your Network Adapter For Backtrack or kali Linux. Today i am going to show you How to Configure a Wireless Network Connection in Backtrack or Kali. make sure your Alfa network adapter is connected with your virtualbox.
By default Virtual machine is taking a your wireless connection as a wired connection because you bridge your physical machine network adapter with wireless network adapter. so in this situation you need to be configure it.
On Backtrack :-
Open the terminal or enter the command iwconfig or ifconfig to find out the name of wireless interface.
now go to Application > Internet > Select the Wicd Network Manager
Now go to Preferences > Select General Settings > In wireless interface enter your Wireless interface name and click on OK.
Now it will show you all available wireless network.
click on the connect and enter your credentials. Now you are able to connect with your available wireless network.
On Kali :-
By default Wicd Network manager is not installed in Kali. So you need to install with
root@Kali:~#apt-get install wicd-gtk
Now you are able to access Wicd Network manager in Kali Linux
do the same steps that you done with backtrack.
Enjoy your wireless network connection in backtrack.
Hope you like my post.How to Configure a Wireless Network Connection in Backtrack or Kali. Please share with others.