Guest User

Untitled

a guest
Nov 20th, 2017
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.09 KB | None | 0 0
  1. ryan@hplaptop:~$ sudo lshw -C network
  2. [sudo] password for ryan:
  3. *-network DISABLED
  4. description: Wireless interface
  5. product: AR9485 Wireless Network Adapter
  6. vendor: Qualcomm Atheros
  7. physical id: 0
  8. bus info: pci@0000:01:00.0
  9. logical name: wlan0
  10. version: 01
  11. serial: 24:fd:52:ec:e9:fd
  12. width: 64 bits
  13. clock: 33MHz
  14. capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
  15. configuration: broadcast=yes driver=ath9k driverversion=4.2.0-18-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
  16. resources: irq:16 memory:c2500000-c257ffff memory:c2580000-c258ffff
  17. *-network
  18. description: Ethernet interface
  19. product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
  20. vendor: Realtek Semiconductor Co., Ltd.
  21. physical id: 0
  22. bus info: pci@0000:08:00.0
  23. logical name: eth0
  24. version: 05
  25. serial: 2c:44:fd:b3:58:42
  26. size: 100Mbit/s
  27. capacity: 100Mbit/s
  28. width: 64 bits
  29. clock: 33MHz
  30. capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
  31. configuration: autonegotiation=on broadcast=yes driver=r8101 driverversion=1.027.00-NAPI duplex=full latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
  32. resources: irq:24 ioport:2000(size=256) memory:c2404000-c2404fff memory:c2400000-c2403fff
  33.  
  34.  
  35.  
  36. ryan@hplaptop:~$ lspci -k
  37. 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
  38. Subsystem: Hewlett-Packard Company Device 1854
  39. Kernel driver in use: ivb_uncore
  40. 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
  41. Subsystem: Hewlett-Packard Company Device 1854
  42. Kernel driver in use: i915
  43. 00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
  44. Subsystem: Hewlett-Packard Company Device 1854
  45. Kernel driver in use: mei_me
  46. 00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
  47. Subsystem: Hewlett-Packard Company Device 1854
  48. Kernel driver in use: ehci-pci
  49. 00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
  50. Subsystem: Hewlett-Packard Company Device 1854
  51. Kernel driver in use: snd_hda_intel
  52. 00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
  53. Kernel driver in use: pcieport
  54. 00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
  55. Kernel driver in use: pcieport
  56. 00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
  57. Kernel driver in use: pcieport
  58. 00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
  59. Subsystem: Hewlett-Packard Company Device 1854
  60. Kernel driver in use: ehci-pci
  61. 00:1f.0 ISA bridge: Intel Corporation HM75 Express Chipset LPC Controller (rev 04)
  62. Subsystem: Hewlett-Packard Company Device 1854
  63. Kernel driver in use: lpc_ich
  64. 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
  65. Subsystem: Hewlett-Packard Company Device 1854
  66. Kernel driver in use: ahci
  67. 00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
  68. Subsystem: Hewlett-Packard Company Device 1854
  69. 01:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
  70. DeviceName: Atheros AR9485 802.11b/g/n WiFi Adapter
  71. Subsystem: Hewlett-Packard Company AR9485/HB125 802.11bgn 1×1 Wi-Fi Adapter
  72. Kernel driver in use: ath9k
  73. 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
  74. Subsystem: Hewlett-Packard Company Device 1854
  75. Kernel driver in use: rtsx_pci
  76. 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
  77. DeviceName: Hanksville 10/100 Lan Connection
  78. Subsystem: Hewlett-Packard Company Device 1854
  79. Kernel driver in use: r8101
  80.  
  81.  
  82.  
  83.  
  84. ryan@hplaptop:~$ modinfo r8101
  85. filename: /lib/modules/4.2.0-18-generic/kernel/drivers/net/ethernet/realtek/r8101.ko
  86. version: 1.027.00-NAPI
  87. license: GPL
  88. description: RealTek RTL-8101 Fast Ethernet driver
  89. author: Realtek and the Linux r8101 crew <netdev@vger.kernel.org>
  90. srcversion: D389B0DAED4F28B777AF883
  91. alias: pci:v000010ECd00008136sv*sd*bc*sc*i*
  92. depends:
  93. vermagic: 4.2.0-18-generic SMP mod_unload modversions
  94. parm: speed:force phy operation. Deprecated by ethtool (8).(ushort)
  95. parm: duplex:force phy operation. Deprecated by ethtool (8). (int)
  96. parm: autoneg:force phy operation. Deprecated by ethtool (8). (int)
  97. parm: aspm:Enable ASPM. (int)
  98. parm: s5wol:Enable Shutdown Wake On Lan. (int)
  99. parm: rx_copybreak:Copy breakpoint for copy-only-tiny-frames (int)
  100. parm: timer_count:Timer Interrupt Interval. (int)
  101. parm: eee_enable:Enable Energy Efficient Ethernet. (int)
  102. parm: hwoptimize:Enable HW optimization function. (ulong)
  103. parm: debug:Debug verbosity level (0=none, ..., 16=all) (int)
  104.  
  105.  
  106. ryan@hplaptop:~$ cat /etc/network/interfaces
  107. # interfaces(5) file used by ifup(8) and ifdown(8)
  108. auto lo
  109.  
  110. iface lo inet loopback
  111.  
  112.  
  113.  
  114. ryan@hplaptop:~$ cat /etc/resolv.conf
  115. # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  116. # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  117. nameserver 127.0.1.1
  118. nameserver 8.8.8.8
  119. nameserver 8.8.4.4
  120. nameserver 192.168.1.1
  121. search charter.com
  122.  
  123.  
  124. ryan@hplaptop:~$ sudo ifup eth0
  125. Ignoring unknown interface eth0=eth0.
  126.  
  127. ryan@hplaptop:~$ route
  128. Kernel IP routing table
  129. Destination Gateway Genmask Flags Metric Ref Use Iface
  130.  
  131. ryan@hplaptop:~$ sudo route add default gw 192.168.1.1 netmask 255.255.255.0 dev eth0
  132. SIOCADDRT: Network is unreachable
  133.  
  134. ryan@hplaptop:~$ ping 192.168.1.1
  135. connect: Network is unreachable
  136.  
  137. "sudo dhclient eth0" results in bringing up eth0 but there is still no connection however now I get some different results:
  138.  
  139. ryan@hplaptop:~$ route
  140. Kernel IP routing table
  141. Destination Gateway Genmask Flags Metric Ref Use Iface
  142. default * 0.0.0.0 U 1002 0 0 eth0
  143. link-local * 255.255.0.0 U 0 0 0 eth0
  144.  
  145. ryan@hplaptop:~$ sudo route add default gw 192.168.1.1 netmask 255.255.255.0 dev eth0
  146. ryan@hplaptop:~$ route
  147. Kernel IP routing table
  148. Destination Gateway Genmask Flags Metric Ref Use Iface
  149. default 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
  150. default * 0.0.0.0 U 1002 0 0 eth0
  151. link-local * 255.255.0.0 U 0 0 0 eth0
  152.  
  153. ryan@hplaptop:~$ ping 192.168.1.1
  154. PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
  155. From 169.254.8.2 icmp_seq=1 Destination Host Unreachable
  156. From 169.254.8.2 icmp_seq=2 Destination Host Unreachable
Add Comment
Please, Sign In to add comment