notes about:
find the wireless card USB or PCI
list driver
check driver messages
check wireless networks
connect to a network
reduce power usage
All commands under Manjaro 18.1.1, no additional software installed.
wireless devices are usually connected either to the USB bus or the PCI bus, to list devices in the usb bus open terminal and use lsusb command, use -t for tree output, -v for verbose mode, -vv for more verbose
there are two wireless devices, both on : /dev/bus/usb/002/008, to gather more details use the -D parameter:
so its a Bluetooth device that is connected to the USB bus.
Update(May/2021) added USB device AWUS036NH
the result of lsusb -t -vv now includes:
the driver that it uses is rt2800usb
so the result of driver message dmesg is:
to list devices on the PCI bus:
to get a bit more details about the device:
so, the card is connected to pci bus, and the driver is iwlwifi, it is required to check if the driver was loaded during boot, so filter the kernel boot message by the driver name using driver message command dmesg:
the iwlwifi driver is being loaded during boot, so according to the arch wiki its possible to add some options to the file /etc/modprobe.d/iwlwifi.conf to enable power saving and reduce power use by disabling wireless high speed:
to check for more parameters, modinfo command might show some:
Useful wireless commands
to list the network devices/interfaces:get specific device/interface info:
more on the link status :
check signal strength and errors:
to get all the devices capabilities:
scan for wireless networks:
to connect to a wireless networks:
to check the status of the connection:
check connection :
check ip address:
from the command output we get ip address : "inet 192.168.3.4"
check gateway:
from the command output we get gateway: "default via 192.168.3.1"
display tcp sockets with ports:
display udp ports:
Attempting to create an Access Point using internet from USB Wifi adapter and internal Wifi as the interfacing hosting.
First step check if the adapter support Access Point mode (AP) using iw list command:
Using hostapd package to create the Acess Point by editing /etc/hostapd/hostapd.conf file
Comments
Post a Comment