# lspci | grep -i net
07:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
08:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)[/code]
----------------------------------------------
# lsmod | grep ath
ath9k 135168 0
ath9k_common 28672 1 ath9k
ath9k_hw 446464 2 ath9k_common,ath9k
ath 28672 3 ath9k_common,ath9k,ath9k_hw
mac80211 659456 1 ath9k
cfg80211 491520 4 ath,ath9k_common,ath9k,mac80211
led_class 16384 2 ath9k,rtsx_usb_sdmmc
----------------------------------------------------------
[root@archkan kan]# iwconfig
wlp8s0 IEEE 802.11bgn ESSID:"NetMASTER Uydunet-5BF3"
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:6861-6E65-6861-6C6B-6939-3736-36
Power Management:off
enp7s0 no wireless extensions.
lo no wireless extensions.
-----------------------------------------------------------------------
# dhcpcd -n
sending signal HUP to pid 287
[root@archkan okan]# iwconfig wlp8s0 essid "NetMASTER Uydunet-5BF3" key s:***********
[root@archkan okan]# dhcpcd wlp8s0
sending commands to master dhcpcd process
[root@archkan okan]# dhcpcd -n
enp7s0: adding address fe80::246b:403:1e0c:a3d1
wlp8s0: adding address fe80::2b0f:95e9:5600:1eac
if_addaddress6: Permission denied
DUID 00:01:00:01:1c:05:26:96:1c:75:08:6a:fe:4b
enp7s0: IAID 08:6a:fe:4b
wlp8s0: waiting for carrier
enp7s0: rebinding lease of 192.168.0.16
enp7s0: soliciting an IPv6 router
enp7s0: invalid UDP packet from 192.168.0.1
enp7s0: DHCP lease expired
enp7s0: deleting route to 192.168.0.0/24
enp7s0: soliciting a DHCP lease
enp7s0: offered 192.168.0.16 from 192.168.0.1
enp7s0: leased 192.168.0.16 for 3600 seconds
enp7s0: adding route to 192.168.0.0/24
enp7s0: adding default route via 192.168.0.1
forked to background, child pid 1068
----------------------------------------------------------------------------------------
# systemctl --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
bluetooth.service loaded active running Bluetooth service
dbus.service loaded active running D-Bus System Message Bus
● dhcpcd.service loaded failed failed dhcpcd on all interfaces
kdm.service loaded active running K Display Manager
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
NetworkManager.service loaded active running Network Manager
polkit.service loaded active running Authorization Manager
systemd-backlight@backlight:acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of backlight:acpi_video0
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
30 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.