1. # lspci | grep -i net
  2. 07:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
  3. 08:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)[/code]
  4. ----------------------------------------------
  5. # lsmod | grep ath
  6. ath9k 135168 0
  7. ath9k_common 28672 1 ath9k
  8. ath9k_hw 446464 2 ath9k_common,ath9k
  9. ath 28672 3 ath9k_common,ath9k,ath9k_hw
  10. mac80211 659456 1 ath9k
  11. cfg80211 491520 4 ath,ath9k_common,ath9k,mac80211
  12. led_class 16384 2 ath9k,rtsx_usb_sdmmc
  13. ----------------------------------------------------------
  14. [root@archkan kan]# iwconfig
  15. wlp8s0 IEEE 802.11bgn ESSID:"NetMASTER Uydunet-5BF3"
  16. Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
  17. Retry short limit:7 RTS thr:off Fragment thr:off
  18. Encryption key:6861-6E65-6861-6C6B-6939-3736-36
  19. Power Management:off
  20. enp7s0 no wireless extensions.
  21. lo no wireless extensions.
  22. -----------------------------------------------------------------------
  23. # dhcpcd -n
  24. sending signal HUP to pid 287
  25. [root@archkan okan]# iwconfig wlp8s0 essid "NetMASTER Uydunet-5BF3" key s:***********
  26. [root@archkan okan]# dhcpcd wlp8s0
  27. sending commands to master dhcpcd process
  28. [root@archkan okan]# dhcpcd -n
  29. enp7s0: adding address fe80::246b:403:1e0c:a3d1
  30. wlp8s0: adding address fe80::2b0f:95e9:5600:1eac
  31. if_addaddress6: Permission denied
  32. DUID 00:01:00:01:1c:05:26:96:1c:75:08:6a:fe:4b
  33. enp7s0: IAID 08:6a:fe:4b
  34. wlp8s0: waiting for carrier
  35. enp7s0: rebinding lease of 192.168.0.16
  36. enp7s0: soliciting an IPv6 router
  37. enp7s0: invalid UDP packet from 192.168.0.1
  38. enp7s0: DHCP lease expired
  39. enp7s0: deleting route to 192.168.0.0/24
  40. enp7s0: soliciting a DHCP lease
  41. enp7s0: offered 192.168.0.16 from 192.168.0.1
  42. enp7s0: leased 192.168.0.16 for 3600 seconds
  43. enp7s0: adding route to 192.168.0.0/24
  44. enp7s0: adding default route via 192.168.0.1
  45. forked to background, child pid 1068
  46. ----------------------------------------------------------------------------------------
  47. # systemctl --type=service
  48. UNIT LOAD ACTIVE SUB DESCRIPTION
  49. avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
  50. bluetooth.service loaded active running Bluetooth service
  51. dbus.service loaded active running D-Bus System Message Bus
  52. ● dhcpcd.service loaded failed failed dhcpcd on all interfaces
  53. [email protected] loaded active running Getty on tty1
  54. kdm.service loaded active running K Display Manager
  55. kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
  56. NetworkManager.service loaded active running Network Manager
  57. polkit.service loaded active running Authorization Manager
  58. systemd-backlight@backlight:acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of backlight:acpi_video0
  59. systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
  60. systemd-journald.service loaded active running Journal Service
  61. systemd-logind.service loaded active running Login Service
  62. systemd-random-seed.service loaded active exited Load/Save Random Seed
  63. systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
  64. [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill0
  65. [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill1
  66. [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill2
  67. [email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill3
  68. systemd-sysctl.service loaded active exited Apply Kernel Variables
  69. systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
  70. systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
  71. systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
  72. systemd-udevd.service loaded active running udev Kernel Device Manager
  73. systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
  74. systemd-user-sessions.service loaded active exited Permit User Sessions
  75. systemd-vconsole-setup.service loaded active exited Setup Virtual Console
  76. udisks2.service loaded active running Disk Manager
  77. upower.service loaded active running Daemon for power management
  78. [email protected] loaded active running User Manager for UID 1000
  79. LOAD = Reflects whether the unit definition was properly loaded.
  80. ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
  81. SUB = The low-level unit activation state, values depend on unit type.
  82. 30 loaded units listed. Pass --all to see loaded but inactive units, too.
  83. To show all installed unit files use 'systemctl list-unit-files'.