07 July 2016 1 2K Report

Thank you for looking over my question. I can technically connect to the internet, but via an ethernet cable.

So my question is "How do I configure NetworkManager in Kali Linux on a desktop computer to recognize a wireless connection to my router via a usb network adapter (zwove® 300Mbps 802.11n/g/b USB Wireless WIFI LAN Network Card Adapter)?"

I'm not sure how to explain the situation because I've visited several linux forums and none of the methods provided by the users worked. I have the driver CD for the device, but in Kali Linux it is not immediately executable and there are technically four configurations of the driver for linux distributions. The command-line based methods to install it from the driver documents involve disabling the NetworkManager and editing several files rewriting several lines of code. I tried that and it didn't work.       

From what I've learned online, the commands "ifconfig" and "iwconfig" should tell the user something about "eth0", "lo" and "wlan0" connections, where "wlan0" is the means with which users typically manage to connect to the internet. When I run those commands, I only get information about "eth0" and "lo" which makes most of commands from the linux forums completely useless to me.

If I run lsusb to list the usb devices in my computer my computer can tell that my device is plugged in from the following output: 

Bus 003 Device 007: ID 0bda:818b Realtek Semiconductor Corp.

For some reason, I thought I would get the driver information for my device by listing lsusb as a tree "lsusb -t" which reveals nothing about my driver actually connected to Bus 003.

"Port 11: Dev 7, If 0, Class=Vendor Specific Class, Driver=, 480M"

There is one way in which I can call the driver information from the command line by issuing the command "lshw -C network" which gives me the following output:

# lshw -C network

*-network

description: Ethernet interface

product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

vendor: Realtek Semiconductor Co., Ltd.

physical id: 0

bus info: pci@0000:03:00.0

logical name: eth0

version: 0c

serial: 4c:cc:6a:26:b2:9a

size: 1Gbit/s

capacity: 1Gbit/s

width: 64 bits

clock: 33MHz

capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation

configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=192.168.1.122 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s

resources: irq:26 ioport:d000(size=256) memory:f7100000-f7100fff memory:f2100000-f2103fff

# that's the end of the information from the command 

I was expecting that the "logical name" would be "wlan0" but instead it is "eth0". Thankfully, the driver was named: "driver=r8169".

I also retrieve some interesting information when I make the following call:

# lspci -vnn | grep -i net

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)

Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7850]

# end of output.

My terminal is telling me that "Realtek Semiconductor Co.,Ltd" is an ethernet controller. But I don't think it is an ethernet controller. I think it's wireless. That doesn't make sense to me because "Realtek Semiconductor Co." shows from the call: "lsusb" ... when my usb network adapter is plugged in, not when I unplug it. 

So that's all I understand. I'm completely puzzled. If anyone can help me, thank you! By the way, this usb network adapter works right out of the box for Windows 10, that is. But for the scientific applications I have in mind, Windows is useless to me. I know that Kali Linux has many advanced networking tools besides the Network Manager (which is supposed to simplify internet connections), but I don't understand how to work those tools. 

Thank you for your patience and advice.

-Adron

More Adron Ung's questions See All
Similar questions and discussions