Advertisement
Guest User

Untitled

a guest
Nov 24th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. [david@archPC ~]$ ip link
  2. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
  3. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  4. 2: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
  5. link/ether 54:a0:50:d5:1c:af brd ff:ff:ff:ff:ff:ff
  6. 3: wlp6s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
  7. link/ether 40:e2:30:85:b9:81 brd ff:ff:ff:ff:ff:ff
  8. 4: enp0s20u2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
  9. link/ether 36:af:ad:05:aa:c4 brd ff:ff:ff:ff:ff:ff
  10. [david@archPC ~]$ sudo ip link set enp0s20u2 up
  11. [sudo] password for david:
  12. [david@archPC ~]$ sudo systemctl start dhcpcd@enp0s20u2.service
  13. [david@archPC ~]$ ping www.google.com
  14. PING www.google.com (74.125.195.106) 56(84) bytes of data.
  15. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=1 ttl=33 time=121 ms
  16. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=2 ttl=33 time=127 ms
  17. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=3 ttl=33 time=133 ms
  18. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=4 ttl=33 time=136 ms
  19. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=5 ttl=33 time=124 ms
  20. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=6 ttl=33 time=134 ms
  21. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=7 ttl=33 time=190 ms
  22. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=8 ttl=33 time=134 ms
  23. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=9 ttl=33 time=142 ms
  24. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=10 ttl=33 time=131 ms
  25. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=11 ttl=33 time=131 ms
  26. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=12 ttl=33 time=137 ms
  27. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=13 ttl=33 time=128 ms
  28. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=14 ttl=33 time=126 ms
  29. 64 bytes from wj-in-f106.1e100.net (74.125.195.106): icmp_seq=15 ttl=33 time=125 ms
  30. ^C
  31. --- www.google.com ping statistics ---
  32. 15 packets transmitted, 15 received, 0% packet loss, time 42ms
  33. rtt min/avg/max/mdev = 120.995/134.574/190.105/15.791 ms
  34. [david@archPC ~]$ sudo systemctl stop dhcpcd@enp0s20u2.service
  35.  
  36. ###Unplugged my phone tether###
  37.  
  38.  
  39. [david@archPC ~]$ sudo ip link set eno1 up
  40. [david@archPC ~]$ sudo systemctl start dhcpcd@eno1.service
  41. [david@archPC ~]$ ping www.google.com
  42. ping: www.google.com: Temporary failure in name resolution
  43. [david@archPC ~]$ sudo systemctl status dhcpcd@eno1.service
  44. ● dhcpcd@eno1.service - dhcpcd on eno1
  45. Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; disabled; vendor preset>
  46. Active: active (running) since Sat 2018-11-24 22:51:18 EST; 57s ago
  47. Process: 1080 ExecStart=/usr/bin/dhcpcd -q -w eno1 (code=exited, status=0/SUCCESS)
  48. Main PID: 1124 (dhcpcd)
  49. Tasks: 1 (limit: 4915)
  50. Memory: 4.0M
  51. CGroup: /system.slice/system-dhcpcd.slice/dhcpcd@eno1.service
  52. └─1124 /usr/bin/dhcpcd -q -w eno1
  53.  
  54. Nov 24 22:51:04 archPC dhcpcd[1080]: eno1: soliciting an IPv6 router
  55. Nov 24 22:51:05 archPC dhcpcd[1080]: eno1: soliciting a DHCP lease
  56. Nov 24 22:51:17 archPC dhcpcd[1080]: eno1: no IPv6 Routers available
  57. Nov 24 22:51:18 archPC dhcpcd[1080]: eno1: offered 172.19.93.61 from 130.132.1.56
  58. Nov 24 22:51:18 archPC dhcpcd[1080]: eno1: ignoring offer of 172.19.93.68 from 130.>
  59. Nov 24 22:51:18 archPC dhcpcd[1080]: eno1: leased 172.19.93.61 for 120 seconds
  60. Nov 24 22:51:18 archPC dhcpcd[1080]: eno1: adding route to 172.19.93.0/24
  61. Nov 24 22:51:18 archPC dhcpcd[1080]: eno1: adding default route via 172.19.93.1
  62.  
  63. [david@archPC ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement