Advertisement
Guest User

Untitled

a guest
Apr 9th, 2020
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.90 KB | None | 0 0
  1. ~ lspci -v
  2.  
  3. 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 02)
  4.         Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller
  5.         Physical Slot: 0
  6.         Flags: bus master, fast devsel, latency 0, IRQ 16
  7.         I/O ports at 3000 [size=256]
  8.         Memory at 90410000 (64-bit, prefetchable) [size=4K]
  9.         Memory at 90400000 (64-bit, prefetchable) [size=64K]
  10.         Expansion ROM at 93700000 [disabled] [size=128K]
  11.         Capabilities: <access denied>
  12.         Kernel driver in use: r8169
  13.         Kernel modules: r8169
  14.  
  15. 02:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
  16.         Subsystem: Hewlett-Packard Company AR242x / AR542x Wireless Network Adapter (PCI-Express)
  17.         Physical Slot: 1
  18.         Flags: bus master, fast devsel, latency 0, IRQ 17
  19.         Memory at 92600000 (64-bit, non-prefetchable) [size=64K]
  20.         Capabilities: <access denied>
  21.         Kernel driver in use: ath5k
  22.         Kernel modules: ath5k
  23.  
  24. ~ lspci | grep Wireless
  25.    
  26. 02:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
  27.  
  28. ~ lsusb -t            
  29. /:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
  30. /:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
  31. /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
  32. /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
  33. /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
  34. /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
  35. /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
  36.     |__ Port 5: Dev 3, If 0, Class=Wireless, Driver=rndis_host, 480M
  37.     |__ Port 5: Dev 3, If 1, Class=CDC Data, Driver=rndis_host, 480M
  38.     |__ Port 5: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 480M
  39. /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
  40.     |__ Port 3: Dev 2, If 0, Class=Mass Storage, Driver=ums-realtek, 480M
  41.     |__ Port 5: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
  42.     |__ Port 5: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
  43.  
  44.  
  45. ~ ifconfig -a
  46.  
  47. lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
  48.         inet 127.0.0.1  netmask 255.0.0.0
  49.         inet6 ::1  prefixlen 128  scopeid 0x10<host>
  50.         loop  txqueuelen 1000  (Bucle local)
  51.         RX packets 28011  bytes 2034946 (2.0 MB)
  52.         RX errors 0  dropped 0  overruns 0  frame 0
  53.         TX packets 28011  bytes 2034946 (2.0 MB)
  54.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  55.  
  56. wls1: flags=4098<BROADCAST,MULTICAST>  mtu 1500
  57.         ether 00:23:4e:51:7e:16  txqueuelen 1000  (Ethernet)
  58.         RX packets 0  bytes 0 (0.0 B)
  59.         RX errors 0  dropped 0  overruns 0  frame 0
  60.         TX packets 0  bytes 0 (0.0 B)
  61.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  62.  
  63. ~ iwconfig
  64.  
  65. wls1      IEEE 802.11  ESSID:off/any  
  66.           Mode:Managed  Access Point: Not-Associated   Tx-Power=off  
  67.           Retry short limit:7   RTS thr:off   Fragment thr:off
  68.           Power Management:on
  69.  
  70. ~ lshw -C network  
  71.                                
  72. WARNING: you should run this program as super-user.
  73.   *-network                
  74.        description: Ethernet interface
  75.        product: RTL810xE PCI Express Fast Ethernet controller
  76.        vendor: Realtek Semiconductor Co., Ltd.
  77.        physical id: 0
  78.        bus info: pci@0000:01:00.0
  79.        logical name: enp1s0
  80.        version: 02
  81.        serial: 00:1f:16:45:67:84
  82.        capacity: 100Mbit/s
  83.        width: 64 bits
  84.        clock: 33MHz
  85.        capabilities: bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
  86.        configuration: autonegotiation=on broadcast=yes driver=r8169 latency=0 link=no multicast=yes port=MII
  87.        resources: irq:16 ioport:3000(size=256) memory:90410000-90410fff memory:90400000-9040ffff memory:93700000-9371ffff
  88.   *-network DISABLED
  89.        description: Wireless interface
  90.        product: AR242x / AR542x Wireless Network Adapter (PCI-Express)
  91.        vendor: Qualcomm Atheros
  92.        physical id: 0
  93.        bus info: pci@0000:02:00.0
  94.        logical name: wls1
  95.        version: 01
  96.        serial: 00:23:4e:51:7e:16
  97.        width: 64 bits
  98.        clock: 33MHz
  99.        capabilities: bus_master cap_list ethernet physical wireless
  100.        configuration: broadcast=yes driver=ath5k driverversion=5.3.0-46-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
  101.        resources: irq:17 memory:92600000-9260ffff
  102.   *-network
  103.        description: Ethernet interface
  104.        physical id: 2
  105.        logical name: enp0s29f7u5
  106.        serial: 36:ed:3e:19:1f:71
  107.        capabilities: ethernet physical
  108.        configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.210 link=yes multicast=yes
  109. WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
  110.  
  111.  
  112.  ~ sudo lspci -nn
  113.  
  114. 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
  115. 02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)
  116.  
  117. ~ dmesg | grep -i wls1
  118.  
  119. [   11.603763] ath5k 0000:02:00.0 wls1: renamed from wlan0
  120.  
  121. ~ netstat -i
  122.  
  123. Tabla de la interfaz del núcleo
  124. Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
  125. enp0s29f  1500   148880      0      0 0         86990      0      0      0 BMRU
  126. enp1s0    1500        0      0      0 0             0      0      0      0 BMU
  127. lo       65536    28011      0      0 0         28011      0      0      0 LRU
  128.  
  129.  
  130. ~ nano /etc/network/interfaces
  131.  
  132. # interfaces(5) file used by ifup(8) and ifdown(8)
  133. auto lo
  134. iface lo inet loopback
  135.  
  136. auto wls1
  137. iface wls1 inet dhcp
  138.  
  139. #allow-hotplug wls1
  140. #iface wls1 inet dhcp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement